[145927] trunk/dports/gnome/gstreamer010-gst-plugins-bad/Portfile

devans at macports.org devans at macports.org
Sat Feb 20 23:14:24 PST 2016


Revision: 145927
          https://trac.macports.org/changeset/145927
Author:   devans at macports.org
Date:     2016-02-20 23:14:23 -0800 (Sat, 20 Feb 2016)
Log Message:
-----------
gstreamer010-gst-plugins-bad: disable the faac plugin by default due to the restrictive license of port faac itself, add variant +faac to enable, increment revision.

Modified Paths:
--------------
    trunk/dports/gnome/gstreamer010-gst-plugins-bad/Portfile

Modified: trunk/dports/gnome/gstreamer010-gst-plugins-bad/Portfile
===================================================================
--- trunk/dports/gnome/gstreamer010-gst-plugins-bad/Portfile	2016-02-20 20:17:39 UTC (rev 145926)
+++ trunk/dports/gnome/gstreamer010-gst-plugins-bad/Portfile	2016-02-21 07:14:23 UTC (rev 145927)
@@ -9,7 +9,7 @@
 name                gstreamer010-gst-plugins-bad
 set my_name         gst-plugins-bad
 version             0.10.23
-revision            13
+revision            14
 description         A set of plug-ins for GStreamer that need more quality.
 long_description    \
     GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared \
@@ -41,7 +41,6 @@
                     port:curl \
                     port:dirac \
                     port:exempi \
-                    port:faac \
                     port:faad2 \
                     port:jasper \
                     port:libass \
@@ -77,12 +76,14 @@
 # and/or build correctly
 #
 # port:mjpegtools (mpeg2enc mplex build fails) need to disable mpeg2enc mplex explicitly in case mjpegtools is installed
+# port:faac has a restrictive license, disable faac plugin by default
 # port:libsdl (builds but sdlvideosink is broken)
 # port:slv2 (builds but lv2 plugin fails to load and slv2 is not universal) disable lv2 explicitly in case slv2 is installed
 # port:swfdec (configure wants pkg-config swfdec-0.3, we have swfdec-0.8)
 #
 
 configure.args      --disable-silent-rules \
+                    --disable-faac \
                     --disable-quicktime \
                     --disable-mpeg2enc \
                     --disable-mplex \
@@ -103,7 +104,7 @@
     configure.args-append --disable-soundtouch
 }
 
-# 
+#
 # X11 is only used for examples that are not installed
 # so just disable examples and drop the deprecated +no_x11 variant
 #
@@ -117,6 +118,15 @@
 use_autoreconf      yes
 autoreconf.args     -fvi
 
+variant faac description {Enable faac AAC plugin} {
+    depends_lib-append      port:faac
+    configure.args-delete   --disable-faac
+}
+
+if {[variant_isset faac]} {
+    notes "Use of the +faac variant may effect licensing due to the restrictive license of port faac itself."
+}
+
 # osxvideosrc is disabled by configure on 64 bit archs so disable if universal variant is set
 
 if {[variant_isset universal]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160220/61d7cd2f/attachment.html>


More information about the macports-changes mailing list