aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-07 07:37:03 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-07 07:37:03 +0000
commit1ee802641fe2e58641b02b82893070f152e23ef7 (patch)
tree0f8ff3196014854662cc3ad3fbf57d8d3499fbc0 /multimedia
parent726f3c9735c4611a876bd0b891b656be3a5e2b48 (diff)
downloadports-1ee802641fe2e58641b02b82893070f152e23ef7.tar.gz
ports-1ee802641fe2e58641b02b82893070f152e23ef7.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gstreamer-plugins/Makefile18
-rw-r--r--multimedia/gstreamer-plugins/pkg-plist1
-rw-r--r--multimedia/gstreamer-plugins80/Makefile18
-rw-r--r--multimedia/gstreamer-plugins80/pkg-plist1
4 files changed, 36 insertions, 2 deletions
diff --git a/multimedia/gstreamer-plugins/Makefile b/multimedia/gstreamer-plugins/Makefile
index 4b480db2c9ee..b225e354b95c 100644
--- a/multimedia/gstreamer-plugins/Makefile
+++ b/multimedia/gstreamer-plugins/Makefile
@@ -18,7 +18,7 @@ MAINTAINER= lioux@FreeBSD.org
COMMENT= GStreamer written collection of plugins handling several media types
LIB_DEPENDS= gstreamer-0.6.1:${PORTSDIR}/multimedia/gstreamer \
- popt.0:${PORTSDIR}/devel/popt \
+ popt.0:${PORTSDIR}/devel/popt
USE_X_PREFIX= yes
USE_BZIP2= yes
@@ -260,6 +260,11 @@ WITH_PNG=yes
WITH_SDL=yes
.endif
+# swfdec
+.if exists(${X11BASE}/lib/libswfdec.a)
+WITH_SWFDEC=yes
+.endif
+
# vorbis
.if exists(${LOCALBASE}/lib/libvorbis.a)
WITH_VORBIS=yes
@@ -582,6 +587,17 @@ CONFIGURE_ENV+= SDL_CONFIG=${SDL_CONFIG}
PLIST_SUB+= SDL=""
.endif
+# swfdec
+.ifndef(WITH_SWFDEC)
+CONFIGURE_ARGS+= --disable-swfdec
+PLIST_SUB+= SWFDEC="@comment "
+.else
+LIB_DEPENDS+= swfdec.0:${PORTSDIR}/graphics/swfdec
+
+CONFIGURE_ARGS+= --enable-swfdec
+PLIST_SUB+= SWFDEC=""
+.endif
+
# vorbis
.ifndef(WITH_VORBIS)
CONFIGURE_ARGS+= --disable-vorbis \
diff --git a/multimedia/gstreamer-plugins/pkg-plist b/multimedia/gstreamer-plugins/pkg-plist
index e87114aefeaa..72d3224c82c4 100644
--- a/multimedia/gstreamer-plugins/pkg-plist
+++ b/multimedia/gstreamer-plugins/pkg-plist
@@ -96,6 +96,7 @@ lib/gstreamer-%%VERSION%%/libgstspeed.so
lib/gstreamer-%%VERSION%%/libgststereo.so
lib/gstreamer-%%VERSION%%/libgststereo2mono.so
lib/gstreamer-%%VERSION%%/libgststereosplit.so
+%%SWFDEC%%lib/gstreamer-%%VERSION%%/libgstswfdec.so
lib/gstreamer-%%VERSION%%/libgstsynaesthesia.so
lib/gstreamer-%%VERSION%%/libgstudp.so
lib/gstreamer-%%VERSION%%/libgstvbidec.so
diff --git a/multimedia/gstreamer-plugins80/Makefile b/multimedia/gstreamer-plugins80/Makefile
index 4b480db2c9ee..b225e354b95c 100644
--- a/multimedia/gstreamer-plugins80/Makefile
+++ b/multimedia/gstreamer-plugins80/Makefile
@@ -18,7 +18,7 @@ MAINTAINER= lioux@FreeBSD.org
COMMENT= GStreamer written collection of plugins handling several media types
LIB_DEPENDS= gstreamer-0.6.1:${PORTSDIR}/multimedia/gstreamer \
- popt.0:${PORTSDIR}/devel/popt \
+ popt.0:${PORTSDIR}/devel/popt
USE_X_PREFIX= yes
USE_BZIP2= yes
@@ -260,6 +260,11 @@ WITH_PNG=yes
WITH_SDL=yes
.endif
+# swfdec
+.if exists(${X11BASE}/lib/libswfdec.a)
+WITH_SWFDEC=yes
+.endif
+
# vorbis
.if exists(${LOCALBASE}/lib/libvorbis.a)
WITH_VORBIS=yes
@@ -582,6 +587,17 @@ CONFIGURE_ENV+= SDL_CONFIG=${SDL_CONFIG}
PLIST_SUB+= SDL=""
.endif
+# swfdec
+.ifndef(WITH_SWFDEC)
+CONFIGURE_ARGS+= --disable-swfdec
+PLIST_SUB+= SWFDEC="@comment "
+.else
+LIB_DEPENDS+= swfdec.0:${PORTSDIR}/graphics/swfdec
+
+CONFIGURE_ARGS+= --enable-swfdec
+PLIST_SUB+= SWFDEC=""
+.endif
+
# vorbis
.ifndef(WITH_VORBIS)
CONFIGURE_ARGS+= --disable-vorbis \
diff --git a/multimedia/gstreamer-plugins80/pkg-plist b/multimedia/gstreamer-plugins80/pkg-plist
index e87114aefeaa..72d3224c82c4 100644
--- a/multimedia/gstreamer-plugins80/pkg-plist
+++ b/multimedia/gstreamer-plugins80/pkg-plist
@@ -96,6 +96,7 @@ lib/gstreamer-%%VERSION%%/libgstspeed.so
lib/gstreamer-%%VERSION%%/libgststereo.so
lib/gstreamer-%%VERSION%%/libgststereo2mono.so
lib/gstreamer-%%VERSION%%/libgststereosplit.so
+%%SWFDEC%%lib/gstreamer-%%VERSION%%/libgstswfdec.so
lib/gstreamer-%%VERSION%%/libgstsynaesthesia.so
lib/gstreamer-%%VERSION%%/libgstudp.so
lib/gstreamer-%%VERSION%%/libgstvbidec.so