From 05d2886d27cb71e18dd917003926e7a165f40fa1 Mon Sep 17 00:00:00 2001 From: Koop Mast Date: Sat, 27 Apr 2013 20:56:38 +0000 Subject: Add Gstreamer 1.0.7. This is the new stable version of the Gstreamer multimedia framework. Use the USE_GSTREAMER1 macro to select Gstreamer 1.0 plugins. A new chapter for the porters handbook about gstreamer is a work in progress. X related plugins are now stand alone. The gio plugin is now part of the gstreamer1-plugins port and the oss plugins are now part of the gstreamer1-plugins-good port. Note that the pulseaudio plugin is missing because it needs a newer version of pulseaudio. Also there are still a number of plugins from -bad which haven't been ported to the 1.0 API yet. --- multimedia/Makefile | 20 + multimedia/gstreamer-plugins-all/Makefile | 8 +- multimedia/gstreamer-plugins/Makefile.common | 2 +- multimedia/gstreamer1-libav/Makefile | 66 +++ multimedia/gstreamer1-libav/distinfo | 2 + multimedia/gstreamer1-libav/pkg-descr | 5 + multimedia/gstreamer1-libav/pkg-plist | 4 + multimedia/gstreamer1-plugins-all/Makefile | 45 ++ multimedia/gstreamer1-plugins-all/pkg-descr | 1 + multimedia/gstreamer1-plugins-assrender/Makefile | 13 + multimedia/gstreamer1-plugins-bad/Makefile | 34 ++ multimedia/gstreamer1-plugins-bad/pkg-plist | 174 ++++++++ multimedia/gstreamer1-plugins-core/Makefile | 51 +++ multimedia/gstreamer1-plugins-core/pkg-descr | 3 + multimedia/gstreamer1-plugins-dts/Makefile | 13 + multimedia/gstreamer1-plugins-dv/Makefile | 14 + multimedia/gstreamer1-plugins-dvdread/Makefile | 13 + multimedia/gstreamer1-plugins-good/Makefile | 39 ++ .../gstreamer1-plugins-good/files/patch-configure | 11 + .../files/patch-sys_oss_gstosshelper.c | 20 + multimedia/gstreamer1-plugins-good/pkg-plist | 139 ++++++ multimedia/gstreamer1-plugins-mpeg2dec/Makefile | 13 + multimedia/gstreamer1-plugins-mpeg2enc/Makefile | 13 + multimedia/gstreamer1-plugins-resindvd/Makefile | 13 + .../gstreamer1-plugins-schroedinger/Makefile | 14 + multimedia/gstreamer1-plugins-theora/Makefile | 13 + multimedia/gstreamer1-plugins-ugly/Makefile | 33 ++ multimedia/gstreamer1-plugins-ugly/pkg-plist | 50 +++ multimedia/gstreamer1-plugins-v4l2/Makefile | 14 + multimedia/gstreamer1-plugins-vpx/Makefile | 13 + multimedia/gstreamer1-plugins-x264/Makefile | 13 + multimedia/gstreamer1-plugins/Makefile | 169 ++++++++ multimedia/gstreamer1-plugins/Makefile.common | 482 +++++++++++++++++++++ multimedia/gstreamer1-plugins/distinfo | 8 + .../gstreamer1-plugins/files/patch-Makefile.in | 11 + .../files/patch-ext_cdparanoia_gstcdparanoiasrc.c | 18 + .../files/patch-ext_libvisual_visual.c | 13 + .../files/patch-gst_audioresample_float.c | 23 + .../files/patch-gst_audioresample_resample.c | 12 + ...atch-gst_audioresample_speex-resampler-double.c | 21 + multimedia/gstreamer1-plugins/pkg-descr | 17 + multimedia/gstreamer1-plugins/pkg-plist | 236 ++++++++++ multimedia/gstreamer1/Makefile | 62 +++ multimedia/gstreamer1/distinfo | 2 + multimedia/gstreamer1/files/patch-Makefile.in | 11 + multimedia/gstreamer1/pkg-descr | 24 + multimedia/gstreamer1/pkg-plist | 179 ++++++++ 47 files changed, 2147 insertions(+), 7 deletions(-) create mode 100644 multimedia/gstreamer1-libav/Makefile create mode 100644 multimedia/gstreamer1-libav/distinfo create mode 100644 multimedia/gstreamer1-libav/pkg-descr create mode 100644 multimedia/gstreamer1-libav/pkg-plist create mode 100644 multimedia/gstreamer1-plugins-all/Makefile create mode 100644 multimedia/gstreamer1-plugins-all/pkg-descr create mode 100644 multimedia/gstreamer1-plugins-assrender/Makefile create mode 100644 multimedia/gstreamer1-plugins-bad/Makefile create mode 100644 multimedia/gstreamer1-plugins-bad/pkg-plist create mode 100644 multimedia/gstreamer1-plugins-core/Makefile create mode 100644 multimedia/gstreamer1-plugins-core/pkg-descr create mode 100644 multimedia/gstreamer1-plugins-dts/Makefile create mode 100644 multimedia/gstreamer1-plugins-dv/Makefile create mode 100644 multimedia/gstreamer1-plugins-dvdread/Makefile create mode 100644 multimedia/gstreamer1-plugins-good/Makefile create mode 100644 multimedia/gstreamer1-plugins-good/files/patch-configure create mode 100644 multimedia/gstreamer1-plugins-good/files/patch-sys_oss_gstosshelper.c create mode 100644 multimedia/gstreamer1-plugins-good/pkg-plist create mode 100644 multimedia/gstreamer1-plugins-mpeg2dec/Makefile create mode 100644 multimedia/gstreamer1-plugins-mpeg2enc/Makefile create mode 100644 multimedia/gstreamer1-plugins-resindvd/Makefile create mode 100644 multimedia/gstreamer1-plugins-schroedinger/Makefile create mode 100644 multimedia/gstreamer1-plugins-theora/Makefile create mode 100644 multimedia/gstreamer1-plugins-ugly/Makefile create mode 100644 multimedia/gstreamer1-plugins-ugly/pkg-plist create mode 100644 multimedia/gstreamer1-plugins-v4l2/Makefile create mode 100644 multimedia/gstreamer1-plugins-vpx/Makefile create mode 100644 multimedia/gstreamer1-plugins-x264/Makefile create mode 100644 multimedia/gstreamer1-plugins/Makefile create mode 100644 multimedia/gstreamer1-plugins/Makefile.common create mode 100644 multimedia/gstreamer1-plugins/distinfo create mode 100644 multimedia/gstreamer1-plugins/files/patch-Makefile.in create mode 100644 multimedia/gstreamer1-plugins/files/patch-ext_cdparanoia_gstcdparanoiasrc.c create mode 100644 multimedia/gstreamer1-plugins/files/patch-ext_libvisual_visual.c create mode 100644 multimedia/gstreamer1-plugins/files/patch-gst_audioresample_float.c create mode 100644 multimedia/gstreamer1-plugins/files/patch-gst_audioresample_resample.c create mode 100644 multimedia/gstreamer1-plugins/files/patch-gst_audioresample_speex-resampler-double.c create mode 100644 multimedia/gstreamer1-plugins/pkg-descr create mode 100644 multimedia/gstreamer1-plugins/pkg-plist create mode 100644 multimedia/gstreamer1/Makefile create mode 100644 multimedia/gstreamer1/distinfo create mode 100644 multimedia/gstreamer1/files/patch-Makefile.in create mode 100644 multimedia/gstreamer1/pkg-descr create mode 100644 multimedia/gstreamer1/pkg-plist (limited to 'multimedia') diff --git a/multimedia/Makefile b/multimedia/Makefile index 73c663722498..8eb8216aca23 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -116,6 +116,26 @@ SUBDIR += gstreamer-plugins-x264 SUBDIR += gstreamer-plugins-xvid SUBDIR += gstreamer-qt4 + SUBDIR += gstreamer1 + SUBDIR += gstreamer1-libav + SUBDIR += gstreamer1-plugins + SUBDIR += gstreamer1-plugins-all + SUBDIR += gstreamer1-plugins-assrender + SUBDIR += gstreamer1-plugins-bad + SUBDIR += gstreamer1-plugins-core + SUBDIR += gstreamer1-plugins-dts + SUBDIR += gstreamer1-plugins-dv + SUBDIR += gstreamer1-plugins-dvdread + SUBDIR += gstreamer1-plugins-good + SUBDIR += gstreamer1-plugins-mpeg2dec + SUBDIR += gstreamer1-plugins-mpeg2enc + SUBDIR += gstreamer1-plugins-resindvd + SUBDIR += gstreamer1-plugins-schroedinger + SUBDIR += gstreamer1-plugins-theora + SUBDIR += gstreamer1-plugins-ugly + SUBDIR += gstreamer1-plugins-v4l2 + SUBDIR += gstreamer1-plugins-vpx + SUBDIR += gstreamer1-plugins-x264 SUBDIR += gstreamermm SUBDIR += gsubedit SUBDIR += gtk-recordmydesktop diff --git a/multimedia/gstreamer-plugins-all/Makefile b/multimedia/gstreamer-plugins-all/Makefile index 6435ef6b8638..6af6877d7aa5 100644 --- a/multimedia/gstreamer-plugins-all/Makefile +++ b/multimedia/gstreamer-plugins-all/Makefile @@ -1,14 +1,10 @@ -# New ports collection makefile for: gstreamer-plugins-all -# Date created: 2004-12-12 -# Whom: Michael Johnson -# +# Created by: Michael Johnson # $FreeBSD$ # $MCom: ports/multimedia/gstreamer-plugins-all/Makefile,v 1.8 2006/01/25 18:54:32 ahze Exp $ -# PORTNAME= gstreamer-plugins-all PORTVERSION= 1.3.${GST_VERSION}.${GST_SHLIB_VERSION} -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= multimedia MASTER_SITES= # empty DISTFILES= # empty diff --git a/multimedia/gstreamer-plugins/Makefile.common b/multimedia/gstreamer-plugins/Makefile.common index b1a9c0fe452a..4b9ccd3a7041 100644 --- a/multimedia/gstreamer-plugins/Makefile.common +++ b/multimedia/gstreamer-plugins/Makefile.common @@ -378,7 +378,7 @@ 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_LIB_DEPENDS+= visual-0.4:${PORTSDIR}/graphics/libvisual04 gst_libvisual_PLIST_FILES= ${GST_LIB_DIR}/libgstlibvisual.la \ ${GST_LIB_DIR}/libgstlibvisual.so gst_libvisual_DIST= base diff --git a/multimedia/gstreamer1-libav/Makefile b/multimedia/gstreamer1-libav/Makefile new file mode 100644 index 000000000000..fc746320dc9d --- /dev/null +++ b/multimedia/gstreamer1-libav/Makefile @@ -0,0 +1,66 @@ +# Created by: Koop Mast +# $FreeBSD$ +# $MCom: ports/multimedia/gstreamer1-libav/Makefile,v 1.4 2013/01/15 21:43:45 kwm Exp $ + +PORTNAME= gstreamer1-libav +PORTVERSION= 1.0.7 +CATEGORIES= multimedia +MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-libav/ +DISTNAME= gst-libav-${PORTVERSION} + +MAINTAINER= multimedia@FreeBSD.org +COMMENT= GStreamer plug-in for manipulating MPEG video streams + +LICENSE= GPLv2 + +BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm \ + orc>=0.4.16:${PORTSDIR}/devel/orc +LIB_DEPENDS= orc-0.4:${PORTSDIR}/devel/orc + +USE_XZ= yes +USE_GMAKE= yes +USE_LDCONFIG= yes +USE_GSTREAMER1= yes +GNU_CONFIGURE= yes +USES= pkgconfig +LIBAV_CONFIG= --cc=${CC} \ + --enable-runtime-cpudetect \ + --enable-pic +LDFLAGS+= -Wl,-Bsymbolic +CFLAGS+= -fno-force-addr +#CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} + +PLIST_SUB= VERSION="${GST1_VERSION}" + +#PKG_CONFIG?="${LOCALBASE}/bin/pkg-config" + +# sse hardware vector support +.if defined(MACHINE_CPU) && (${MACHINE_CPU:Msse} == "sse" || ${MACHINE_CPU:Mamd64} == "amd64") +WITH_BUILTIN_VECTOR= yes +.else +LIBAV_CONFIG+= --disable-sse +.endif + +# mmx support +.if defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx} == "" && ${MACHINE_CPU:Mamd64} == "" +LIBAV_CONFIG+= --disable-mmx +WITHOUT_BUILTIN_VECTOR= yes +.endif + +# builtin vector, requires mmx and sse +.if !defined(WITHOUT_BUILTIN_VECTOR) && defined(WITH_BUILTIN_VECTOR) +CFLAGS+= -msse +.endif + +CONFIGURE_ARGS+= --with-libav-extra-configure="${LIBAV_CONFIG}" + +.include + +.if ${OSVERSION} < 900033 + +BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils +MAKE_ENV= COMPILER_PATH=${LOCALBASE}/bin + +.endif + +.include diff --git a/multimedia/gstreamer1-libav/distinfo b/multimedia/gstreamer1-libav/distinfo new file mode 100644 index 000000000000..0c84d9ff910e --- /dev/null +++ b/multimedia/gstreamer1-libav/distinfo @@ -0,0 +1,2 @@ +SHA256 (gst-libav-1.0.7.tar.xz) = aefa679d14e7a6558673cfbf401b9c01f1903bb52e5dc08332e9001d25a7ba7a +SIZE (gst-libav-1.0.7.tar.xz) = 4244464 diff --git a/multimedia/gstreamer1-libav/pkg-descr b/multimedia/gstreamer1-libav/pkg-descr new file mode 100644 index 000000000000..b8a091e3522f --- /dev/null +++ b/multimedia/gstreamer1-libav/pkg-descr @@ -0,0 +1,5 @@ +The Gstreamer ffmpeg package provides mpeg support for Gstreamer. +It includes codecs for most popular formats, and optimized +colourspace conversion. + +WWW: http://gstreamer.freedesktop.org/ diff --git a/multimedia/gstreamer1-libav/pkg-plist b/multimedia/gstreamer1-libav/pkg-plist new file mode 100644 index 000000000000..2022bcd22777 --- /dev/null +++ b/multimedia/gstreamer1-libav/pkg-plist @@ -0,0 +1,4 @@ +lib/gstreamer-%%VERSION%%/libgstavscale.la +lib/gstreamer-%%VERSION%%/libgstavscale.so +lib/gstreamer-%%VERSION%%/libgstlibav.la +lib/gstreamer-%%VERSION%%/libgstlibav.so diff --git a/multimedia/gstreamer1-plugins-all/Makefile b/multimedia/gstreamer1-plugins-all/Makefile new file mode 100644 index 000000000000..e2e9fb6105c2 --- /dev/null +++ b/multimedia/gstreamer1-plugins-all/Makefile @@ -0,0 +1,45 @@ +# Created by: Michael Johnson +# $FreeBSD$ + +PORTNAME= gstreamer1-plugins-all +PORTVERSION= ${GST1_VERSION} +PORTREVISION= 0 +CATEGORIES= multimedia +MASTER_SITES= # empty +DISTFILES= # empty +EXTRACT_ONLY= # empty + +MAINTAINER= multimedia@FreeBSD.org +COMMENT= Meta-port of all gstreamer 1.x plugins with options + +NO_BUILD= yes +USE_GSTREAMER1= yes + +.include "${.CURDIR}/../../Mk/bsd.gstreamer.mk" + +.for all in ${_GSTREAMER_PLUGINS} +OPTIONS_DEFINE+= ${all:U} +${all:U}_DESC= ${all} plugin +OPTIONS_DEFAULT+= ${all:U} +.endfor + +.include + +# Weed out gst-plugins that can not be packaged. or are broken. +.if defined(PACKAGE_BUILDING) +PORT_OPTIONS:= ${PORT_OPTIONS:NFAAC} # Mp4 Dolby license , no package +PORT_OPTIONS:= ${PORT_OPTIONS:NLAME} # MP3 License , no package +PORT_OPTIONS:= ${PORT_OPTIONS:NVDPAU} # Needs to be build agains running kernel +.endif + +OPTIONS_DEFINE_i386= SPC + +.for f in ${OPTIONS_DEFINE} +.if ${PORT_OPTIONS:M${f:U}} +USE_GSTREAMER1+=${f:L} +.endif +.endfor + +do-install: # empty + +.include diff --git a/multimedia/gstreamer1-plugins-all/pkg-descr b/multimedia/gstreamer1-plugins-all/pkg-descr new file mode 100644 index 000000000000..41d88c6fb17b --- /dev/null +++ b/multimedia/gstreamer1-plugins-all/pkg-descr @@ -0,0 +1 @@ +Meta-port of all gstreamer-plugins with options. diff --git a/multimedia/gstreamer1-plugins-assrender/Makefile b/multimedia/gstreamer1-plugins-assrender/Makefile new file mode 100644 index 000000000000..86ab0ad29761 --- /dev/null +++ b/multimedia/gstreamer1-plugins-assrender/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +PORTREVISION= 0 +CATEGORIES= multimedia + +COMMENT= Gstreamer ASS/SSA text renderer plugin + +GST_PLUGIN= assrender +DIST= bad + +MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins + +.include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer1-plugins-bad/Makefile b/multimedia/gstreamer1-plugins-bad/Makefile new file mode 100644 index 000000000000..d5b6514b84b6 --- /dev/null +++ b/multimedia/gstreamer1-plugins-bad/Makefile @@ -0,0 +1,34 @@ +# Created by: Michael Johnson +# $FreeBSD$ +# $MCom: ports/multimedia/gstreamer1-plugins-bad/Makefile,v 1.4 2013/01/15 21:43:45 kwm Exp $ + +PORTREVISION= 0 +CATEGORIES= multimedia + +COMMENT= Bad gstreamer-plugins + +GST_PLUGIN= bad +GST_PLUGIN_SUFFIX= -bad + +MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins + +BUILD_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:${PORTSDIR}/multimedia/gstreamer1-plugins \ + v4l_compat>=1.0.20100321:${PORTSDIR}/multimedia/v4l_compat +RUN_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MININAL_VERSION}:${PORTSDIR}/multimedia/gstreamer1-plugins + +DIST= bad +BAD_GST_DIRS= gst-libs sys gst po pkgconfig +NO_GSTREAMER_COMMON= yes +PLIST= ${.CURDIR}/pkg-plist + +do-build: +.for dir in ${BAD_GST_DIRS} + @(cd ${BUILD_WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) +.endfor + +do-install: +.for dir in ${BAD_GST_DIRS} + @(cd ${INSTALL_WRKSRC}/${dir} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) +.endfor + +.include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer1-plugins-bad/pkg-plist b/multimedia/gstreamer1-plugins-bad/pkg-plist new file mode 100644 index 000000000000..5cfe8ff417e9 --- /dev/null +++ b/multimedia/gstreamer1-plugins-bad/pkg-plist @@ -0,0 +1,174 @@ +include/gstreamer-%%VERSION%%/gst/basecamerabinsrc/gstbasecamerasrc.h +include/gstreamer-%%VERSION%%/gst/basecamerabinsrc/gstcamerabin-enum.h +include/gstreamer-%%VERSION%%/gst/basecamerabinsrc/gstcamerabinpreview.h +include/gstreamer-%%VERSION%%/gst/codecparsers/gsth264parser.h +include/gstreamer-%%VERSION%%/gst/codecparsers/gstmpeg4parser.h +include/gstreamer-%%VERSION%%/gst/codecparsers/gstmpegvideoparser.h +include/gstreamer-%%VERSION%%/gst/codecparsers/gstvc1parser.h +include/gstreamer-%%VERSION%%/gst/interfaces/photography-enumtypes.h +include/gstreamer-%%VERSION%%/gst/interfaces/photography.h +include/gstreamer-%%VERSION%%/gst/signalprocessor/gstsignalprocessor.h +include/gstreamer-%%VERSION%%/gst/video/gstsurfaceconverter.h +include/gstreamer-%%VERSION%%/gst/video/gstsurfacemeta.h +include/gstreamer-%%VERSION%%/gst/video/videocontext.h +lib/gstreamer-%%VERSION%%/libgstadpcmdec.la +lib/gstreamer-%%VERSION%%/libgstadpcmdec.so +lib/gstreamer-%%VERSION%%/libgstadpcmenc.la +lib/gstreamer-%%VERSION%%/libgstadpcmenc.so +lib/gstreamer-%%VERSION%%/libgstasfmux.la +lib/gstreamer-%%VERSION%%/libgstasfmux.so +lib/gstreamer-%%VERSION%%/libgstautoconvert.la +lib/gstreamer-%%VERSION%%/libgstautoconvert.so +lib/gstreamer-%%VERSION%%/libgstbayer.la +lib/gstreamer-%%VERSION%%/libgstbayer.so +lib/gstreamer-%%VERSION%%/libgstcoloreffects.la +lib/gstreamer-%%VERSION%%/libgstcoloreffects.so +lib/gstreamer-%%VERSION%%/libgstdataurisrc.la +lib/gstreamer-%%VERSION%%/libgstdataurisrc.so +lib/gstreamer-%%VERSION%%/libgstdebugutilsbad.la +lib/gstreamer-%%VERSION%%/libgstdebugutilsbad.so +lib/gstreamer-%%VERSION%%/libgstdtmf.la +lib/gstreamer-%%VERSION%%/libgstdtmf.so +lib/gstreamer-%%VERSION%%/libgstdvb.la +lib/gstreamer-%%VERSION%%/libgstdvb.so +lib/gstreamer-%%VERSION%%/libgstdvbsuboverlay.la +lib/gstreamer-%%VERSION%%/libgstdvbsuboverlay.so +lib/gstreamer-%%VERSION%%/libgstdvdspu.la +lib/gstreamer-%%VERSION%%/libgstdvdspu.so +lib/gstreamer-%%VERSION%%/libgstfestival.la +lib/gstreamer-%%VERSION%%/libgstfestival.so +lib/gstreamer-%%VERSION%%/libgstfieldanalysis.la +lib/gstreamer-%%VERSION%%/libgstfieldanalysis.so +lib/gstreamer-%%VERSION%%/libgstfragmented.la +lib/gstreamer-%%VERSION%%/libgstfragmented.so +lib/gstreamer-%%VERSION%%/libgstfrei0r.la +lib/gstreamer-%%VERSION%%/libgstfrei0r.so +lib/gstreamer-%%VERSION%%/libgstgaudieffects.la +lib/gstreamer-%%VERSION%%/libgstgaudieffects.so +lib/gstreamer-%%VERSION%%/libgstgdp.la +lib/gstreamer-%%VERSION%%/libgstgdp.so +lib/gstreamer-%%VERSION%%/libgstgeometrictransform.la +lib/gstreamer-%%VERSION%%/libgstgeometrictransform.so +lib/gstreamer-%%VERSION%%/libgstid3tag.la +lib/gstreamer-%%VERSION%%/libgstid3tag.so +lib/gstreamer-%%VERSION%%/libgstinter.la +lib/gstreamer-%%VERSION%%/libgstinter.so +lib/gstreamer-%%VERSION%%/libgstinterlace.la +lib/gstreamer-%%VERSION%%/libgstinterlace.so +lib/gstreamer-%%VERSION%%/libgstjpegformat.la +lib/gstreamer-%%VERSION%%/libgstjpegformat.so +lib/gstreamer-%%VERSION%%/libgstliveadder.la +lib/gstreamer-%%VERSION%%/libgstliveadder.so +lib/gstreamer-%%VERSION%%/libgstmpegpsdemux.la +lib/gstreamer-%%VERSION%%/libgstmpegpsdemux.so +lib/gstreamer-%%VERSION%%/libgstmpegpsmux.la +lib/gstreamer-%%VERSION%%/libgstmpegpsmux.so +lib/gstreamer-%%VERSION%%/libgstmpegtsdemux.la +lib/gstreamer-%%VERSION%%/libgstmpegtsdemux.so +lib/gstreamer-%%VERSION%%/libgstmpegtsmux.la +lib/gstreamer-%%VERSION%%/libgstmpegtsmux.so +lib/gstreamer-%%VERSION%%/libgstpcapparse.la +lib/gstreamer-%%VERSION%%/libgstpcapparse.so +lib/gstreamer-%%VERSION%%/libgstpnm.la +lib/gstreamer-%%VERSION%%/libgstpnm.so +lib/gstreamer-%%VERSION%%/libgstrawparse.la +lib/gstreamer-%%VERSION%%/libgstrawparse.so +lib/gstreamer-%%VERSION%%/libgstrtpmux.la +lib/gstreamer-%%VERSION%%/libgstrtpmux.so +lib/gstreamer-%%VERSION%%/libgstrtpvp8.la +lib/gstreamer-%%VERSION%%/libgstrtpvp8.so +lib/gstreamer-%%VERSION%%/libgstscaletempoplugin.la +lib/gstreamer-%%VERSION%%/libgstscaletempoplugin.so +lib/gstreamer-%%VERSION%%/libgstsdpelem.la +lib/gstreamer-%%VERSION%%/libgstsdpelem.so +lib/gstreamer-%%VERSION%%/libgstsegmentclip.la +lib/gstreamer-%%VERSION%%/libgstsegmentclip.so +lib/gstreamer-%%VERSION%%/libgstshm.la +lib/gstreamer-%%VERSION%%/libgstshm.so +lib/gstreamer-%%VERSION%%/libgstsiren.la +lib/gstreamer-%%VERSION%%/libgstsiren.so +lib/gstreamer-%%VERSION%%/libgstspeed.la +lib/gstreamer-%%VERSION%%/libgstspeed.so +lib/gstreamer-%%VERSION%%/libgstsubenc.la +lib/gstreamer-%%VERSION%%/libgstsubenc.so +lib/gstreamer-%%VERSION%%/libgstvideoparsersbad.la +lib/gstreamer-%%VERSION%%/libgstvideoparsersbad.so +lib/gstreamer-%%VERSION%%/libgsty4mdec.la +lib/gstreamer-%%VERSION%%/libgsty4mdec.so +lib/gstreamer-%%VERSION%%/libgstaudiovisualizers.la +lib/gstreamer-%%VERSION%%/libgstaudiovisualizers.so +lib/gstreamer-%%VERSION%%/libgstcamerabin2.la +lib/gstreamer-%%VERSION%%/libgstcamerabin2.so +lib/gstreamer-%%VERSION%%/libgstremovesilence.la +lib/gstreamer-%%VERSION%%/libgstremovesilence.so +lib/gstreamer-%%VERSION%%/libgstsmooth.la +lib/gstreamer-%%VERSION%%/libgstsmooth.so +lib/libgstbasecamerabinsrc-%%VERSION%%.a +lib/libgstbasecamerabinsrc-%%VERSION%%.la +lib/libgstbasecamerabinsrc-%%VERSION%%.so +lib/libgstbasecamerabinsrc-%%VERSION%%.so.0 +lib/libgstbasevideo-%%VERSION%%.a +lib/libgstbasevideo-%%VERSION%%.la +lib/libgstbasevideo-%%VERSION%%.so +lib/libgstbasevideo-%%VERSION%%.so.0 +lib/libgstcodecparsers-%%VERSION%%.a +lib/libgstcodecparsers-%%VERSION%%.la +lib/libgstcodecparsers-%%VERSION%%.so +lib/libgstcodecparsers-%%VERSION%%.so.0 +lib/libgstphotography-%%VERSION%%.a +lib/libgstphotography-%%VERSION%%.la +lib/libgstphotography-%%VERSION%%.so +lib/libgstphotography-%%VERSION%%.so.0 +lib/libgstsignalprocessor-%%VERSION%%.a +lib/libgstsignalprocessor-%%VERSION%%.la +lib/libgstsignalprocessor-%%VERSION%%.so +lib/libgstsignalprocessor-%%VERSION%%.so.0 +libdata/pkgconfig/gstreamer-codecparsers-%%VERSION%%.pc +libdata/pkgconfig/gstreamer-basevideo-%%VERSION%%.pc +libdata/pkgconfig/gstreamer-plugins-bad-%%VERSION%%.pc +share/locale/af/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/az/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/bg/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/ca/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/cs/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/da/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/de/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/el/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/en_GB/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/eo/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/es/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/eu/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/fi/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/fr/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/gl/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/hr/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/hu/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/id/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/it/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/ja/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/ky/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/lt/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/lv/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/mt/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/nb/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/nl/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/or/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/pl/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/pt_BR/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/ro/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/ru/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/sk/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/sl/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/sq/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/sr/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/sv/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/tr/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/uk/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/vi/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +share/locale/zh_CN/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo +@dirrmtry share/locale/ky/LC_MESSAGES +@dirrmtry share/locale/ky +@dirrm include/gstreamer-%%VERSION%%/gst/signalprocessor +@dirrm include/gstreamer-%%VERSION%%/gst/interfaces +@dirrm include/gstreamer-%%VERSION%%/gst/codecparsers +@dirrm include/gstreamer-%%VERSION%%/gst/basecamerabinsrc diff --git a/multimedia/gstreamer1-plugins-core/Makefile b/multimedia/gstreamer1-plugins-core/Makefile new file mode 100644 index 000000000000..e43bd240554d --- /dev/null +++ b/multimedia/gstreamer1-plugins-core/Makefile @@ -0,0 +1,51 @@ +# Created by: Michael Johnson +# $FreeBSD$ +# $MCom: ports/multimedia/gstreamer-plugins-core/Makefile,v 1.17 2006/07/17 01:39:57 ahze Exp $ + +PORTNAME= gstreamer-plugins-core +PORTVERSION= ${GST1_VERSION} +PORTREVISION= 0 +CATEGORIES= multimedia audio +MASTER_SITES= # empty +DISTFILES= # empty +EXTRACT_ONLY= # empty + +MAINTAINER= multimedia@FreeBSD.org +COMMENT= Core set of typical audio and video gstreamer-plugins + +NO_BUILD= yes +GST_DIR= lib/gstreamer-${PORTVERSION} +PLIST_FILES= ${GST_DIR}/.gstreamer-plugins-core.keep + +USE_GSTREAMER1=yes + +OPTIONS_DEFINE= DVD +OPTIONS_DEFAULT=DVD +DVD_DESC= Include DVD related plugins + +.include + +# Audio plugins +USE_GSTREAMER1+= mad ogg vorbis + +# Graphics plugins +USE_GSTREAMER1+= png + +# Misc plugins +USE_GSTREAMER1+= pango + +# Multimedia plugins +USE_GSTREAMER1+= libav good theora + +.if ${PORT_OPTIONS:MDVD} +# dvd related plugins plugins +USE_GSTREAMER1+= a52dec dvdread resindvd dts +.endif + +do-install: + if [ ! -d ${PREFIX}/${GST_DIR} ]; then \ + ${MKDIR} ${PREFIX}/${GST_DIR} ; \ + fi + ${TOUCH} -f ${PREFIX}/${GST_DIR}/.gstreamer-plugins-core.keep + +.include diff --git a/multimedia/gstreamer1-plugins-core/pkg-descr b/multimedia/gstreamer1-plugins-core/pkg-descr new file mode 100644 index 000000000000..90895a218dc8 --- /dev/null +++ b/multimedia/gstreamer1-plugins-core/pkg-descr @@ -0,0 +1,3 @@ +Meta-port to core "typical" gstreamer-plugins + +WWW: http://gstreamer.net diff --git a/multimedia/gstreamer1-plugins-dts/Makefile b/multimedia/gstreamer1-plugins-dts/Makefile new file mode 100644 index 000000000000..db1d89f16a0b --- /dev/null +++ b/multimedia/gstreamer1-plugins-dts/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +PORTREVISION= 0 +CATEGORIES= multimedia + +COMMENT= Gstreamer dts plugin + +GST_PLUGIN= dts +DIST= bad + +MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins + +.include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer1-plugins-dv/Makefile b/multimedia/gstreamer1-plugins-dv/Makefile new file mode 100644 index 000000000000..20af99fb7309 --- /dev/null +++ b/multimedia/gstreamer1-plugins-dv/Makefile @@ -0,0 +1,14 @@ +# $FreeBSD$ + +PORTREVISION= 0 +CATEGORIES= multimedia +PKGNAMESUFFIX= 1-plugins-dv + +COMMENT= Gstreamer dv plugin + +GST_PLUGIN= libdv +DIST= good + +MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins + +.include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer1-plugins-dvdread/Makefile b/multimedia/gstreamer1-plugins-dvdread/Makefile new file mode 100644 index 000000000000..ca439dffa2ce --- /dev/null +++ b/multimedia/gstreamer1-plugins-dvdread/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +PORTREVISION= 0 +CATEGORIES= multimedia + +COMMENT= Gstreamer dvdread plugin + +GST_PLUGIN= dvdread +DIST= ugly + +MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins + +.include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer1-plugins-good/Makefile b/multimedia/gstreamer1-plugins-good/Makefile new file mode 100644 index 000000000000..fb00a9188416 --- /dev/null +++ b/multimedia/gstreamer1-plugins-good/Makefile @@ -0,0 +1,39 @@ +# Created by: Michael Johnson +# $FreeBSD$ +# $MCom: ports/multimedia/gstreamer1-plugins-good/Makefile,v 1.4 2013/01/15 21:43:45 kwm Exp $ + +PORTREVISION= 0 +CATEGORIES= multimedia + +COMMENT= Good gstreamer-plugins + +GST_PLUGIN= good +GST_PLUGIN_SUFFIX= -good + +MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins + +CONFIGURE_ARGS+=--enable-monoscope + +BUILD_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:${PORTSDIR}/multimedia/gstreamer1-plugins +RUN_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:${PORTSDIR}/multimedia/gstreamer1-plugins + +DIST= good +GOOD_GST_DIRS= gst sys po + +PLIST= ${.CURDIR}/pkg-plist +FILESDIR= ${.CURDIR}/files +PATCHDIR= ${.CURDIR}/files +NO_GSTREAMER_COMMON= yes + +do-build: +.for dir in ${GOOD_GST_DIRS} + @(cd ${BUILD_WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) +.endfor + +do-install: +.for dir in ${GOOD_GST_DIRS} + @(cd ${INSTALL_WRKSRC}/${dir} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) + +.endfor + +.include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer1-plugins-good/files/patch-configure b/multimedia/gstreamer1-plugins-good/files/patch-configure new file mode 100644 index 000000000000..64669fdab733 --- /dev/null +++ b/multimedia/gstreamer1-plugins-good/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig 2010-12-01 19:16:00.000000000 +0100 ++++ configure 2010-12-02 15:39:17.000000000 +0100 +@@ -24955,7 +24955,7 @@ if test "${with_default_audiosink+set}" + + else + +- DEFAULT_AUDIOSINK="$DEFAULT_AUDIOSINK" ++ DEFAULT_VISUALIZER="$DEFAULT_VISUALIZER" + + fi + diff --git a/multimedia/gstreamer1-plugins-good/files/patch-sys_oss_gstosshelper.c b/multimedia/gstreamer1-plugins-good/files/patch-sys_oss_gstosshelper.c new file mode 100644 index 000000000000..34fdd31191a2 --- /dev/null +++ b/multimedia/gstreamer1-plugins-good/files/patch-sys_oss_gstosshelper.c @@ -0,0 +1,20 @@ +--- sys/oss/gstosshelper.c.orig Sun Apr 2 03:23:53 2006 ++++ sys/oss/gstosshelper.c Sun Apr 2 03:25:44 2006 +@@ -343,13 +344,17 @@ gst_oss_helper_rate_check_rate (GstOssPr + int format; + int n_channels; + int ret; ++ int rst; + + rate = irate; + format = probe->format; + n_channels = probe->n_channels; ++ rst = 4000; /* XXX Lowest supported rate for FreeBSD. */ + + GST_LOG ("checking format %d, channels %d, rate %d", + format, n_channels, rate); ++ /* Reset rate to lowest supported rate. */ ++ ioctl (probe->fd, SNDCTL_DSP_SPEED, &rst); + ret = ioctl (probe->fd, SNDCTL_DSP_SETFMT, &format); + if (ret < 0) + return -1; diff --git a/multimedia/gstreamer1-plugins-good/pkg-plist b/multimedia/gstreamer1-plugins-good/pkg-plist new file mode 100644 index 000000000000..504cad934a5e --- /dev/null +++ b/multimedia/gstreamer1-plugins-good/pkg-plist @@ -0,0 +1,139 @@ +lib/gstreamer-%%VERSION%%/libgstalaw.la +lib/gstreamer-%%VERSION%%/libgstalaw.so +lib/gstreamer-%%VERSION%%/libgstalpha.la +lib/gstreamer-%%VERSION%%/libgstalpha.so +lib/gstreamer-%%VERSION%%/libgstalphacolor.la +lib/gstreamer-%%VERSION%%/libgstalphacolor.so +lib/gstreamer-%%VERSION%%/libgstapetag.la +lib/gstreamer-%%VERSION%%/libgstapetag.so +lib/gstreamer-%%VERSION%%/libgstaudiofx.la +lib/gstreamer-%%VERSION%%/libgstaudiofx.so +lib/gstreamer-%%VERSION%%/libgstaudioparsers.la +lib/gstreamer-%%VERSION%%/libgstaudioparsers.so +lib/gstreamer-%%VERSION%%/libgstauparse.la +lib/gstreamer-%%VERSION%%/libgstauparse.so +lib/gstreamer-%%VERSION%%/libgstautodetect.la +lib/gstreamer-%%VERSION%%/libgstautodetect.so +lib/gstreamer-%%VERSION%%/libgstavi.la +lib/gstreamer-%%VERSION%%/libgstavi.so +lib/gstreamer-%%VERSION%%/libgstcutter.la +lib/gstreamer-%%VERSION%%/libgstcutter.so +lib/gstreamer-%%VERSION%%/libgstdebug.la +lib/gstreamer-%%VERSION%%/libgstdebug.so +lib/gstreamer-%%VERSION%%/libgstdeinterlace.la +lib/gstreamer-%%VERSION%%/libgstdeinterlace.so +lib/gstreamer-%%VERSION%%/libgsteffectv.la +lib/gstreamer-%%VERSION%%/libgsteffectv.so +lib/gstreamer-%%VERSION%%/libgstequalizer.la +lib/gstreamer-%%VERSION%%/libgstequalizer.so +lib/gstreamer-%%VERSION%%/libgstflv.la +lib/gstreamer-%%VERSION%%/libgstflv.so +lib/gstreamer-%%VERSION%%/libgstflxdec.la +lib/gstreamer-%%VERSION%%/libgstflxdec.so +lib/gstreamer-%%VERSION%%/libgstgoom.la +lib/gstreamer-%%VERSION%%/libgstgoom.so +lib/gstreamer-%%VERSION%%/libgstgoom2k1.la +lib/gstreamer-%%VERSION%%/libgstgoom2k1.so +lib/gstreamer-%%VERSION%%/libgsticydemux.la +lib/gstreamer-%%VERSION%%/libgsticydemux.so +lib/gstreamer-%%VERSION%%/libgstid3demux.la +lib/gstreamer-%%VERSION%%/libgstid3demux.so +lib/gstreamer-%%VERSION%%/libgstimagefreeze.la +lib/gstreamer-%%VERSION%%/libgstimagefreeze.so +lib/gstreamer-%%VERSION%%/libgstinterleave.la +lib/gstreamer-%%VERSION%%/libgstinterleave.so +lib/gstreamer-%%VERSION%%/libgstlevel.la +lib/gstreamer-%%VERSION%%/libgstlevel.so +lib/gstreamer-%%VERSION%%/libgstmatroska.la +lib/gstreamer-%%VERSION%%/libgstmatroska.so +lib/gstreamer-%%VERSION%%/libgstmulaw.la +lib/gstreamer-%%VERSION%%/libgstmulaw.so +lib/gstreamer-%%VERSION%%/libgstmultifile.la +lib/gstreamer-%%VERSION%%/libgstmultifile.so +lib/gstreamer-%%VERSION%%/libgstmultipart.la +lib/gstreamer-%%VERSION%%/libgstmultipart.so +lib/gstreamer-%%VERSION%%/libgstnavigationtest.la +lib/gstreamer-%%VERSION%%/libgstnavigationtest.so +lib/gstreamer-%%VERSION%%/libgstoss4audio.la +lib/gstreamer-%%VERSION%%/libgstoss4audio.so +lib/gstreamer-%%VERSION%%/libgstossaudio.la +lib/gstreamer-%%VERSION%%/libgstossaudio.so +lib/gstreamer-%%VERSION%%/libgstisomp4.la +lib/gstreamer-%%VERSION%%/libgstisomp4.so +lib/gstreamer-%%VERSION%%/libgstreplaygain.la +lib/gstreamer-%%VERSION%%/libgstreplaygain.so +lib/gstreamer-%%VERSION%%/libgstrtp.la +lib/gstreamer-%%VERSION%%/libgstrtp.so +lib/gstreamer-%%VERSION%%/libgstrtpmanager.la +lib/gstreamer-%%VERSION%%/libgstrtpmanager.so +lib/gstreamer-%%VERSION%%/libgstrtsp.la +lib/gstreamer-%%VERSION%%/libgstrtsp.so +lib/gstreamer-%%VERSION%%/libgstshapewipe.la +lib/gstreamer-%%VERSION%%/libgstshapewipe.so +lib/gstreamer-%%VERSION%%/libgstsmpte.la +lib/gstreamer-%%VERSION%%/libgstsmpte.so +lib/gstreamer-%%VERSION%%/libgstspectrum.la +lib/gstreamer-%%VERSION%%/libgstspectrum.so +lib/gstreamer-%%VERSION%%/libgstudp.la +lib/gstreamer-%%VERSION%%/libgstudp.so +lib/gstreamer-%%VERSION%%/libgstvideobox.la +lib/gstreamer-%%VERSION%%/libgstvideobox.so +lib/gstreamer-%%VERSION%%/libgstvideocrop.la +lib/gstreamer-%%VERSION%%/libgstvideocrop.so +lib/gstreamer-%%VERSION%%/libgstvideofilter.la +lib/gstreamer-%%VERSION%%/libgstvideofilter.so +lib/gstreamer-%%VERSION%%/libgstvideomixer.la +lib/gstreamer-%%VERSION%%/libgstvideomixer.so +lib/gstreamer-%%VERSION%%/libgstwavenc.la +lib/gstreamer-%%VERSION%%/libgstwavenc.so +lib/gstreamer-%%VERSION%%/libgstwavparse.la +lib/gstreamer-%%VERSION%%/libgstwavparse.so +lib/gstreamer-%%VERSION%%/libgsty4menc.la +lib/gstreamer-%%VERSION%%/libgsty4menc.so +share/gstreamer-%%VERSION%%/presets/GstIirEqualizer10Bands.prs +share/gstreamer-%%VERSION%%/presets/GstIirEqualizer3Bands.prs +share/locale/af/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/az/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/bg/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/ca/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/cs/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/da/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/de/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/el/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/en_GB/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/eo/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/es/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/eu/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/fi/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/fr/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/gl/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/hr/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/hu/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/id/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/it/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/ja/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/lt/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/lv/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/mt/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/nb/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/nl/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/or/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/pl/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/pt_BR/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/ro/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/ru/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/sk/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/sl/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/sq/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/sr/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/sv/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/tr/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/uk/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/vi/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/zh_CN/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/zh_HK/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/zh_TW/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/gstreamer-%%VERSION%%/presets +@dirrmtry share/gstreamer-%%VERSION%% diff --git a/multimedia/gstreamer1-plugins-mpeg2dec/Makefile b/multimedia/gstreamer1-plugins-mpeg2dec/Makefile new file mode 100644 index 000000000000..b0190dc9a4b0 --- /dev/null +++ b/multimedia/gstreamer1-plugins-mpeg2dec/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +PORTREVISION= 0 +CATEGORIES= multimedia + +COMMENT= Gstreamer mpeg decode plugin + +GST_PLUGIN= mpeg2dec +DIST= ugly + +MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins + +.include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer1-plugins-mpeg2enc/Makefile b/multimedia/gstreamer1-plugins-mpeg2enc/Makefile new file mode 100644 index 000000000000..ef5d5e6b98e6 --- /dev/null +++ b/multimedia/gstreamer1-plugins-mpeg2enc/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +PORTREVISION= 0 +CATEGORIES= multimedia + +COMMENT= Gstreamer mpeg encoder plugin + +GST_PLUGIN= mpeg2enc +DIST= bad + +MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins + +.include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer1-plugins-resindvd/Makefile b/multimedia/gstreamer1-plugins-resindvd/Makefile new file mode 100644 index 000000000000..c40882dc955e --- /dev/null +++ b/multimedia/gstreamer1-plugins-resindvd/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +PORTREVISION= 0 +CATEGORIES= multimedia + +COMMENT= Gstreamer resindvd plugin + +GST_PLUGIN= resindvd +DIST= bad + +MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins + +.include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer1-plugins-schroedinger/Makefile b/multimedia/gstreamer1-plugins-schroedinger/Makefile new file mode 100644 index 000000000000..fd71d23b8256 --- /dev/null +++ b/multimedia/gstreamer1-plugins-schroedinger/Makefile @@ -0,0 +1,14 @@ +# $FreeBSD$ + +PORTREVISION= 0 +CATEGORIES= multimedia +PKGNAMESUFFIX= 1-plugins-schroedinger + +COMMENT= Gstreamer Dirac high-speed codec plugin + +GST_PLUGIN= schro +DIST= bad + +MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins + +.include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer1-plugins-theora/Makefile b/multimedia/gstreamer1-plugins-theora/Makefile new file mode 100644 index 000000000000..ba9b21525d56 --- /dev/null +++ b/multimedia/gstreamer1-plugins-theora/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +PORTREVISION= 0 +CATEGORIES= multimedia + +COMMENT= Gstreamer theora plugin + +GST_PLUGIN= theora +DIST= base + +MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins + +.include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer1-plugins-ugly/Makefile b/multimedia/gstreamer1-plugins-ugly/Makefile new file mode 100644 index 000000000000..4387d8ae4bf8 --- /dev/null +++ b/multimedia/gstreamer1-plugins-ugly/Makefile @@ -0,0 +1,33 @@ +# Created by: Michael Johnson +# $FreeBSD$ +# $MCom: ports/multimedia/gstreamer1-plugins-ugly/Makefile,v 1.3 2013/01/15 21:43:46 kwm Exp $ + +PORTREVISION= 0 +CATEGORIES= multimedia + +COMMENT= Ugly gstreamer-plugins + +GST_PLUGIN= ugly +GST_PLUGIN_SUFFIX= -ugly + +MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins + +BUILD_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:${PORTSDIR}/multimedia/gstreamer1-plugins +RUN_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:${PORTSDIR}/multimedia/gstreamer1-plugins + +DIST= ugly +UGLY_GST_DIRS= gst po gst-libs +NO_GSTREAMER_COMMON= yes +PLIST= ${.CURDIR}/pkg-plist + +do-build: +.for dir in ${UGLY_GST_DIRS} + @(cd ${BUILD_WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) +.endfor + +do-install: +.for dir in ${UGLY_GST_DIRS} + @(cd ${INSTALL_WRKSRC}/${dir} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) +.endfor + +.include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer1-plugins-ugly/pkg-plist b/multimedia/gstreamer1-plugins-ugly/pkg-plist new file mode 100644 index 000000000000..a0c501ece2c4 --- /dev/null +++ b/multimedia/gstreamer1-plugins-ugly/pkg-plist @@ -0,0 +1,50 @@ +lib/gstreamer-%%VERSION%%/libgstasf.la +lib/gstreamer-%%VERSION%%/libgstasf.so +lib/gstreamer-%%VERSION%%/libgstdvdlpcmdec.la +lib/gstreamer-%%VERSION%%/libgstdvdlpcmdec.so +lib/gstreamer-%%VERSION%%/libgstdvdsub.la +lib/gstreamer-%%VERSION%%/libgstdvdsub.so +lib/gstreamer-%%VERSION%%/libgstrmdemux.la +lib/gstreamer-%%VERSION%%/libgstrmdemux.so +lib/gstreamer-%%VERSION%%/libgstxingmux.la +lib/gstreamer-%%VERSION%%/libgstxingmux.so +share/locale/af/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/az/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/bg/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/ca/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/cs/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/da/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/de/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/el/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/en_GB/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/eo/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/es/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/eu/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/fi/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/fr/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/gl/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/hr/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/hu/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/id/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/it/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/ja/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/lt/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/lv/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/mt/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/ms/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/nb/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/nl/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/or/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/pl/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/pt_BR/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/ro/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/ru/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/sk/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/sl/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/sq/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/sr/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/sv/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/tr/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/uk/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/vi/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo +share/locale/zh_CN/LC_MESSAGES/gst-plugins-ugly-%%VERSION%%.mo diff --git a/multimedia/gstreamer1-plugins-v4l2/Makefile b/multimedia/gstreamer1-plugins-v4l2/Makefile new file mode 100644 index 000000000000..b0a3d7486e40 --- /dev/null +++ b/multimedia/gstreamer1-plugins-v4l2/Makefile @@ -0,0 +1,14 @@ +# $FreeBSD$ + +PORTREVISION= 0 +CATEGORIES= multimedia +PKGNAMESUFFIX= 1-plugins-v4l2 + +COMMENT= Gstreamer Video 4 Linux 2 source plugin + +GST_PLUGIN= gst_v4l2 +DIST= good + +MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins + +.include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer1-plugins-vpx/Makefile b/multimedia/gstreamer1-plugins-vpx/Makefile new file mode 100644 index 000000000000..379ee383b963 --- /dev/null +++ b/multimedia/gstreamer1-plugins-vpx/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +PORTREVISION= 0 +CATEGORIES= multimedia + +COMMENT= Gstreamer vp8 codec plugin + +GST_PLUGIN= vpx +DIST= good + +MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins + +.include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer1-plugins-x264/Makefile b/multimedia/gstreamer1-plugins-x264/Makefile new file mode 100644 index 000000000000..66ac4f231644 --- /dev/null +++ b/multimedia/gstreamer1-plugins-x264/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +PORTREVISION= 0 +CATEGORIES= multimedia + +COMMENT= Gstreamer x264 plugin + +GST_PLUGIN= x264 +DIST= ugly + +MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins + +.include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer1-plugins/Makefile b/multimedia/gstreamer1-plugins/Makefile new file mode 100644 index 000000000000..b0db5d6574d1 --- /dev/null +++ b/multimedia/gstreamer1-plugins/Makefile @@ -0,0 +1,169 @@ +# Created by: Mario Sergio Fujikawa Ferreira +# $FreeBSD$ +# $MCom: kwm/multimedia/gstreamer1-plugins/Makefile 11404 2013-04-26 19:05:50Z kwm $ + +PORTNAME= gstreamer +PORTVERSION?= ${BASE_PORTVERSION} +# When chasing a shared library for a plug-in bump the PORTREVISION in the +# plug-in port instead, like ${category}/gstreamer1-plugin-${PLUGIN}. +PORTREVISION?= 0 +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 +PKGNAMESUFFIX?= 1-plugins${GST_PLUGIN_SUFFIX} + +MAINTAINER= multimedia@FreeBSD.org +COMMENT?= GStreamer written collection of plugins handling several media types + +BUILD_DEPENDS+= gobject-introspection>=1.31.1:${PORTSDIR}/devel/gobject-introspection \ + gstreamer1>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:${PORTSDIR}/multimedia/gstreamer1 \ + iso-codes>=0:${PORTSDIR}/misc/iso-codes \ + orc>=0.4.16:${PORTSDIR}/devel/orc +LIB_DEPENDS+= gstreamer-1.0:${PORTSDIR}/multimedia/gstreamer1 \ + freetype:${PORTSDIR}/print/freetype2 \ + orc-0.4:${PORTSDIR}/devel/orc +RUN_DEPENDS+= iso-codes>=0:${PORTSDIR}/misc/iso-codes + +BASE_PORTVERSION= 1.0.7 +BASE_DISTNAME= gst-plugins-base-${BASE_PORTVERSION} +BASE_DISTFILE= ${BASE_DISTNAME}${EXTRACT_SUFX} +BAD_PORTVERSION= 1.0.7 +BAD_DISTNAME= gst-plugins-bad-${BAD_PORTVERSION} +BAD_DISTFILE= ${BAD_DISTNAME}${EXTRACT_SUFX} +GOOD_PORTVERSION= 1.0.7 +GOOD_DISTNAME= gst-plugins-good-${GOOD_PORTVERSION} +GOOD_DISTFILE= ${GOOD_DISTNAME}${EXTRACT_SUFX} +UGLY_PORTVERSION= 1.0.7 +UGLY_DISTNAME= gst-plugins-ugly-${UGLY_PORTVERSION} +UGLY_DISTFILE= ${UGLY_DISTNAME}${EXTRACT_SUFX} +DIST?= base + +SHLIB_VERSION= 0 +VERSION= ${GST1_VERSION} + +USES= gettext pathfix pkgconfig +WANT_GSTREAMER= yes +USE_XZ= yes +USE_GMAKE= yes +USE_GNOME+= ltverhack:0 ltasneededhack libxml2 +USE_AUTOTOOLS= libtool +GST_PLUGIN?= base +USE_LDCONFIG= yes + +CFLAGS:= ${CFLAGS} -O2 -Wno-format +CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} +LDFLAGS+= -L${LOCALBASE}/lib ${EXTRA_LIBS} ${PTHREAD_LIBS} + +DEFAULT_AUDIOSINK?= osssink +DEFAULT_AUDIOSRC?= osssrc + +.if ${DIST}=="" +IGNORE= DIST not specified +.endif + +.include + +.if ${ARCH}=="i386" +PLIST_SUB+= I386="" +.else +PLIST_SUB+= I386="@comment " +.endif + +.if ${GST_PLUGIN} == "base" +DIST= base +NO_GSTREAMER_COMMON= yes +MAN1= gst-discoverer-1.0.1 +.else +BUILD_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:${PORTSDIR}/multimedia/gstreamer1-plugins +RUN_DEPEDNS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:${PORTSDIR}/multimedia/gstreamer1-plugins +.endif + +.if ${DIST} == base || ${DIST} == ugly +# --with-default-audiosink specify default audio sink +# --with-default-audiosrc specify default audio source +# --with-default-videosink specify default video sink +# --with-default-videosrc specify default video source +# --with-default-visualizer specify default visualizer +CONFIGURE_ARGS+=--with-default-audiosink="${DEFAULT_AUDIOSINK}" \ + --with-default-audiosrc="${DEFAULT_AUDIOSRC}" +.endif + +PLIST_SUB+= VERSION="${VERSION}" \ + SHLIB_VERSION="${SHLIB_VERSION}" + +.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/gstreamer1-plugins/files +.elif ${DIST}=="bad" +EXTRACT_ONLY=${BAD_DISTFILE} +WRKSRC=${WRKDIR}/${BAD_DISTNAME} +PORTVERSION= ${BAD_PORTVERSION} +DISTFILES+= ${BAD_DISTFILE}:bad +PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins-bad/files +.elif ${DIST}=="ugly" +EXTRACT_ONLY=${UGLY_DISTFILE} +WRKSRC=${WRKDIR}/${UGLY_DISTNAME} +PORTVERSION= ${UGLY_PORTVERSION} +DISTFILES+= ${UGLY_DISTFILE}:ugly +PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins-ugly/files +.elif ${DIST}=="good" +EXTRACT_ONLY=${GOOD_DISTFILE} +WRKSRC=${WRKDIR}/${GOOD_DISTNAME} +PORTVERSION= ${GOOD_PORTVERSION} +DISTFILES+= ${GOOD_DISTFILE}:good +PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins-good/files +.elif ${DIST}=="makesum" +DISTFILES+= ${BASE_DISTFILE}:base ${BAD_DISTFILE}:bad \ + ${UGLY_DISTFILE}:ugly ${GOOD_DISTFILE}:good +.else +BROKEN= Unknown dist setting +.endif + +# cdrom/dvd default device +.ifdef(WITH_DVD_DEVICE) +DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE} +.else +DEFAULT_DVD_DEVICE=/dev/cd0 +.endif + +post-patch: +.if ${DIST}=="bad" + @${REINPLACE_CMD} -e 's|opencv <= 2.3.1|opencv <= 2.3.99|g' \ + ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|g' \ + ${WRKSRC}/ext/resindvd/resindvdbin.c \ + ${WRKSRC}/ext/resindvd/resindvdsrc.c +.endif +.if ${DIST}!="ugly" + @${FIND} ${WRKSRC}/ext ${WRKSRC}/sys -name Makefile.in | \ + ${XARGS} -n 10 ${REINPLACE_CMD} -e \ + 's|$$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la|${LOCALBASE}/lib/libgsttag-$$(GST_API_VERSION).la|; \ + s|$$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la|${LOCALBASE}/lib/libgstaudio-$$(GST_API_VERSION).la|; \ + s|$$(top_builddir)/gst-libs/gst/riff/libgstriff-@GST_API_VERSION@.la|${LOCALBASE}/lib/libgstriff-$$(GST_API_VERSION).la|; \ + s|$$(top_builddir)/gst-libs/gst/signalprocessor/libgstsignalprocessor-@GST_API_VERSION@.la|${LOCALBASE}/lib/libgstsignalprocessor-$$(GST_API_VERSION).la|; \ + s|$$(top_builddir)/gst-libs/gst/video/libgstbasevideo-@GST_API_VERSION@.la|${LOCALBASE}/lib/libgstbasevideo-$$(GST_API_VERSION).la|; \ + s|$$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la|${LOCALBASE}/lib/libgstvideo-$$(GST_API_VERSION).la|' + + @${FIND} ${WRKSRC}/ext ${WRKSRC}/sys -name Makefile.in | \ + ${XARGS} -n 10 ${REINPLACE_CMD} -e \ + 's|$$(top_builddir)/gst-libs/gst/tag/libgsttag-$$(GST_API_VERSION).la|${LOCALBASE}/lib/libgsttag-$$(GST_API_VERSION).la|; \ + s|$$(top_builddir)/gst-libs/gst/audio/libgstaudio-$$(GST_API_VERSION).la|${LOCALBASE}/lib/libgstaudio-$$(GST_API_VERSION).la|; \ + s|$$(top_builddir)/gst-libs/gst/riff/libgstriff-$$(GST_API_VERSION).la|${LOCALBASE}/lib/libgstriff-$$(GST_API_VERSION).la|; \ + s|$$(top_builddir)/gst-libs/gst/signalprocessor/libgstsignalprocessor-$$(GST_API_VERSION).la|${LOCALBASE}/lib/libgstsignalprocessor-$$(GST_API_VERSION).la|; \ + s|$$(top_builddir)/gst-libs/gst/video/libgstbasevideo-$$(GST_API_VERSION).la|${LOCALBASE}/lib/libgstbasevideo-$$(GST_API_VERSION).la|; \ + s|$$(top_builddir)/gst-libs/gst/video/libgstvideo-$$(GST_API_VERSION).la|${LOCALBASE}/lib/libgstvideo-$$(GST_API_VERSION).la|' +.endif +.if ${GST_PLUGIN} == "flite" +# Hack to get all the libraries linked to the flite plugin so it is useable. + -@${REINPLACE_CMD} -e 's|-Wl,--as-needed||g' \ + ${WRKSRC}/../gnome-libtool +.endif + +.include diff --git a/multimedia/gstreamer1-plugins/Makefile.common b/multimedia/gstreamer1-plugins/Makefile.common new file mode 100644 index 000000000000..b9ab6101b991 --- /dev/null +++ b/multimedia/gstreamer1-plugins/Makefile.common @@ -0,0 +1,482 @@ +# $FreeBSD$ +# $MCom: kwm/multimedia/gstreamer1-plugins/Makefile.common 11415 2013-04-26 22:58:21Z kwm $ + +BASE_GST_ALL_PLUGINS= \ + alsa \ + cdparanoia \ + ivorbis \ + libvisual \ + ogg \ + pango \ + theora \ + vorbis \ + x \ + xvideo + +BAD_GST_ALL_PLUGINS+= \ + assrender \ + celt \ + curl \ + dts \ + faac \ + faad \ + flite \ + gme \ + gsm \ + libmms \ + modplug \ + mpeg2enc \ + mplex \ + opencv \ + resindvd \ + schro \ + soundtouch \ + spandsp \ + zbar \ + +# plugins not yet ported to the 1.0 API, or not portable +BAD_GST_ALL_PLUGINS+= \ + apexsink \ + cdaudio \ + chromaprint \ + cog \ + decklink \ + directfb \ + dirac \ + eglgles \ + jasper \ + kate \ + ladspa \ + linsys \ + lv2 \ + mimic \ + mpg123 \ + musepack \ + musicbrainz \ + mythtv \ + nas \ + neon \ + ofa \ + openal \ + opensles \ + opus \ + pvr \ + rsvg \ + rtmp \ + sdl \ + sndfile \ + sndio \ + spc \ + teletextdec \ + timidity \ + vdpau \ + voaacenc \ + voamrwbenc \ + wayland \ + swfdec \ + xvid + +BAD_GST_NON_PLUGINS= \ + --enable-bz2 \ + --enable-dvb \ + --enable-shm \ + --enable-quicktime \ + --disable-gsettings \ + --disable-acm \ + --disable-android_media \ + --disable-apple_media \ + --disable-avc \ + --disable-dc1394 \ + --disable-dccp \ + --disable-direct3d9 \ + --disable-directdraw \ + --disable-directsound \ + --disable-fbdev \ + --disable-osx_video \ + --disable-uvch264 \ + --disable-vcd \ + --disable-wildmidi \ + --disable-wininet + +GOOD_GST_ALL_PLUGINS+= \ + aalib \ + cairo \ + flac \ + gdk_pixbuf \ + jack \ + jpeg \ + libcaca \ + libdv \ + libpng \ + gst_v4l2 \ + shout2 \ + soup \ + speex \ + taglib \ + vpx \ + wavpack \ + x +# xxx pulse \ + +GOOD_GST_NON_PLUGINS= \ + --disable-dv1394 \ + --disable-directsound \ + --disable-osx_audio \ + --disable-osx_video \ + --disable-sunaudio \ + --disable-waveform \ + --enable-bz2 \ + --enable-oss \ + --enable-oss4 \ + --enable-zlib + +UGLY_GST_ALL_PLUGINS+= \ + a52dec \ + amrnb \ + amrwb \ + cdio \ + dvdread \ + lame \ + mad \ + mpeg2dec \ + sidplay \ + twolame \ + x264 + +UGLY_GST_NON_PLUGINS= + +# Disable all plugins by default +.if ${DIST}=="base" +.for d in ${BASE_GST_ALL_PLUGINS} +CONFIGURE_ARGS+= --disable-${d} +.endfor +.endif + +.if ${DIST}=="bad" +.for d in ${BAD_GST_ALL_PLUGINS} +CONFIGURE_ARGS+= --disable-${d} +.endfor +CONFIGURE_ARGS+= ${BAD_GST_NON_PLUGINS} +.endif + +.if ${DIST}=="good" +.for d in ${GOOD_GST_ALL_PLUGINS} +CONFIGURE_ARGS+= --disable-${d} +.endfor +CONFIGURE_ARGS+= ${GOOD_GST_NON_PLUGINS} +.endif + +.if ${DIST}=="ugly" +.for d in ${UGLY_GST_ALL_PLUGINS} +CONFIGURE_ARGS+= --disable-${d} +.endfor +CONFIGURE_ARGS+= ${UGLY_GST_NON_PLUGINS} +.endif + +.if ${GST_PLUGIN}!="base" && ${GST_PLUGIN}!="bad" && \ + ${GST_PLUGIN}!="good" && ${GST_PLUGIN}!="ugly" +CONFIGURE_ARGS+= --enable-${GST_PLUGIN} +.endif + +.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_INC_DIR= include/gstreamer-${VERSION} +GST_LIB_DIR= lib/gstreamer-${VERSION} + +# Auto create PLIST +PLIST= ${NONEXISTENT} + +# ------- plugins --------- + +# a52dec +gst_a52dec_LIB_DEPENDS= a52:${PORTSDIR}/audio/liba52 + +# aalib +gst_aalib_LIB_DEPENDS= aa:${PORTSDIR}/graphics/aalib +gst_aalib_PLIST_FILES= ${GST_LIB_DIR}/libgstaasink.la \ + ${GST_LIB_DIR}/libgstaasink.so + +# amrnb +gst_amrnb_LIB_DEPENDS= opencore-amrnb:${PORTSDIR}/audio/opencore-amr +gst_amrnb_PLIST_FILES= ${GST_LIB_DIR}/libgstamrnb.la \ + ${GST_LIB_DIR}/libgstamrnb.so \ + share/gstreamer-${VERSION}/presets/GstAmrnbEnc.prs +gst_amrnb_PLIST_DIRSTRY=share/gstreamer-${VERSION}/presets \ + share/gstreamer-${VERSION} + +# amrwb +gst_amrwb_LIB_DEPENDS= opencore-amrwb:${PORTSDIR}/audio/opencore-amr +gst_amrwb_GST_PLUGIN_DIR= ext/amrwbdec +gst_amrwb_PLIST_FILES= ${GST_LIB_DIR}/libgstamrwbdec.la \ + ${GST_LIB_DIR}/libgstamrwbdec.so + +# assrender +gst_assrender_LIB_DEPENDS= ass:${PORTSDIR}/multimedia/libass + +# cairo +gst_cairo_LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo + +# cdparanoia +gst_cdparanoia_LIB_DEPENDS= cdda_interface:${PORTSDIR}/audio/cdparanoia + +# cdio +gst_cdio_LIB_DEPENDS= cdio:${PORTSDIR}/sysutils/libcdio + +# celt +gst_celt_LIB_DEPENDS= celt0:${PORTSDIR}/audio/celt + +# curl +gst_curl_LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl + +# dts +gst_dts_LIB_DEPENDS= dca:${PORTSDIR}/multimedia/libdca +gst_dts_PLIST_FILES= ${GST_LIB_DIR}/libgstdtsdec.la \ + ${GST_LIB_DIR}/libgstdtsdec.so + +# libdv +gst_libdv_LIB_DEPENDS= dv:${PORTSDIR}/multimedia/libdv +gst_libdv_GST_PLUGIN_DIR= ext/dv +gst_libdv_PLIST_FILES= ${GST_LIB_DIR}/libgstdv.la \ + ${GST_LIB_DIR}/libgstdv.so + +# dvdread +gst_dvdread_LIB_DEPENDS=dvdread:${PORTSDIR}/multimedia/libdvdread + +# faac +gst_faac_LIB_DEPENDS= faac:${PORTSDIR}/audio/faac + +# faad +gst_faad_LIB_DEPENDS= faad:${PORTSDIR}/audio/faad + +# flac +gst_flac_LIB_DEPENDS= FLAC:${PORTSDIR}/audio/flac + +# flite +gst_flite_LIB_DEPENDS= flite:${PORTSDIR}/audio/flite + +# gdk_pixbuf +gst_gdk_pixbuf_USE_GNOME= gdkpixbuf2 +gst_gdk_pixbuf_PLIST_FILES= ${GST_LIB_DIR}/libgstgdkpixbuf.la \ + ${GST_LIB_DIR}/libgstgdkpixbuf.so + +# gme +gst_gme_LIB_DEPENDS= gme:${PORTSDIR}/audio/libgme + +# gsm +gst_gsm_LIB_DEPENDS= gsm:${PORTSDIR}/audio/gsm + +# jack +gst_jack_LIB_DEPENDS= jack:${PORTSDIR}/audio/jack + +# jpeg +gst_jpeg_LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg + +# lame +gst_lame_LIB_DEPENDS= mp3lame:${PORTSDIR}/audio/lame + +# libcaca +gst_libcaca_LIB_DEPENDS= caca:${PORTSDIR}/graphics/libcaca +gst_libcaca_PLIST_FILES= ${GST_LIB_DIR}/libgstcacasink.la \ + ${GST_LIB_DIR}/libgstcacasink.so + +# libmms +gst_libmms_LIB_DEPENDS= mms:${PORTSDIR}/net/libmms +gst_libmms_PLIST_FILES= ${GST_LIB_DIR}/libgstmms.so \ + ${GST_LIB_DIR}/libgstmms.la + +# png +gst_libpng_LIB_DEPENDS= png15:${PORTSDIR}/graphics/png +gst_libpng_PLIST_FILES= ${GST_LIB_DIR}/libgstpng.la \ + ${GST_LIB_DIR}/libgstpng.so + +# libvisual +gst_libvisual_LIB_DEPENDS= visual-0.4:${PORTSDIR}/graphics/libvisual04 + +# mad +gst_mad_LIB_DEPENDS= mad:${PORTSDIR}/audio/libmad + +# modplug +gst_modplug_LIB_DEPENDS= modplug:${PORTSDIR}/audio/libmodplug + +# mpeg2enc +gst_mpeg2enc_LIB_DEPENDS= mjpegutils-2.0:${PORTSDIR}/multimedia/mjpegtools + +# mpeg2dec +gst_mpeg2dec_LIB_DEPENDS= mpeg2:${PORTSDIR}/multimedia/libmpeg2 + +# ogg +gst_ogg_LIB_DEPENDS= ogg:${PORTSDIR}/audio/libogg + +# opencv +gst_opencv_LIB_DEPENDS= opencv_highgui:${PORTSDIR}/graphics/opencv + +# opus +gst_opus_LIB_DEPENDS= opus:${PORTSDIR}/audio/opus + +# pango +gst_pango_USE_GNOME= pango + +# pulse +gst_pulse_LIB_DEPENDS= pulse:${PORTSDIR}/audio/pulseaudio + +# resindvd +gst_resindvd_BUILD_DEPENDS= libdvdnav>=4.1.2:${PORTSDIR}/multimedia/libdvdnav +gst_resindvd_RUN_DEPENDS= libdvdnav>=4.1.2:${PORTSDIR}/multimedia/libdvdnav + +# shout2 +# keep the version to tell de difference between libshout and libshout2 +gst_shout2_LIB_DEPENDS= shout.5:${PORTSDIR}/audio/libshout2 + +# sidplay +gst_sidplay_LIB_DEPENDS= sidplay:${PORTSDIR}/audio/libsidplay +gst_sidplay_PLIST_FILES= ${GST_LIB_DIR}/libgstsid.so \ + ${GST_LIB_DIR}/libgstsid.la + +# soundtouch +gst_soundtouch_LIB_DEPENDS= SoundTouch:${PORTSDIR}/audio/soundtouch + +# souphttpsrc +gst_soup_LIB_DEPENDS= soup-2.4:${PORTSDIR}/devel/libsoup +gst_soup_GST_PLUGIN_DIR=ext/soup +gst_soup_PLIST_FILES= ${GST_LIB_DIR}/libgstsouphttpsrc.la \ + ${GST_LIB_DIR}/libgstsouphttpsrc.so + +# spandsp +# keep shlib version here, so we don't pick up the comms/spandsp port by accident. +gst_spandsp_LIB_DEPENDS= spandsp.2:${PORTSDIR}/comms/spandsp-devel + +# speex +gst_speex_LIB_DEPENDS= speex:${PORTSDIR}/audio/speex + +# schroedinger or schro for short +gst_schro_LIB_DEPENDS= schroedinger-1.0:${PORTSDIR}/multimedia/schroedinger +gst_schro_GST_PLUGIN_DIR= ext/schroedinger + +# taglib +gst_taglib_LIB_DEPENDS= tag:${PORTSDIR}/audio/taglib + +# theora +gst_theora_LIB_DEPENDS= theora:${PORTSDIR}/multimedia/libtheora + +# twolame +gst_twolame_LIB_DEPENDS= twolame:${PORTSDIR}/audio/twolame + +# gst_v4l2 +gst_gst_v4l2_BUILD_DEPENDS= v4l_compat>0:${PORTSDIR}/multimedia/v4l_compat +gst_gst_v4l2_LIB_DEPENDS= v4l2:${PORTSDIR}/multimedia/libv4l +gst_gst_v4l2_RUN_DEPENDS= webcamd:${PORTSDIR}/multimedia/webcamd +gst_gst_v4l2_PLIST_FILES= ${GST_LIB_DIR}/libgstvideo4linux2.la \ + ${GST_LIB_DIR}/libgstvideo4linux2.so +gst_gst_v4l2_GST_PLUGIN_DIR= sys/v4l2 + +# vorbis +gst_vorbis_USE_GSTREAMER1= ogg +gst_vorbis_LIB_DEPENDS= vorbis:${PORTSDIR}/audio/libvorbis + +# vpx +gst_vpx_LIB_DEPENDS= vpx:${PORTSDIR}/multimedia/libvpx + +# X ximage and xvimage sinks aka output +.if ${DIST} == base +gst_x_USE_XORG= x11 xv xext +gst_x_CONFIGURE_ARGS= --enable-xvideo --enable-xshm +gst_x_GST_PLUGIN_DIR= sys/ximage sys/xvimage +gst_x_PLIST_FILES= ${GST_LIB_DIR}/libgstximagesink.la \ + ${GST_LIB_DIR}/libgstximagesink.so \ + ${GST_LIB_DIR}/libgstxvimagesink.la \ + ${GST_LIB_DIR}/libgstxvimagesink.so +.endif + +.if ${DIST} == good +# Ximagesrc +gst_x_USE_XORG= x11 xfixes xdamage xext +gst_x_CONFIGURE_ARGS= --enable-x +gst_x_GST_PLUGIN_DIR= sys/ximage +gst_x_PLIST_FILES= ${GST_LIB_DIR}/libgstximagesrc.la \ + ${GST_LIB_DIR}/libgstximagesrc.so +.endif + +# x264 +gst_x264_LIB_DEPENDS= x264:${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_DIRSTRY= share/gstreamer-${VERSION}/presets \ + share/gstreamer-${VERSION} + +# xvid +gst_xvid_LIB_DEPENDS= xvidcore:${PORTSDIR}/multimedia/xvid + +# wavpack +gst_wavpack_LIB_DEPENDS= wavpack:${PORTSDIR}/audio/wavpack + +# zbar +gst_zbar_LIB_DEPENDS= zbar:${PORTSDIR}/graphics/zbar + +.endif # NO_GSTREAMER_COMMON + +.if !defined(NO_GSTREAMER_COMMON) +gst_${GST_PLUGIN}_BUILD_DEPENDS?= +gst_${GST_PLUGIN}_LIB_DEPENDS?= +gst_${GST_PLUGIN}_RUN_DEPENDS?= +gst_${GST_PLUGIN}_USE_XORG?= +gst_${GST_PLUGIN}_PLIST_FILES?= \ + ${GST_LIB_DIR}/libgst${GST_PLUGIN}${GST_PLIST_SUFFIX}.la \ + ${GST_LIB_DIR}/libgst${GST_PLUGIN}${GST_PLIST_SUFFIX}.so +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}_GLIB_SCHEMAS?= +gst_${GST_PLUGIN}_CONFIGURE_ARGS?= +gst_${GST_PLUGIN}_USE_SDL?= +gst_${GST_PLUGIN}_USE_GSTREAMER1?= + +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} +PLIST_DIRSTRY= ${gst_${GST_PLUGIN}_PLIST_DIRSTRY} +EXTRA_LIBS+= ${gst_${GST_PLUGIN}_EXTRA_LIBS} +USE_XORG+= ${gst_${GST_PLUGIN}_USE_XORG} +USE_GNOME+= ${gst_${GST_PLUGIN}_USE_GNOME} +CONFIGURE_ENV+= ${gst_${GST_PLUGIN}_CONFIGURE_ENV} + +.if ${gst_${GST_PLUGIN}_GLIB_SCHEMAS}!="" +GLIB_SCHEMAS= ${gst_${GST_PLUGIN}_GLIB_SCHEMAS} +.endif + +CONFIGURE_ARGS+= ${gst_${GST_PLUGIN}_CONFIGURE_ARGS} + +.if ${gst_${GST_PLUGIN}_USE_SDL}!="" +USE_SDL= ${gst_${GST_PLUGIN}_USE_SDL} +.endif + +USE_GSTREAMER1+= ${gst_${GST_PLUGIN}_USE_GSTREAMER1} ${DIST: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/gstreamer1-plugins/distinfo b/multimedia/gstreamer1-plugins/distinfo new file mode 100644 index 000000000000..9119071c5641 --- /dev/null +++ b/multimedia/gstreamer1-plugins/distinfo @@ -0,0 +1,8 @@ +SHA256 (gst-plugins-base-1.0.7.tar.xz) = 014805e50b696bc06c3862ea656df079fc0b5fef0c10f16e9f085f290545677a +SIZE (gst-plugins-base-1.0.7.tar.xz) = 2388380 +SHA256 (gst-plugins-bad-1.0.7.tar.xz) = 5f49e6353fdc855834b5beb054b3a47ef5fa558006c7eda6d2ec07b36315c2ab +SIZE (gst-plugins-bad-1.0.7.tar.xz) = 3128548 +SHA256 (gst-plugins-ugly-1.0.7.tar.xz) = b78b8cfabe322497da432a0f297dbb21862a033f95e8d4cd8f207eccb5288f2b +SIZE (gst-plugins-ugly-1.0.7.tar.xz) = 826724 +SHA256 (gst-plugins-good-1.0.7.tar.xz) = a016a3b377c86658627aef902b9204108209100b2e88fcc3b695c392af1b4035 +SIZE (gst-plugins-good-1.0.7.tar.xz) = 2693188 diff --git a/multimedia/gstreamer1-plugins/files/patch-Makefile.in b/multimedia/gstreamer1-plugins/files/patch-Makefile.in new file mode 100644 index 000000000000..b38631683480 --- /dev/null +++ b/multimedia/gstreamer1-plugins/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2013-03-10 14:54:07.000000000 +0000 ++++ Makefile.in 2013-03-10 14:55:01.000000000 +0000 +@@ -483,8 +483,6 @@ + gst-libs \ + gst sys $(SUBDIRS_EXT) \ + tools \ +- tests \ +- docs \ + po \ + common \ + m4 diff --git a/multimedia/gstreamer1-plugins/files/patch-ext_cdparanoia_gstcdparanoiasrc.c b/multimedia/gstreamer1-plugins/files/patch-ext_cdparanoia_gstcdparanoiasrc.c new file mode 100644 index 000000000000..6d0fa67b9a28 --- /dev/null +++ b/multimedia/gstreamer1-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/gstreamer1-plugins/files/patch-ext_libvisual_visual.c b/multimedia/gstreamer1-plugins/files/patch-ext_libvisual_visual.c new file mode 100644 index 000000000000..2708165b9345 --- /dev/null +++ b/multimedia/gstreamer1-plugins/files/patch-ext_libvisual_visual.c @@ -0,0 +1,13 @@ +--- ext/libvisual/visual.c.orig 2013-03-28 03:21:27.000000000 +0000 ++++ ext/libvisual/visual.c 2013-03-28 03:22:29.000000000 +0000 +@@ -300,9 +300,9 @@ + + } + #else +- if (channels == 2) { + guint16 *ldata = visual->audio->plugpcm[0]; + guint16 *rdata = visual->audio->plugpcm[1]; ++ if (channels == 2) { + for (i = 0; i < VISUAL_SAMPLES; i++) { + ldata[i] = *adata++; + rdata[i] = *adata++; diff --git a/multimedia/gstreamer1-plugins/files/patch-gst_audioresample_float.c b/multimedia/gstreamer1-plugins/files/patch-gst_audioresample_float.c new file mode 100644 index 000000000000..b088869104fc --- /dev/null +++ b/multimedia/gstreamer1-plugins/files/patch-gst_audioresample_float.c @@ -0,0 +1,23 @@ +--- gst/audioresample/speex_resampler_float.c.orig 2012-07-17 09:48:45.000000000 +0200 ++++ gst/audioresample/speex_resampler_float.c 2012-07-17 09:49:38.000000000 +0200 +@@ -17,8 +17,20 @@ + * Boston, MA 02111-1307, USA. + */ + ++#ifdef HAVE_CONFIG_H ++#include "config.h" ++#endif ++ ++#ifdef _USE_SSE ++#ifndef HAVE_XMMINTRIN_H ++#undef _USE_SSE ++#undef _USE_SSE2 ++#else + #define _USE_SSE + #define _USE_SSE2 ++#endif ++#endif ++ + #define FLOATING_POINT + #define OUTSIDE_SPEEX + #define RANDOM_PREFIX resample_float diff --git a/multimedia/gstreamer1-plugins/files/patch-gst_audioresample_resample.c b/multimedia/gstreamer1-plugins/files/patch-gst_audioresample_resample.c new file mode 100644 index 000000000000..aa5c15195dd3 --- /dev/null +++ b/multimedia/gstreamer1-plugins/files/patch-gst_audioresample_resample.c @@ -0,0 +1,12 @@ +--- gst/audioresample/resample.c.orig 2012-06-28 10:15:58.000000000 +0200 ++++ gst/audioresample/resample.c 2012-06-28 10:22:41.000000000 +0200 +@@ -79,6 +79,9 @@ + #ifdef _USE_SSE + #ifndef HAVE_XMMINTRIN_H + #undef _USE_SSE ++/* this is a hack to build on i386, there the configure check for emmintrin.h ++ doesn't fail but the xmmintrin.h does. */ ++#undef _USE_SSE2 + #endif + #endif + diff --git a/multimedia/gstreamer1-plugins/files/patch-gst_audioresample_speex-resampler-double.c b/multimedia/gstreamer1-plugins/files/patch-gst_audioresample_speex-resampler-double.c new file mode 100644 index 000000000000..97d8e785a2ca --- /dev/null +++ b/multimedia/gstreamer1-plugins/files/patch-gst_audioresample_speex-resampler-double.c @@ -0,0 +1,21 @@ +--- gst/audioresample/speex_resampler_double.c.orig 2012-06-28 10:31:31.000000000 +0200 ++++ gst/audioresample/speex_resampler_double.c 2012-06-28 10:33:01.000000000 +0200 +@@ -17,7 +17,18 @@ + * Boston, MA 02111-1307, USA. + */ + ++#ifdef HAVE_CONFIG_H ++#include "config.h" ++#endif ++ ++#ifdef _USE_SSE ++#ifndef HAVE_XMMINTRIN_H ++#undef _USE_SSE ++#undef _USE_SSE2 ++#else + #define _USE_SSE2 ++#endif ++#endif + #define FLOATING_POINT + #define DOUBLE_PRECISION + #define OUTSIDE_SPEEX diff --git a/multimedia/gstreamer1-plugins/pkg-descr b/multimedia/gstreamer1-plugins/pkg-descr new file mode 100644 index 000000000000..10ae44a46a20 --- /dev/null +++ b/multimedia/gstreamer1-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.freedesktop.org/ diff --git a/multimedia/gstreamer1-plugins/pkg-plist b/multimedia/gstreamer1-plugins/pkg-plist new file mode 100644 index 000000000000..bc5ec0d46d08 --- /dev/null +++ b/multimedia/gstreamer1-plugins/pkg-plist @@ -0,0 +1,236 @@ +bin/gst-discoverer-%%VERSION%% +include/gstreamer-%%VERSION%%/gst/app/gstappsink.h +include/gstreamer-%%VERSION%%/gst/app/gstappsrc.h +include/gstreamer-%%VERSION%%/gst/audio/audio-channels.h +include/gstreamer-%%VERSION%%/gst/audio/audio-enumtypes.h +include/gstreamer-%%VERSION%%/gst/audio/audio-format.h +include/gstreamer-%%VERSION%%/gst/audio/audio-info.h +include/gstreamer-%%VERSION%%/gst/audio/audio.h +include/gstreamer-%%VERSION%%/gst/audio/gstaudiobasesink.h +include/gstreamer-%%VERSION%%/gst/audio/gstaudiobasesrc.h +include/gstreamer-%%VERSION%%/gst/audio/gstaudiocdsrc.h +include/gstreamer-%%VERSION%%/gst/audio/gstaudioclock.h +include/gstreamer-%%VERSION%%/gst/audio/gstaudiodecoder.h +include/gstreamer-%%VERSION%%/gst/audio/gstaudioencoder.h +include/gstreamer-%%VERSION%%/gst/audio/gstaudiofilter.h +include/gstreamer-%%VERSION%%/gst/audio/gstaudioiec61937.h +include/gstreamer-%%VERSION%%/gst/audio/gstaudiometa.h +include/gstreamer-%%VERSION%%/gst/audio/gstaudioringbuffer.h +include/gstreamer-%%VERSION%%/gst/audio/gstaudiosink.h +include/gstreamer-%%VERSION%%/gst/audio/gstaudiosrc.h +include/gstreamer-%%VERSION%%/gst/audio/streamvolume.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/pbutils/codec-utils.h +include/gstreamer-%%VERSION%%/gst/pbutils/descriptions.h +include/gstreamer-%%VERSION%%/gst/pbutils/encoding-profile.h +include/gstreamer-%%VERSION%%/gst/pbutils/encoding-target.h +include/gstreamer-%%VERSION%%/gst/pbutils/gstdiscoverer.h +include/gstreamer-%%VERSION%%/gst/pbutils/gstpluginsbaseversion.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/gstrtcpbuffer.h +include/gstreamer-%%VERSION%%/gst/rtp/gstrtpbaseaudiopayload.h +include/gstreamer-%%VERSION%%/gst/rtp/gstrtpbasedepayload.h +include/gstreamer-%%VERSION%%/gst/rtp/gstrtpbasepayload.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/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/gsttagmux.h +include/gstreamer-%%VERSION%%/gst/tag/tag.h +include/gstreamer-%%VERSION%%/gst/tag/xmpwriter.h +include/gstreamer-%%VERSION%%/gst/video/colorbalance.h +include/gstreamer-%%VERSION%%/gst/video/colorbalancechannel.h +include/gstreamer-%%VERSION%%/gst/video/gstvideodecoder.h +include/gstreamer-%%VERSION%%/gst/video/gstvideoencoder.h +include/gstreamer-%%VERSION%%/gst/video/gstvideofilter.h +include/gstreamer-%%VERSION%%/gst/video/gstvideometa.h +include/gstreamer-%%VERSION%%/gst/video/gstvideopool.h +include/gstreamer-%%VERSION%%/gst/video/gstvideosink.h +include/gstreamer-%%VERSION%%/gst/video/gstvideoutils.h +include/gstreamer-%%VERSION%%/gst/video/navigation.h +include/gstreamer-%%VERSION%%/gst/video/video-blend.h +include/gstreamer-%%VERSION%%/gst/video/video-color.h +include/gstreamer-%%VERSION%%/gst/video/video-enumtypes.h +include/gstreamer-%%VERSION%%/gst/video/video-event.h +include/gstreamer-%%VERSION%%/gst/video/video-format.h +include/gstreamer-%%VERSION%%/gst/video/video-frame.h +include/gstreamer-%%VERSION%%/gst/video/video-info.h +include/gstreamer-%%VERSION%%/gst/video/video-overlay-composition.h +include/gstreamer-%%VERSION%%/gst/video/video.h +include/gstreamer-%%VERSION%%/gst/video/videoorientation.h +include/gstreamer-%%VERSION%%/gst/video/videooverlay.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/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%%/libgstencodebin.la +lib/gstreamer-%%VERSION%%/libgstencodebin.so +lib/gstreamer-%%VERSION%%/libgstgio.la +lib/gstreamer-%%VERSION%%/libgstgio.so +lib/gstreamer-%%VERSION%%/libgstplayback.la +lib/gstreamer-%%VERSION%%/libgstplayback.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%%/libgstvideoconvert.la +lib/gstreamer-%%VERSION%%/libgstvideoconvert.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/libgstapp-%%VERSION%%.a +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/libgstfft-%%VERSION%%.a +lib/libgstfft-%%VERSION%%.la +lib/libgstfft-%%VERSION%%.so +lib/libgstfft-%%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-fft-%%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/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/gst-plugins-base/1.0/license-translations.dict +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/el/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo +share/locale/en_GB/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo +share/locale/eo/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/gl/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo +share/locale/hr/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/ro/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo +share/locale/ru/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo +share/locale/sk/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo +share/locale/sl/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/zh_CN/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo +@dirrm share/gst-plugins-base/1.0 +@dirrmtry share/gst-plugins-base +@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/fft +@dirrm include/gstreamer-%%VERSION%%/gst/audio +@dirrm include/gstreamer-%%VERSION%%/gst/app diff --git a/multimedia/gstreamer1/Makefile b/multimedia/gstreamer1/Makefile new file mode 100644 index 000000000000..b93971b41351 --- /dev/null +++ b/multimedia/gstreamer1/Makefile @@ -0,0 +1,62 @@ +# Created by: Mario Sergio Fujikawa Ferreira +# $FreeBSD$ +# $MCom: ports/multimedia/gstreamer1/Makefile,v 1.5 2013/01/15 21:43:45 kwm Exp $ + +PORTNAME= gstreamer1 +PORTVERSION= 1.0.7 +CATEGORIES= multimedia +MASTER_SITES= http://gstreamer.freedesktop.org/src/gstreamer/ +DISTNAME= ${PORTNAME:S/1//}-${PORTVERSION} + +MAINTAINER= multimedia@FreeBSD.org +COMMENT= Media applications framework + +LICENSE= LGPL20 + +BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \ + gobject-introspection>=1.31.1:${PORTSDIR}/devel/gobject-introspection +RUN_DEPENDS= ${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/gobject-introspection + +CFLAGS:= ${CFLAGS} -O2 -Wno-format +USES= bison gettext pathfix pkgconfig +USE_XZ= yes +USE_GMAKE= yes +MAKE_JOBS_SAVE= yes +USE_GNOME= glib20 ltverhack:0 ltasneededhack +USE_AUTOTOOLS= libtool +CONFIGURE_ARGS= --disable-tests \ + --disable-examples \ + --disable-failing-tests \ + --disable-fatal-warnings \ + --disable-gtk-doc +#--enable-gst-debug --enable-debug +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ENV= ac_cv_func_register_printf_function="no" \ + FLEX_PATH="${LOCALBASE}/bin/flex" +PLIST_SUB= VERSION=${GST10_VERSION} +USE_LDCONFIG= yes +GST10_VERSION= ${PORTVERSION:R} + +MAN1= gst-inspect-${GST10_VERSION}.1 gst-launch-${GST10_VERSION}.1 \ + gst-typefind-${GST10_VERSION}.1 + +OPTIONS_DEFINE= LIBCHECK +LIBCHECK_DESC= Unit tests support + +.include + +.if ${PORT_OPTIONS:MLIBCHECK} +LIB_DEPENDS+= check:${PORTSDIR}/devel/libcheck +CONFIGURE_ARGS+=--enable-check +PLIST_SUB+= CHECK="" +.else +CONFIGURE_ARGS+=--disable-check +PLIST_SUB+= CHECK="@comment " +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ + ${WRKSRC}/configure + +.include diff --git a/multimedia/gstreamer1/distinfo b/multimedia/gstreamer1/distinfo new file mode 100644 index 000000000000..86e2243240bc --- /dev/null +++ b/multimedia/gstreamer1/distinfo @@ -0,0 +1,2 @@ +SHA256 (gstreamer-1.0.7.tar.xz) = 68cada7ee24ede23e15dc81ccde11898eed1a7a3c6a2d81a8c31596fccb1b5ce +SIZE (gstreamer-1.0.7.tar.xz) = 3089280 diff --git a/multimedia/gstreamer1/files/patch-Makefile.in b/multimedia/gstreamer1/files/patch-Makefile.in new file mode 100644 index 000000000000..f498bef39ee3 --- /dev/null +++ b/multimedia/gstreamer1/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2013-03-10 14:50:08.000000000 +0000 ++++ Makefile.in 2013-03-10 14:50:24.000000000 +0000 +@@ -499,7 +499,7 @@ + DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-docbook + aclocaldir = $(datadir)/aclocal + aclocal_DATA = gst-element-check-@GST_API_VERSION@.m4 +-SUBDIRS = pkgconfig gst libs plugins tests docs po m4 common \ ++SUBDIRS = pkgconfig gst libs plugins tests po m4 common \ + $(am__append_1) + + # These are all the possible subdirs diff --git a/multimedia/gstreamer1/pkg-descr b/multimedia/gstreamer1/pkg-descr new file mode 100644 index 000000000000..61a492cd9c68 --- /dev/null +++ b/multimedia/gstreamer1/pkg-descr @@ -0,0 +1,24 @@ +[ excerpt from developer's site ] +- What is GStreamer? +GStreamer allows the construction of graphs of media-handling +components, ranging from simple mp3 playback to complex audio +(mixing) and video (non-linear editing) processing. Applications +can take advantage of advances in codec and filter technology +transparently. Developers can add new codecs and filters by writing +a simple plugin with a clean, generic interface. GStreamer is +released under the LGPL, with many of the included plugins retaining +the license of the code they were derived from, usually GPL or BSD. + +- Features: +* Comprehensive Core Library +* Intelligent Plugin Architecture +* Extensive Development Tools + +- Is GStreamer a media player? +No, GStreamer is a development framework for creating applications +like media players, video editors, streaming media broadcasters and +so on. That said, very good media players can easily be built on +top of GStreamer and we even include a simple yet functional +mediaplayer with GStreamer called Gst-Player + +WWW: http://gstreamer.freedesktop.org/ diff --git a/multimedia/gstreamer1/pkg-plist b/multimedia/gstreamer1/pkg-plist new file mode 100644 index 000000000000..154475fda01d --- /dev/null +++ b/multimedia/gstreamer1/pkg-plist @@ -0,0 +1,179 @@ +bin/gst-inspect-%%VERSION%% +bin/gst-launch-%%VERSION%% +bin/gst-typefind-%%VERSION%% +include/gstreamer-%%VERSION%%/gst/base/gstadapter.h +include/gstreamer-%%VERSION%%/gst/base/gstbaseparse.h +include/gstreamer-%%VERSION%%/gst/base/gstbasesink.h +include/gstreamer-%%VERSION%%/gst/base/gstbasesrc.h +include/gstreamer-%%VERSION%%/gst/base/gstbasetransform.h +include/gstreamer-%%VERSION%%/gst/base/gstbitreader.h +include/gstreamer-%%VERSION%%/gst/base/gstbytereader.h +include/gstreamer-%%VERSION%%/gst/base/gstbytewriter.h +include/gstreamer-%%VERSION%%/gst/base/gstcollectpads.h +include/gstreamer-%%VERSION%%/gst/base/gstpushsrc.h +include/gstreamer-%%VERSION%%/gst/base/gsttypefindhelper.h +%%CHECK%%include/gstreamer-%%VERSION%%/gst/check/gstbufferstraw.h +%%CHECK%%include/gstreamer-%%VERSION%%/gst/check/gstcheck.h +%%CHECK%%include/gstreamer-%%VERSION%%/gst/check/gstconsistencychecker.h +%%CHECK%%include/gstreamer-%%VERSION%%/gst/check/internal-check.h +include/gstreamer-%%VERSION%%/gst/controller/gstargbcontrolbinding.h +include/gstreamer-%%VERSION%%/gst/controller/gstdirectcontrolbinding.h +include/gstreamer-%%VERSION%%/gst/controller/gsttimedvaluecontrolsource.h +include/gstreamer-%%VERSION%%/gst/controller/gstinterpolationcontrolsource.h +include/gstreamer-%%VERSION%%/gst/controller/gstlfocontrolsource.h +include/gstreamer-%%VERSION%%/gst/controller/gsttriggercontrolsource.h +include/gstreamer-%%VERSION%%/gst/glib-compat.h +include/gstreamer-%%VERSION%%/gst/gst.h +include/gstreamer-%%VERSION%%/gst/gstallocator.h +include/gstreamer-%%VERSION%%/gst/gstatomicqueue.h +include/gstreamer-%%VERSION%%/gst/gstbin.h +include/gstreamer-%%VERSION%%/gst/gstbuffer.h +include/gstreamer-%%VERSION%%/gst/gstbufferlist.h +include/gstreamer-%%VERSION%%/gst/gstbufferpool.h +include/gstreamer-%%VERSION%%/gst/gstbus.h +include/gstreamer-%%VERSION%%/gst/gstcaps.h +include/gstreamer-%%VERSION%%/gst/gstchildproxy.h +include/gstreamer-%%VERSION%%/gst/gstclock.h +include/gstreamer-%%VERSION%%/gst/gstcompat.h +include/gstreamer-%%VERSION%%/gst/gstconfig.h +include/gstreamer-%%VERSION%%/gst/gstcontrolbinding.h +include/gstreamer-%%VERSION%%/gst/gstcontrolsource.h +include/gstreamer-%%VERSION%%/gst/gstdatetime.h +include/gstreamer-%%VERSION%%/gst/gstdebugutils.h +include/gstreamer-%%VERSION%%/gst/gstelement.h +include/gstreamer-%%VERSION%%/gst/gstelementfactory.h +include/gstreamer-%%VERSION%%/gst/gstelementmetadata.h +include/gstreamer-%%VERSION%%/gst/gstenumtypes.h +include/gstreamer-%%VERSION%%/gst/gsterror.h +include/gstreamer-%%VERSION%%/gst/gstevent.h +include/gstreamer-%%VERSION%%/gst/gstformat.h +include/gstreamer-%%VERSION%%/gst/gstghostpad.h +include/gstreamer-%%VERSION%%/gst/gstinfo.h +include/gstreamer-%%VERSION%%/gst/gstiterator.h +include/gstreamer-%%VERSION%%/gst/gstmacros.h +include/gstreamer-%%VERSION%%/gst/gstmemory.h +include/gstreamer-%%VERSION%%/gst/gstmessage.h +include/gstreamer-%%VERSION%%/gst/gstmeta.h +include/gstreamer-%%VERSION%%/gst/gstminiobject.h +include/gstreamer-%%VERSION%%/gst/gstobject.h +include/gstreamer-%%VERSION%%/gst/gstpad.h +include/gstreamer-%%VERSION%%/gst/gstpadtemplate.h +include/gstreamer-%%VERSION%%/gst/gstparamspecs.h +include/gstreamer-%%VERSION%%/gst/gstparse.h +include/gstreamer-%%VERSION%%/gst/gstpipeline.h +include/gstreamer-%%VERSION%%/gst/gstplugin.h +include/gstreamer-%%VERSION%%/gst/gstpluginfeature.h +include/gstreamer-%%VERSION%%/gst/gstpoll.h +include/gstreamer-%%VERSION%%/gst/gstpreset.h +include/gstreamer-%%VERSION%%/gst/gstquery.h +include/gstreamer-%%VERSION%%/gst/gstregistry.h +include/gstreamer-%%VERSION%%/gst/gstsample.h +include/gstreamer-%%VERSION%%/gst/gstsegment.h +include/gstreamer-%%VERSION%%/gst/gststructure.h +include/gstreamer-%%VERSION%%/gst/gstsystemclock.h +include/gstreamer-%%VERSION%%/gst/gsttaglist.h +include/gstreamer-%%VERSION%%/gst/gsttagsetter.h +include/gstreamer-%%VERSION%%/gst/gsttask.h +include/gstreamer-%%VERSION%%/gst/gsttaskpool.h +include/gstreamer-%%VERSION%%/gst/gsttoc.h +include/gstreamer-%%VERSION%%/gst/gsttocsetter.h +include/gstreamer-%%VERSION%%/gst/gsttypefind.h +include/gstreamer-%%VERSION%%/gst/gsttypefindfactory.h +include/gstreamer-%%VERSION%%/gst/gsturi.h +include/gstreamer-%%VERSION%%/gst/gstutils.h +include/gstreamer-%%VERSION%%/gst/gstvalue.h +include/gstreamer-%%VERSION%%/gst/gstversion.h +include/gstreamer-%%VERSION%%/gst/math-compat.h +include/gstreamer-%%VERSION%%/gst/net/gstnet.h +include/gstreamer-%%VERSION%%/gst/net/gstnetaddressmeta.h +include/gstreamer-%%VERSION%%/gst/net/gstnetclientclock.h +include/gstreamer-%%VERSION%%/gst/net/gstnettimepacket.h +include/gstreamer-%%VERSION%%/gst/net/gstnettimeprovider.h +lib/girepository-1.0/Gst-%%VERSION%%.typelib +lib/girepository-1.0/GstBase-%%VERSION%%.typelib +%%CHECK%%lib/girepository-1.0/GstCheck-%%VERSION%%.typelib +lib/girepository-1.0/GstController-%%VERSION%%.typelib +lib/girepository-1.0/GstNet-%%VERSION%%.typelib +lib/gstreamer-%%VERSION%%/libgstcoreelements.la +lib/gstreamer-%%VERSION%%/libgstcoreelements.so +lib/libgstbase-%%VERSION%%.a +lib/libgstbase-%%VERSION%%.la +lib/libgstbase-%%VERSION%%.so +lib/libgstbase-%%VERSION%%.so.0 +%%CHECK%%lib/libgstcheck-%%VERSION%%.a +%%CHECK%%lib/libgstcheck-%%VERSION%%.la +%%CHECK%%lib/libgstcheck-%%VERSION%%.so +%%CHECK%%lib/libgstcheck-%%VERSION%%.so.0 +lib/libgstcontroller-%%VERSION%%.a +lib/libgstcontroller-%%VERSION%%.la +lib/libgstcontroller-%%VERSION%%.so +lib/libgstcontroller-%%VERSION%%.so.0 +lib/libgstnet-%%VERSION%%.a +lib/libgstnet-%%VERSION%%.la +lib/libgstnet-%%VERSION%%.so +lib/libgstnet-%%VERSION%%.so.0 +lib/libgstreamer-%%VERSION%%.a +lib/libgstreamer-%%VERSION%%.la +lib/libgstreamer-%%VERSION%%.so +lib/libgstreamer-%%VERSION%%.so.0 +libdata/pkgconfig/gstreamer-%%VERSION%%.pc +libdata/pkgconfig/gstreamer-base-%%VERSION%%.pc +%%CHECK%%libdata/pkgconfig/gstreamer-check-%%VERSION%%.pc +libdata/pkgconfig/gstreamer-controller-%%VERSION%%.pc +libdata/pkgconfig/gstreamer-net-%%VERSION%%.pc +libexec/gstreamer-%%VERSION%%/gst-plugin-scanner +share/aclocal/gst-element-check-%%VERSION%%.m4 +share/gir-1.0/Gst-%%VERSION%%.gir +share/gir-1.0/GstBase-%%VERSION%%.gir +%%CHECK%%share/gir-1.0/GstCheck-%%VERSION%%.gir +share/gir-1.0/GstController-%%VERSION%%.gir +share/gir-1.0/GstNet-%%VERSION%%.gir +share/locale/af/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/az/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/be/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/bg/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/ca/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/cs/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/da/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/de/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/el/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/en_GB/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/eo/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/eu/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/es/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/fi/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/fr/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/gl/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/hr/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/hu/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/id/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/it/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/ja/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/lt/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/nb/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/nl/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/pl/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/pt_BR/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/ro/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/ru/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/rw/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/sk/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/sl/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/sq/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/sr/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/sv/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/tr/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/uk/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/vi/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/zh_CN/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/zh_TW/LC_MESSAGES/gstreamer-%%VERSION%%.mo +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrm libexec/gstreamer-%%VERSION%% +@dirrm lib/gstreamer-%%VERSION%% +@dirrm include/gstreamer-%%VERSION%%/gst/net +@dirrm include/gstreamer-%%VERSION%%/gst/controller +%%CHECK%%@dirrm include/gstreamer-%%VERSION%%/gst/check +@dirrm include/gstreamer-%%VERSION%%/gst/base +@dirrm include/gstreamer-%%VERSION%%/gst +@dirrm include/gstreamer-%%VERSION%% -- cgit v1.2.3