diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-01-20 11:12:29 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-01-20 11:12:29 +0800 |
commit | 3054a321cd71b0d8b67ce69a679669609a319de2 (patch) | |
tree | a561a3f94abf932bb26bea79b73ae5bab56fb0f7 /multimedia | |
parent | e243e2992058bfd44a54eb66214ff0406c436de1 (diff) | |
download | marcuscom-ports-3054a321cd71b0d8b67ce69a679669609a319de2.tar marcuscom-ports-3054a321cd71b0d8b67ce69a679669609a319de2.tar.gz marcuscom-ports-3054a321cd71b0d8b67ce69a679669609a319de2.tar.bz2 marcuscom-ports-3054a321cd71b0d8b67ce69a679669609a319de2.tar.lz marcuscom-ports-3054a321cd71b0d8b67ce69a679669609a319de2.tar.xz marcuscom-ports-3054a321cd71b0d8b67ce69a679669609a319de2.tar.zst marcuscom-ports-3054a321cd71b0d8b67ce69a679669609a319de2.zip |
- Update to 0.10.2 for gnome 2.13.x
Repocopied by: marcus
Only the base plugins (gnomevfs libvisual ogg pango theora vorbis) are
working for now.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5448 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gstreamer-plugins/Makefile | 129 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins/Makefile.common | 483 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins/distinfo | 12 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins/pkg-descr | 17 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins/pkg-plist | 102 |
5 files changed, 743 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins/Makefile b/multimedia/gstreamer-plugins/Makefile new file mode 100644 index 000000000..37fccb353 --- /dev/null +++ b/multimedia/gstreamer-plugins/Makefile @@ -0,0 +1,129 @@ +# 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$ +# + +PORTNAME= gstreamer +PORTVERSION?= 0.10.2 +PORTREVISION?= 0 +CATEGORIES?= multimedia audio +MASTER_SITES= ${MASTER_SITE_GNOME:S/$/:base/} \ + http://gstreamer.freedesktop.org/src/gst-plugins-base/:base \ + http://gstreamer.freedesktop.org/src/gst-plugins-bad/:bad \ + ${MASTER_SITE_GNOME:S/$/:good/} \ + http://gstreamer.freedesktop.org/src/gst-plugins-good/:good \ + http://gstreamer.freedesktop.org/src/gst-plugins-ugly/:ugly +MASTER_SITE_SUBDIR= sources/gst-plugins-base/0.10/:base \ + sources/gst-plugins-good/0.10/:good +PKGNAMESUFFIX= -plugins${GST_PLUGIN_SUFFIX} +DISTFILES= ${BASE_DISTFILE}:base \ + ${BAD_DISTFILE}:bad \ + ${GOOD_DISTFILE}:good \ + ${UGLY_DISTFILE}:ugly +DIST_SUBDIR= gnome2 + +MAINTAINER= kwm@FreeBSD.org +COMMENT?= GStreamer written collection of plugins handling several media types + +LIB_DEPENDS+= gstreamer-0.10.2:${PORTSDIR}/multimedia/gstreamer \ + popt.0:${PORTSDIR}/devel/popt + +BASE_PORTVERSION= ${PORTVERSION} +BASE_DISTNAME= gst-plugins-base-${BASE_PORTVERSION} +BASE_DISTFILE= ${BASE_DISTNAME}${EXTRACT_SUFX} +BAD_PORTVERSION= 0.10.0 +BAD_DISTNAME= gst-plugins-bad-${BAD_PORTVERSION} +BAD_DISTFILE= ${BAD_DISTNAME}${EXTRACT_SUFX} +GOOD_PORTVERSION= 0.10.1 +GOOD_DISTNAME= gst-plugins-good-${GOOD_PORTVERSION} +GOOD_DISTFILE= ${GOOD_DISTNAME}${EXTRACT_SUFX} +UGLY_PORTVERSION= 0.10.1 +UGLY_DISTNAME= gst-plugins-ugly-${UGLY_PORTVERSION} +UGLY_DISTFILE= ${UGLY_DISTNAME}${EXTRACT_SUFX} + +SHLIB_VERSION= 1 +VERSION= 0.10 +WANT_GSTREAMER= yes +USE_X_PREFIX= yes +USE_BZIP2= yes +USE_GMAKE= yes +USE_GNOME+= gnomehack \ + gnomeprefix \ + gnometarget \ + pkgconfig +USE_REINPLACE= yes +USE_AUTOTOOLS= libtool:15 +GST_PLUGIN?= base + +CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} \ + CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ + CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ + LDFLAGS="${LDFLAGS} -L${X11BASE}/lib -L${LOCALBASE}/lib ${EXTRA_LIBS} ${PTHREAD_LIBS}" + +.include <bsd.port.pre.mk> +.include "${MASTERDIR}/Makefile.common" + +.if !defined(WITH_CPUFLAGS) +WITHOUT_CPU_CFLAGS= yes +.endif + +.if ${GST_PLUGIN} == "base" +INSTALLS_SHLIB= yes + +PLIST_SUB+= VERSION="${VERSION}" \ + SHLIB_VERSION="${SHLIB_VERSION}" +.endif + +# cdrom default device +.ifdef(WITH_CDROM_DEVICE) +DEFAULT_CDROM_DEVICE=${WITH_CDROM_DEVICE} +.else +. if ${OSVERSION} < 500000 +DEFAULT_CDROM_DEVICE=/dev/acd0c +. else +DEFAULT_CDROM_DEVICE=/dev/acd0 +. endif +.endif + +# dvd default device +.ifdef(WITH_DVD_DEVICE) +DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE} +.else +. if ${OSVERSION} < 500000 +DEFAULT_DVD_DEVICE=/dev/acd0c +. else +DEFAULT_DVD_DEVICE=/dev/acd0 +. endif +.endif + +pre-everything:: +.if !defined(WITH_CPUFLAGS) + @${ECHO_MSG} "" + @${ECHO_MSG} "If you want to compile with CPUFLAGS" + @${ECHO_MSG} "hit Ctrl+C now and use make \"WITH_CPUFLAGS=yes\"" + @${ECHO_MSG} "NOTE: This option may cause build, install, and/or" + @${ECHO_MSG} "runtime failures. If this option does not work for you" + @${ECHO_MSG} "please do not use it." + @${ECHO_MSG} "" +.endif + +post-extract: +# for cdrom/vcd support +# taken from mplayer distfile +# MD5 (MPlayer-1.0pre4.tar.bz2) = 83ebac0f05b192516a41fca2350ca01a +# @${CP} ${FILESDIR}/bsdi_dvd.h ${WRKSRC}/sys/vcd/ + +post-patch: + @${FIND} ${WRKSRC} -type f | \ + ${XARGS} -n 10 ${REINPLACE_CMD} -e \ + 's|malloc\.h|stdlib.h|; \ + s|stdint\.h|inttypes.h|; \ + s|%%VERSION%%|${VERSION}|' +#.for f in ${GST_ALL_PLUGINS} +# @${REINPLACE_CMD} -e 's|ext/${f}/Makefile||g' \ +# ${WRKSRC}/configure +#.endfor + +.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..d22c0367c --- /dev/null +++ b/multimedia/gstreamer-plugins/Makefile.common @@ -0,0 +1,483 @@ +# base +BASE_GST_ALL_PLUGINS= \ + alsa \ + cdparanoia \ + gnomevfs \ + libvisual \ + ogg \ + pango \ + theora \ + vorbis +# bad +BAD_GST_ALL_PLUGINS+= \ + directfb \ + faac \ + faad \ + gsm \ + ivorbis \ + libmms \ + musepack \ + sdl \ + wavpack +# good +GOOD_GST_ALL_PLUGINS+= \ + aalib \ + cairo \ + dv \ + esd \ + flac \ + gconf \ + jpeg \ + ladspa \ + libcaca \ + libpng \ + raw1394 \ + shout2 \ + speex +# Ugly +UGLY_GST_ALL_PLUGINS+= \ + a52dec \ + amrnb \ + lame \ + mad \ + mpeg2dec \ + sidplay + +.if ${BASE_GST_ALL_PLUGINS:M${GST_PLUGIN}}!="" +EXTRACT_ONLY=${BASE_DISTFILE} +WRKSRC=${WRKDIR}/${BASE_DISTNAME} +.elif ${BAD_GST_ALL_PLUGINS:M${GST_PLUGIN}}!="" +EXTRACT_ONLY=${BAD_DISTFILE} +WRKSRC=${WRKDIR}/${BAD_DISTNAME} +.elif ${GOOD_GST_ALL_PLUGINS:M${GST_PLUGIN}}!="" +EXTRACT_ONLY=${GOOD_DISTFILE} +WRKSRC=${WRKDIR}/${GOOD_DISTNAME} +.elif ${UGLY_GST_ALL_PLUGINS:M${GST_PLUGIN}}!="" +EXTRACT_ONLY=${UGLY_DISTFILE} +WRKSRC=${WRKDIR}/${UGLY_DISTNAME} +.else +EXTRACT_ONLY=${BASE_DISTFILE} +WRKSRC=${WRKDIR}/${BASE_DISTNAME} +.endif + +GST_ALL_PLUGINS= ${BASE_GST_ALL_PLUGINS} ${BAD_GST_ALL_PLUGINS} \ + ${GOOD_GST_ALL_PLUGINS} ${UGLY_ALL_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-amrnb \ + --disable-alsa \ + --disable-http \ + --enable-cdrom \ + --disable-gconf \ + --disable-gconftool \ + --disable-schemas-install \ + --enable-oss \ + --disable-osx_audio \ + --disable-osx_video \ + --disable-tarkin \ + --enable-static \ + --disable-sunaudio \ + --disable-gst_v4l \ + --disable-gst_v4l2 \ + --disable-xine \ + --enable-x \ + --enable-xshm \ + --enable-xvideo + +# spc is broken a the moment +#.if (${ARCH} == "i386") +#BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm +#CONFIGURE_ARGS+=--enable-spc +#PLIST_SUB+= SPC="" +#.else +CONFIGURE_ARGS+=--disable-spc +PLIST_SUB+= SPC="@comment " +#.endif + +.if ${GST_PLUGIN}!="base" +GST_PLUGIN_SUFFIX?= -${GST_PLUGIN} + +COMMENT= Gstreamer ${GST_PLUGIN} plugin + +# Enable the right plugin + +CONFIGURE_ARGS:=${CONFIGURE_ARGS:S|--disable-${GST_PLUGIN}|--enable-${GST_PLUGIN}|} + +# Build/Install directory. defaults to ext/${GST_PLUGIN} +# few plugins are in sys/ +GST_PLUGIN_DIR?= ext/${GST_PLUGIN} + +# +GST_LIB_DIR= lib/gstreamer-${VERSION} + +# Auto create PLIST +PLIST= ${NONEXISTENT} +PLIST_FILES?= ${GST_LIB_DIR}/libgst${GST_PLUGIN}${GST_PLIST_SUFFIX}.so + +# aalib +.if ${GST_PLUGIN}=="aalib" +LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib +PLIST_FILES= ${GST_LIB_DIR}/libgstaasink.so +.endif + +# artsd +.if ${GST_PLUGIN}=="artsd" +LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts +GST_PLIST_SUFFIX= sink +CONFIGURE_ARGS+=--enable-artsc +.endif + +# cairo +.if ${GST_PLUGIN}=="cairo" +LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo +.endif + +# cdparanoia +.if ${GST_PLUGIN}=="cdparanoia" +LIB_DEPENDS+= cdda_interface.0:${PORTSDIR}/audio/cdparanoia +.endif + +# dirac +.if ${GST_PLUGIN}=="dirac" +LIB_DEPENDS+= dirac_encoder.0:${PORTSDIR}/multimedia/dirac +.endif + +# dts +.if ${GST_PLUGIN}=="dts" +BUILD_DEPENDS+= ${LOCALBASE}/lib/libdts_pic.a:${PORTSDIR}/multimedia/libdts +RUN_DEPENDS+= ${LOCALBASE}/lib/libdts_pic.a:${PORTSDIR}/multimedia/libdts +GST_PLIST_SUFFIX= dec +.endif + +# esound +.if ${GST_PLUGIN}=="esound" +USE_GNOME+= esound +GST_PLUGIN_DIR= ext/esd +PLIST_FILES= ${GST_LIB_DIR}/libgstesd.so +.endif + +# faac +.if ${GST_PLUGIN}=="faac" +LIB_DEPENDS+= faac.0:${PORTSDIR}/audio/faac +.endif + +# faad +.if ${GST_PLUGIN}=="faad" +LIB_DEPENDS+= faad.0:${PORTSDIR}/audio/faad +.endif + +# flac +.if ${GST_PLUGIN}=="flac" +LIB_DEPENDS+= FLAC.7:${PORTSDIR}/audio/flac +.endif + +# gconf +.if ${GST_PLUGIN}=="gconf" +USE_GNOME+= gconf2 +GST_PLUGIN_DIR= gst-libs/gst/gconf \ + ext/gconf \ + gconf +GCONF_SCHEMAS= gstreamer-0.8.schemas + +PLIST_FILES= include/gstreamer-0.8/gst/gconf/gconf.h \ + lib/gstreamer-0.8/libgstgconfelements.so \ + lib/libgstgconf-0.8.a \ + lib/libgstgconf-0.8.so \ + lib/libgstgconf-0.8.so.1 \ + libdata/pkgconfig/gstreamer-gconf-0.8.pc \ + '@unexec rmdir %D/include/gstreamer-0.8/gst/gconf 2>/dev/null || true' +.endif + +# gdkpixbuf +.if ${GST_PLUGIN}=="gdkpixbuf" +USE_GNOME+= gtk20 +GST_PLUGIN_DIR= ext/gdk_pixbuf +.endif + +# gnomevfs +.if ${GST_PLUGIN}=="gnomevfs" +USE_GNOME+= gnomevfs2 +CONFIGURE_ARGS+=--enable-gnome_vfs +.endif + +# gsm +.if ${GST_PLUGIN}=="gsm" +LIB_DEPENDS+= gsm.1:${PORTSDIR}/audio/gsm +.endif + +# jack +.if ${GST_PLUGIN}=="jack" +LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack +.endif + +# libcdaudio +.if ${GST_PLUGIN}=="cdaudio" +LIB_DEPENDS+= cdaudio.1:${PORTSDIR}/audio/libcdaudio +.endif + +# libcdio +.if ${GST_PLUGIN}=="cdio" +LIB_DEPENDS+= cdio.6:${PORTSDIR}/sysutils/libcdio +PLIST_FILES= ${GST_LIB_DIR}/libgstcddasrc.so +.endif + +# libvisual +.if ${GST_PLUGIN}=="libvisual" +LIB_DEPENDS+= visual.0:${PORTSDIR}/graphics/libvisual +.endif + +# musepack +.if ${GST_PLUGIN}=="musepack" +LIB_DEPENDS+= mpcdec.3:${PORTSDIR}/audio/libmpcdec +.endif + +# hermes +.if ${GST_PLUGIN}=="hermes" +LIB_DEPENDS+= Hermes.1:${PORTSDIR}/graphics/Hermes +PLIST_FILES= ${GST_LIB_DIR}/libgsthermescolorspace.so +.endif + +# jpeg +.if ${GST_PLUGIN}=="jpeg" +LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg +CONFLICTS+= gstreamer-plugins-jpeg-mmx-* +.endif + +# jpeg-mmx +.if ${GST_PLUGIN}=="jpeg-mmx" +LIB_DEPENDS+= jpeg-mmx.62:${PORTSDIR}/graphics/jpeg-mmx +CONFLICTS+= gstreamer-plugins-jpeg-*.* + +GST_PLUGIN_DIR= ext/jpeg +PLIST_FILES= ${GST_LIB_DIR}/libgstjpeg.so +.endif + +# ladspa +.if ${GST_PLUGIN}=="ladspa" +BUILD_DEPENDS+= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa +.endif + +# lame +.if ${GST_PLUGIN}=="lame" +LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame +.endif + +# a52dec +.if ${GST_PLUGIN}=="a52dec" +LIB_DEPENDS+= a52.0:${PORTSDIR}/audio/liba52 +.endif + +# audiofile +.if ${GST_PLUGIN}=="audiofile" +LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile +.endif + +# libcaca +.if ${GST_PLUGIN}=="libcaca" +BUILD_DEPENDS+= ${LOCALBASE}/lib/libcaca.a:${PORTSDIR}/graphics/libcaca +PLIST_FILES= ${GST_LIB_DIR}/libgstcacasink.so +.endif + +# dv +.if ${GST_PLUGIN}=="dv" +LIB_DEPENDS+= dv.4:${PORTSDIR}/multimedia/libdv +GST_PLIST_SUFFIX= dec +.endif + +# dvd (dvdnav dvdread) +.if ${GST_PLUGIN}=="dvd" +EXTRA_LIBS+= -ldvdnav +LIB_DEPENDS+= dvdnav.4:${PORTSDIR}/multimedia/libdvdnav +GST_PLUGIN_DIR= ext/dvdnav \ + ext/dvdread +PLIST_FILES= ${GST_LIB_DIR}/libgstdvdnavsrc.so \ + ${GST_LIB_DIR}/libgstdvdreadsrc.so +.endif + +# libfame +.if ${GST_PLUGIN}=="libfame" +LIB_DEPENDS+= fame-0.9.1:${PORTSDIR}/multimedia/libfame +.endif + +# libmms +.if ${GST_PLUGIN}=="libmms" +LIB_DEPENDS+= mms.0:${PORTSDIR}/net/libmms +PLIST_FILES= ${GST_LIB_DIR}/libgstmms.so +.endif + +# libmng +.if ${GST_PLUGIN}=="libmng" +LIB_DEPENDS+= mng.1:${PORTSDIR}/graphics/libmng +PLIST_FILES= ${GST_LIB_DIR}/libgstmng.so +.endif + +# mikmod +.if ${GST_PLUGIN}=="mikmod" +LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod +.endif + +# mpeg2dec +.if ${GST_PLUGIN}=="mpeg2dec" +LIB_DEPENDS+= mpeg2.0:${PORTSDIR}/multimedia/libmpeg2 +.endif + +# mplex +.if ${GST_PLUGIN}=="mplex" +LIB_DEPENDS+= lavjpeg-1.8.0:${PORTSDIR}/multimedia/mjpegtools +.endif + +# musicbrainz +.if ${GST_PLUGIN}=="musicbrainz" +LIB_DEPENDS+= musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz +PLIST_FILES= lib/gstreamer-${VERSION}/libgsttrm.so +.endif + +# shout2 +.if ${GST_PLUGIN}=="shout2" +LIB_DEPENDS+= shout.5:${PORTSDIR}/audio/libshout2 +.endif + +# sidplay +.if ${GST_PLUGIN}=="sidplay" +LIB_DEPENDS+= sidplay.1:${PORTSDIR}/audio/libsidplay +PLIST_FILES= ${GST_LIB_DIR}/libgstsid.so +.endif + +# sndfile +.if ${GST_PLUGIN}=="sndfile" +LIB_DEPENDS+= sndfile.1:${PORTSDIR}/audio/libsndfile +.endif + +# theora +.if ${GST_PLUGIN}=="theora" +LIB_DEPENDS+= theora.1:${PORTSDIR}/multimedia/libtheora +.endif + +# mad +.if ${GST_PLUGIN}=="mad" +LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/libmad \ + id3tag.0:${PORTSDIR}/audio/libid3tag +.endif + +# mpeg2enc +.if ${GST_PLUGIN}=="mpeg2enc" +USE_GSTREAMER+= mplex +LIB_DEPENDS+= lavjpeg-1.8.0:${PORTSDIR}/multimedia/mjpegtools + +# XXX - make sure CONFIGURE works with mpeg2enc even with "ccache +# c++" ... weird but necessary +CONFIGURE_ENV+= HAVE_CXX=yes +.endif + +# nas +.if ${GST_PLUGIN}=="nas" +LIB_DEPENDS+= audio.2:${PORTSDIR}/audio/nas +GST_PLIST_SUFFIX= sink +.endif + +# ogg +.if ${GST_PLUGIN}=="ogg" +LIB_DEPENDS+= ogg.5:${PORTSDIR}/audio/libogg +.endif + +# pango +.if ${GST_PLUGIN}=="pango" +USE_GNOME+= pango +PLIST_FILES= ${GST_LIB_DIR}/libgsttextoverlay.so \ + ${GST_LIB_DIR}/libgsttimeoverlay.so +.endif + +# libpng and the snapshot plugin +.if ${GST_PLUGIN}=="libpng" +LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png +GST_PLUGIN_DIR= ext/libpng \ + ext/snapshot +PLIST_FILES= ${GST_LIB_DIR}/libgstpng.so \ + ${GST_LIB_DIR}/libgstsnapshot.so +.endif + +# polypaudio +.if ${GST_PLUGIN}=="polypaudio" +LIB_DEPENDS+= polyp-0.7.0:${PORTSDIR}/audio/polypaudio +PLIST_FILES= ${GST_LIB_DIR}/libpolypaudio.so +GST_PLUGIN_DIR= ext/polyp +.endif + +# sdl +.if ${GST_PLUGIN}=="sdl" +USE_SDL+= sdl +GST_PLIST_SUFFIX= videosink +.endif + +# smoothwave +.if ${GST_PLUGIN}=="smoothwave" +USE_GNOME+= gtk20 +.endif + +# speex +.if ${GST_PLUGIN}=="speex" +LIB_DEPENDS+= speex.3:${PORTSDIR}/audio/speex +.endif + +# swfdec +.if ${GST_PLUGIN}=="swfdec" +LIB_DEPENDS+= swfdec-0.3.0:${PORTSDIR}/graphics/swfdec +.endif + +# vorbis +.if ${GST_PLUGIN}=="vorbis" +USE_GSTREAMER+= ogg +LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis +.endif + +# ivorbis +.if ${GST_PLUGIN}=="ivorbis" +LIB_DEPENDS+= vorbisidec.1:${PORTSDIR}/audio/libtremor +.endif + +# wavpack +.if ${GST_PLUGIN}=="wavpack" +LIB_DEPENDS+= wavpack.0:${PORTSDIR}/audio/wavpack +.endif + +# x264 +.if ${GST_PLUGIN}=="x264" +LIB_DEPENDS+= x264.1:${PORTSDIR}/multimedia/x264 +PLIST_FILES= ${GST_LIB_DIR}/libx264.so +.endif + +# xvid +.if ${GST_PLUGIN}=="xvid" +LIB_DEPENDS+= xvidcore.4:${PORTSDIR}/multimedia/xvid +.endif + +BUILD_DEPENDS+= gstreamer-plugins>=0.10.2:${PORTSDIR}/multimedia/gstreamer-plugins +RUN_DEPENDS+= gstreamer-plugins>=0.10.2:${PORTSDIR}/multimedia/gstreamer-plugins + +do-build: +.if ${GST_PLUGIN} == "gconf" + @cd ${WRKSRC}/pkgconfig && ../config.status & +.endif +.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 + +do-install: +.for dir in ${GST_PLUGIN_DIR} + @cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \ + ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET} +.endfor +.if ${GST_PLUGIN} == "gconf" + @cd ${WRKSRC}/pkgconfig && ${GMAKE} gstreamer-gconf-0.10.pc + @${INSTALL_SCRIPT} ${WRKSRC}/pkgconfig/gstreamer-gconf-0.10.pc \ + ${PREFIX}/libdata/pkgconfig/gstreamer-gconf-0.10.pc +.endif +.endif diff --git a/multimedia/gstreamer-plugins/distinfo b/multimedia/gstreamer-plugins/distinfo new file mode 100644 index 000000000..88a8a2137 --- /dev/null +++ b/multimedia/gstreamer-plugins/distinfo @@ -0,0 +1,12 @@ +MD5 (gnome2/gst-plugins-base-0.10.2.tar.bz2) = 08b1f541e81baa67aeab6df90cfe61d5 +SHA256 (gnome2/gst-plugins-base-0.10.2.tar.bz2) = a8306576fbee4ad46064fd6511f525ae267c678782d14b20bc0bbc835417f145 +SIZE (gnome2/gst-plugins-base-0.10.2.tar.bz2) = 1038764 +MD5 (gnome2/gst-plugins-bad-0.10.0.tar.bz2) = 3aa64cff481b0179023d71d9be5df7d5 +SHA256 (gnome2/gst-plugins-bad-0.10.0.tar.bz2) = 2307cecff1c5015df68d2086ad94435c025fdb3d8e4769e99dfb936ba1677e3a +SIZE (gnome2/gst-plugins-bad-0.10.0.tar.bz2) = 580636 +MD5 (gnome2/gst-plugins-good-0.10.1.tar.bz2) = be5ba72454a1df6e4e6d5deeeec88e59 +SHA256 (gnome2/gst-plugins-good-0.10.1.tar.bz2) = 122805870575b23b92a988ba7cc1460c1db092b0560273b8bfedd3883953d8a4 +SIZE (gnome2/gst-plugins-good-0.10.1.tar.bz2) = 928881 +MD5 (gnome2/gst-plugins-ugly-0.10.1.tar.bz2) = f2b16c8e15816cf3ee9a1ca540491fe9 +SHA256 (gnome2/gst-plugins-ugly-0.10.1.tar.bz2) = 89dac4986e4eb0facffabf04e08b3caf5b98a6be489267bc59939b84c9c8f75f +SIZE (gnome2/gst-plugins-ugly-0.10.1.tar.bz2) = 524597 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..bc5f60d80 --- /dev/null +++ b/multimedia/gstreamer-plugins/pkg-plist @@ -0,0 +1,102 @@ +bin/gst-visualise-%%VERSION%% +include/gstreamer-%%VERSION%%/gst/audio/audio.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-enumtypes.h +include/gstreamer-%%VERSION%%/gst/audio/multichannel.h +include/gstreamer-%%VERSION%%/gst/cdda/gstcddabasesrc.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/tuner.h +include/gstreamer-%%VERSION%%/gst/interfaces/tunerchannel.h +include/gstreamer-%%VERSION%%/gst/interfaces/tunernorm.h +include/gstreamer-%%VERSION%%/gst/interfaces/xoverlay.h +include/gstreamer-%%VERSION%%/gst/netbuffer/gstnetbuffer.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/gstbasertpdepayload.h +include/gstreamer-%%VERSION%%/gst/rtp/gstbasertppayload.h +include/gstreamer-%%VERSION%%/gst/rtp/gstrtpbuffer.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 +lib/gstreamer-%%VERSION%%/libgstadder.so +lib/gstreamer-%%VERSION%%/libgstaudioconvert.so +lib/gstreamer-%%VERSION%%/libgstaudiorate.so +lib/gstreamer-%%VERSION%%/libgstaudioresample.so +lib/gstreamer-%%VERSION%%/libgstaudiotestsrc.so +lib/gstreamer-%%VERSION%%/libgstdecodebin.so +lib/gstreamer-%%VERSION%%/libgstffmpegcolorspace.so +lib/gstreamer-%%VERSION%%/libgstplaybin.so +lib/gstreamer-%%VERSION%%/libgstsubparse.so +lib/gstreamer-%%VERSION%%/libgsttcp.so +lib/gstreamer-%%VERSION%%/libgsttypefindfunctions.so +lib/gstreamer-%%VERSION%%/libgstvideorate.so +lib/gstreamer-%%VERSION%%/libgstvideoscale.so +lib/gstreamer-%%VERSION%%/libgstvideotestsrc.so +lib/gstreamer-%%VERSION%%/libgstvolume.so +lib/gstreamer-%%VERSION%%/libgstximagesink.so +lib/gstreamer-%%VERSION%%/libgstxvimagesink.so +lib/libgstaudio-%%VERSION%%.a +lib/libgstaudio-%%VERSION%%.so +lib/libgstaudio-%%VERSION%%.so.1 +lib/libgstcdda-%%VERSION%%.a +lib/libgstcdda-%%VERSION%%.so +lib/libgstcdda-%%VERSION%%.so.1 +lib/libgstinterfaces-%%VERSION%%.a +lib/libgstinterfaces-%%VERSION%%.so +lib/libgstinterfaces-%%VERSION%%.so.1 +lib/libgstnetbuffer-%%VERSION%%.a +lib/libgstnetbuffer-%%VERSION%%.so +lib/libgstnetbuffer-%%VERSION%%.so.1 +lib/libgstriff-%%VERSION%%.a +lib/libgstriff-%%VERSION%%.so +lib/libgstriff-%%VERSION%%.so.1 +lib/libgstrtp-%%VERSION%%.a +lib/libgstrtp-%%VERSION%%.so +lib/libgstrtp-%%VERSION%%.so.1 +lib/libgsttag-%%VERSION%%.a +lib/libgsttag-%%VERSION%%.so +lib/libgsttag-%%VERSION%%.so.1 +lib/libgstvideo-%%VERSION%%.a +lib/libgstvideo-%%VERSION%%.so +lib/libgstvideo-%%VERSION%%.so.1 +libdata/pkgconfig/gstreamer-plugins-base-%%VERSION%%.pc +share/locale/af/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo +share/locale/az/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo +share/locale/cs/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo +share/locale/en_GB/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo +share/locale/hu/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo +share/locale/it/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/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/uk/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo +share/locale/vi/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo +@dirrm include/gstreamer-%%VERSION%%/gst/video +@dirrm include/gstreamer-%%VERSION%%/gst/tag +@dirrm include/gstreamer-%%VERSION%%/gst/rtp +@dirrm include/gstreamer-%%VERSION%%/gst/riff +@dirrm include/gstreamer-%%VERSION%%/gst/netbuffer +@dirrm include/gstreamer-%%VERSION%%/gst/interfaces +@dirrm include/gstreamer-%%VERSION%%/gst/floatcast +@dirrm include/gstreamer-%%VERSION%%/gst/cdda +@dirrm include/gstreamer-%%VERSION%%/gst/audio |