aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-plugins/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2005-01-10 03:12:20 +0800
committerkwm <kwm@FreeBSD.org>2005-01-10 03:12:20 +0800
commit501c10d3109453891cb26e79a49580afc7165e50 (patch)
treed008bad25a91841fbed604fca609ccaaa5567d1f /multimedia/gstreamer-plugins/Makefile
parentb2533ef1bb4c2563049f9dc22a0e8161734bacbe (diff)
downloadfreebsd-ports-gnome-501c10d3109453891cb26e79a49580afc7165e50.tar.gz
freebsd-ports-gnome-501c10d3109453891cb26e79a49580afc7165e50.tar.zst
freebsd-ports-gnome-501c10d3109453891cb26e79a49580afc7165e50.zip
Update to 0.8.7.
Changelog: http://gstreamer.freedesktop.org/releases/gst-plugins/0.8.7.html Chase polypaudio lib bump. Approved by: maintainer (implicit)
Diffstat (limited to 'multimedia/gstreamer-plugins/Makefile')
-rw-r--r--multimedia/gstreamer-plugins/Makefile59
1 files changed, 45 insertions, 14 deletions
diff --git a/multimedia/gstreamer-plugins/Makefile b/multimedia/gstreamer-plugins/Makefile
index aeac41753f59..ce812136fcd4 100644
--- a/multimedia/gstreamer-plugins/Makefile
+++ b/multimedia/gstreamer-plugins/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gstreamer
-PORTVERSION= 0.8.6
-PORTREVISION= 1
+PORTVERSION= 0.8.7
CATEGORIES= multimedia audio
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-plugins/ \
${MASTER_SITE_GNOME}
@@ -142,10 +141,6 @@ post-patch:
${WRKSRC}/sys/vcd/vcdsrc.c \
${WRKSRC}/sys/vcd/vcdsrc.h
-# tell configure where the musepack includes live
- @${REINPLACE_CMD} -e 's|/usr/include/musepack|${LOCALBASE}/include/musepack|g' \
- ${WRKSRC}/configure
-
# hermes is required for gstreamer-player to work
# since it is currently the only colorspace plugin available
# XXX However, it currently does not work on sparc64.
@@ -171,6 +166,11 @@ WITH_AALIB=yes
WITH_ARTS=yes
.endif
+# cairo
+.if exists(${LOCALBASE}/lib/libcairo.a)
+WITH_CAIRO=yes
+.endif
+
# cdparanoia
.if exists(${LOCALBASE}/lib/libcdda_paranoia.a)
WITH_CDPARANOIA=yes
@@ -236,6 +236,11 @@ WITH_LIBCACA=yes
WITH_MNG=yes
.endif
+# libmms
+.if exists(${LOCALBASE}/lib/libmms.a)
+WITH_MMS=yes
+.endif
+
# gsm
.if exists(${LOCALBASE}/lib/libgsm.a)
WITH_GSM=yes
@@ -367,7 +372,7 @@ WITH_PNG=yes
.endif
# polypaudio
-.if exists(${LOCALBASE}/lib/libpolyp-0.6.a)
+.if exists(${LOCALBASE}/lib/libpolyp-0.7.a)
WITH_POLYPAUDIO=yes
.endif
@@ -443,6 +448,16 @@ CONFIGURE_ARGS+= --with-arts-prefix=${LOCALBASE} \
PLIST_SUB+= ARTS=""
.endif
+# cairo
+.ifndef(WITH_CAIRO)
+CONFIGURE_ARGS+= --disable-cairo
+PLIST_SUB+= CAIRO="@comment "
+.else
+LIB_DEPENDS+= cairo.1:${PORTSDIR}/graphics/cairo
+
+PLIST_SUB+= CAIRO=""
+.endif
+
# cdparanoia
.ifndef(WITH_CDPARANOIA)
CONFIGURE_ARGS+= --disable-cdparanoia
@@ -858,6 +873,15 @@ LIB_DEPENDS+= mng.1:${PORTSDIR}/graphics/libmng
PLIST_SUB+= MNG=""
.endif
+# mms
+.ifndef(WITH_MMS)
+CONFIGURE_ARGS+= --disable-libmms
+PLIST_SUB+= MMS="@comment "
+.else
+LIB_DEPENDS+= mms.0:${PORTSDIR}/net/libmms
+PLIST_SUB+= MMS=""
+.endif
+
# png
.ifndef(WITH_PNG)
CONFIGURE_ARGS+= --disable-libpng
@@ -873,7 +897,7 @@ PLIST_SUB+= PNG=""
CONFIGURE_ARGS+= --disable-polyp
PLIST_SUB+= POLYPAUDIO="@comment "
.else
-LIB_DEPENDS+= polyp-0.6.0:${PORTSDIR}/audio/polypaudio
+LIB_DEPENDS+= polyp-0.7.0:${PORTSDIR}/audio/polypaudio
PLIST_SUB+= POLYPAUDIO=""
.endif
@@ -902,14 +926,13 @@ PLIST_SUB+= SMOOTHWAVE=""
.endif
# speex
-# !!!BROKEN RIGHT NOW!!! - need -devel speex
-#.ifndef(WITH_SPEEX)
+.ifndef(WITH_SPEEX)
CONFIGURE_ARGS+= --disable-speex
PLIST_SUB+= SPEEX="@comment "
-#.else
-#LIB_DEPENDS+= speex.3:${PORTSDIR}/audio/speex
-#PLIST_SUB+= SPEEX=""
-#.endif
+.else
+LIB_DEPENDS+= speex.3:${PORTSDIR}/audio/speex
+PLIST_SUB+= SPEEX=""
+.endif
# swfdec
.ifndef(WITH_SWFDEC)
@@ -1004,6 +1027,10 @@ pre-everything::
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_ARTS to enable aRts Audio plugin'
.endif
+.ifndef(WITH_CAIRO)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_CDPARANOIA to enable cairo textoverlay plugin'
+.endif
.ifndef(WITH_CDPARANOIA)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_CDPARANOIA to enable cdparanoia Audio plugin'
@@ -1148,6 +1175,10 @@ pre-everything::
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_MNG to enable libmng plugin'
.endif
+.ifndef(WITH_MMS)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_MMS to enable libmms network plugin'
+.endif
.ifndef(WITH_MUSEPACK)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_MUSEPACK to enable musepack Audio plugin'