aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gstreamer-plugins
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2010-09-13 16:05:50 +0000
committerKoop Mast <kwm@FreeBSD.org>2010-09-13 16:05:50 +0000
commitb437af72e9fb7a1db62c866b69515a7133d2da0a (patch)
treec8d6c6c2eb03393c82590988e7d4859b48ab9186 /multimedia/gstreamer-plugins
parentc0783ce7d2dd21f1bd5526d2abf788844f31b744 (diff)
downloadports-b437af72e9fb7a1db62c866b69515a7133d2da0a.tar.gz
ports-b437af72e9fb7a1db62c866b69515a7133d2da0a.zip
Notes
Diffstat (limited to 'multimedia/gstreamer-plugins')
-rw-r--r--multimedia/gstreamer-plugins/Makefile7
-rw-r--r--multimedia/gstreamer-plugins/Makefile.common79
-rw-r--r--multimedia/gstreamer-plugins/distinfo6
3 files changed, 82 insertions, 10 deletions
diff --git a/multimedia/gstreamer-plugins/Makefile b/multimedia/gstreamer-plugins/Makefile
index 1bb9fbe19c63..6e146a9d48ee 100644
--- a/multimedia/gstreamer-plugins/Makefile
+++ b/multimedia/gstreamer-plugins/Makefile
@@ -33,7 +33,7 @@ CFLAGS:= ${CFLAGS} -O2 -Wno-format
BASE_PORTVERSION= 0.10.30
BASE_DISTNAME= gst-plugins-base-${BASE_PORTVERSION}
BASE_DISTFILE= ${BASE_DISTNAME}${EXTRACT_SUFX}
-BAD_PORTVERSION= 0.10.19
+BAD_PORTVERSION= 0.10.20
BAD_DISTNAME= gst-plugins-bad-${BAD_PORTVERSION}
BAD_DISTFILE= ${BAD_DISTNAME}${EXTRACT_SUFX}
GOOD_PORTVERSION= 0.10.25
@@ -133,12 +133,12 @@ post-patch:
s|$$(top_builddir)/gst-libs/gst/audio/libgstaudio-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgstaudio-@GST_MAJORMINOR@.la|; \
s|$$(top_builddir)/gst-libs/gst/riff/libgstriff-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgstriff-@GST_MAJORMINOR@.la|; \
s|$$(top_builddir)/gst-libs/gst/signalprocessor/libgstsignalprocessor-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgstsignalprocessor-@GST_MAJORMINOR@.la|; \
+ s|$$(top_builddir)/gst-libs/gst/video/libgstbasevideo-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgstbasevideo-@GST_MAJORMINOR@.la|; \
s|$$(top_builddir)/gst-libs/gst/video/libgstvideo-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgstvideo-@GST_MAJORMINOR@.la|; \
s|$$(top_builddir)/gst-libs/gst/cdda/libgstcdda-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgstcdda-@GST_MAJORMINOR@.la|'
@${FIND} ${WRKSRC} -type f | \
${XARGS} -n 10 ${REINPLACE_CMD} -e \
- 's|malloc\.h|stdlib.h|; \
- s|<stdint\.h|<inttypes.h|; \
+ 's|<stdint\.h|<inttypes.h|; \
s|%%VERSION%%|${VERSION}|'
@${FIND} ${WRKSRC}/ext -name Makefile.in | \
${XARGS} -n 10 ${REINPLACE_CMD} -e \
@@ -146,6 +146,7 @@ post-patch:
s|$$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la|${LOCALBASE}/lib/libgstaudio-@GST_MAJORMINOR@.la|; \
s|$$(top_builddir)/gst-libs/gst/riff/libgstriff-@GST_MAJORMINOR@.la|${LOCALBASE}/lib/libgstriff-@GST_MAJORMINOR@.la|; \
s|$$(top_builddir)/gst-libs/gst/signalprocessor/libgstsignalprocessor-@GST_MAJORMINOR@.la|${LOCALBASE}/lib/libgstsignalprocessor-@GST_MAJORMINOR@.la|; \
+ s|$$(top_builddir)/gst-libs/gst/video/libgstbasevideo-@GST_MAJORMINOR@.la|${LOCALBASE}/lib/libgstbasevideo-@GST_MAJORMINOR@.la|; \
s|$$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_MAJORMINOR@.la|${LOCALBASE}/lib/libgstvideo-@GST_MAJORMINOR@.la|; \
s|$$(top_builddir)/gst-libs/gst/cdda/libgstcdda-@GST_MAJORMINOR@.la|${LOCALBASE}/lib/libgstcdda-@GST_MAJORMINOR@.la|'
@${REINPLACE_CMD} -e 's|DEFAULT_AUDIOSINK="alsasink"|DEFAULT_AUDIOSINK="${DEFAULT_AUDIOSINK}"|; \
diff --git a/multimedia/gstreamer-plugins/Makefile.common b/multimedia/gstreamer-plugins/Makefile.common
index 4e3ce689d327..ad25e13f03a8 100644
--- a/multimedia/gstreamer-plugins/Makefile.common
+++ b/multimedia/gstreamer-plugins/Makefile.common
@@ -26,8 +26,10 @@ BAD_GST_ALL_PLUGINS+= \
directfb \
divx \
dts \
+ exif \
faac \
faad \
+ flite \
gme \
gsm \
jack \
@@ -49,14 +51,17 @@ BAD_GST_ALL_PLUGINS+= \
ofa \
resindvd \
rsvg \
- schroedinger \
+ schro \
sdl \
+ shm \
sndfile \
soundtouch \
spc \
swfdec \
- theora \
+ theoradec \
timidity \
+ vdpau \
+ vp8 \
xvid \
zbar
@@ -116,10 +121,14 @@ CONFIGURE_ARGS+= --enable-${GST_PLUGIN}
CONFIGURE_ARGS+=--disable-tests \
--disable-examples \
- --disable-1394 \
+ --disable-cd1394 \
--disable-acm \
+ --disable-apexsink \
--disable-alsa \
- --disable-dvb \
+ --enable-cog \
+ --enable-dvb \
+ --disable-fbdev \
+ --disable-directfb \
--disable-http \
--enable-cdrom \
--disable-gconf \
@@ -132,13 +141,18 @@ CONFIGURE_ARGS+=--disable-tests \
--disable-directdrawsink \
--disable-directsoundsink \
--disable-tarkin \
+ --enable-shm \
--enable-static \
--disable-sunaudio \
+ --disable-wildmidi \
--disable-xine \
--enable-x \
--enable-xshm \
--enable-xvideo
+# we need glib 2.26 for this. (is from -bad)
+CONFIGURE_ARGS+=--disable-gsettings
+
.if !defined(NO_GSTREAMER_COMMON)
GST_PLUGIN_SUFFIX?= -${GST_PLUGIN}
@@ -146,6 +160,7 @@ GST_PLUGIN_SUFFIX?= -${GST_PLUGIN}
CONFIGURE_ARGS:=${CONFIGURE_ARGS:S|--disable-${GST_PLUGIN}|--enable-${GST_PLUGIN}|}
+GST_INC_DIR= include/gstreamer-${VERSION}
GST_LIB_DIR= lib/gstreamer-${VERSION}
# Auto create PLIST
@@ -240,6 +255,13 @@ gst_esound_CONFIGURE_ENV+= ESD_CFLAGS="`pkg-config --cflags esound`" \
gst_esound_PLIST_FILES= ${GST_LIB_DIR}/libgstesd.so \
${GST_LIB_DIR}/libgstesd.la
+# exif
+# hmm not a real plugin, seems to be part of metadata?
+#gst_exif_LIB_DEPENDS+= exif.12:${PORTSDIR}/graphics/libexif
+#gst_exif_PLIST_FILES= ${GST_LIB_DIR}/libgstexif.la \
+# ${GST_LIB_DIR}/libgstexif.so
+#gst_exif_DIST= bad
+
# faac
gst_faac_LIB_DEPENDS+= faac.0:${PORTSDIR}/audio/faac
gst_faac_PLIST_FILES= ${GST_LIB_DIR}/libgstfaac.la \
@@ -258,6 +280,12 @@ gst_flac_LIB_DEPENDS+= FLAC.10:${PORTSDIR}/audio/flac
gst_flac_PLIST_FILES= ${GST_LIB_DIR}/libgstflac.la \
${GST_LIB_DIR}/libgstflac.so
+# flite
+gst_flite_BUILD_DEPENDS+= ${LOCALBASE}/lib/libflite.a:${PORTSDIR}/audio/flite
+gst_flite_PLIST_FILES= ${GST_LIB_DIR}/libgstflite.la \
+ ${GST_LIB_DIR}/libgstflite.so
+gst_flite_DIST= bad
+
# gconf
gst_gconf_USE_GNOME+= gnomeprefix gconf2
gst_gconf_GST_PLUGIN_DIR= ext/gconf \
@@ -406,6 +434,13 @@ gst_pulse_PLIST_FILES= ${GST_LIB_DIR}/libgstpulse.la \
${GST_LIB_DIR}/libgstpulse.so
gst_pulse_DIST= good
+# resindvd
+gst_resindvd_BUILD_DEPENDS+= libdvdnav>=4.1.2:${PORTSDIR}/multimedia/libdvdnav
+gst_resindvd_RUN_DEPENDS+= libdvdnav>=4.1.2:${PORTSDIR}/multimedia/libdvdnav
+gst_resindvd_PLIST_FILES= ${GST_LIB_DIR}/libresindvd.la \
+ ${GST_LIB_DIR}/libresindvd.so
+gst_resindvd_DIST= bad
+
# sdl
gst_sdl_USE_SDL+= sdl
gst_sdl_PLIST_FILES= ${GST_LIB_DIR}/libgstsdl.la \
@@ -452,6 +487,13 @@ gst_speex_LIB_DEPENDS+= speex.1:${PORTSDIR}/audio/speex
gst_speex_PLIST_FILES= ${GST_LIB_DIR}/libgstspeex.la \
${GST_LIB_DIR}/libgstspeex.so
+# schro(edinger)
+gst_schroedinger_LIB_DEPENDS+= schroedinger-1.0.3:${PORTSDIR}/multimedia/schroedinger
+gst_schroedinger_CONFIGURE_ARGS+=--enable-schro
+gst_schroedinger_PLIST_FILES= ${GST_LIB_DIR}/libgstschro.la \
+ ${GST_LIB_DIR}/libgstschro.so
+gst_schroedinger_DIST= bad
+
# swfdec
gst_swfdec_LIB_DEPENDS+=swfdec-0.4.1:${PORTSDIR}/graphics/swfdec
gst_swfdec_DIST= bad
@@ -484,6 +526,28 @@ gst_gst_v4l2_CONFIGURE_ARGS+= --enable-gst_v4l2
gst_gst_v4l2_GST_PLUGIN_DIR=sys/v4l2
gst_gst_v4l2_DIST= good
+# vdpau
+gst_vdpau_LIB_DEPENDS+= vdpau.1:${PORTSDIR}/x11/nvidia-driver
+gst_vdpau_GST_PLUGIN_DIR=sys/vdpau
+gst_vdpau_PLIST_FILES= ${GST_INC_DIR}/gst/vdpau/gstvdp.h \
+ ${GST_INC_DIR}/gst/vdpau/gstvdpbuffer.h \
+ ${GST_INC_DIR}/gst/vdpau/gstvdpbufferpool.h \
+ ${GST_INC_DIR}/gst/vdpau/gstvdpdecoder.h \
+ ${GST_INC_DIR}/gst/vdpau/gstvdpdevice.h \
+ ${GST_INC_DIR}/gst/vdpau/gstvdpoutputbuffer.h \
+ ${GST_INC_DIR}/gst/vdpau/gstvdpoutputbufferpool.h \
+ ${GST_INC_DIR}/gst/vdpau/gstvdpoutputsrcpad.h \
+ ${GST_INC_DIR}/gst/vdpau/gstvdputils.h \
+ ${GST_INC_DIR}/gst/vdpau/gstvdpvideobuffer.h \
+ ${GST_INC_DIR}/gst/vdpau/gstvdpvideobufferpool.h \
+ ${GST_INC_DIR}/gst/vdpau/gstvdpvideosrcpad.h \
+ ${GST_LIB_DIR}/libgstvdpau.la \
+ ${GST_LIB_DIR}/libgstvdpau.so \
+ lib/libgstvdp-0.10.la \
+ lib/libgstvdp-0.10.so \
+ lib/libgstvdp-0.10.so.0
+gst_vdpau_DIST= bad
+
# vorbis
gst_vorbis_USE_GSTREAMER+= ogg
gst_vorbis_LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis
@@ -492,6 +556,13 @@ gst_vorbis_PLIST_FILES= ${GST_LIB_DIR}/libgstvorbis.la \
${GST_LIB_DIR}/libgstvorbis.so
gst_vorbis_DIST= base
+# vp8
+gst_vp8_LIB_DEPENDS+= vpx.0:${PORTSDIR}/multimedia/libvpx
+gst_vp8_PLIST_FILES= ${GST_LIB_DIR}/libgstvp8.la \
+ ${GST_LIB_DIR}/libgstvp8.a \
+ ${GST_LIB_DIR}/libgstvp8.so
+gst_vp8_DIST= bad
+
# x264
gst_x264_LIB_DEPENDS+= x264.98:${PORTSDIR}/multimedia/x264
gst_x264_PLIST_FILES= ${GST_LIB_DIR}/libgstx264.la \
diff --git a/multimedia/gstreamer-plugins/distinfo b/multimedia/gstreamer-plugins/distinfo
index 2836805cb11c..b86d125d555c 100644
--- a/multimedia/gstreamer-plugins/distinfo
+++ b/multimedia/gstreamer-plugins/distinfo
@@ -1,9 +1,9 @@
MD5 (gst-plugins-base-0.10.30.tar.bz2) = 3ad90152b58563e1314af26c263f3c4c
SHA256 (gst-plugins-base-0.10.30.tar.bz2) = 63938641380be9935c804ae8d55acdcfd93920ed2deb72dcf70f027a78b085d7
SIZE (gst-plugins-base-0.10.30.tar.bz2) = 2455042
-MD5 (gst-plugins-bad-0.10.19.tar.bz2) = 368f72e2a1c7a6e8fe60394e4315259b
-SHA256 (gst-plugins-bad-0.10.19.tar.bz2) = 7b6c49f22caad3b573aee481381355b38ac9f2077f291d9f33a9a808a2568888
-SIZE (gst-plugins-bad-0.10.19.tar.bz2) = 3009513
+MD5 (gst-plugins-bad-0.10.20.tar.bz2) = 7c84766f6d24f41ba90c3f6141012ab8
+SHA256 (gst-plugins-bad-0.10.20.tar.bz2) = 1031dff866df976a957f34039addbab4c0753406299a275f4cf1780e1dbe2a90
+SIZE (gst-plugins-bad-0.10.20.tar.bz2) = 3209622
MD5 (gst-plugins-ugly-0.10.16.tar.bz2) = 989e1b0fab010f73f76912f70ec5f62a
SHA256 (gst-plugins-ugly-0.10.16.tar.bz2) = d7fc7636001e78736540c628ad889888cb85ea722f08d1c6813b16682dd9c09c
SIZE (gst-plugins-ugly-0.10.16.tar.bz2) = 1041297