[104814] trunk/dports/gnome/gstreamer1-gst-plugins-bad/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Tue Apr 2 20:29:14 PDT 2013


Revision: 104814
          https://trac.macports.org/changeset/104814
Author:   jeremyhu at macports.org
Date:     2013-04-02 20:29:14 -0700 (Tue, 02 Apr 2013)
Log Message:
-----------
gstreamer1-gst-plugins-bad: Add support fo gobject introspection

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

Modified: trunk/dports/gnome/gstreamer1-gst-plugins-bad/Portfile
===================================================================
--- trunk/dports/gnome/gstreamer1-gst-plugins-bad/Portfile	2013-04-03 03:26:51 UTC (rev 104813)
+++ trunk/dports/gnome/gstreamer1-gst-plugins-bad/Portfile	2013-04-03 03:29:14 UTC (rev 104814)
@@ -9,6 +9,7 @@
 name                gstreamer1-gst-plugins-bad
 set my_name         gst-plugins-bad
 version		        1.0.5
+revision                1
 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 \
@@ -112,15 +113,22 @@
     set merger_configure_args(x86_64) --build=x86_64-apple-${os.platform}${os.major}
     set merger_configure_args(i386) --build=i686-apple-${os.platform}${os.major}
 
-    configure.args-append --disable-introspection
+    # gobject-introspection uses g-ir-scanner, which uses $CC from env
+    foreach arch ${configure.universal_archs} {
+        lappend merger_build_args(${arch})  CC='${configure.cc} -arch ${arch}'
+    }
 } elseif {${build_arch} == "i386"} {
     configure.args-append \
         --host=i686-apple-${os.platform}${os.major} \
         --build=i686-apple-${os.platform}${os.major}
+    build.args-append       CC="${configure.cc} ${configure.cc_archflags}"
 } elseif {${build_arch} == "x86_64"} {
     configure.args-append \
         --host=${build_arch}-apple-${os.platform}${os.major} \
         --build=${build_arch}-apple-${os.platform}${os.major}
+    build.args-append       CC="${configure.cc} ${configure.cc_archflags}"
+} else {
+    build.args-append       CC="${configure.cc} ${configure.cc_archflags}"
 }
 
 livecheck.type  regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130402/5633b4c7/attachment.html>


More information about the macports-changes mailing list