summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-11-09 18:27:17 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-11-09 18:27:17 +0800
commitb7736c4ae263179ac6ea800193f138befefced3a (patch)
treef52dc038b30fc2aaffe2318b6c6cb3a9b8ff48c1
parent6d98ddb6521346625447515303594910195590a6 (diff)
downloadmarcuscom-ports-b7736c4ae263179ac6ea800193f138befefced3a.tar
marcuscom-ports-b7736c4ae263179ac6ea800193f138befefced3a.tar.gz
marcuscom-ports-b7736c4ae263179ac6ea800193f138befefced3a.tar.bz2
marcuscom-ports-b7736c4ae263179ac6ea800193f138befefced3a.tar.lz
marcuscom-ports-b7736c4ae263179ac6ea800193f138befefced3a.tar.xz
marcuscom-ports-b7736c4ae263179ac6ea800193f138befefced3a.tar.zst
marcuscom-ports-b7736c4ae263179ac6ea800193f138befefced3a.zip
Update to 0.10.25.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13203 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--multimedia/gstreamer-plugins/Makefile151
-rw-r--r--multimedia/gstreamer-plugins/Makefile.common550
-rw-r--r--multimedia/gstreamer-plugins/distinfo12
-rw-r--r--multimedia/gstreamer-plugins/files/patch-Makefile.in22
-rw-r--r--multimedia/gstreamer-plugins/files/patch-ext_cdparanoia_gstcdparanoiasrc.c18
-rw-r--r--multimedia/gstreamer-plugins/files/patch-ext_pango_Makefile.in20
-rw-r--r--multimedia/gstreamer-plugins/files/patch-gst-libs_gst_audio_Makefile.in11
-rw-r--r--multimedia/gstreamer-plugins/files/patch-gst-libs_gst_sdp_gstsdpmessage.c11
-rw-r--r--multimedia/gstreamer-plugins/files/patch-sys_v4l_gstv4lelement.h11
-rw-r--r--multimedia/gstreamer-plugins/files/patch-sys_v4l_v4lsrc_calls.c261
-rw-r--r--multimedia/gstreamer-plugins/pkg-descr17
-rw-r--r--multimedia/gstreamer-plugins/pkg-plist248
12 files changed, 1332 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins/Makefile b/multimedia/gstreamer-plugins/Makefile
new file mode 100644
index 000000000..8db8d899e
--- /dev/null
+++ b/multimedia/gstreamer-plugins/Makefile
@@ -0,0 +1,151 @@
+# New ports collection makefile for: gstreamer plugins
+# Date created: Wed Jul 10 23:38:01 UTC 2002
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD: ports/multimedia/gstreamer-plugins/Makefile,v 1.148 2009/09/09 13:02:43 kwm Exp $
+# $MCom: ports/multimedia/gstreamer-plugins/Makefile,v 1.111 2008/03/21 04:01:30 ahze Exp $
+#
+
+PORTNAME= gstreamer
+PORTVERSION?= ${BASE_PORTVERSION}
+PORTREVISION?= 0
+PORTEPOCH= 3
+CATEGORIES?= multimedia audio
+MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-plugins-base/:base \
+ http://gstreamer.freedesktop.org/src/gst-plugins-bad/:bad \
+ http://gstreamer.freedesktop.org/src/gst-plugins-good/:good \
+ http://gstreamer.freedesktop.org/src/gst-plugins-ugly/:ugly \
+ ${MASTER_SITE_LOCAL:S|$|ahze/:base|} \
+ ${MASTER_SITE_LOCAL:S|$|ahze/:good|} \
+ ${MASTER_SITE_LOCAL:S|$|ahze/:bad|} \
+ ${MASTER_SITE_LOCAL:S|$|ahze/:ugly|}
+PKGNAMESUFFIX= -plugins${GST_PLUGIN_SUFFIX}
+
+MAINTAINER= multimedia@FreeBSD.org
+COMMENT?= GStreamer written collection of plugins handling several media types
+
+BUILD_DEPENDS+= v4l_compat>=1.0.20060801:${PORTSDIR}/multimedia/v4l_compat
+LIB_DEPENDS+= gstreamer-0.10.0:${PORTSDIR}/multimedia/gstreamer \
+ popt.0:${PORTSDIR}/devel/popt \
+ oil-0.3.0:${PORTSDIR}/devel/liboil
+
+CFLAGS:= ${CFLAGS} -O2 -Wno-format
+
+BASE_PORTVERSION= 0.10.25
+BASE_DISTNAME= gst-plugins-base-${BASE_PORTVERSION}
+BASE_DISTFILE= ${BASE_DISTNAME}${EXTRACT_SUFX}
+BAD_PORTVERSION= 0.10.14
+BAD_DISTNAME= gst-plugins-bad-${BAD_PORTVERSION}
+BAD_DISTFILE= ${BAD_DISTNAME}${EXTRACT_SUFX}
+GOOD_PORTVERSION= 0.10.16
+GOOD_DISTNAME= gst-plugins-good-${GOOD_PORTVERSION}
+GOOD_DISTFILE= ${GOOD_DISTNAME}${EXTRACT_SUFX}
+UGLY_PORTVERSION= 0.10.12
+UGLY_DISTNAME= gst-plugins-ugly-${UGLY_PORTVERSION}
+UGLY_DISTFILE= ${UGLY_DISTNAME}${EXTRACT_SUFX}
+DIST?= good
+
+SHLIB_VERSION= 1
+USE_GETTEXT= yes
+VERSION= ${GST_VERSION}
+WANT_GSTREAMER= yes
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME+= gnomehack gnometarget pkgconfig ltverhack ltasneededhack
+USE_AUTOTOOLS= libtool:22
+GST_PLUGIN?= base
+
+CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${EXTRA_LIBS} ${PTHREAD_LIBS}"
+
+DEFAULT_AUDIOSINK?= osssink
+DEFAULT_AUDIOSRC?= osssrc
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH}=="i386"
+PLIST_SUB+= I386=""
+.else
+PLIST_SUB+= I386="@comment "
+.endif
+
+.if ${GST_PLUGIN} == "base"
+gst_base_DIST= base
+NO_GSTREAMER_COMMON= yes
+USE_LDCONFIG= yes
+MAN1= gst-visualise-0.10.1
+PLIST_SUB+= VERSION="${VERSION}" \
+ SHLIB_VERSION="${SHLIB_VERSION}"
+.else
+USE_GSTREAMER= yes
+.endif
+
+.include "${MASTERDIR}/Makefile.common"
+
+.if ${DIST}=="base"
+EXTRACT_ONLY=${BASE_DISTFILE}
+WRKSRC=${WRKDIR}/${BASE_DISTNAME}
+PORTVERSION= ${BASE_PORTVERSION}
+DISTFILES+= ${BASE_DISTFILE}:base
+PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer-plugins/files
+.elif ${DIST}=="bad"
+EXTRACT_ONLY=${BAD_DISTFILE}
+WRKSRC=${WRKDIR}/${BAD_DISTNAME}
+PORTVERSION= ${BAD_PORTVERSION}
+DISTFILES+= ${BAD_DISTFILE}:bad
+PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer-plugins-bad/files
+.elif ${DIST}=="ugly"
+EXTRACT_ONLY=${UGLY_DISTFILE}
+WRKSRC=${WRKDIR}/${UGLY_DISTNAME}
+PORTVERSION= ${UGLY_PORTVERSION}
+DISTFILES+= ${UGLY_DISTFILE}:ugly
+PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer-plugins-ugly/files
+.elif ${DIST}=="makesum"
+DISTFILES+= ${BASE_DISTFILE}:base ${BAD_DISTFILE}:bad \
+ ${UGLY_DISTFILE}:ugly ${GOOD_DISTFILE}:good
+.else
+EXTRACT_ONLY=${GOOD_DISTFILE}
+WRKSRC=${WRKDIR}/${GOOD_DISTNAME}
+PORTVERSION= ${GOOD_PORTVERSION}
+DISTFILES+= ${GOOD_DISTFILE}:good
+PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer-plugins-good/files
+.endif
+
+# cdrom default device
+.ifdef(WITH_CDROM_DEVICE)
+DEFAULT_CDROM_DEVICE=${WITH_CDROM_DEVICE}
+.else
+DEFAULT_CDROM_DEVICE=/dev/acd0
+.endif
+
+# dvd default device
+.ifdef(WITH_DVD_DEVICE)
+DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE}
+.else
+DEFAULT_DVD_DEVICE=/dev/acd0
+.endif
+
+post-patch:
+ @${FIND} ${WRKSRC}/ext -name Makefile.in | \
+ ${XARGS} -n 10 ${REINPLACE_CMD} -e \
+ 's|$$(top_builddir)/gst-libs/gst/tag/libgsttag-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgsttag-@GST_MAJORMINOR@.la|; \
+ 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/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|%%VERSION%%|${VERSION}|'
+ @${FIND} ${WRKSRC}/ext -name Makefile.in | \
+ ${XARGS} -n 10 ${REINPLACE_CMD} -e \
+ 's|$$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_MAJORMINOR@.la|${LOCALBASE}/lib/libgsttag-@GST_MAJORMINOR@.la|; \
+ 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/cdda/libgstcdda-@GST_MAJORMINOR@.la|${LOCALBASE}/lib/libgstcdda-@GST_MAJORMINOR@.la|'
+ @${REINPLACE_CMD} -e 's|DEFAULT_AUDIOSINK="alsasink"|DEFAULT_AUDIOSINK="${DEFAULT_AUDIOSINK}"|; \
+ s|DEFAULT_AUDIOSRC="alsasrc"|DEFAULT_AUDIOSRC="${DEFAULT_AUDIOSRC}"|' \
+ ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
diff --git a/multimedia/gstreamer-plugins/Makefile.common b/multimedia/gstreamer-plugins/Makefile.common
new file mode 100644
index 000000000..0910a7ee5
--- /dev/null
+++ b/multimedia/gstreamer-plugins/Makefile.common
@@ -0,0 +1,550 @@
+# $FreeBSD: ports/multimedia/gstreamer-plugins/Makefile.common,v 1.91 2009/09/21 21:19:33 kwm Exp $
+# $MCom: ports/multimedia/gstreamer-plugins/Makefile.common,v 1.68 2008/03/21 04:14:19 ahze Exp $
+# base
+BASE_GST_ALL_PLUGINS= \
+ alsa \
+ cdparanoia \
+ gio \
+ gnomevfs \
+ libvisual \
+ ogg \
+ pango \
+ theora \
+ vorbis
+# bad
+BAD_GST_ALL_PLUGINS+= \
+ alsa \
+ amrwb \
+ apexsink \
+ bz2 \
+ cdaudio \
+ celt \
+ dc1394 \
+ directfb \
+ dirac \
+ divx \
+ dts \
+ dvb \
+ faac \
+ faad \
+ gsm \
+ ivorbis \
+ jack \
+ libmms \
+ metadata \
+ mpeg2enc \
+ mplex \
+ musepack \
+ musicbrainz \
+ mythtv \
+ nas \
+ neon \
+ ofa \
+ oss4 \
+ qtwrapper \
+ resindvd \
+ sdl \
+ sf \
+ sndfile \
+ soundtouch \
+ spc \
+ swfdec \
+ theoraexpdec \
+ timidity \
+ twolame \
+ vcdsrc \
+ wildmidi \
+ wininet \
+ x264 \
+ xvid
+
+# good
+GOOD_GST_ALL_PLUGINS+= \
+ aalib \
+ annodex \
+ cairo \
+ dv \
+ esd \
+ flac \
+ gconf \
+ gdk_pixbuf \
+ hal \
+ jpeg \
+ ladspa \
+ libcaca \
+ libpng \
+ pulse \
+ raw1394 \
+ shout2 \
+ soup \
+ speex \
+ taglib \
+ wavpack
+
+# ugly
+UGLY_GST_ALL_PLUGINS+= \
+ a52dec \
+ amrnb \
+ cdio \
+ dvdnav \
+ dvdread \
+ lame \
+ mad \
+ mpeg2dec \
+ sidplay
+
+.for i in ${BASE_GST_ALL_PLUGINS} ${BAD_GST_ALL_PLUGINS} ${UGLY_GST_ALL_PLUGINS}
+gst_${i}_GCONF_SCHEMAS?= # Empty
+gst_${i}_USE_SDL?= # Empty
+.endfor
+
+CONFIG_GST_PLUGINS= gnome_vfs
+GST_ALL_PLUGINS= ${BASE_GST_ALL_PLUGINS} ${BAD_GST_ALL_PLUGINS} \
+ ${GOOD_GST_ALL_PLUGINS} ${UGLY_ALL_PLUGINS} \
+ ${CONFIG_GST_PLUGINS}
+
+# Disable all plugins by default
+.for d in ${GST_ALL_PLUGINS}
+CONFIGURE_ARGS+= --disable-${d}
+.endfor
+CONFIGURE_ARGS+= --enable-${GST_PLUGIN}
+
+CONFIGURE_ARGS+=--disable-tests \
+ --disable-examples \
+ --disable-1394 \
+ --disable-acm \
+ --disable-amrnb \
+ --disable-alsa \
+ --disable-http \
+ --enable-cdrom \
+ --disable-gconf \
+ --disable-gconftool \
+ --disable-schemas-install \
+ --enable-oss \
+ --enable-oss4 \
+ --disable-osx_audio \
+ --disable-osx_video \
+ --disable-directdrawsink \
+ --disable-directsoundsink \
+ --disable-v4l2src \
+ --disable-tarkin \
+ --enable-static \
+ --disable-sunaudio \
+ --disable-xine \
+ --enable-x \
+ --enable-xshm \
+ --enable-xvideo
+
+.if !defined(NO_GSTREAMER_COMMON)
+GST_PLUGIN_SUFFIX?= -${GST_PLUGIN}
+
+# Enable the right plugin
+
+CONFIGURE_ARGS:=${CONFIGURE_ARGS:S|--disable-${GST_PLUGIN}|--enable-${GST_PLUGIN}|}
+
+GST_LIB_DIR= lib/gstreamer-${VERSION}
+
+# Auto create PLIST
+PLIST= ${NONEXISTENT}
+
+# a52dec
+gst_a52dec_LIB_DEPENDS+= a52.0:${PORTSDIR}/audio/liba52
+gst_a52dec_PLIST_FILES= ${GST_LIB_DIR}/libgsta52dec.la \
+ ${GST_LIB_DIR}/libgsta52dec.so
+gst_a52dec_DIST= ugly
+
+# aalib
+gst_aalib_LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib
+gst_aalib_PLIST_FILES= ${GST_LIB_DIR}/libgstaasink.so \
+ ${GST_LIB_DIR}/libgstaasink.la
+
+# annodex
+gst_annodex_LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2
+gst_annodex_PLIST_FILES= ${GST_LIB_DIR}/libgstannodex.la \
+ ${GST_LIB_DIR}/libgstannodex.so
+
+# bz2
+gst_bz2_PLIST_FILES= ${GST_LIB_DIR}/libgstbz2.la \
+ ${GST_LIB_DIR}/libgstbz2.so
+gst_bz2_DIST= bad
+
+# cairo
+gst_cairo_LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo
+gst_cairo_PLIST_FILES= ${GST_LIB_DIR}/libgstcairo.la \
+ ${GST_LIB_DIR}/libgstcairo.so
+
+# cdaudio
+gst_cdaudio_LIB_DEPENDS+=cdaudio.1:${PORTSDIR}/audio/libcdaudio
+gst_cdaudio_PLIST_FILES= ${GST_LIB_DIR}/libgstcdaudio.la \
+ ${GST_LIB_DIR}/libgstcdaudio.so
+gst_cdaudio_DIST= bad
+
+# cdparanoia
+gst_cdparanoia_LIB_DEPENDS+= cdda_interface.0:${PORTSDIR}/audio/cdparanoia
+gst_cdparanoia_EXTRA_LIBS+= -lgstcdda-${VERSION}
+gst_cdparanoia_PLIST_FILES= ${GST_LIB_DIR}/libgstcdparanoia.la \
+ ${GST_LIB_DIR}/libgstcdparanoia.so
+gst_cdparanoia_DIST= base
+
+# cdio
+gst_cdio_LIB_DEPENDS+= cdio.8:${PORTSDIR}/sysutils/libcdio
+gst_cdio_PLIST_FILES= ${GST_LIB_DIR}/libgstcdio.la \
+ ${GST_LIB_DIR}/libgstcdio.so
+gst_cdio_DIST= ugly
+
+# dts
+gst_dts_LIB_DEPENDS+= dca.0:${PORTSDIR}/multimedia/libdca
+gst_dts_PLIST_FILES= ${GST_LIB_DIR}/libgstdtsdec.la \
+ ${GST_LIB_DIR}/libgstdtsdec.so
+gst_dts_EXTRA_LIBS+= -ldca
+gst_dts_DIST= bad
+
+# dv
+gst_dv_LIB_DEPENDS+= dv.4:${PORTSDIR}/multimedia/libdv
+gst_dv_PLIST_FILES= ${GST_LIB_DIR}/libgstdv.la \
+ ${GST_LIB_DIR}/libgstdv.so
+
+# dvd
+gst_dvd_EXTRA_LIBS+= -ldvdnav
+gst_dvd_LIB_DEPENDS+= dvdnav.4:${PORTSDIR}/multimedia/libdvdnav \
+ dvdread.4:${PORTSDIR}/multimedia/libdvdread
+gst_dvd_GST_PLUGIN_DIR= ext/dvdnav \
+ ext/dvdread
+gst_dvd_PLIST_FILES= ${GST_LIB_DIR}/libgstdvdnav.la \
+ ${GST_LIB_DIR}/libgstdvdnav.so \
+ ${GST_LIB_DIR}/libgstdvdread.la \
+ ${GST_LIB_DIR}/libgstdvdread.so
+gst_dvd_DIST= ugly
+
+
+# esound
+gst_esound_USE_GNOME+= esound
+gst_esound_GST_PLUGIN_DIR= ext/esd
+gst_esound_CONFIGURE_ENV+= ESD_CFLAGS="`pkg-config --cflags esound`" \
+ ESD_LIBS="`pkg-config --libs esound`"
+gst_esound_PLIST_FILES= ${GST_LIB_DIR}/libgstesd.so \
+ ${GST_LIB_DIR}/libgstesd.la
+
+# faac
+gst_faac_LIB_DEPENDS+= faac.0:${PORTSDIR}/audio/faac
+gst_faac_PLIST_FILES= ${GST_LIB_DIR}/libgstfaac.la \
+ ${GST_LIB_DIR}/libgstfaac.so
+gst_faac_DIST= bad
+
+# faad
+gst_faad_USE_GSTREAMER+= bad
+gst_faad_LIB_DEPENDS+= faad.2:${PORTSDIR}/audio/faad
+gst_faad_PLIST_FILES= ${GST_LIB_DIR}/libgstfaad.la \
+ ${GST_LIB_DIR}/libgstfaad.so
+gst_faad_DIST= bad
+
+# flac
+gst_flac_LIB_DEPENDS+= FLAC.10:${PORTSDIR}/audio/flac
+gst_flac_PLIST_FILES= ${GST_LIB_DIR}/libgstflac.la \
+ ${GST_LIB_DIR}/libgstflac.so
+
+# gconf
+gst_gconf_USE_GNOME+= gnomeprefix gconf2
+gst_gconf_GST_PLUGIN_DIR= ext/gconf \
+ gconf
+gst_gconf_CONFIGURE_ARGS+= --enable-schemas-install
+gst_gconf_GCONF_SCHEMAS= gstreamer-${GST_VERSION}.schemas
+gst_gconf_PLIST_FILES= ${GST_LIB_DIR}/libgstgconfelements.so \
+ ${GST_LIB_DIR}/libgstgconfelements.la
+
+# gdk_pixbuf
+gst_gdk_pixbuf_USE_GNOME+= gtk20
+gst_gdk_pixbuf_GST_PLUGIN_DIR= ext/gdk_pixbuf
+gst_gdk_pixbuf_PLIST_FILES= ${GST_LIB_DIR}/libgstgdkpixbuf.la \
+ ${GST_LIB_DIR}/libgstgdkpixbuf.so
+# gio
+gst_gio_USE_GNOME+= glib20
+gst_gio_CONFIGURE_ARGS+=--enable-experimental
+gst_gio_PLIST_FILES= ${GST_LIB_DIR}/libgstgio.la \
+ ${GST_LIB_DIR}/libgstgio.so
+gst_gio_DIST= base
+
+# gnomevfs
+gst_gnomevfs_USE_GNOME+= gnomevfs2
+gst_gnomevfs_CONFIGURE_ARGS+=--enable-gnome_vfs
+gst_gnomevfs_PLIST_FILES= ${GST_LIB_DIR}/libgstgnomevfs.la \
+ ${GST_LIB_DIR}/libgstgnomevfs.so
+gst_gnomevfs_DIST= base
+
+# gsm
+gst_gsm_LIB_DEPENDS+= gsm.1:${PORTSDIR}/audio/gsm
+gst_gsm_PLIST_FILES= ${GST_LIB_DIR}/libgstgsm.la \
+ ${GST_LIB_DIR}/libgstgsm.so
+gst_gsm_DIST= bad
+
+# ivorbis
+gst_ivorbis_LIB_DEPENDS+= vorbisidec.1:${PORTSDIR}/audio/libtremor
+gst_ivorbis_PLIST_FILES= ${GST_LIB_DIR}/libgstivorbis.la \
+ ${GST_LIB_DIR}/libgstivorbis.so
+gst_ivorbis_DIST= bad
+
+# hal
+gst_hal_LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
+gst_hal_PLIST_FILES= ${GST_LIB_DIR}/libgsthalelements.la \
+ ${GST_LIB_DIR}/libgsthalelements.so
+
+# jack
+gst_jack_LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack
+gst_jack_PLIST_FILES= ${GST_LIB_DIR}/libgstjack.la \
+ ${GST_LIB_DIR}/libgstjack.so
+gst_jack_DIST= bad
+
+# jpeg
+gst_jpeg_LIB_DEPENDS+= jpeg.10:${PORTSDIR}/graphics/jpeg
+gst_jpeg_PLIST_FILES= ${GST_LIB_DIR}/libgstjpeg.la \
+ ${GST_LIB_DIR}/libgstjpeg.so
+
+# ladspa
+gst_ladspa_BUILD_DEPENDS+= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
+gst_ladspa_PLIST_FILES= ${GST_LIB_DIR}/libgstladspa.la \
+ ${GST_LIB_DIR}/libgstladspa.so
+
+# lame
+gst_lame_LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame
+gst_lame_PLIST_FILES= ${GST_LIB_DIR}/libgstlame.la \
+ ${GST_LIB_DIR}/libgstlame.so
+gst_lame_DIST= ugly
+
+# libcaca
+gst_libcaca_LIB_DEPENDS+= caca.0:${PORTSDIR}/graphics/libcaca
+gst_libcaca_PLIST_FILES= ${GST_LIB_DIR}/libgstcacasink.so \
+ ${GST_LIB_DIR}/libgstcacasink.la
+
+# libmms
+gst_libmms_LIB_DEPENDS+= mms.0:${PORTSDIR}/net/libmms
+gst_libmms_PLIST_FILES= ${GST_LIB_DIR}/libgstmms.so \
+ ${GST_LIB_DIR}/libgstmms.la
+gst_libmms_DIST= bad
+
+# libpng and the snapshot plugin
+gst_libpng_LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png
+gst_libpng_GST_PLUGIN_DIR= ext/libpng
+gst_libpng_PLIST_FILES= ${GST_LIB_DIR}/libgstpng.so \
+ ${GST_LIB_DIR}/libgstpng.la
+
+# libvisual
+gst_libvisual_LIB_DEPENDS+= visual.0:${PORTSDIR}/graphics/libvisual
+gst_libvisual_PLIST_FILES= ${GST_LIB_DIR}/libgstlibvisual.la \
+ ${GST_LIB_DIR}/libgstlibvisual.so
+gst_libvisual_DIST= base
+
+# mad
+gst_mad_LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/libmad \
+ id3tag.0:${PORTSDIR}/audio/libid3tag
+gst_mad_PLIST_FILES= ${GST_LIB_DIR}/libgstmad.la \
+ ${GST_LIB_DIR}/libgstmad.so
+gst_mad_DIST= ugly
+
+# mpeg2enc
+gst_mpeg2enc_LIB_DEPENDS+= mjpegutils-1.9.1:${PORTSDIR}/multimedia/mjpegtools
+gst_mpeg2enc_PLIST_FILES= ${GST_LIB_DIR}/libgstmpeg2enc.la \
+ ${GST_LIB_DIR}/libgstmpeg2enc.so
+gst_mpeg2enc_DIST= bad
+
+# mpeg2dec
+gst_mpeg2dec_LIB_DEPENDS+= mpeg2.0:${PORTSDIR}/multimedia/libmpeg2
+gst_mpeg2dec_PLIST_FILES= ${GST_LIB_DIR}/libgstmpeg2dec.la \
+ ${GST_LIB_DIR}/libgstmpeg2dec.so
+gst_mpeg2dec_DIST= ugly
+
+# musepack
+gst_musepack_LIB_DEPENDS+= mpcdec.5:${PORTSDIR}/audio/libmpcdec
+gst_musepack_PLIST_FILES= ${GST_LIB_DIR}/libgstmusepack.la \
+ ${GST_LIB_DIR}/libgstmusepack.so
+gst_musepack_DIST= bad
+
+# musicbrainz
+gst_musicbrainz_LIB_DEPENDS+= musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz
+gst_musicbrainz_PLIST_FILES= ${GST_LIB_DIR}/libgsttrm.so \
+ ${GST_LIB_DIR}/libgsttrm.la
+gst_musicbrainz_DIST= bad
+
+# nas
+gst_nas_LIB_DEPENDS+= audio.2:${PORTSDIR}/audio/nas
+gst_nas_DIST= bad
+gst_nas_PLIST_FILES= ${GST_LIB_DIR}/libgstnassink.la \
+ ${GST_LIB_DIR}/libgstnassink.so
+
+# neon
+.if exists(${LOCALBASE}/lib/libneon.so.26)
+gst_neon_LIB_DEPENDS+= neon.26:${PORTSDIR}/www/neon26
+.else
+gst_neon_LIB_DEPENDS+= neon.28:${PORTSDIR}/www/neon28
+.endif
+gst_neon_CONFIGURE_ENV+= NEON_CFLAGS="-I${LOCALBASE}/include/neon"
+gst_neon_PLIST_FILES= ${GST_LIB_DIR}/libgstneonhttpsrc.la \
+ ${GST_LIB_DIR}/libgstneonhttpsrc.so
+gst_neon_DIST= bad
+
+# ogg
+gst_ogg_LIB_DEPENDS+= ogg.6:${PORTSDIR}/audio/libogg
+gst_ogg_EXTRA_LIBS+= -lgstriff-${VERSION}
+gst_ogg_PLIST_FILES= ${GST_LIB_DIR}/libgstogg.la \
+ ${GST_LIB_DIR}/libgstogg.so
+gst_ogg_DIST= base
+
+# pango
+gst_pango_USE_GNOME+= pango
+gst_pango_PLIST_FILES= ${GST_LIB_DIR}/libgstpango.la \
+ ${GST_LIB_DIR}/libgstpango.so
+gst_pango_DIST= base
+
+# pulse
+gst_pulse_LIB_DEPENDS= pulse.0:${PORTSDIR}/audio/pulseaudio
+gst_pulse_PLIST_FILES= ${GST_LIB_DIR}/libgstpulse.la \
+ ${GST_LIB_DIR}/libgstpulse.so
+gst_pulse_DIST= good
+
+# sdl
+gst_sdl_USE_SDL+= sdl
+gst_sdl_PLIST_FILES= ${GST_LIB_DIR}/libgstsdl.la \
+ ${GST_LIB_DIR}/libgstsdl.so
+gst_sdl_DIST= bad
+
+# shout2
+gst_shout2_LIB_DEPENDS+= shout.5:${PORTSDIR}/audio/libshout2
+gst_shout2_PLIST_FILES= ${GST_LIB_DIR}/libgstshout2.la \
+ ${GST_LIB_DIR}/libgstshout2.so
+
+# sidplay
+gst_sidplay_LIB_DEPENDS+= sidplay.1:${PORTSDIR}/audio/libsidplay
+gst_sidplay_PLIST_FILES= ${GST_LIB_DIR}/libgstsid.so \
+ ${GST_LIB_DIR}/libgstsid.la
+gst_sidplay_DIST= ugly
+
+# sndfile
+gst_sndfile_LIB_DEPENDS+= sndfile.1:${PORTSDIR}/audio/libsndfile
+gst_sndfile_PLIST_FILES= ${GST_LIB_DIR}/libgstsndfile.la \
+ ${GST_LIB_DIR}/libgstsndfile.so
+gst_sndfile_DIST= bad
+
+# soundtouch
+gst_soundtouch_LIB_DEPENDS+= SoundTouch.0:${PORTSDIR}/audio/soundtouch
+gst_soundtouch_PLIST_FILES= ${GST_LIB_DIR}/libgstsoundtouch.la \
+ ${GST_LIB_DIR}/libgstsoundtouch.so
+gst_soundtouch_DIST= bad
+
+# souphttpsrc
+gst_soup_LIB_DEPENDS+= soup-2.4.1:${PORTSDIR}/devel/libsoup
+gst_soup_GST_PLUGIN_DIR=ext/soup
+gst_soup_PLIST_FILES= ${GST_LIB_DIR}/libgstsouphttpsrc.la \
+ ${GST_LIB_DIR}/libgstsouphttpsrc.so
+
+# spc
+gst_spc_LIB_DEPENDS+= openspc.0:${PORTSDIR}/audio/libopenspc
+gst_spc_PLIST_FILES= ${GST_LIB_DIR}/libgstspc.la \
+ ${GST_LIB_DIR}/libgstspc.so
+gst_spc_DIST= bad
+
+# speex
+gst_speex_LIB_DEPENDS+= speex.1:${PORTSDIR}/audio/speex
+gst_speex_PLIST_FILES= ${GST_LIB_DIR}/libgstspeex.la \
+ ${GST_LIB_DIR}/libgstspeex.so
+
+# swfdec
+gst_swfdec_LIB_DEPENDS+=swfdec-0.4.1:${PORTSDIR}/graphics/swfdec
+gst_swfdec_DIST= bad
+
+# taglib
+gst_taglib_LIB_DEPENDS+= tag.6:${PORTSDIR}/audio/taglib
+gst_taglib_PLIST_FILES= ${GST_LIB_DIR}/libgsttaglib.la \
+ ${GST_LIB_DIR}/libgsttaglib.so
+
+# theora
+gst_theora_LIB_DEPENDS+= theora.0:${PORTSDIR}/multimedia/libtheora
+gst_theora_PLIST_FILES= ${GST_LIB_DIR}/libgsttheora.la \
+ ${GST_LIB_DIR}/libgsttheora.so
+gst_theora_DIST= base
+
+# vorbis
+gst_vorbis_USE_GSTREAMER+= ogg
+gst_vorbis_LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis
+gst_vorbis_EXTRA_LIBS+= -lgsttag-${VERSION} -lgstaudio-${VERSION}
+gst_vorbis_PLIST_FILES= ${GST_LIB_DIR}/libgstvorbis.la \
+ ${GST_LIB_DIR}/libgstvorbis.so
+gst_vorbis_DIST= base
+
+# x264
+gst_x264_LIB_DEPENDS+= x264.65:${PORTSDIR}/multimedia/x264
+gst_x264_PLIST_FILES= ${GST_LIB_DIR}/libgstx264.la \
+ ${GST_LIB_DIR}/libgstx264.so \
+ share/gstreamer-${VERSION}/presets/GstX264Enc.prs
+gst_x264_PLIST_DIRS= share/gstreamer-${VERSION}/presets \
+ share/gstreamer-${VERSION}
+gst_x264_DIST= ugly
+
+# xvid
+gst_xvid_LIB_DEPENDS+= xvidcore.4:${PORTSDIR}/multimedia/xvid
+gst_xvid_PLIST_FILES= ${GST_LIB_DIR}/libgstxvid.la \
+ ${GST_LIB_DIR}/libgstxvid.so
+gst_xvid_DIST= bad
+
+# wavpack
+gst_wavpack_LIB_DEPENDS+= wavpack.1:${PORTSDIR}/audio/wavpack
+gst_wavpack_PLIST_FILES= ${GST_LIB_DIR}/libgstwavpack.la \
+ ${GST_LIB_DIR}/libgstwavpack.so
+
+.endif # NO_GSTREAMER_COMMON
+
+gst_${GST_PLUGIN}_DIST?= good
+DIST= ${gst_${GST_PLUGIN}_DIST}
+
+.if !defined(NO_GSTREAMER_COMMON)
+gst_${GST_PLUGIN}_BUILD_DEPENDS?=
+gst_${GST_PLUGIN}_LIB_DEPENDS?=
+gst_${GST_PLUGIN}_RUN_DEPENDS?=
+gst_${GST_PLUGIN}_PLIST_FILES?=${GST_LIB_DIR}/libgst${GST_PLUGIN}${GST_PLIST_SUFFIX}.so \
+ ${GST_LIB_DIR}/libgst${GST_PLUGIN}${GST_PLIST_SUFFIX}.a \
+ ${GST_LIB_DIR}/libgst${GST_PLUGIN}${GST_PLIST_SUFFIX}.la
+gst_${GST_PLUGIN}_EXTRA_LIBS?=
+gst_${GST_PLUGIN}_PREBUILD_DIR?=
+gst_${GST_PLUGIN}_GST_PLUGIN_DIR?= ext/${GST_PLUGIN}
+gst_${GST_PLUGIN}_POSTBUILD_DIR?=
+gst_${GST_PLUGIN}_USE_GNOME?=
+gst_${GST_PLUGIN}_CONFIGURE_ENV?=
+gst_${GST_PLUGIN}_GCONF_SCHEMAS?=
+gst_${GST_PLUGIN}_CONFIGURE_ARGS?=
+gst_${GST_PLUGIN}_USE_SDL?=
+gst_${GST_PLUGIN}_USE_GSTREAMER?=
+
+BUILD_DEPENDS+= ${gst_${GST_PLUGIN}_BUILD_DEPENDS}
+LIB_DEPENDS+= ${gst_${GST_PLUGIN}_LIB_DEPENDS}
+RUN_DEPENDS+= ${gst_${GST_PLUGIN}_RUN_DEPENDS}
+PLIST_FILES= ${gst_${GST_PLUGIN}_PLIST_FILES}
+PLIST_DIRS= ${gst_${GST_PLUGIN}_PLIST_DIRS}
+EXTRA_LIBS+= ${gst_${GST_PLUGIN}_EXTRA_LIBS}
+USE_GNOME+= ${gst_${GST_PLUGIN}_USE_GNOME}
+CONFIGURE_ENV+= ${gst_${GST_PLUGIN}_CONFIGURE_ENV}
+.if ${gst_${GST_PLUGIN}_GCONF_SCHEMAS}!=""
+GCONF_SCHEMAS= ${gst_${GST_PLUGIN}_GCONF_SCHEMAS}
+.endif
+CONFIGURE_ARGS+=${gst_${GST_PLUGIN}_CONFIGURE_ARGS}
+.if ${gst_${GST_PLUGIN}_USE_SDL}!=""
+USE_SDL= ${gst_${GST_PLUGIN}_USE_SDL}
+.endif
+USE_GSTREAMER+= ${gst_${GST_PLUGIN}_USE_GSTREAMER} ${DIST:S/base/yes/}
+GST_PREBUILD_DIR=${gst_${GST_PLUGIN}_GST_PREBUILD_DIR}
+GST_PLUGIN_DIR= ${gst_${GST_PLUGIN}_GST_PLUGIN_DIR}
+GST_POSTBUILD_DIR=${gst_${GST_PLUGIN}_GST_POSTBUILD_DIR}
+
+.if !target(do-build)
+do-build:
+.for dir in ${GST_PREBUILD_DIR} ${GST_PLUGIN_DIR} ${GST_POSTBUILD_DIR}
+ @cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
+ ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}
+.endfor
+.endif
+
+.if !target(do-install)
+do-install:
+.for dir in ${GST_PLUGIN_DIR}
+ @cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
+ ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}
+.endfor
+.endif
+.endif
diff --git a/multimedia/gstreamer-plugins/distinfo b/multimedia/gstreamer-plugins/distinfo
new file mode 100644
index 000000000..71b261c16
--- /dev/null
+++ b/multimedia/gstreamer-plugins/distinfo
@@ -0,0 +1,12 @@
+MD5 (gst-plugins-base-0.10.25.tar.bz2) = d29669dd79276c5cd94e1613c03cd9ab
+SHA256 (gst-plugins-base-0.10.25.tar.bz2) = 0ab2f7e1d818e7af1be99c4eae02ba69d4a1b8f7e3527929a6426f1daa0d4607
+SIZE (gst-plugins-base-0.10.25.tar.bz2) = 2241145
+MD5 (gst-plugins-bad-0.10.14.tar.bz2) = 6be38b04fc76cdfef3a3b02b8434efa2
+SHA256 (gst-plugins-bad-0.10.14.tar.bz2) = cd6811522302d8e7549990ccc0edd371f6695daa566b65f338079f5fa5ce6bd9
+SIZE (gst-plugins-bad-0.10.14.tar.bz2) = 2781487
+MD5 (gst-plugins-ugly-0.10.12.tar.bz2) = 4400914a009201348fe66d2a83fa3971
+SHA256 (gst-plugins-ugly-0.10.12.tar.bz2) = b3e785a0dd47aab880049535068556a5f61726da44bce452b41555e3f0481d2f
+SIZE (gst-plugins-ugly-0.10.12.tar.bz2) = 1027462
+MD5 (gst-plugins-good-0.10.16.tar.bz2) = f0af97464bb6e060a99df39bb21b7a42
+SHA256 (gst-plugins-good-0.10.16.tar.bz2) = 64bd5177913b8ccaa1502e88a255adb3e6024202ba8983e6a956061e57fe1640
+SIZE (gst-plugins-good-0.10.16.tar.bz2) = 2573811
diff --git a/multimedia/gstreamer-plugins/files/patch-Makefile.in b/multimedia/gstreamer-plugins/files/patch-Makefile.in
new file mode 100644
index 000000000..e20f7d218
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-Makefile.in
@@ -0,0 +1,22 @@
+--- Makefile.in.orig 2009-11-09 10:37:05.000000000 +0100
++++ Makefile.in 2009-11-09 10:37:34.000000000 +0100
+@@ -397,19 +397,15 @@
+ gst-libs \
+ gst sys $(SUBDIRS_EXT) \
+ tools \
+- tests \
+- docs \
+ po \
+ common \
+ m4
+
+ DIST_SUBDIRS = \
+ pkgconfig \
+- docs \
+ gst-libs \
+ gst sys ext \
+ tools \
+- tests \
+ po \
+ common \
+ m4
diff --git a/multimedia/gstreamer-plugins/files/patch-ext_cdparanoia_gstcdparanoiasrc.c b/multimedia/gstreamer-plugins/files/patch-ext_cdparanoia_gstcdparanoiasrc.c
new file mode 100644
index 000000000..6d0fa67b9
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-ext_cdparanoia_gstcdparanoiasrc.c
@@ -0,0 +1,18 @@
+--- ext/cdparanoia/gstcdparanoiasrc.c.orig 2009-08-09 17:16:48.000000000 -0400
++++ ext/cdparanoia/gstcdparanoiasrc.c 2009-08-09 17:17:38.000000000 -0400
+@@ -264,6 +264,7 @@ gst_cd_paranoia_src_open (GstCddaBaseSrc
+ GST_INFO_OBJECT (src, "search overlap set to %u", src->search_overlap);
+ }
+
++#ifdef PARANOIA_CB_CACHEERR
+ cache_size = src->cache_size;
+ if (cache_size == -1) {
+ /* if paranoia mode is low (the default), assume we're doing playback */
+@@ -274,6 +275,7 @@ gst_cd_paranoia_src_open (GstCddaBaseSrc
+ }
+ paranoia_cachemodel_size (src->p, cache_size);
+ GST_INFO_OBJECT (src, "set cachemodel size to %u", cache_size);
++#endif
+
+ src->next_sector = -1;
+
diff --git a/multimedia/gstreamer-plugins/files/patch-ext_pango_Makefile.in b/multimedia/gstreamer-plugins/files/patch-ext_pango_Makefile.in
new file mode 100644
index 000000000..cec86b200
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-ext_pango_Makefile.in
@@ -0,0 +1,20 @@
+--- ext/pango/Makefile.in.orig 2008-07-26 06:39:00.827210159 -0700
++++ ext/pango/Makefile.in 2008-07-26 06:57:02.595333482 -0700
+@@ -86,7 +86,7 @@
+ pluginLTLIBRARIES_INSTALL = $(INSTALL)
+ LTLIBRARIES = $(plugin_LTLIBRARIES)
+ am__DEPENDENCIES_1 =
+-libgstpango_la_DEPENDENCIES = $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_MAJORMINOR).la \
++libgstpango_la_DEPENDENCIES = \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1)
+ am_libgstpango_la_OBJECTS = libgstpango_la-gstclockoverlay.lo \
+@@ -481,7 +481,7 @@
+
+ libgstpango_la_LIBADD = \
+ $(GST_PLUGINS_BASE_LIBS) \
+- $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_MAJORMINOR).la \
++ -lgstvideo-$(GST_MAJORMINOR) \
+ $(GST_BASE_LIBS) \
+ $(GST_LIBS) \
+ $(PANGO_LIBS)
diff --git a/multimedia/gstreamer-plugins/files/patch-gst-libs_gst_audio_Makefile.in b/multimedia/gstreamer-plugins/files/patch-gst-libs_gst_audio_Makefile.in
new file mode 100644
index 000000000..ccbc28e5d
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-gst-libs_gst_audio_Makefile.in
@@ -0,0 +1,11 @@
+--- gst-libs/gst/audio/Makefile.in.orig 2009-08-05 14:51:57.000000000 +0200
++++ gst-libs/gst/audio/Makefile.in 2009-08-05 14:52:32.000000000 +0200
+@@ -932,7 +932,7 @@ uninstall-am: uninstall-libLTLIBRARIES \
+ $^ > $@
+
+ %-enumtypes.c: $(glib_enum_headers)
+- @if test "x$(glib_enum_headers)" == "x"; then echo "ERROR: glib_enum_headers is empty, please fix Makefile"; exit 1; fi
++ @if test "x$(glib_enum_headers)" = "x"; then echo "ERROR: glib_enum_headers is empty, please fix Makefile"; exit 1; fi
+ glib-mkenums \
+ --fhead "#include \"$*-enumtypes.h\"\n$(enum_headers)" \
+ --fprod "\n/* enumerations from \"@filename@\" */" \
diff --git a/multimedia/gstreamer-plugins/files/patch-gst-libs_gst_sdp_gstsdpmessage.c b/multimedia/gstreamer-plugins/files/patch-gst-libs_gst_sdp_gstsdpmessage.c
new file mode 100644
index 000000000..34b8dfb3a
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-gst-libs_gst_sdp_gstsdpmessage.c
@@ -0,0 +1,11 @@
+--- gst-libs/gst/sdp/gstsdpmessage.c.orig 2007-12-02 11:51:45.000000000 -0500
++++ gst-libs/gst/sdp/gstsdpmessage.c 2007-12-02 11:52:01.000000000 -0500
+@@ -64,7 +64,7 @@
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+ #endif
+-
++#include <netinet/in.h>
+ #include <glib.h> /* for G_OS_WIN32 */
+
+ #ifdef G_OS_WIN32
diff --git a/multimedia/gstreamer-plugins/files/patch-sys_v4l_gstv4lelement.h b/multimedia/gstreamer-plugins/files/patch-sys_v4l_gstv4lelement.h
new file mode 100644
index 000000000..d2f6ac436
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-sys_v4l_gstv4lelement.h
@@ -0,0 +1,11 @@
+--- sys/v4l/gstv4lelement.h.orig 2008-02-23 15:31:39.000000000 -0500
++++ sys/v4l/gstv4lelement.h 2008-02-23 15:32:00.000000000 -0500
+@@ -91,6 +91,8 @@ struct _GstV4lElement {
+ /* X-overlay */
+ GstV4lXv *xv;
+ gulong xwindow_id;
++
++ gboolean use_read;
+ };
+
+ struct _GstV4lElementClass {
diff --git a/multimedia/gstreamer-plugins/files/patch-sys_v4l_v4lsrc_calls.c b/multimedia/gstreamer-plugins/files/patch-sys_v4l_v4lsrc_calls.c
new file mode 100644
index 000000000..24088dc9f
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-sys_v4l_v4lsrc_calls.c
@@ -0,0 +1,261 @@
+--- sys/v4l/v4lsrc_calls.c.orig 2008-03-03 17:29:52.000000000 -0500
++++ sys/v4l/v4lsrc_calls.c 2008-03-20 23:50:39.000000000 -0400
+@@ -26,12 +26,14 @@
+
+ #include <stdlib.h>
+ #include <sys/types.h>
++#include <sys/uio.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <sys/ioctl.h>
+ #include <sys/mman.h>
+ #include <string.h>
+ #include <errno.h>
++#include <unistd.h>
+ #include "v4lsrc_calls.h"
+ #include <sys/time.h>
+
+@@ -87,6 +89,51 @@
+ return FALSE;
+ }
+
++ if (GST_V4LELEMENT (v4lsrc)->use_read) {
++ struct video_picture vp;
++ struct video_window vw;
++
++
++ if (ioctl (GST_V4LELEMENT (v4lsrc)->video_fd, VIDIOCGPICT, &vp) == -1) {
++ GST_ELEMENT_ERROR (v4lsrc, RESOURCE, WRITE, (NULL),
++ ("Error getting current picture info for frame (%d): %s", num, g_strerror (errno)));
++ return FALSE;
++ }
++
++ vp.palette = v4lsrc->mmap.format;
++ if (ioctl (GST_V4LELEMENT (v4lsrc)->video_fd, VIDIOCSPICT, &vp) == -1) {
++ GST_ELEMENT_ERROR (v4lsrc, RESOURCE, WRITE, (NULL),
++ ("Error setting picture info for frame (%d): %s", num, g_strerror (errno)));
++ return FALSE;
++ }
++
++ if (ioctl (GST_V4LELEMENT (v4lsrc)->video_fd, VIDIOCGWIN, &vw) == -1) {
++ GST_ELEMENT_ERROR (v4lsrc, RESOURCE, WRITE, (NULL),
++ ("Error getting current window properties for frame (%d): %s", num, g_strerror (errno)));
++ return FALSE;
++ }
++
++ vw.width = v4lsrc->mmap.width;
++ vw.height = v4lsrc->mmap.height;
++ if (ioctl (GST_V4LELEMENT (v4lsrc)->video_fd, VIDIOCSWIN, &vw) == -1) {
++ vw.flags &= (0x3F00 - 1);
++ vw.flags |= 15 << 16;
++ if (ioctl (GST_V4LELEMENT (v4lsrc)->video_fd, VIDIOCSWIN, &vw) == -1) {
++ GST_ELEMENT_ERROR (v4lsrc, RESOURCE, WRITE, (NULL),
++ ("Error setting window properties for frame (%d): %s", num, g_strerror (errno)));
++ return FALSE;
++ }
++ }
++
++
++ if (read(GST_V4LELEMENT (v4lsrc)->video_fd, GST_V4LELEMENT (v4lsrc)->buffer + (1024 * 768 * 3 * num), v4lsrc->mmap.width * v4lsrc->mmap.height * 3/2) < 0) {
++ GST_ELEMENT_ERROR (v4lsrc, RESOURCE, WRITE, (NULL),
++ ("Error queueing a buffer (%d): %s", num, g_strerror (errno)));
++ return FALSE;
++ }
++ goto done;
++ }
++
+ /* instruct the driver to prepare capture using buffer frame num */
+ v4lsrc->mmap.frame = num;
+ if (ioctl (GST_V4LELEMENT (v4lsrc)->video_fd,
+@@ -95,6 +142,7 @@
+ ("Error queueing a buffer (%d): %s", num, g_strerror (errno)));
+ return FALSE;
+ }
++done:
+
+ v4lsrc->frame_queue_state[num] = QUEUE_STATE_QUEUED;
+ v4lsrc->num_queued++;
+@@ -117,6 +165,10 @@
+ return FALSE;
+ }
+
++ if (GST_V4LELEMENT (v4lsrc)->use_read) {
++ goto done;
++ }
++
+ while (ioctl (GST_V4LELEMENT (v4lsrc)->video_fd, VIDIOCSYNC, &num) < 0) {
+ /* if the sync() got interrupted, we can retry */
+ if (errno != EINTR) {
+@@ -126,6 +178,7 @@
+ }
+ GST_DEBUG_OBJECT (v4lsrc, "Sync got interrupted");
+ }
++done:
+ GST_LOG_OBJECT (v4lsrc, "VIOIOCSYNC on frame %d done", num);
+
+ v4lsrc->frame_queue_state[num] = QUEUE_STATE_SYNCED;
+@@ -168,13 +221,28 @@
+ GST_V4L_CHECK_OPEN (GST_V4LELEMENT (v4lsrc));
+ GST_V4L_CHECK_NOT_ACTIVE (GST_V4LELEMENT (v4lsrc));
+
++ GST_V4LELEMENT (v4lsrc)->use_read = FALSE;
++
+ /* request the mmap buffer info:
+ * total size of mmap buffer, number of frames, offsets of frames */
+ if (ioctl (GST_V4LELEMENT (v4lsrc)->video_fd, VIDIOCGMBUF,
+ &(v4lsrc->mbuf)) < 0) {
+- GST_ELEMENT_ERROR (v4lsrc, RESOURCE, READ, (NULL),
+- ("Error getting buffer information: %s", g_strerror (errno)));
+- return FALSE;
++ int i;
++
++ GST_V4LELEMENT (v4lsrc)->buffer = (guint8 *) g_malloc0 (sizeof (guint8) * 1024 * 768 * 3 * MIN_BUFFERS_QUEUED);
++ GST_V4LELEMENT (v4lsrc)->use_read = TRUE;
++
++ v4lsrc->frame_queue_state = (gint8 *) g_malloc (sizeof (gint8) * MIN_BUFFERS_QUEUED);
++
++ v4lsrc->mbuf.frames = MIN_BUFFERS_QUEUED;
++ for (i = 0; i < MIN_BUFFERS_QUEUED; i++) {
++ v4lsrc->mbuf.offsets[i] = (1024 * 768 * 3 * i);
++ }
++
++ /* lock for the frame_state */
++ v4lsrc->mutex_queue_state = g_mutex_new ();
++ v4lsrc->cond_queue_state = g_cond_new ();
++ goto done;
+ }
+
+ if (v4lsrc->mbuf.frames < MIN_BUFFERS_QUEUED) {
+@@ -205,6 +273,7 @@
+ GST_V4LELEMENT (v4lsrc)->buffer = NULL;
+ return FALSE;
+ }
++done:
+
+ return TRUE;
+ }
+@@ -413,10 +482,14 @@
+ v4lsrc->frame_queue_state = NULL;
+
+ /* unmap the buffer */
+- if (munmap (GST_V4LELEMENT (v4lsrc)->buffer, v4lsrc->mbuf.size) == -1) {
+- GST_ELEMENT_ERROR (v4lsrc, RESOURCE, CLOSE, (NULL),
+- ("error munmap'ing capture buffer: %s", g_strerror (errno)));
+- return FALSE;
++ if (GST_V4LELEMENT (v4lsrc)->use_read) {
++ g_free (GST_V4LELEMENT (v4lsrc)->buffer);
++ } else {
++ if (munmap (GST_V4LELEMENT (v4lsrc)->buffer, v4lsrc->mbuf.size) == -1) {
++ GST_ELEMENT_ERROR (v4lsrc, RESOURCE, CLOSE, (NULL),
++ ("error munmap'ing capture buffer: %s", g_strerror (errno)));
++ return FALSE;
++ }
+ }
+ GST_V4LELEMENT (v4lsrc)->buffer = NULL;
+
+@@ -446,6 +519,7 @@
+ /* so, we need a buffer and some more stuff */
+ int frame = 0;
+ guint8 *buffer;
++ gboolean use_read = FALSE;
+ struct video_mbuf vmbuf;
+ struct video_mmap vmmap;
+
+@@ -456,24 +530,72 @@
+
+ /* let's start by requesting a buffer and mmap()'ing it */
+ if (ioctl (GST_V4LELEMENT (v4lsrc)->video_fd, VIDIOCGMBUF, &vmbuf) < 0) {
+- GST_ELEMENT_ERROR (v4lsrc, RESOURCE, READ, (NULL),
+- ("Error getting buffer information: %s", g_strerror (errno)));
+- return FALSE;
+- }
+- /* Map the buffers */
+- buffer = mmap (NULL, vmbuf.size, PROT_READ | PROT_WRITE,
+- MAP_SHARED, GST_V4LELEMENT (v4lsrc)->video_fd, 0);
+- if (buffer == MAP_FAILED) {
+- GST_ELEMENT_ERROR (v4lsrc, RESOURCE, OPEN_READ_WRITE, (NULL),
+- ("Error mapping our try-out buffer: %s", g_strerror (errno)));
+- return FALSE;
+- }
++ buffer = (gint8 *) g_malloc0 (sizeof (gint8) * 1024 * 768 * 3);
++ use_read = TRUE;
++ } else {
++ /* Map the buffers */
++ buffer = mmap (0, vmbuf.size, PROT_READ | PROT_WRITE,
++ MAP_SHARED, GST_V4LELEMENT (v4lsrc)->video_fd, 0);
++ if (buffer == MAP_FAILED) {
++ GST_ELEMENT_ERROR (v4lsrc, RESOURCE, OPEN_READ_WRITE, (NULL),
++ ("Error mapping our try-out buffer: %s", g_strerror (errno)));
++ return FALSE;
++ }
++ }
+
+ /* now that we have a buffer, let's try out our format */
+ vmmap.width = width;
+ vmmap.height = height;
+ vmmap.format = palette;
+ vmmap.frame = frame;
++ if (use_read) {
++ struct video_picture vp;
++ struct video_window vw;
++
++ if (ioctl (GST_V4LELEMENT (v4lsrc)->video_fd, VIDIOCGWIN, &vw) == -1) {
++ GST_ERROR_OBJECT (v4lsrc,
++ "Error getting current window properties: %s", g_strerror (errno));
++ g_free (buffer);
++ return FALSE;
++ }
++
++ vw.width = width;
++ vw.height = height;
++ if (ioctl (GST_V4LELEMENT (v4lsrc)->video_fd, VIDIOCSWIN, &vw) == -1) {
++ vw.flags &= (0x3F00 - 1);
++ vw.flags |= 15 << 16;
++ if (ioctl (GST_V4LELEMENT (v4lsrc)->video_fd, VIDIOCSWIN, &vw) == -1) {
++ GST_ERROR_OBJECT (v4lsrc,
++ "Error setting window properties: %s", g_strerror (errno));
++ g_free (buffer);
++ return FALSE;
++ }
++ }
++
++ if (ioctl (GST_V4LELEMENT (v4lsrc)->video_fd, VIDIOCGPICT, &vp) == -1) {
++ GST_ERROR_OBJECT (v4lsrc,
++ "Error getting current picture info: %s", g_strerror (errno));
++ g_free (buffer);
++ return FALSE;
++ }
++
++ vp.palette = palette;
++ if (ioctl (GST_V4LELEMENT (v4lsrc)->video_fd, VIDIOCSPICT, &vp) == -1) {
++ GST_ERROR_OBJECT (v4lsrc,
++ "Error setting picture info: %s", g_strerror (errno));
++ g_free (buffer);
++ return FALSE;
++ }
++
++
++ if (read (GST_V4LELEMENT (v4lsrc)->video_fd, buffer, width * height * 3/2) < 0) {
++ GST_ERROR_OBJECT (v4lsrc,
++ "Error reading into our try-out buffer: %s", g_strerror (errno));
++ g_free (buffer);
++ return FALSE;
++ }
++ goto done;
++ }
+ if (ioctl (GST_V4LELEMENT (v4lsrc)->video_fd, VIDIOCMCAPTURE, &vmmap) < 0) {
+ if (errno != EINVAL) /* our format failed! */
+ GST_ERROR_OBJECT (v4lsrc,
+@@ -488,7 +610,11 @@
+ return FALSE;
+ }
+
+- munmap (buffer, vmbuf.size);
++done:
++ if (use_read)
++ g_free (buffer);
++ else
++ munmap (buffer, vmbuf.size);
+
+ /* if we got here, it worked! woohoo, the format is supported! */
+ return TRUE;
diff --git a/multimedia/gstreamer-plugins/pkg-descr b/multimedia/gstreamer-plugins/pkg-descr
new file mode 100644
index 000000000..80300084c
--- /dev/null
+++ b/multimedia/gstreamer-plugins/pkg-descr
@@ -0,0 +1,17 @@
+[ excerpt from developer's site ]
+
+This is a collection of plugins written with the GStreamer framework.
+Some features of these plugins are:
+
+- Dynamically loaded plugins provide elements and media types,
+ demand-loaded via an XML registry, similar to ld.so.cache
+- Element interface handles all known types of sources, filters,
+ sinks
+- Capabilities system allows verification of element compatibility
+ using MIME types and media-specific properties
+- Autoplugging uses capabilities system to complete complex paths
+ automatically
+- Pipelines can be saved to XML and loaded back to working state
+- Resource friendly plugins don't waste RAM
+
+WWW: http://gstreamer.sourceforge.net/
diff --git a/multimedia/gstreamer-plugins/pkg-plist b/multimedia/gstreamer-plugins/pkg-plist
new file mode 100644
index 000000000..7fc53c08c
--- /dev/null
+++ b/multimedia/gstreamer-plugins/pkg-plist
@@ -0,0 +1,248 @@
+bin/gst-visualise-%%VERSION%%
+include/gstreamer-%%VERSION%%/gst/app/gstappbuffer.h
+include/gstreamer-%%VERSION%%/gst/app/gstappsink.h
+include/gstreamer-%%VERSION%%/gst/app/gstappsrc.h
+include/gstreamer-%%VERSION%%/gst/audio/audio.h
+include/gstreamer-%%VERSION%%/gst/audio/audio-enumtypes.h
+include/gstreamer-%%VERSION%%/gst/audio/gstaudioclock.h
+include/gstreamer-%%VERSION%%/gst/audio/gstaudiofilter.h
+include/gstreamer-%%VERSION%%/gst/audio/gstaudiosink.h
+include/gstreamer-%%VERSION%%/gst/audio/gstaudiosrc.h
+include/gstreamer-%%VERSION%%/gst/audio/gstbaseaudiosink.h
+include/gstreamer-%%VERSION%%/gst/audio/gstbaseaudiosrc.h
+include/gstreamer-%%VERSION%%/gst/audio/gstringbuffer.h
+include/gstreamer-%%VERSION%%/gst/audio/mixerutils.h
+include/gstreamer-%%VERSION%%/gst/audio/multichannel.h
+include/gstreamer-%%VERSION%%/gst/cdda/gstcddabasesrc.h
+include/gstreamer-%%VERSION%%/gst/fft/gstfft.h
+include/gstreamer-%%VERSION%%/gst/fft/gstfftf32.h
+include/gstreamer-%%VERSION%%/gst/fft/gstfftf64.h
+include/gstreamer-%%VERSION%%/gst/fft/gstffts16.h
+include/gstreamer-%%VERSION%%/gst/fft/gstffts32.h
+include/gstreamer-%%VERSION%%/gst/floatcast/floatcast.h
+include/gstreamer-%%VERSION%%/gst/interfaces/colorbalance.h
+include/gstreamer-%%VERSION%%/gst/interfaces/colorbalancechannel.h
+include/gstreamer-%%VERSION%%/gst/interfaces/interfaces-enumtypes.h
+include/gstreamer-%%VERSION%%/gst/interfaces/mixer.h
+include/gstreamer-%%VERSION%%/gst/interfaces/mixeroptions.h
+include/gstreamer-%%VERSION%%/gst/interfaces/mixertrack.h
+include/gstreamer-%%VERSION%%/gst/interfaces/navigation.h
+include/gstreamer-%%VERSION%%/gst/interfaces/propertyprobe.h
+include/gstreamer-%%VERSION%%/gst/interfaces/streamvolume.h
+include/gstreamer-%%VERSION%%/gst/interfaces/tuner.h
+include/gstreamer-%%VERSION%%/gst/interfaces/tunerchannel.h
+include/gstreamer-%%VERSION%%/gst/interfaces/tunernorm.h
+include/gstreamer-%%VERSION%%/gst/interfaces/videoorientation.h
+include/gstreamer-%%VERSION%%/gst/interfaces/xoverlay.h
+include/gstreamer-%%VERSION%%/gst/netbuffer/gstnetbuffer.h
+include/gstreamer-%%VERSION%%/gst/pbutils/descriptions.h
+include/gstreamer-%%VERSION%%/gst/pbutils/install-plugins.h
+include/gstreamer-%%VERSION%%/gst/pbutils/missing-plugins.h
+include/gstreamer-%%VERSION%%/gst/pbutils/pbutils-enumtypes.h
+include/gstreamer-%%VERSION%%/gst/pbutils/pbutils.h
+include/gstreamer-%%VERSION%%/gst/riff/riff-ids.h
+include/gstreamer-%%VERSION%%/gst/riff/riff-media.h
+include/gstreamer-%%VERSION%%/gst/riff/riff-read.h
+include/gstreamer-%%VERSION%%/gst/rtp/gstbasertpaudiopayload.h
+include/gstreamer-%%VERSION%%/gst/rtp/gstbasertpdepayload.h
+include/gstreamer-%%VERSION%%/gst/rtp/gstbasertppayload.h
+include/gstreamer-%%VERSION%%/gst/rtp/gstrtcpbuffer.h
+include/gstreamer-%%VERSION%%/gst/rtp/gstrtpbuffer.h
+include/gstreamer-%%VERSION%%/gst/rtp/gstrtppayloads.h
+include/gstreamer-%%VERSION%%/gst/rtsp/gstrtsp-enumtypes.h
+include/gstreamer-%%VERSION%%/gst/rtsp/gstrtspbase64.h
+include/gstreamer-%%VERSION%%/gst/rtsp/gstrtspconnection.h
+include/gstreamer-%%VERSION%%/gst/rtsp/gstrtspdefs.h
+include/gstreamer-%%VERSION%%/gst/rtsp/gstrtspextension.h
+include/gstreamer-%%VERSION%%/gst/rtsp/gstrtspmessage.h
+include/gstreamer-%%VERSION%%/gst/rtsp/gstrtsprange.h
+include/gstreamer-%%VERSION%%/gst/rtsp/gstrtsptransport.h
+include/gstreamer-%%VERSION%%/gst/rtsp/gstrtspurl.h
+include/gstreamer-%%VERSION%%/gst/sdp/gstsdp.h
+include/gstreamer-%%VERSION%%/gst/sdp/gstsdpmessage.h
+include/gstreamer-%%VERSION%%/gst/tag/gsttagdemux.h
+include/gstreamer-%%VERSION%%/gst/tag/tag.h
+include/gstreamer-%%VERSION%%/gst/video/gstvideofilter.h
+include/gstreamer-%%VERSION%%/gst/video/gstvideosink.h
+include/gstreamer-%%VERSION%%/gst/video/video.h
+include/gstreamer-%%VERSION%%/gst/video/video-enumtypes.h
+lib/girepository-1.0/GstApp-%%VERSION%%.typelib
+lib/girepository-1.0/GstAudio-%%VERSION%%.typelib
+lib/girepository-1.0/GstFft-%%VERSION%%.typelib
+lib/girepository-1.0/GstInterfaces-%%VERSION%%.typelib
+lib/girepository-1.0/GstNetbuffer-%%VERSION%%.typelib
+lib/girepository-1.0/GstPbutils-%%VERSION%%.typelib
+lib/girepository-1.0/GstRiff-%%VERSION%%.typelib
+lib/girepository-1.0/GstRtp-%%VERSION%%.typelib
+lib/girepository-1.0/GstRtsp-%%VERSION%%.typelib
+lib/girepository-1.0/GstSdp-%%VERSION%%.typelib
+lib/girepository-1.0/GstTag-%%VERSION%%.typelib
+lib/girepository-1.0/GstVideo-%%VERSION%%.typelib
+lib/gstreamer-%%VERSION%%/libgstadder.la
+lib/gstreamer-%%VERSION%%/libgstadder.so
+lib/gstreamer-%%VERSION%%/libgstapp.la
+lib/gstreamer-%%VERSION%%/libgstapp.so
+lib/gstreamer-%%VERSION%%/libgstaudioconvert.la
+lib/gstreamer-%%VERSION%%/libgstaudioconvert.so
+lib/gstreamer-%%VERSION%%/libgstaudiorate.la
+lib/gstreamer-%%VERSION%%/libgstaudiorate.so
+lib/gstreamer-%%VERSION%%/libgstaudioresample.la
+lib/gstreamer-%%VERSION%%/libgstaudioresample.so
+lib/gstreamer-%%VERSION%%/libgstaudiotestsrc.la
+lib/gstreamer-%%VERSION%%/libgstaudiotestsrc.so
+lib/gstreamer-%%VERSION%%/libgstdecodebin.la
+lib/gstreamer-%%VERSION%%/libgstdecodebin.so
+lib/gstreamer-%%VERSION%%/libgstdecodebin2.la
+lib/gstreamer-%%VERSION%%/libgstdecodebin2.so
+lib/gstreamer-%%VERSION%%/libgstffmpegcolorspace.la
+lib/gstreamer-%%VERSION%%/libgstffmpegcolorspace.so
+lib/gstreamer-%%VERSION%%/libgstgdp.la
+lib/gstreamer-%%VERSION%%/libgstgdp.so
+lib/gstreamer-%%VERSION%%/libgstplaybin.la
+lib/gstreamer-%%VERSION%%/libgstplaybin.so
+lib/gstreamer-%%VERSION%%/libgstqueue2.la
+lib/gstreamer-%%VERSION%%/libgstqueue2.so
+lib/gstreamer-%%VERSION%%/libgstsubparse.la
+lib/gstreamer-%%VERSION%%/libgstsubparse.so
+lib/gstreamer-%%VERSION%%/libgsttcp.la
+lib/gstreamer-%%VERSION%%/libgsttcp.so
+lib/gstreamer-%%VERSION%%/libgsttypefindfunctions.la
+lib/gstreamer-%%VERSION%%/libgsttypefindfunctions.so
+lib/gstreamer-%%VERSION%%/libgstvideo4linux.la
+lib/gstreamer-%%VERSION%%/libgstvideo4linux.so
+lib/gstreamer-%%VERSION%%/libgstvideorate.la
+lib/gstreamer-%%VERSION%%/libgstvideorate.so
+lib/gstreamer-%%VERSION%%/libgstvideoscale.la
+lib/gstreamer-%%VERSION%%/libgstvideoscale.so
+lib/gstreamer-%%VERSION%%/libgstvideotestsrc.la
+lib/gstreamer-%%VERSION%%/libgstvideotestsrc.so
+lib/gstreamer-%%VERSION%%/libgstvolume.la
+lib/gstreamer-%%VERSION%%/libgstvolume.so
+lib/gstreamer-%%VERSION%%/libgstximagesink.la
+lib/gstreamer-%%VERSION%%/libgstximagesink.so
+lib/gstreamer-%%VERSION%%/libgstxvimagesink.la
+lib/gstreamer-%%VERSION%%/libgstxvimagesink.so
+lib/libgstapp-%%VERSION%%.la
+lib/libgstapp-%%VERSION%%.so
+lib/libgstapp-%%VERSION%%.so.0
+lib/libgstaudio-%%VERSION%%.a
+lib/libgstaudio-%%VERSION%%.la
+lib/libgstaudio-%%VERSION%%.so
+lib/libgstaudio-%%VERSION%%.so.0
+lib/libgstcdda-%%VERSION%%.a
+lib/libgstcdda-%%VERSION%%.la
+lib/libgstcdda-%%VERSION%%.so
+lib/libgstcdda-%%VERSION%%.so.0
+lib/libgstfft-%%VERSION%%.a
+lib/libgstfft-%%VERSION%%.la
+lib/libgstfft-%%VERSION%%.so
+lib/libgstfft-%%VERSION%%.so.0
+lib/libgstinterfaces-%%VERSION%%.a
+lib/libgstinterfaces-%%VERSION%%.la
+lib/libgstinterfaces-%%VERSION%%.so
+lib/libgstinterfaces-%%VERSION%%.so.0
+lib/libgstnetbuffer-%%VERSION%%.a
+lib/libgstnetbuffer-%%VERSION%%.la
+lib/libgstnetbuffer-%%VERSION%%.so
+lib/libgstnetbuffer-%%VERSION%%.so.0
+lib/libgstpbutils-%%VERSION%%.a
+lib/libgstpbutils-%%VERSION%%.la
+lib/libgstpbutils-%%VERSION%%.so
+lib/libgstpbutils-%%VERSION%%.so.0
+lib/libgstriff-%%VERSION%%.a
+lib/libgstriff-%%VERSION%%.la
+lib/libgstriff-%%VERSION%%.so
+lib/libgstriff-%%VERSION%%.so.0
+lib/libgstrtp-%%VERSION%%.a
+lib/libgstrtp-%%VERSION%%.la
+lib/libgstrtp-%%VERSION%%.so
+lib/libgstrtp-%%VERSION%%.so.0
+lib/libgstrtsp-%%VERSION%%.a
+lib/libgstrtsp-%%VERSION%%.la
+lib/libgstrtsp-%%VERSION%%.so
+lib/libgstrtsp-%%VERSION%%.so.0
+lib/libgstsdp-%%VERSION%%.a
+lib/libgstsdp-%%VERSION%%.la
+lib/libgstsdp-%%VERSION%%.so
+lib/libgstsdp-%%VERSION%%.so.0
+lib/libgsttag-%%VERSION%%.a
+lib/libgsttag-%%VERSION%%.la
+lib/libgsttag-%%VERSION%%.so
+lib/libgsttag-%%VERSION%%.so.0
+lib/libgstvideo-%%VERSION%%.a
+lib/libgstvideo-%%VERSION%%.la
+lib/libgstvideo-%%VERSION%%.so
+lib/libgstvideo-%%VERSION%%.so.0
+libdata/pkgconfig/gstreamer-app-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-audio-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-cdda-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-fft-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-floatcast-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-interfaces-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-netbuffer-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-pbutils-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-plugins-base-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-riff-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-rtp-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-rtsp-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-sdp-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-tag-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-video-%%VERSION%%.pc
+share/gir-1.0/GstApp-%%VERSION%%.gir
+share/gir-1.0/GstAudio-%%VERSION%%.gir
+share/gir-1.0/GstFft-%%VERSION%%.gir
+share/gir-1.0/GstInterfaces-%%VERSION%%.gir
+share/gir-1.0/GstNetbuffer-%%VERSION%%.gir
+share/gir-1.0/GstPbutils-%%VERSION%%.gir
+share/gir-1.0/GstRiff-%%VERSION%%.gir
+share/gir-1.0/GstRtp-%%VERSION%%.gir
+share/gir-1.0/GstRtsp-%%VERSION%%.gir
+share/gir-1.0/GstSdp-%%VERSION%%.gir
+share/gir-1.0/GstTag-%%VERSION%%.gir
+share/gir-1.0/GstVideo-%%VERSION%%.gir
+share/locale/af/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/az/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/bg/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/ca/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/cs/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/da/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/de/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/en_GB/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/es/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/eu/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/fi/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/fr/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/hu/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/id/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/it/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/ja/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/lt/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/lv/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/nb/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/nl/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/or/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/pl/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/pt_BR/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/sk/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/sq/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/sr/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/sv/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/tr/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/uk/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/vi/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/ru/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/zh_CN/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+@dirrm include/gstreamer-%%VERSION%%/gst/video
+@dirrm include/gstreamer-%%VERSION%%/gst/tag
+@dirrm include/gstreamer-%%VERSION%%/gst/sdp
+@dirrm include/gstreamer-%%VERSION%%/gst/rtsp
+@dirrm include/gstreamer-%%VERSION%%/gst/rtp
+@dirrm include/gstreamer-%%VERSION%%/gst/riff
+@dirrm include/gstreamer-%%VERSION%%/gst/pbutils
+@dirrm include/gstreamer-%%VERSION%%/gst/netbuffer
+@dirrm include/gstreamer-%%VERSION%%/gst/interfaces
+@dirrm include/gstreamer-%%VERSION%%/gst/floatcast
+@dirrm include/gstreamer-%%VERSION%%/gst/fft
+@dirrm include/gstreamer-%%VERSION%%/gst/cdda
+@dirrm include/gstreamer-%%VERSION%%/gst/audio
+@dirrm include/gstreamer-%%VERSION%%/gst/app