summaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-plugins80
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gstreamer-plugins80')
-rw-r--r--multimedia/gstreamer-plugins80/Makefile760
-rw-r--r--multimedia/gstreamer-plugins80/distinfo1
-rw-r--r--multimedia/gstreamer-plugins80/files/ia64-patch-ffmpeg::configure10
-rw-r--r--multimedia/gstreamer-plugins80/files/patch-configure27
-rw-r--r--multimedia/gstreamer-plugins80/files/patch-ext_a52dec_gsta52dec.c11
-rw-r--r--multimedia/gstreamer-plugins80/files/patch-ext_ffmpeg_gstffmpegcodecmap.c36
-rw-r--r--multimedia/gstreamer-plugins80/files/patch-ffmpeg::simple_idct_alpha.c17
-rw-r--r--multimedia/gstreamer-plugins80/files/patch-gst-libs_ext_ffmpeg_Makefile.in100
-rw-r--r--multimedia/gstreamer-plugins80/files/patch-gst_rtp_rtp-packet.c10
-rw-r--r--multimedia/gstreamer-plugins80/files/patch-ltmain.sh51
-rw-r--r--multimedia/gstreamer-plugins80/files/patch-sys_oss_gstossmixer.c21
-rw-r--r--multimedia/gstreamer-plugins80/files/patch-sys_xvideo_gstxvimage.c10
-rw-r--r--multimedia/gstreamer-plugins80/pkg-descr17
-rw-r--r--multimedia/gstreamer-plugins80/pkg-plist189
14 files changed, 1260 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins80/Makefile b/multimedia/gstreamer-plugins80/Makefile
new file mode 100644
index 000000000..0597f45c7
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/Makefile
@@ -0,0 +1,760 @@
+# 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.33 2003/11/09 00:46:13 marcus Exp $
+#
+
+PORTNAME= gstreamer
+PORTVERSION= 0.7.1
+CATEGORIES= multimedia audio
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/gst-plugins/0.7
+PKGNAMESUFFIX= -plugins
+DISTNAME= gst-plugins-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= lioux@FreeBSD.org
+COMMENT= GStreamer written collection of plugins handling several media types
+
+LIB_DEPENDS= gstreamer-0.7.3:${PORTSDIR}/multimedia/gstreamer \
+ popt.0:${PORTSDIR}/devel/popt
+
+USE_X_PREFIX= yes
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack \
+ gnomehier \
+ gnomeprefix \
+ pkgconfig \
+ gconf2
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-tests \
+ --disable-alsa \
+ --disable-cdrom \
+ --disable-mjpegtools \
+ --disable-qcam \
+ --disable-v4l2 \
+ --disable-v4l \
+ --enable-static
+CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} \
+ CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+ CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include" \
+ LDFLAGS="${LDFLAGS} -L${X11BASE}/lib -L${LOCALBASE}/lib"
+CONFIGURE_TARGET=
+PLIST_SUB= \
+ VERSION="${GST_VERSION}" \
+ SHLIB_VERSION="${SHLIB_VERSION}"
+INSTALLS_SHLIB= yes
+
+# for esound detection
+WANT_GNOME= yes
+
+MAN1= gst-launch-ext-${GST_VERSION}.1 gst-visualise-${GST_VERSION}.1
+
+PKG_CONFIG?="${LOCALBASE}/bin/pkg-config"
+SDL_CONFIG?="${LOCALBASE}/bin/sdl11-config"
+XMMS_CONFIG?="${LOCALBASE}/bin/xmms-config"
+GST_VERSION=${PORTVERSION:C/..$//}
+
+# library minor number
+SHLIB_VERSION= 1
+
+post-patch:
+# as of this writing, FreeBSD does not support lrint* C99 math functions
+ @${REINPLACE_CMD} -E -e \
+ 's|^#define.*LRINT.*$$||' \
+ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+# respect CFLAGS
+ @${FIND} ${WRKSRC} -type f -name Makefile.in | \
+ ${XARGS} -n 10 ${REINPLACE_CMD} -E -e \
+ 's,-O(2|3),,; \
+ s|-mcpu=i486||'
+# mcopidl takes the file as the last argument
+ @${REINPLACE_CMD} -E -e \
+ 's|(mcopidl.+)(\$$<)(.+)$$|\1 \3 \2|' \
+ ${WRKSRC}/ext/arts/Makefile.in
+# no linux/cdrom.h
+ @${REINPLACE_CMD} -E -e \
+ 's|^#include[[:space:]]+.+linux/cdrom\.h.*$$||' \
+ ${WRKSRC}/ext/dvdread/dvdreadsrc.c
+# malloc.h was deprecated in favor of stdlib.h
+# inttypes.h not stdint.h
+ @${FIND} ${WRKSRC} -type f | \
+ ${XARGS} -n 10 ${REINPLACE_CMD} -e \
+ 's|malloc\.h|stdlib.h|; \
+ s|stdint\.h|inttypes.h|'
+# use GMAKE, not MAKE
+ @${REINPLACE_CMD} -E -e \
+ 's|make|${GMAKE}|' \
+ ${WRKSRC}/gst-libs/ext/ffmpeg/Makefile.in
+# force libaudiofile detection
+ @${REINPLACE_CMD} -E -e \
+ 's|^.*afOpenVirtualFile[[:space:]]*\(\);|;|' \
+ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+
+post-configure:
+# CC safeness
+ @${ECHO_CMD} "CC=${CC}" >> \
+ ${WRKSRC}/gst-libs/ext/ffmpeg/ffmpeg/config.mak
+ @${MKDIR} ${WRKSRC}/gst-libs/ext/ffmpeg/.deps
+
+.include <bsd.port.pre.mk>
+
+post-install:
+.if ${ARCH} == "ia64" || ${ARCH} == "amd64"
+# register plugins
+ @-${X11BASE}/bin/gst-register-${GST_VERSION} 2>/dev/null
+.else
+ @${X11BASE}/bin/gst-register-${GST_VERSION} 2>/dev/null
+.endif
+
+# Fix build on ia64. This patch breaks other archs, so include it
+# conditionally
+.if ${ARCH} == "ia64" || ${ARCH} == "amd64"
+EXTRA_PATCHES= ${FILESDIR}/ia64-patch-ffmpeg::configure
+.endif
+
+# hermes is required for gstreamer-player to work
+# since it is currently the only colorspace plugin available
+WITH_HERMES= yes
+# gnomevfs is required for gstreamer-player to work
+WITH_GNOMEVFS= yes
+
+##
+## auto detect possible plugins
+##
+
+# aalib
+.if exists(${LOCALBASE}/lib/libaa.a)
+WITH_AALIB=yes
+.endif
+
+# arts
+.if exists(${LOCALBASE}/lib/libartsc.so.0)
+WITH_ARTS=yes
+.endif
+
+# avifile
+.if exists(${LOCALBASE}/lib/libaviplay.a)
+WITH_AVIFILE=yes
+.endif
+
+# cdparanoia
+.if exists(${LOCALBASE}/lib/libcdda_paranoia.a)
+WITH_CDPARANOIA=yes
+.endif
+
+# esound
+.if (${HAVE_GNOME:Mesound}!="")
+WITH_ESOUND=yes
+.endif
+
+# flac
+.if exists(${LOCALBASE}/lib/libFLAC.a)
+WITH_FLAC=yes
+.endif
+
+# freetype
+.if exists(${LOCALBASE}/lib/libfreetype.a)
+WITH_FREETYPE=yes
+.endif
+
+# lame
+.if exists(${LOCALBASE}/lib/libmp3lame.a)
+WITH_LAME=yes
+.endif
+
+# gnomevfs
+.if ${HAVE_GNOME:Mgnomevfs2}!=""
+WITH_GNOMEVFS=yes
+.endif
+
+# gsm
+.if exists(${LOCALBASE}/lib/libgsm.a)
+WITH_GSM=yes
+.endif
+
+# Hermes
+.if exists (${LOCALBASE}/lib/libHermes.a)
+WITH_HERMES=yes
+.endif
+
+# jpeg
+.if exists(${LOCALBASE}/lib/libjpeg.a)
+WITH_JPEG=yes
+.endif
+
+# ladspa
+.if exists(${LOCALBASE}/include/ladspa.h)
+WITH_LADSPA=yes
+.endif
+
+# liba52
+.if exists(${LOCALBASE}/lib/liba52.a)
+WITH_LIBA52=yes
+.endif
+
+# libaudiofile
+.if exists(${LOCALBASE}/lib/libaudiofile.a)
+WITH_LIBAUDIOFILE=yes
+.endif
+
+# libdv
+.if exists(${LOCALBASE}/lib/libdv.a)
+WITH_LIBDV=yes
+.endif
+
+# libdvdnav
+# XXX libdvdnav needs to be updated to 0.1.9 or higher
+#.if exists(${LOCALBASE}/lib/libdvdnav.so)
+.undef WITH_LIBDVDNAV
+#.endif
+
+# libdvdread
+.if exists(${LOCALBASE}/lib/libdvdread.a)
+WITH_LIBDVDREAD=yes
+.endif
+
+# libfame
+.if exists(${LOCALBASE}/lib/libfame.a)
+WITH_LIBFAME=yes
+.endif
+
+# libmikmod
+.if exists(${LOCALBASE}/lib/libmikmod.a)
+WITH_LIBMIKMOD=yes
+.endif
+
+# libmpeg2
+.if exists(${LOCALBASE}/lib/libmpeg2.a)
+WITH_LIBMPEG2=yes
+.endif
+
+# libshout
+.if exists(${LOCALBASE}/lib/libshout.a)
+WITH_LIBSHOUT=yes
+.endif
+
+# libsidplay
+.if exists(${LOCALBASE}/lib/libsidplay.a)
+WITH_LIBSIDPLAY=yes
+.endif
+
+# mad
+.if exists(${LOCALBASE}/lib/libmad.a)
+WITH_MAD=yes
+.endif
+
+# openquicktime
+.if exists(${LOCALBASE}/lib/libopenquicktime.so)
+WITH_OPENQUICKTIME=yes
+.endif
+
+# png
+.if exists(${LOCALBASE}/lib/libpng.a)
+WITH_PNG=yes
+.endif
+
+# sdl
+.if exists(${LOCALBASE}/lib/libSDL-1.1.a)
+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
+.endif
+
+# xmms
+.if exists(${X11BASE}/lib/libxmms.a)
+#WITH_XMMS=yes
+.endif
+
+##
+## control CONFIGURE options
+##
+
+# aalib
+.ifndef(WITH_AALIB)
+CONFIGURE_ARGS+= --disable-aalib \
+ --disable-aalibtest
+PLIST_SUB+= AALIB="@comment "
+.else
+LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib
+
+CONFIGURE_ARGS+= --with-aalib-prefix=${LOCALBASE} \
+ --with-aalib-exec-prefix=${LOCALBASE}
+PLIST_SUB+= AALIB=""
+.endif
+
+# arts
+.ifndef(WITH_ARTS)
+CONFIGURE_ARGS+= --disable-arts \
+ --disable-artsc \
+ --disable-artstest
+PLIST_SUB+= ARTS="@comment "
+.else
+LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts
+
+CONFIGURE_ARGS+= --with-arts-prefix=${LOCALBASE} \
+ --with-arts-exec-prefix=${LOCALBASE}
+PLIST_SUB+= ARTS=""
+.endif
+
+# avifile
+.ifndef(WITH_AVIFILE)
+CONFIGURE_ARGS+= --disable-avifile
+PLIST_SUB+= AVIFILE="@comment "
+.else
+LIB_DEPENDS+= aviplay.0:${PORTSDIR}/multimedia/avifile
+
+PLIST_SUB+= AVIFILE=""
+.endif
+
+# cdparanoia
+.ifndef(WITH_CDPARANOIA)
+CONFIGURE_ARGS+= --disable-cdparanoia
+PLIST_SUB+= CDPARANOIA="@comment "
+.else
+LIB_DEPENDS+= cdda_interface.0:${PORTSDIR}/audio/cdparanoia
+
+PLIST_SUB+= CDPARANOIA=""
+.endif
+
+# esound
+.ifndef(WITH_ESOUND)
+CONFIGURE_ARGS+= --disable-esd \
+ --disable-esdtest
+PLIST_SUB+= ESOUND="@comment "
+.else
+USE_GNOME+= esound
+CONFIGURE_ARGS+= --with-esd-prefix=${LOCALBASE} \
+ --with-esd-exec-prefix=${LOCALBASE}
+PLIST_SUB+= ESOUND=""
+.endif
+
+# flac
+.ifndef(WITH_FLAC)
+CONFIGURE_ARGS+= --disable-flac
+PLIST_SUB+= FLAC="@comment "
+.else
+LIB_DEPENDS+= FLAC.5:${PORTSDIR}/audio/flac
+
+PLIST_SUB+= FLAC=""
+.endif
+
+# freetype
+.ifndef(WITH_FREETYPE)
+CONFIGURE_ARGS+= --disable-freetypetest
+PLIST_SUB+= FREETYPE="@comment "
+.else
+LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
+
+CONFIGURE_ARGS+= --with-ft-prefix=${LOCALBASE} \
+ --with-ft-exec-prefix=${LOCALBASE}
+PLIST_SUB+= FREETYPE=""
+.endif
+
+# gnomevfs
+.ifndef(WITH_GNOMEVFS)
+CONFIGURE_ARGS+= --disable-gnome_vfs
+PLIST_SUB+= GNOMEVFS="@comment "
+.else
+USE_GNOME+= gnomevfs2
+PLIST_SUB+= GNOMEVFS=""
+.endif
+
+# gsm
+.ifndef(WITH_GSM)
+CONFIGURE_ARGS+= --disable-gsm
+PLIST_SUB+= GSM="@comment "
+.else
+LIB_DEPENDS+= gsm.1:${PORTSDIR}/audio/gsm
+
+PLIST_SUB+= GSM=""
+.endif
+
+# Hermes
+.ifndef(WITH_HERMES)
+CONFIGURE_ARGS+= --disable-hermes
+PLIST_SUB+= HERMES="@comment "
+.else
+LIB_DEPENDS+= Hermes.1:${PORTSDIR}/graphics/Hermes
+PLIST_SUB+= HERMES=""
+.endif
+
+# http
+.ifndef(WITH_HTTP)
+CONFIGURE_ARGS+= --disable-http
+PLIST_SUB+= HTTP="@comment "
+.else
+USE_GNOME+= libghttp
+PLIST_SUB+= HTTP=""
+.endif
+
+# jpeg
+.ifndef(WITH_JPEG)
+CONFIGURE_ARGS+= --disable-jpeg
+PLIST_SUB+= JPEG="@comment "
+.else
+LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg
+
+PLIST_SUB+= JPEG=""
+.endif
+
+# ladspa
+.ifndef(WITH_LADSPA)
+CONFIGURE_ARGS+= --disable-ladspa
+PLIST_SUB+= LADSPA="@comment "
+.else
+BUILD_DEPENDS+= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
+
+PLIST_SUB+= LADSPA=""
+.endif
+
+# lame
+.ifndef(WITH_LAME)
+CONFIGURE_ARGS+= --disable-lame
+PLIST_SUB+= LAME="@comment "
+.else
+LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame
+
+PLIST_SUB+= LAME=""
+.endif
+
+# liba52
+.ifndef(WITH_LIBA52)
+CONFIGURE_ARGS+= --disable-a52dec
+PLIST_SUB+= LIBA52="@comment "
+.else
+LIB_DEPENDS+= a52.0:${PORTSDIR}/audio/liba52
+
+CONFIGURE_ARGS+= --with-a52dec-prefix=${LOCALBASE}
+PLIST_SUB+= LIBA52=""
+.endif
+
+# libaudiofile
+.ifndef(WITH_LIBAUDIOFILE)
+CONFIGURE_ARGS+= --disable-audiofile
+PLIST_SUB+= LIBAUDIOFILE="@comment "
+.else
+LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile
+
+PLIST_SUB+= LIBAUDIOFILE=""
+.endif
+
+# libdv
+.ifndef(WITH_LIBDV)
+CONFIGURE_ARGS+= --disable-libdv
+PLIST_SUB+= LIBDV="@comment "
+.else
+LIB_DEPENDS+= dv.3:${PORTSDIR}/multimedia/libdv
+
+PLIST_SUB+= LIBDV=""
+.endif
+
+# libdvdnav
+.ifndef(WITH_LIBDVDNAV)
+CONFIGURE_ARGS+= --disable-dvdnav
+PLIST_SUB+= LIBDVDNAV="@comment "
+.else
+LIB_DEPENDS+= dvdnav.1:${PORTSDIR}/multimedia/libdvdnav
+
+PLIST_SUB+= LIBDVDNAV=""
+.endif
+
+# libdvdread
+.ifndef(WITH_LIBDVDREAD)
+CONFIGURE_ARGS+= --disable-dvdread
+PLIST_SUB+= LIBDVDREAD="@comment "
+.else
+LIB_DEPENDS+= dvdread.3:${PORTSDIR}/multimedia/libdvdread
+
+PLIST_SUB+= LIBDVDREAD=""
+.endif
+
+# libfame
+.ifndef(WITH_LIBFAME)
+CONFIGURE_ARGS+= --disable-libfame \
+ --disable-libfametest
+PLIST_SUB+= LIBFAME="@comment "
+.else
+LIB_DEPENDS+= fame-0.9.0:${PORTSDIR}/multimedia/libfame
+
+CONFIGURE_ARGS+= --with-libfame-prefix=${LOCALBASE} \
+ --with-libfame-exec-prefix=${LOCALBASE}
+PLIST_SUB+= LIBFAME=""
+.endif
+
+# libmikmod
+.ifndef(WITH_LIBMIKMOD)
+CONFIGURE_ARGS+= --disable-libmikmodtest \
+ --disable-mikmod
+PLIST_SUB+= LIBMIKMOD="@comment "
+.else
+LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod
+
+CONFIGURE_ARGS+= --with-libmikmod-prefix=${LOCALBASE} \
+ --with-libmikmod-exec-prefix=${LOCALBASE}
+PLIST_SUB+= LIBMIKMOD=""
+.endif
+
+# libmpeg2
+.ifndef(WITH_LIBMPEG2)
+CONFIGURE_ARGS+= --disable-mpeg2dec
+PLIST_SUB+= LIBMPEG2="@comment "
+.else
+LIB_DEPENDS+= mpeg2.0:${PORTSDIR}/multimedia/libmpeg2
+
+CONFIGURE_ARGS+= --with-mpeg2dec-prefix=${LOCALBASE}
+PLIST_SUB+= LIBMPEG2=""
+.endif
+
+# libshout
+.ifndef(WITH_LIBSHOUT)
+CONFIGURE_ARGS+= --disable-shout
+PLIST_SUB+= LIBSHOUT="@comment "
+.else
+LIB_DEPENDS+= shout.2:${PORTSDIR}/audio/libshout
+
+PLIST_SUB+= LIBSHOUT=""
+.endif
+
+# libsidplay
+.ifndef(WITH_LIBSIDPLAY)
+CONFIGURE_ARGS+= --disable-sidplay
+PLIST_SUB+= LIBSIDPLAY="@comment "
+.else
+LIB_DEPENDS+= sidplay.1:${PORTSDIR}/audio/libsidplay
+
+PLIST_SUB+= LIBSIDPLAY=""
+.endif
+
+# mad
+.ifndef(WITH_MAD)
+CONFIGURE_ARGS+= --disable-mad
+PLIST_SUB+= LIBMAD="@comment "
+.else
+LIB_DEPENDS+= mad.1:${PORTSDIR}/audio/mad
+
+PLIST_SUB+= LIBMAD=""
+.endif
+
+# openquicktime
+.ifndef(WITH_OPENQUICKTIME)
+CONFIGURE_ARGS+= --disable-openquicktime
+PLIST_SUB+= OPENQUICKTIME="@comment "
+.else
+LIB_DEPENDS+= openquicktime.0:${PORTSDIR}/multimedia/openquicktime
+
+PLIST_SUB+= OPENQUICKTIME=""
+.endif
+
+# oss
+.ifdef(WITHOUT_OSS)
+CONFIGURE_ARGS+= --disable-oss
+PLIST_SUB+= OSS="@comment "
+.else
+PLIST_SUB+= OSS=""
+.endif
+
+# png
+.ifndef(WITH_PNG)
+CONFIGURE_ARGS+= --disable-libpng
+PLIST_SUB+= PNG="@comment "
+.else
+LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png
+
+PLIST_SUB+= PNG=""
+.endif
+
+# sdl
+.ifndef(WITH_SDL)
+CONFIGURE_ARGS+= --disable-sdl \
+ --disable-sdltest
+PLIST_SUB+= SDL="@comment "
+.else
+LIB_DEPENDS+= SDL-1.1.5:${PORTSDIR}/devel/sdl12
+
+CONFIGURE_ARGS+= --with-sdl-prefix=${LOCALBASE} \
+ --with-sdl-exec-prefix=${LOCALBASE}
+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 \
+ --disable-vorbistest
+PLIST_SUB+= VORBIS="@comment "
+.else
+LIB_DEPENDS+= vorbis.2:${PORTSDIR}/audio/libvorbis
+
+CONFIGURE_ARGS+= --with-vorbis=${LOCALBASE} \
+ --with-vorbis-libraries=${LOCALBASE}/lib \
+ --with-vorbis-includes=${LOCALBASE}/include
+PLIST_SUB+= VORBIS=""
+.endif
+
+# xmms
+.ifndef(WITH_XMMS)
+CONFIGURE_ARGS+= --disable-xmms
+PLIST_SUB+= XMMS="@comment "
+.else
+LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms
+
+CONFIGURE_ARGS+= --with-xmms-prefix=${X11BASE} \
+ --with-xmms-exec-prefix=${X11BASE}
+CONFIGURE_ENV+= XMMS_CONFIG=${XMMS_CONFIG}
+PLIST_SUB+= XMMS=""
+.endif
+
+pre-everything::
+.ifndef(WITH_AALIB)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_AALIB to enable aalib Video plugin'
+.endif
+.ifndef(WITH_ARTS)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_ARTS to enable arts Audio plugin'
+.endif
+.ifndef(WITH_AVIFILE)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_AVIFILE to enable avifile Video plugin'
+.endif
+.ifndef(WITH_CDPARANOIA)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_CDPARANOIA to enable cdparanoia Audio plugin'
+.endif
+.ifndef(WITH_ESOUND)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_ESOUND to enable esound Audio plugin'
+.endif
+.ifndef(WITH_FLAC)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_FLAC to enable flac Audio plugin'
+.endif
+.ifndef(WITH_FREETYPE)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_FREETYPE to enable freetype support'
+.endif
+.ifndef(WITH_GSM)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_GSM to enable gsm Audio plugin'
+.endif
+.ifndef(WITH_GNOMEVFS)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_GNOMEVFS to enable gnomevfs Network plugin'
+.endif
+.ifndef(WITH_HERMES)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_HERMES to enable Hermes colorspace plugin'
+.endif
+.ifndef(WITH_HTTP)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_HTTP to enable http Network plugin'
+.endif
+.ifndef(WITH_JPEG)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_JPEG to enable jpeg Video plugin'
+.endif
+.ifndef(WITH_LADSPA)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_LADSPA to enable LADSPA framework Audio plugin'
+.endif
+.ifndef(WITH_LAME)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_LAME to enable lame MP3 Audio plugin'
+.endif
+.ifndef(WITH_LIBA52)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_LIBA52 to enable liba52 AC3 Audio plugin'
+.endif
+.ifndef(WITH_LIBAUDIOFILE)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_LIBAUDIOFILE to enable libaudiofile Audio plugin'
+.endif
+.ifndef(WITH_LIBDV)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_LIBDV to enable libdv Video plugin'
+.endif
+.ifndef(WITH_LIBDVDNAV)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_LIBDVDNAV to enable libdvdnav Video plugin'
+.endif
+.ifndef(WITH_LIBDVDREAD)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_LIBDVDREAD to enable libdvdread Video plugin'
+.endif
+.ifndef(WITH_LIBFAME)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_LIBFAME to enable libfame Video plugin'
+.endif
+.ifndef(WITH_LIBMIKMOD)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_LIBMIKMOD to enable libmikmod Audio plugin'
+.endif
+.ifndef(WITH_LIBMPEG2)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_LIBMPEG2 to enable libmpeg2 Video plugin'
+.endif
+.ifndef(WITH_LIBSHOUT)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_LIBSHOUT to enable libshout Audio plugin'
+.endif
+.ifndef(WITH_LIBSIDPLAY)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_LIBSIDPLAY to enable libsidplay Audio plugin'
+.endif
+.ifndef(WITH_MAD)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_MAD to enable mad Audio plugin'
+.endif
+.ifndef(WITH_OPENQUICKTIME)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_OPENQUICKTIME to enable openquicktime Video plugin'
+.endif
+.ifndef(WITHOUT_OSS)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITHOUT_OSS to disable OSS Audio plugin'
+.endif
+.ifndef(WITH_PNG)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_PNG to enable png Video plugin'
+.endif
+.ifndef(WITH_SDL)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_SDL to enable SDL Video plugin'
+.endif
+.ifndef(WITH_SWFDEC)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_SWFDEC to enable Flash Video plugin'
+.endif
+.ifndef(WITH_VORBIS)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_VORBIS to enable vorbis Audio plugin'
+.endif
+.ifndef(WITH_XMMS)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_XMMS to enable xmms Audio plugin'
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/multimedia/gstreamer-plugins80/distinfo b/multimedia/gstreamer-plugins80/distinfo
new file mode 100644
index 000000000..2ecbce68a
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/distinfo
@@ -0,0 +1 @@
+MD5 (gnome2/gst-plugins-0.7.1.tar.bz2) = e44dce3ca00a01873a7b9ccfe549e8d1
diff --git a/multimedia/gstreamer-plugins80/files/ia64-patch-ffmpeg::configure b/multimedia/gstreamer-plugins80/files/ia64-patch-ffmpeg::configure
new file mode 100644
index 000000000..f4c1cb8ae
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/files/ia64-patch-ffmpeg::configure
@@ -0,0 +1,10 @@
+--- gst-libs/ext/ffmpeg/ffmpeg/configure.bak Sat Sep 27 18:39:42 2003
++++ gst-libs/ext/ffmpeg/ffmpeg/configure Sat Sep 27 19:53:52 2003
+@@ -119,6 +119,7 @@
+ v4l="no"
+ audio_oss="yes"
+ make="gmake"
++CFLAGS="$CFLAGS -fPIC -DPIC"
+ LDFLAGS="$LDFLAGS -export-dynamic"
+ ;;
+ BSD/OS)
diff --git a/multimedia/gstreamer-plugins80/files/patch-configure b/multimedia/gstreamer-plugins80/files/patch-configure
new file mode 100644
index 000000000..7b664a7cf
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/files/patch-configure
@@ -0,0 +1,27 @@
+--- configure.orig Sat Nov 15 00:58:40 2003
++++ configure Sat Nov 15 00:59:23 2003
+@@ -34136,18 +34136,18 @@
+ mk_MAJVER=`echo 0.4.4 | cut -d"." -f1`
+ mk_MINVER=`echo 0.4.4 | cut -d"." -f2`
+ mk_RELVER=`echo 0.4.4 | cut -d"." -f3`
+- mver_ok=`sed 's;\.;\ ;g' < conf.matroskatest | (read -a mver
+- if test ${mver[0]} -gt $mk_MAJVER ; then
++ mver_ok=`sed 's;\.;\ ;g' < conf.matroskatest | (read mver0 mver1 mver2
++ if test ${mver0} -gt $mk_MAJVER ; then
+ mver_ok=1
+- elif test ${mver[0]} -lt $mk_MAJVER ; then
++ elif test ${mver0} -lt $mk_MAJVER ; then
+ mver_ok=0
+ else
+- if test ${mver[1]} -gt $mk_MINVER ; then
++ if test ${mver1} -gt $mk_MINVER ; then
+ mver_ok=1
+- elif test ${mver[1]} -lt $mk_MINVER ; then
++ elif test ${mver1} -lt $mk_MINVER ; then
+ mver_ok=0
+ else
+- if test ${mver[2]} -ge $mk_RELVER ; then
++ if test ${mver2} -ge $mk_RELVER ; then
+ mver_ok=1
+ else
+ mver_ok=0
diff --git a/multimedia/gstreamer-plugins80/files/patch-ext_a52dec_gsta52dec.c b/multimedia/gstreamer-plugins80/files/patch-ext_a52dec_gsta52dec.c
new file mode 100644
index 000000000..05c0e5366
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/files/patch-ext_a52dec_gsta52dec.c
@@ -0,0 +1,11 @@
+--- ext/a52dec/gsta52dec.c.orig Sun Apr 6 18:58:19 2003
++++ ext/a52dec/gsta52dec.c Sun Apr 20 13:16:28 2003
+@@ -25,7 +25,7 @@
+
+ #include <stdlib.h>
+
+-#ifdef HAVE_STDINT_H
++#if defined(HAVE_STDINT_H) || defined(__FreeBSD__)
+ #include <stdint.h>
+ #else
+ /* (Ronald) hacky... can't include stdint.h because it's not available
diff --git a/multimedia/gstreamer-plugins80/files/patch-ext_ffmpeg_gstffmpegcodecmap.c b/multimedia/gstreamer-plugins80/files/patch-ext_ffmpeg_gstffmpegcodecmap.c
new file mode 100644
index 000000000..9f518be88
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/files/patch-ext_ffmpeg_gstffmpegcodecmap.c
@@ -0,0 +1,36 @@
+--- ext/ffmpeg/gstffmpegcodecmap.c.orig Sat Nov 15 02:22:47 2003
++++ ext/ffmpeg/gstffmpegcodecmap.c Sat Nov 15 02:22:27 2003
+@@ -44,7 +44,7 @@
+ "height", GST_PROPS_INT (context->height),\
+ "framerate", GST_PROPS_FLOAT ( \
+ 1.*context->frame_rate/ \
+- context->frame_rate_base), \
++ context->frame_rate_base) , \
+ ##props) \
+ : \
+ GST_CAPS_NEW (name, \
+@@ -52,7 +52,7 @@
+ "width", GST_PROPS_INT_RANGE (16, 4096), \
+ "height", GST_PROPS_INT_RANGE (16, 4096), \
+ "framerate", GST_PROPS_FLOAT_RANGE (0, \
+- G_MAXFLOAT), \
++ G_MAXFLOAT) , \
+ ##props)
+
+ /* same for audio - now with channels/sample rate
+@@ -63,13 +63,13 @@
+ GST_CAPS_NEW (name, \
+ mimetype, \
+ "rate", GST_PROPS_INT (context->sample_rate), \
+- "channels", GST_PROPS_INT (context->channels), \
++ "channels", GST_PROPS_INT (context->channels) , \
+ ##props) \
+ : \
+ GST_CAPS_NEW (name, \
+ mimetype, \
+ "rate", GST_PROPS_INT_RANGE (8000, 96000), \
+- "channels", GST_PROPS_INT_RANGE (1, 2), \
++ "channels", GST_PROPS_INT_RANGE (1, 2) , \
+ ##props)
+
+ /* Convert a FFMPEG codec ID and optional AVCodecContext
diff --git a/multimedia/gstreamer-plugins80/files/patch-ffmpeg::simple_idct_alpha.c b/multimedia/gstreamer-plugins80/files/patch-ffmpeg::simple_idct_alpha.c
new file mode 100644
index 000000000..8149c3981
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/files/patch-ffmpeg::simple_idct_alpha.c
@@ -0,0 +1,17 @@
+--- gst-libs/ext/ffmpeg/ffmpeg/libavcodec/alpha/simple_idct_alpha.c.orig Fri Apr 25 22:06:13 2003
++++ gst-libs/ext/ffmpeg/ffmpeg/libavcodec/alpha/simple_idct_alpha.c Fri Apr 25 23:19:39 2003
+@@ -24,8 +24,14 @@
+ * and Falk Hueffner <falk@debian.org>
+ */
+
++#include <sys/param.h>
++
+ #include "asm.h"
+ #include "../dsputil.h"
++
++#if defined(__FreeBSD__) && __FreeBSD_version < 500000
++typedef __int32_t int_fast32_t;
++#endif
+
+ extern void (*put_pixels_clamped_axp_p)(const DCTELEM *block, uint8_t *pixels,
+ int line_size);
diff --git a/multimedia/gstreamer-plugins80/files/patch-gst-libs_ext_ffmpeg_Makefile.in b/multimedia/gstreamer-plugins80/files/patch-gst-libs_ext_ffmpeg_Makefile.in
new file mode 100644
index 000000000..cc0c99630
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/files/patch-gst-libs_ext_ffmpeg_Makefile.in
@@ -0,0 +1,100 @@
+--- gst-libs/ext/ffmpeg/Makefile.in.orig Sat Nov 15 01:44:08 2003
++++ gst-libs/ext/ffmpeg/Makefile.in Sat Nov 15 01:44:41 2003
+@@ -884,97 +884,6 @@
+ distclean-compile:
+ -rm -f *.tab.c
+
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-4xm.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-ac3enc.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-adpcm.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-allcodecs.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-asv1.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-cabac.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-common.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-cputest.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-cyuv.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-dsputil.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-dsputil_mmx.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-dsputil_ppc.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-dv.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-error_resilience.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-eval.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-fdct_mmx.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-fft.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-fft_sse.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-ffv1.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-golomb.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-h263.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-h263dec.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-h264.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-huffyuv.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-idct_mmx.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-imgconvert.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-imgresample.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-indeo3.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-jfdctfst.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-jfdctint.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-jrevdct.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-mace.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-mdct.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-mem.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-mjpeg.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-motion_est.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-motion_est_mmx.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-mpeg12.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-mpegaudio.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-mpegaudiodec.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-mpegvideo.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-mpegvideo_mmx.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-mpegvideo_ppc.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-msmpeg4.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-opts.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-pcm.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-ra144.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-ra288.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-ratecontrol.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-raw.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-resample.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-rv10.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-simple_idct.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-simple_idct_mmx.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-svq1.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-utils.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-vp3.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-wmadec.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-4xm.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-allformats.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-asf.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-au.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-avidec.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-avienc.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-avio.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-aviobuf.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-crc.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-cutils.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-dv.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-ffm.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-file.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-framehook.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-gif.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-gifdec.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-img.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-jpeg.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-mov.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-mpeg.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-mpegts.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-mpegtsenc.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-mpjpeg.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-png.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-pnm.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-raw.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-rm.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-swf.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-utils.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-wav.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-yuv.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-yuv4mpeg.Plo@am__quote@
+-
+ .c.o:
+ @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
+ @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
diff --git a/multimedia/gstreamer-plugins80/files/patch-gst_rtp_rtp-packet.c b/multimedia/gstreamer-plugins80/files/patch-gst_rtp_rtp-packet.c
new file mode 100644
index 000000000..b65d5146a
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/files/patch-gst_rtp_rtp-packet.c
@@ -0,0 +1,10 @@
+--- gst/rtp/rtp-packet.c.orig Sat Nov 15 01:59:32 2003
++++ gst/rtp/rtp-packet.c Sat Nov 15 01:59:44 2003
+@@ -26,6 +26,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <errno.h>
++#include <sys/types.h>
+ #include <netinet/in.h>
+ #include <glib.h>
+
diff --git a/multimedia/gstreamer-plugins80/files/patch-ltmain.sh b/multimedia/gstreamer-plugins80/files/patch-ltmain.sh
new file mode 100644
index 000000000..3d50310f6
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/files/patch-ltmain.sh
@@ -0,0 +1,51 @@
+--- ltmain.sh.orig Mon Oct 20 15:20:54 2003
++++ ltmain.sh Fri Nov 14 18:06:07 2003
+@@ -1278,7 +1278,7 @@
+ esac
+ elif test "X$arg" = "X-lc_r"; then
+ case $host in
+- *-*-openbsd* | *-*-freebsd*)
++ *-*-openbsd* | *-*-freebsd4*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+@@ -1288,8 +1288,16 @@
+ continue
+ ;;
+
++ -pthread)
++ compile_command="$compile_command -pthread"
++ finalize_command="$finalize_command -pthread"
++ compiler_flags="$compiler_flags -pthread"
++ continue
++ ;;
++
+ -module)
+ module=yes
++ build_old_libs=no
+ continue
+ ;;
+
+@@ -3008,6 +3016,9 @@
+ # problems, so we reset it completely
+ verstring=
+ ;;
++ *-*-freebsd*)
++ # FreeBSD doesn't need this...
++ ;;
+ *)
+ verstring="0.0"
+ ;;
+@@ -5457,10 +5468,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/multimedia/gstreamer-plugins80/files/patch-sys_oss_gstossmixer.c b/multimedia/gstreamer-plugins80/files/patch-sys_oss_gstossmixer.c
new file mode 100644
index 000000000..99885064d
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/files/patch-sys_oss_gstossmixer.c
@@ -0,0 +1,21 @@
+--- sys/oss/gstossmixer.c.orig Sat Nov 15 02:02:25 2003
++++ sys/oss/gstossmixer.c Sat Nov 15 02:10:18 2003
+@@ -399,7 +399,6 @@
+ gint i, devmask;
+ const GList *pads = gst_element_get_pad_list (GST_ELEMENT (oss));
+ GstPadDirection dir = GST_PAD_UNKNOWN;
+- struct mixer_info minfo;
+
+ g_return_if_fail (oss->mixer_fd == -1);
+
+@@ -428,9 +427,7 @@
+ }
+
+ /* get name */
+- if (ioctl (oss->mixer_fd, SOUND_MIXER_INFO, &minfo) == 0) {
+- oss->device_name = g_strdup (minfo.name);
+- }
++ oss->device_name = g_strdup ("FreeBSD Mixer");
+
+ /* build track list */
+ for (i = 0; i < SOUND_MIXER_NRDEVICES; i++) {
diff --git a/multimedia/gstreamer-plugins80/files/patch-sys_xvideo_gstxvimage.c b/multimedia/gstreamer-plugins80/files/patch-sys_xvideo_gstxvimage.c
new file mode 100644
index 000000000..8f6af77b8
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/files/patch-sys_xvideo_gstxvimage.c
@@ -0,0 +1,10 @@
+--- sys/xvideo/gstxvimage.c.orig Fri Jul 25 15:29:21 2003
++++ sys/xvideo/gstxvimage.c Fri Nov 14 16:27:24 2003
+@@ -42,6 +42,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <machine/param.h>
+ #include <sys/types.h>
+
+ #if defined (HAVE_IPC_H) && defined (HAVE_SHM_H) && defined (HAVE_XSHM_H)
diff --git a/multimedia/gstreamer-plugins80/pkg-descr b/multimedia/gstreamer-plugins80/pkg-descr
new file mode 100644
index 000000000..80300084c
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/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-plugins80/pkg-plist b/multimedia/gstreamer-plugins80/pkg-plist
new file mode 100644
index 000000000..78e9ad54f
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/pkg-plist
@@ -0,0 +1,189 @@
+bin/gst-launch-ext-%%VERSION%%
+bin/gst-visualise-%%VERSION%%
+etc/gconf/gconf.xml.defaults/schemas/system/gstreamer/%gconf.xml
+etc/gconf/gconf.xml.defaults/schemas/system/gstreamer/default/%gconf.xml
+etc/gconf/gconf.xml.defaults/system/gstreamer/%gconf.xml
+etc/gconf/gconf.xml.defaults/system/gstreamer/default/%gconf.xml
+etc/gconf/schemas/gstreamer.schemas
+include/gstreamer-%%VERSION%%/gst/audio/audioclock.h
+include/gstreamer-%%VERSION%%/gst/audio/audio.h
+include/gstreamer-%%VERSION%%/gst/colorbalance/colorbalance.h
+include/gstreamer-%%VERSION%%/gst/colorbalance/colorbalancechannel.h
+include/gstreamer-%%VERSION%%/gst/floatcast/floatcast.h
+include/gstreamer-%%VERSION%%/gst/gconf/gconf.h
+include/gstreamer-%%VERSION%%/gst/idct/idct.h
+include/gstreamer-%%VERSION%%/gst/media-info/media-info.h
+include/gstreamer-%%VERSION%%/gst/mixer/mixer.h
+include/gstreamer-%%VERSION%%/gst/mixer/mixertrack.h
+include/gstreamer-%%VERSION%%/gst/navigation/navigation.h
+include/gstreamer-%%VERSION%%/gst/play/play.h
+include/gstreamer-%%VERSION%%/gst/resample/resample.h
+include/gstreamer-%%VERSION%%/gst/riff/riff.h
+include/gstreamer-%%VERSION%%/gst/tuner/tuner.h
+include/gstreamer-%%VERSION%%/gst/tuner/tunerchannel.h
+include/gstreamer-%%VERSION%%/gst/tuner/tunernorm.h
+include/gstreamer-%%VERSION%%/gst/video/gstvideosink.h
+include/gstreamer-%%VERSION%%/gst/video/video.h
+include/gstreamer-%%VERSION%%/gst/xoverlay/xoverlay.h
+include/gstreamer-%%VERSION%%/gst/xwindowlistener/xwindowlistener.h
+%%LIBA52%%lib/gstreamer-%%VERSION%%/libgsta52dec.so
+%%AALIB%%lib/gstreamer-%%VERSION%%/libgstaasink.so
+lib/gstreamer-%%VERSION%%/libgstac3parse.so
+lib/gstreamer-%%VERSION%%/libgstadder.so
+lib/gstreamer-%%VERSION%%/libgstalaw.so
+%%ARTS%%lib/gstreamer-%%VERSION%%/libgstartsdsink.so
+lib/gstreamer-%%VERSION%%/libgstasfdemux.a
+lib/gstreamer-%%VERSION%%/libgstasfdemux.so
+lib/gstreamer-%%VERSION%%/libgstasfdemux.so.0
+lib/gstreamer-%%VERSION%%/libgstasfmux.a
+lib/gstreamer-%%VERSION%%/libgstasfmux.so
+lib/gstreamer-%%VERSION%%/libgstasfmux.so.0
+lib/gstreamer-%%VERSION%%/libgstaudioconvert.so
+lib/gstreamer-%%VERSION%%/libgstaudio.so
+%%LIBAUDIOFILE%%lib/gstreamer-%%VERSION%%/libgstaudiofile.so
+lib/gstreamer-%%VERSION%%/libgstaudioscale.so
+lib/gstreamer-%%VERSION%%/libgstauparse.so
+lib/gstreamer-%%VERSION%%/libgstavidemux.so
+lib/gstreamer-%%VERSION%%/libgstavimux.so
+%%CDPARANOIA%%lib/gstreamer-%%VERSION%%/libgstcdparanoia.so
+lib/gstreamer-%%VERSION%%/libgstcdxaparse.so
+lib/gstreamer-%%VERSION%%/libgstchart.so
+%%HERMES%%lib/gstreamer-%%VERSION%%/libgstcolorspace.so
+lib/gstreamer-%%VERSION%%/libgstcutter.so
+lib/gstreamer-%%VERSION%%/libgstdeinterlace.so
+%%LIBDV%%lib/gstreamer-%%VERSION%%/libgstdvdec.so
+%%LIBDVDNAV%%lib/gstreamer-%%VERSION%%/libgstdvdnavsrc.so
+%%LIBDVDREAD%%lib/gstreamer-%%VERSION%%/libgstdvdreadsrc.so
+lib/gstreamer-%%VERSION%%/libgstefence.so
+lib/gstreamer-%%VERSION%%/libgsteffectv.so
+%%ESOUND%%lib/gstreamer-%%VERSION%%/libgstesd.so
+lib/gstreamer-%%VERSION%%/libgstfestival.so
+lib/gstreamer-%%VERSION%%/libgstffmpeg.so
+lib/gstreamer-%%VERSION%%/libgstfilter.so
+%%FLAC%%lib/gstreamer-%%VERSION%%/libgstflac.so
+lib/gstreamer-%%VERSION%%/libgstflxdec.so
+lib/gstreamer-%%VERSION%%/libgstgdkpixbuf.so
+%%GNOMEVFS%%lib/gstreamer-%%VERSION%%/libgstgnomevfssink.so
+%%GNOMEVFS%%lib/gstreamer-%%VERSION%%/libgstgnomevfssrc.so
+lib/gstreamer-%%VERSION%%/libgstgoom.so
+%%GSM%%lib/gstreamer-%%VERSION%%/libgstgsm.so
+%%HTTP%%lib/gstreamer-%%VERSION%%/libgsthttpsrc.so
+lib/gstreamer-%%VERSION%%/libgstidct.so
+lib/gstreamer-%%VERSION%%/libgstintfloat.so
+lib/gstreamer-%%VERSION%%/libgstid3types.so
+%%JPEG%%lib/gstreamer-%%VERSION%%/libgstjpeg.so
+%%LADSPA%%lib/gstreamer-%%VERSION%%/libgstladspa.so
+%%LAME%%lib/gstreamer-%%VERSION%%/libgstlame.so
+lib/gstreamer-%%VERSION%%/libgstlevel.so
+%%LIBFAME%%lib/gstreamer-%%VERSION%%/libgstlibfame.so
+%%LIBMAD%%lib/gstreamer-%%VERSION%%/libgstmad.so
+lib/gstreamer-%%VERSION%%/libgstmedian.so
+%%LIBMIKMOD%%lib/gstreamer-%%VERSION%%/libgstmikmod.so
+lib/gstreamer-%%VERSION%%/libgstmodplug.a
+lib/gstreamer-%%VERSION%%/libgstmodplug.so
+lib/gstreamer-%%VERSION%%/libgstmonoscope.so
+lib/gstreamer-%%VERSION%%/libgstmp1videoparse.so
+lib/gstreamer-%%VERSION%%/libgstmpeg1systemencode.so
+%%LIBMPEG2%%lib/gstreamer-%%VERSION%%/libgstmpeg2dec.so
+lib/gstreamer-%%VERSION%%/libgstmpeg2enc.so
+lib/gstreamer-%%VERSION%%/libgstmpeg2subt.so
+lib/gstreamer-%%VERSION%%/libgstmpegaudio.so
+lib/gstreamer-%%VERSION%%/libgstmpegaudioparse.so
+lib/gstreamer-%%VERSION%%/libgstmpegstream.so
+lib/gstreamer-%%VERSION%%/libgstmpegtypes.so
+lib/gstreamer-%%VERSION%%/libgstmplex.a
+lib/gstreamer-%%VERSION%%/libgstmplex.so
+lib/gstreamer-%%VERSION%%/libgstmulaw.so
+lib/gstreamer-%%VERSION%%/libgstoneton.so
+lib/gstreamer-%%VERSION%%/libgstoverlay.so
+%%OPENQUICKTIME%%lib/gstreamer-%%VERSION%%/libgstopenquicktimedecoder.so
+%%OPENQUICKTIME%%lib/gstreamer-%%VERSION%%/libgstopenquicktimedemux.so
+%%OPENQUICKTIME%%lib/gstreamer-%%VERSION%%/libgstopenquicktimetypes.so
+%%OSS%%lib/gstreamer-%%VERSION%%/libgstossaudio.so
+lib/gstreamer-%%VERSION%%/libgstpassthrough.so
+lib/gstreamer-%%VERSION%%/libgstplayondemand.so
+%%PNG%%lib/gstreamer-%%VERSION%%/libgstpng.so
+lib/gstreamer-%%VERSION%%/libgstqtdemux.so
+lib/gstreamer-%%VERSION%%/libgstresample.so
+lib/gstreamer-%%VERSION%%/libgstrmdemux.so
+lib/gstreamer-%%VERSION%%/libgstriff.so
+lib/gstreamer-%%VERSION%%/libgstrtjpeg.so
+lib/gstreamer-%%VERSION%%/libgstrtp.so
+%%SDL%%lib/gstreamer-%%VERSION%%/libgstsdlvideosink.so
+%%LIBSHOUT%%lib/gstreamer-%%VERSION%%/libgstshout.so
+%%LIBSIDPLAY%%lib/gstreamer-%%VERSION%%/libgstsid.so
+lib/gstreamer-%%VERSION%%/libgstsilence.so
+lib/gstreamer-%%VERSION%%/libgstsinesrc.so
+lib/gstreamer-%%VERSION%%/libgstsmoothwave.so
+lib/gstreamer-%%VERSION%%/libgstsmooth.so
+lib/gstreamer-%%VERSION%%/libgstsmpte.so
+%%PNG%%lib/gstreamer-%%VERSION%%/libgstsnapshot.so
+lib/gstreamer-%%VERSION%%/libgstspectrum.so
+lib/gstreamer-%%VERSION%%/libgstspeed.so
+lib/gstreamer-%%VERSION%%/libgststereo.so
+%%SWFDEC%%lib/gstreamer-%%VERSION%%/libgstswfdec.so
+lib/gstreamer-%%VERSION%%/libgstsynaesthesia.so
+lib/gstreamer-%%VERSION%%/libgsttcp.so
+lib/gstreamer-%%VERSION%%/libgsttextoverlay.so
+lib/gstreamer-%%VERSION%%/libgsttimeoverlay.so
+lib/gstreamer-%%VERSION%%/libgstudp.so
+lib/gstreamer-%%VERSION%%/libgstvbidec.so
+lib/gstreamer-%%VERSION%%/libgstvideo.so
+lib/gstreamer-%%VERSION%%/libgstvideobalance.so
+lib/gstreamer-%%VERSION%%/libgstvideocrop.so
+lib/gstreamer-%%VERSION%%/libgstvideodrop.so
+lib/gstreamer-%%VERSION%%/libgstvideofilter.so
+lib/gstreamer-%%VERSION%%/libgstvideoflip.so
+lib/gstreamer-%%VERSION%%/libgstvideoscale.so
+lib/gstreamer-%%VERSION%%/libgstvideotestsrc.so
+lib/gstreamer-%%VERSION%%/libgstvolenv.so
+lib/gstreamer-%%VERSION%%/libgstvolume.so
+%%VORBIS%%lib/gstreamer-%%VERSION%%/libgstvorbis.so
+lib/gstreamer-%%VERSION%%/libgstwavenc.so
+lib/gstreamer-%%VERSION%%/libgstwavparse.so
+lib/gstreamer-%%VERSION%%/libgstxvideosink.so
+lib/gstreamer-%%VERSION%%/libgstxwindowlistener.a
+lib/gstreamer-%%VERSION%%/libgstxwindowlistener.so
+lib/gstreamer-%%VERSION%%/libgstxwindowlistener.so.0
+lib/gstreamer-%%VERSION%%/libgsty4menc.so
+lib/gstreamer-%%VERSION%%/libmixmatrix.so
+lib/libgstcolorbalance.so
+lib/libgstgconf-%%VERSION%%.a
+lib/libgstgconf-%%VERSION%%.so
+lib/libgstgconf-%%VERSION%%.so.%%SHLIB_VERSION%%
+lib/libgstmedia-info-%%VERSION%%.a
+lib/libgstmedia-info-%%VERSION%%.so
+lib/libgstmedia-info-%%VERSION%%.so.0
+lib/libgstmixer.so
+lib/libgstnavigation.so
+lib/libgstplay-%%VERSION%%.a
+lib/libgstplay-%%VERSION%%.so
+lib/libgstplay-%%VERSION%%.so.%%SHLIB_VERSION%%
+lib/libgsttuner.so
+lib/libgstxoverlay.so
+libdata/pkgconfig/gstreamer-gconf-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-libs-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-play-%%VERSION%%.pc
+@unexec rmdir %D/lib/gstreamer-%%VERSION%% 2>/dev/null || true
+@dirrm include/gstreamer-%%VERSION%%/gst/xwindowlistener
+@dirrm include/gstreamer-%%VERSION%%/gst/xoverlay
+@dirrm include/gstreamer-%%VERSION%%/gst/video
+@dirrm include/gstreamer-%%VERSION%%/gst/tuner
+@dirrm include/gstreamer-%%VERSION%%/gst/riff
+@dirrm include/gstreamer-%%VERSION%%/gst/resample
+@dirrm include/gstreamer-%%VERSION%%/gst/play
+@dirrm include/gstreamer-%%VERSION%%/gst/navigation
+@dirrm include/gstreamer-%%VERSION%%/gst/mixer
+@dirrm include/gstreamer-%%VERSION%%/gst/media-info
+@dirrm include/gstreamer-%%VERSION%%/gst/idct
+@dirrm include/gstreamer-%%VERSION%%/gst/gconf
+@dirrm include/gstreamer-%%VERSION%%/gst/floatcast
+@dirrm include/gstreamer-%%VERSION%%/gst/colorbalance
+@dirrm include/gstreamer-%%VERSION%%/gst/audio
+@dirrm etc/gconf/gconf.xml.defaults/system/gstreamer/default
+@dirrm etc/gconf/gconf.xml.defaults/system/gstreamer
+@dirrm etc/gconf/gconf.xml.defaults/schemas/system/gstreamer/default
+@dirrm etc/gconf/gconf.xml.defaults/schemas/system/gstreamer
+@unexec rmdir %D/include/gstreamer-%%VERSION%% 2>/dev/null || true
+@exec %%X11BASE%%/bin/gst-register-%%VERSION%% 2>/dev/null
+@unexec %%X11BASE%%/bin/gst-register-%%VERSION%% 2>/dev/null