[145923] users/devans/GNOME-3/stable/dports/gnome/ gstreamer1-gst-plugins-bad/Portfile

devans at macports.org devans at macports.org
Sat Feb 20 10:42:44 PST 2016


Revision: 145923
          https://trac.macports.org/changeset/145923
Author:   devans at macports.org
Date:     2016-02-20 10:42:44 -0800 (Sat, 20 Feb 2016)
Log Message:
-----------
GNOME-3/stable: gstreamer1-gst-plugins-bad, disable the faac plugin by default due to the restrictive license of port faac itself.

Modified Paths:
--------------
    users/devans/GNOME-3/stable/dports/gnome/gstreamer1-gst-plugins-bad/Portfile

Modified: users/devans/GNOME-3/stable/dports/gnome/gstreamer1-gst-plugins-bad/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gstreamer1-gst-plugins-bad/Portfile	2016-02-20 17:41:54 UTC (rev 145922)
+++ users/devans/GNOME-3/stable/dports/gnome/gstreamer1-gst-plugins-bad/Portfile	2016-02-20 18:42:44 UTC (rev 145923)
@@ -10,7 +10,7 @@
 name                gstreamer1-gst-plugins-bad
 set my_name         gst-plugins-bad
 version             1.6.2
-revision            2
+revision            3
 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 \
                     to the rest. They might be close to being good quality, but they're missing \
@@ -32,7 +32,6 @@
 depends_lib         port:gstreamer1-gst-plugins-base \
                     port:chromaprint \
                     port:curl \
-                    port:faac \
                     port:faad2 \
                     port:fluidsynth \
                     port:gnutls \
@@ -77,6 +76,7 @@
 # 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
 # plugin frei0r (no dependency, seqfaults on load)
 # port:opencv (opencv plugin requires opencv >= 2.0.0 opencv < 2.5.0 but current version is 3.0.0)
 # port:slv2 (builds but lv2 plugin fails to load and slv2 is not universal) disable lv2 explicitly in case slv2 is installed
@@ -89,6 +89,7 @@
 configure.args      --disable-silent-rules \
                     --disable-fatal-warnings \
                     --disable-dc1394 \
+                    --disable-faac \
                     --disable-frei0r \
                     --disable-lv2 \
                     --disable-mpeg2enc \
@@ -129,6 +130,15 @@
 configure.cflags-append     -std=c99 -funroll-loops -fstrict-aliasing
 configure.env-append        "HAVE_CXX=yes"
 
+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."
+}
+
 if {[variant_isset universal]} {
     set merger_host(x86_64) x86_64-apple-${os.platform}${os.major}
     set merger_host(i386) i686-apple-${os.platform}${os.major}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160220/69cc82e9/attachment-0001.html>


More information about the macports-changes mailing list