aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gstreamer-plugins80
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2005-07-06 15:04:58 +0000
committerKoop Mast <kwm@FreeBSD.org>2005-07-06 15:04:58 +0000
commit3f91498e6d7300a519650d17a3b481c1fe9242fe (patch)
treec76a2de71bc88a1a41241b6a82fc5243a9ee8714 /multimedia/gstreamer-plugins80
parent2020526dd26217646588f0fb1cc12ff9f2400561 (diff)
downloadports-3f91498e6d7300a519650d17a3b481c1fe9242fe.tar.gz
ports-3f91498e6d7300a519650d17a3b481c1fe9242fe.zip
Notes
Diffstat (limited to 'multimedia/gstreamer-plugins80')
-rw-r--r--multimedia/gstreamer-plugins80/Makefile2
-rw-r--r--multimedia/gstreamer-plugins80/Makefile.common26
-rw-r--r--multimedia/gstreamer-plugins80/distinfo4
-rw-r--r--multimedia/gstreamer-plugins80/files/patch-ext_cdparanoia_gstcdparanoia.c33
-rw-r--r--multimedia/gstreamer-plugins80/pkg-plist7
5 files changed, 54 insertions, 18 deletions
diff --git a/multimedia/gstreamer-plugins80/Makefile b/multimedia/gstreamer-plugins80/Makefile
index f1b66829a769..d3fb13ac5d81 100644
--- a/multimedia/gstreamer-plugins80/Makefile
+++ b/multimedia/gstreamer-plugins80/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gstreamer
-PORTVERSION= 0.8.9
+PORTVERSION= 0.8.10
CATEGORIES?= multimedia audio
MASTER_SITES= ${MASTER_SITE_GNOME} \
http://gstreamer.freedesktop.org/src/gst-plugins/
diff --git a/multimedia/gstreamer-plugins80/Makefile.common b/multimedia/gstreamer-plugins80/Makefile.common
index dcfb94ba5014..dad62b30045b 100644
--- a/multimedia/gstreamer-plugins80/Makefile.common
+++ b/multimedia/gstreamer-plugins80/Makefile.common
@@ -2,7 +2,6 @@ GST_ALL_PLUGINS= \
a52dec \
aalib \
aalibtest \
- amrnb \
arts \
artstest \
artsc \
@@ -10,6 +9,7 @@ GST_ALL_PLUGINS= \
audioresample \
cairo \
cdaudio \
+ cdio \
cdparanoia \
dirac \
directfb \
@@ -70,11 +70,11 @@ GST_ALL_PLUGINS= \
sndfile \
speex \
swfdec \
- tarkin \
theora \
vcd \
vorbis \
vorbistest \
+ wavpack \
xvid
# Disable all plugins by default\
@@ -84,6 +84,7 @@ CONFIGURE_ARGS+= --disable-${d}
CONFIGURE_ARGS+=--disable-tests \
--disable-examples \
+ --disable-amrnb \
--disable-alsa \
--disable-http \
--enable-cdrom \
@@ -93,12 +94,12 @@ CONFIGURE_ARGS+=--disable-tests \
--enable-oss \
--disable-osx_audio \
--disable-osx_video \
+ --disable-tarkin \
--enable-static \
- --disable-spc \
+ --enable-spc \
--disable-sunaudio \
--disable-gst_v4l \
--disable-gst_v4l2 \
- --enable-wavpack \
--disable-xine \
--enable-x \
--enable-xshm \
@@ -224,6 +225,12 @@ LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack
LIB_DEPENDS+= cdaudio.1:${PORTSDIR}/audio/libcdaudio
.endif
+# libcdio
+.if ${GST_PLUGIN}=="cdio"
+LIB_DEPENDS+= cdio.5:${PORTSDIR}/sysutils/libcdio
+PLIST_FILES= ${GST_LIB_DIR}/libgstcddasrc.so
+.endif
+
# libvisual
.if ${GST_PLUGIN}=="libvisual"
LIB_DEPENDS+= visual.0:${PORTSDIR}/graphics/libvisual
@@ -395,7 +402,7 @@ PLIST_FILES= ${GST_LIB_DIR}/libgsttextoverlay.so \
${GST_LIB_DIR}/libgsttimeoverlay.so
.endif
-# libpng
+# libpng and the snapshot plugin
.if ${GST_PLUGIN}=="libpng"
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png
GST_PLUGIN_DIR= ext/libpng \
@@ -443,6 +450,11 @@ LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis
LIB_DEPENDS+= vorbisidec.1:${PORTSDIR}/audio/libtremor
.endif
+# wavpack
+.if ${GST_PLUGIN}=="wavpack"
+LIB_DEPENDS+= wavpack.0:${PORTSDIR}/audio/wavpack
+.endif
+
# xvid
.if ${GST_PLUGIN}=="xvid"
LIB_DEPENDS+= xvidcore.4:${PORTSDIR}/multimedia/xvid
@@ -450,8 +462,8 @@ LIB_DEPENDS+= xvidcore.4:${PORTSDIR}/multimedia/xvid
LIB_DEPENDS+= gstplay-${VERSION}.${SHLIB_VERSION}:${PORTSDIR}/multimedia/gstreamer-plugins
-PLIST_FILES+= '@exec %D/bin/gst-register --gst-registry=%D/share/gnome/cache/gstreamer-${VERSION}/registry.xml 2>/dev/null || true'
-PLIST_FILES+= '@unexec %D/bin/gst-register --gst-registry=%D/share/gnome/cache/gstreamer-${VERSION}/registry.xml 2>/dev/null || true'
+PLIST_FILES+= '@exec %D/bin/gst-register-${VERSION} --gst-registry=%D/share/gnome/cache/gstreamer-${VERSION}/registry.xml 2>/dev/null || true'
+PLIST_FILES+= '@unexec %D/bin/gst-register-${VERSION} --gst-registry=%D/share/gnome/cache/gstreamer-${VERSION}/registry.xml 2>/dev/null || true'
do-build:
.if ${GST_PLUGIN} == "gconf"
diff --git a/multimedia/gstreamer-plugins80/distinfo b/multimedia/gstreamer-plugins80/distinfo
index a0b5018d8e3d..4b35ca59720c 100644
--- a/multimedia/gstreamer-plugins80/distinfo
+++ b/multimedia/gstreamer-plugins80/distinfo
@@ -1,2 +1,2 @@
-MD5 (gnome2/gst-plugins-0.8.9.tar.bz2) = 663461ef7b16e9bd7f2605e4ed0db5ba
-SIZE (gnome2/gst-plugins-0.8.9.tar.bz2) = 2356958
+MD5 (gnome2/gst-plugins-0.8.10.tar.bz2) = 99f36ba2b91015a23d3c20a8f424b232
+SIZE (gnome2/gst-plugins-0.8.10.tar.bz2) = 2397528
diff --git a/multimedia/gstreamer-plugins80/files/patch-ext_cdparanoia_gstcdparanoia.c b/multimedia/gstreamer-plugins80/files/patch-ext_cdparanoia_gstcdparanoia.c
index 17e8469ad897..b45d5baf4f91 100644
--- a/multimedia/gstreamer-plugins80/files/patch-ext_cdparanoia_gstcdparanoia.c
+++ b/multimedia/gstreamer-plugins80/files/patch-ext_cdparanoia_gstcdparanoia.c
@@ -1,6 +1,6 @@
---- ext/cdparanoia/gstcdparanoia.c.orig Fri Jun 3 06:59:43 2005
-+++ ext/cdparanoia/gstcdparanoia.c Fri Jun 3 07:00:13 2005
-@@ -561,6 +561,7 @@
+--- ext/cdparanoia/gstcdparanoia.c.orig Tue Jul 5 13:24:21 2005
++++ ext/cdparanoia/gstcdparanoia.c Tue Jul 5 13:24:27 2005
+@@ -562,6 +562,7 @@
gint16 *cdda_buf;
gint64 timestamp;
GstFormat format;
@@ -8,7 +8,7 @@
/* convert the sequence sector number to a timestamp */
format = GST_FORMAT_TIME;
-@@ -574,7 +575,6 @@
+@@ -575,7 +576,6 @@
gst_pad_convert (src->srcpad, sector_format,
get_relative (src, src->cur_track, src->cur_sector), &format,
&timestamp);
@@ -16,3 +16,28 @@
if (src->flush_pending) {
src->flush_pending = FALSE;
+@@ -790,7 +790,11 @@
+ if (src->d == NULL) {
+ GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ,
+ (_("Could not open CD device %s for reading."),
+- src->d->cdda_device_name), ("cdda_identify failed"));
++#if defined(__FreeBSD__)
++ src->d->dev->device_path), ("cdda_identify failed"));
++#else
++ src->d->cdda_device_name), ("cdda_identify failed"));
++#endif
+ return FALSE;
+ }
+
+@@ -807,7 +811,11 @@
+ if (cdda_open (src->d)) {
+ GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ,
+ (_("Could not open CD device %s for reading."),
++#if defined(__FreeBSD__)
++ src->d->dev->device_path), ("cdda_open failed"));
++#else
+ src->d->cdda_device_name), ("cdda_open failed"));
++#endif
+ cdda_close (src->d);
+ src->d = NULL;
+ return FALSE;
diff --git a/multimedia/gstreamer-plugins80/pkg-plist b/multimedia/gstreamer-plugins80/pkg-plist
index 5bf665b1fd9f..18a73b2e9fac 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
-@comment lib/gstreamer-%%VERSION%%/libgstspc.so
+lib/gstreamer-%%VERSION%%/libgstspc.so
lib/gstreamer-%%VERSION%%/libgstspectrum.so
lib/gstreamer-%%VERSION%%/libgstspeed.so
lib/gstreamer-%%VERSION%%/libgststereo.so
@@ -129,7 +129,6 @@ lib/gstreamer-%%VERSION%%/libgstvideotestsrc.so
lib/gstreamer-%%VERSION%%/libgstvolenv.so
lib/gstreamer-%%VERSION%%/libgstvolume.so
lib/gstreamer-%%VERSION%%/libgstwavenc.so
-lib/gstreamer-%%VERSION%%/libgstwavpack.so
lib/gstreamer-%%VERSION%%/libgstwavparse.so
lib/gstreamer-%%VERSION%%/libgstximagesink.so
lib/gstreamer-%%VERSION%%/libgstxvimagesink.so
@@ -183,5 +182,5 @@ share/locale/zh_TW/LC_MESSAGES/gst-plugins-%%VERSION%%.mo
@dirrm include/gstreamer-%%VERSION%%/gst/audio
@unexec rmdir %D/include/gstreamer-%%VERSION%%/gst 2>/dev/null || true
@unexec rmdir %D/include/gstreamer-%%VERSION%% 2>/dev/null || true
-@exec %D/bin/gst-register --gst-registry=%D/share/gnome/cache/gstreamer-%%VERSION%%/registry.xml 2>/dev/null || true
-@unexec %D/bin/gst-register --gst-registry=%D/share/gnome/cache/gstreamer-%%VERSION%%/registry.xml 2>/dev/null || true
+@exec %D/bin/gst-register-${VERSION} --gst-registry=%D/share/gnome/cache/gstreamer-%%VERSION%%/registry.xml 2>/dev/null || true
+@unexec %D/bin/gst-register-${VERSION} --gst-registry=%D/share/gnome/cache/gstreamer-%%VERSION%%/registry.xml 2>/dev/null || true