diff options
Diffstat (limited to 'multimedia/gstreamer-ffmpeg80/Makefile')
-rw-r--r-- | multimedia/gstreamer-ffmpeg80/Makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/multimedia/gstreamer-ffmpeg80/Makefile b/multimedia/gstreamer-ffmpeg80/Makefile new file mode 100644 index 000000000..de581fa7d --- /dev/null +++ b/multimedia/gstreamer-ffmpeg80/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: gstreamer ffmpeg +# Date created: Thu Feb 26 20:10:39 CET 2004 +# Whom: Koop Mast <kwm@rainbow-runner.nl> +# +# $FreeBSD$ +# $MCom$ + +PORTNAME= gstreamer +PORTVERSION= 0.8.7 +PORTREVISION= 4 +CATEGORIES= multimedia +MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-ffmpeg/ +PKGNAMESUFFIX= -ffmpeg80 +DISTNAME= gst-ffmpeg-${PORTVERSION} + +MAINTAINER= multimedia@FreeBSD.org +COMMENT= GStreamer plug-in for manipulating MPEG video streams + +USE_BZIP2= yes +USE_GMAKE= yes +USE_GNOME= gnometarget +USE_GSTREAMER80= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} \ + CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ + CFLAGS="${CFLAGS} -fno-force-addr" \ + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" +PLIST_SUB= \ + VERSION="${GST80_VERSION}" +WITHOUT_CPU_CFLAGS= yes + +PKG_CONFIG?="${LOCALBASE}/bin/pkg-config" + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +EXTRA_PATCHES= ${PATCHDIR}/extra-patch-gst-libs_ext_ffmpeg_libavformat_nut.c +.endif + +post-patch: + @${REINPLACE_CMD} -e \ + 's|make|${GMAKE}|' \ + ${WRKSRC}/gst-libs/ext/Makefile.in + +post-install: +# register plugins + -@${X11BASE}/bin/gst-register-${GST80_VERSION} \ + --gst-registry=${PREFIX}/share/gnome/cache/gstreamer-${GST80_VERSION}/registry.xml 2>/dev/null + +.include <bsd.port.post.mk> |