diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-12-20 04:51:22 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-12-20 04:51:22 +0800 |
commit | 6e4644355d62ebacc8383a9e96241e6786edd02c (patch) | |
tree | 61168fc8e416b460dd1d575a84e8efb49554263a /multimedia/gstreamer-plugins80/Makefile | |
parent | a96c25334b449c6664abd6f2effc0737638a8dd0 (diff) | |
download | marcuscom-ports-6e4644355d62ebacc8383a9e96241e6786edd02c.tar marcuscom-ports-6e4644355d62ebacc8383a9e96241e6786edd02c.tar.gz marcuscom-ports-6e4644355d62ebacc8383a9e96241e6786edd02c.tar.bz2 marcuscom-ports-6e4644355d62ebacc8383a9e96241e6786edd02c.tar.lz marcuscom-ports-6e4644355d62ebacc8383a9e96241e6786edd02c.tar.xz marcuscom-ports-6e4644355d62ebacc8383a9e96241e6786edd02c.tar.zst marcuscom-ports-6e4644355d62ebacc8383a9e96241e6786edd02c.zip |
Update to 0.7.3.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1501 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/gstreamer-plugins80/Makefile')
-rw-r--r-- | multimedia/gstreamer-plugins80/Makefile | 34 |
1 files changed, 24 insertions, 10 deletions
diff --git a/multimedia/gstreamer-plugins80/Makefile b/multimedia/gstreamer-plugins80/Makefile index f9f4318e2..1aee9cb4b 100644 --- a/multimedia/gstreamer-plugins80/Makefile +++ b/multimedia/gstreamer-plugins80/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gstreamer -PORTVERSION= 0.7.2 +PORTVERSION= 0.7.3 CATEGORIES= multimedia audio MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gst-plugins/0.7 @@ -17,7 +17,7 @@ DIST_SUBDIR= gnome2 MAINTAINER= lioux@FreeBSD.org COMMENT= GStreamer written collection of plugins handling several media types -LIB_DEPENDS= gstreamer-0.7.3:${PORTSDIR}/multimedia/gstreamer \ +LIB_DEPENDS= gstreamer-0.7.5:${PORTSDIR}/multimedia/gstreamer \ popt.0:${PORTSDIR}/devel/popt USE_X_PREFIX= yes @@ -60,7 +60,7 @@ XMMS_CONFIG?="${LOCALBASE}/bin/xmms-config" GST_VERSION=${PORTVERSION:C/..$//} # library minor number -SHLIB_VERSION= 1 +SHLIB_VERSION= 2 post-patch: # as of this writing, FreeBSD does not support lrint* C99 math functions @@ -100,16 +100,13 @@ post-configure: @${ECHO_CMD} "CC=${CC}" >> \ ${WRKSRC}/gst-libs/ext/ffmpeg/ffmpeg/config.mak @${MKDIR} ${WRKSRC}/gst-libs/ext/ffmpeg/.deps - -.include <bsd.port.pre.mk> + @${RM} -f ${WRKSRC}/gst-libs/ext/ffmpeg/patch/*.bak post-install: -.if ${ARCH} == "ia64" || ${ARCH} == "amd64" # register plugins - @-${X11BASE}/bin/gst-register-${GST_VERSION} 2>/dev/null -.else - @${X11BASE}/bin/gst-register-${GST_VERSION} 2>/dev/null -.endif + -@${X11BASE}/bin/gst-register-${GST_VERSION} 2>/dev/null + +.include <bsd.port.pre.mk> # Fix build on ia64. This patch breaks other archs, so include it # conditionally @@ -122,6 +119,8 @@ EXTRA_PATCHES= ${FILESDIR}/ia64-patch-ffmpeg::configure WITH_HERMES= yes # gnomevfs is required for gstreamer-player to work WITH_GNOMEVFS= yes +# Add default MAD support. This is required for rhythmbox to work. +WITH_MAD= yes ## ## auto detect possible plugins @@ -248,6 +247,11 @@ WITH_LIBSIDPLAY=yes WITH_MAD=yes .endif +# ogg +.if exists(${LOCALBASE}/lib/libogg.a) +WITH_OGG=yes +.endif + # openquicktime .if exists(${LOCALBASE}/lib/libopenquicktime.so) WITH_OPENQUICKTIME=yes @@ -554,6 +558,16 @@ LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/libmad \ PLIST_SUB+= LIBMAD="" .endif +# ogg +.ifndef(WITH_OGG) +CONFIGURE_ARGS+= --disable-ogg \ + --disable-oggtest +PLIST_SUB+= OGG="@comment " +.else +LIB_DEPENDS+= ogg.4:${PORTSDIR}/audio/libogg +PLIST_SUB+= OGG="" +.endif + # openquicktime .ifndef(WITH_OPENQUICKTIME) CONFIGURE_ARGS+= --disable-openquicktime |