diff options
Diffstat (limited to 'multimedia/gstreamer1-libav')
-rw-r--r-- | multimedia/gstreamer1-libav/Makefile | 66 | ||||
-rw-r--r-- | multimedia/gstreamer1-libav/distinfo | 2 | ||||
-rw-r--r-- | multimedia/gstreamer1-libav/pkg-descr | 5 | ||||
-rw-r--r-- | multimedia/gstreamer1-libav/pkg-plist | 4 |
4 files changed, 77 insertions, 0 deletions
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 <kwm@rainbow-runner.nl> +# $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 <bsd.port.pre.mk> + +.if ${OSVERSION} < 900033 + +BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils +MAKE_ENV= COMPILER_PATH=${LOCALBASE}/bin + +.endif + +.include <bsd.port.post.mk> 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 |