aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer1-plugins-all/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gstreamer1-plugins-all/Makefile')
-rw-r--r--multimedia/gstreamer1-plugins-all/Makefile45
1 files changed, 45 insertions, 0 deletions
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 <ahze@FreeBSD.org>
+# $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 <bsd.port.options.mk>
+
+# 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 <bsd.port.mk>