aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gstreamer-plugins80
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2005-07-09 21:10:32 +0000
committerKoop Mast <kwm@FreeBSD.org>2005-07-09 21:10:32 +0000
commitee067d96d62f11656a30d097bb3ddf02ef0aa0ec (patch)
tree6d85c30703707ae97bd0f49de4cf5aedbb6abe92 /multimedia/gstreamer-plugins80
parent2472e1c59fa782d6e4d7cc69cc7a8ea7bbaef06c (diff)
downloadports-ee067d96d62f11656a30d097bb3ddf02ef0aa0ec.tar.gz
ports-ee067d96d62f11656a30d097bb3ddf02ef0aa0ec.zip
Notes
Diffstat (limited to 'multimedia/gstreamer-plugins80')
-rw-r--r--multimedia/gstreamer-plugins80/Makefile3
-rw-r--r--multimedia/gstreamer-plugins80/Makefile.common10
-rw-r--r--multimedia/gstreamer-plugins80/pkg-plist2
3 files changed, 12 insertions, 3 deletions
diff --git a/multimedia/gstreamer-plugins80/Makefile b/multimedia/gstreamer-plugins80/Makefile
index d3fb13ac5d81..303d3598899b 100644
--- a/multimedia/gstreamer-plugins80/Makefile
+++ b/multimedia/gstreamer-plugins80/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gstreamer
PORTVERSION= 0.8.10
+PORTREVISION= 1
CATEGORIES?= multimedia audio
MASTER_SITES= ${MASTER_SITE_GNOME} \
http://gstreamer.freedesktop.org/src/gst-plugins/
@@ -52,7 +53,7 @@ WITHOUT_CPU_CFLAGS= yes
INSTALLS_SHLIB= yes
-PLIST_SUB= VERSION="${VERSION}" \
+PLIST_SUB+= VERSION="${VERSION}" \
SHLIB_VERSION="${SHLIB_VERSION}"
MAN1= gst-launch-ext-0.8.1 gst-visualise-0.8.1
diff --git a/multimedia/gstreamer-plugins80/Makefile.common b/multimedia/gstreamer-plugins80/Makefile.common
index dad62b30045b..a64c9b4879da 100644
--- a/multimedia/gstreamer-plugins80/Makefile.common
+++ b/multimedia/gstreamer-plugins80/Makefile.common
@@ -96,7 +96,6 @@ CONFIGURE_ARGS+=--disable-tests \
--disable-osx_video \
--disable-tarkin \
--enable-static \
- --enable-spc \
--disable-sunaudio \
--disable-gst_v4l \
--disable-gst_v4l2 \
@@ -105,6 +104,15 @@ CONFIGURE_ARGS+=--disable-tests \
--enable-xshm \
--enable-xvideo
+.if (${ARCH} == "i386")
+BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
+CONFIGURE_ARGS+=--enable-spc
+PLIST_SUB+= SPC=""
+.else
+CONFIGURE_ARGS+=--disable-spc
+PLIST_SUB+= SPC="@comment "
+.endif
+
.if ${GST_PLUGIN}!="base"
GST_PLUGIN_SUFFIX?= -${GST_PLUGIN}
diff --git a/multimedia/gstreamer-plugins80/pkg-plist b/multimedia/gstreamer-plugins80/pkg-plist
index 18a73b2e9fac..512299914d5a 100644
--- a/multimedia/gstreamer-plugins80/pkg-plist
+++ b/multimedia/gstreamer-plugins80/pkg-plist
@@ -101,7 +101,7 @@ lib/gstreamer-%%VERSION%%/libgstsilence.so
lib/gstreamer-%%VERSION%%/libgstsinesrc.so
lib/gstreamer-%%VERSION%%/libgstsmooth.so
lib/gstreamer-%%VERSION%%/libgstsmpte.so
-lib/gstreamer-%%VERSION%%/libgstspc.so
+%%SPC%%lib/gstreamer-%%VERSION%%/libgstspc.so
lib/gstreamer-%%VERSION%%/libgstspectrum.so
lib/gstreamer-%%VERSION%%/libgstspeed.so
lib/gstreamer-%%VERSION%%/libgststereo.so