diff options
author | ahze <ahze@FreeBSD.org> | 2005-05-27 04:53:54 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-05-27 04:53:54 +0800 |
commit | 96cad27f4fc5edff965d1d2b87cc890abdb6567e (patch) | |
tree | 522a033d1fd80eb73046c5efc703c0d24fcd673b /multimedia/gstreamer-plugins-all | |
parent | 340f20c7e5ad6b11e27170e21db90976a939d260 (diff) | |
download | freebsd-ports-gnome-96cad27f4fc5edff965d1d2b87cc890abdb6567e.tar.gz freebsd-ports-gnome-96cad27f4fc5edff965d1d2b87cc890abdb6567e.tar.zst freebsd-ports-gnome-96cad27f4fc5edff965d1d2b87cc890abdb6567e.zip |
- Add gstreamer-plugins-all
Meta-port of all gstreamer plugins with options
Note: this has OPTIONS below bsd.port.pre.mk but great care has been taken
to make sure this works in and out of a tinderbox.
Diffstat (limited to 'multimedia/gstreamer-plugins-all')
-rw-r--r-- | multimedia/gstreamer-plugins-all/Makefile | 63 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins-all/pkg-descr | 1 |
2 files changed, 64 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins-all/Makefile b/multimedia/gstreamer-plugins-all/Makefile new file mode 100644 index 000000000000..d1829c5e8a69 --- /dev/null +++ b/multimedia/gstreamer-plugins-all/Makefile @@ -0,0 +1,63 @@ +# New ports collection makefile for: gstreamer-plugins-all +# Date created: 2004-12-12 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gstreamer-plugins-all +PORTVERSION= 1.0.${GST_VERSION}.${GST_SHLIB_VERSION} +CATEGORIES= multimedia +MASTER_SITES= # empty +DISTFILES= # empty +EXTRACT_ONLY= # empty + +MAINTAINER= ahze@FreeBSD.org +COMMENT= Meta-port of all gstreamer plugins with options + +NO_BUILD= yes +USE_GSTREAMER= yes +OPTIONS= # Hacky.. but it works the way it is set up... + +.include <bsd.port.pre.mk> + +# Weed out gst-plugins that can not be packaged. or are broken. +.if defined(PACKAGE_BUILDING) +WITHOUT_FAAC= yes # Mp4 Dolby license , no package +WITHOUT_LAME= yes # MP3 License , no package +WITHOUT_XINE= yes # Depends on djbfft , no package +.endif +.if ${OSVERSION} < 500000 +WITHOUT_LIBVISUAL=yes # Broken on 4.x +WITHOUT_POLYPAUDIO=yes # Broken on 4.x +WITHOUT_SWFDEC= yes # Depeneds on liboil, does not build on 4.x +.endif +# Shout & Shout2 Conflict +.if !defined(WITHOUT_SHOUT) && !defined(WITHOUT_SHOUT2) +WITHOUT_SHOUT= yes +.endif +# Jpeg & Jpeg-mmx conflicts +.if ${ARCH}!="i386" +WITHOUT_JPEG-MMX= yes +.else +.if !defined(WITHOUT_JPEG) && !defined(WITHOUT_JPEG-MMX) +WITHOUT_JPEG-MMX= yes +.endif +.endif + +# Remove core, yes +PLUGS= ${_USE_GSTREAMER_ALL:S/core//:S/yes//} + +.for all in ${PLUGS} +OPTIONS+= ${all:U} "${all} plugin " on +.endfor + +.for f in ${PLUGS} +.if !defined(WITHOUT_${f:U}) +USE_GSTREAMER+= ${f} +.endif +.endfor + +do-install: # empty + +.include <bsd.port.post.mk> diff --git a/multimedia/gstreamer-plugins-all/pkg-descr b/multimedia/gstreamer-plugins-all/pkg-descr new file mode 100644 index 000000000000..41d88c6fb17b --- /dev/null +++ b/multimedia/gstreamer-plugins-all/pkg-descr @@ -0,0 +1 @@ +Meta-port of all gstreamer-plugins with options. |