Mavericks gstreamer010 binary package missing some files

Adam Mercer ram at macports.org
Tue Dec 17 19:45:53 PST 2013


On Tue, Dec 17, 2013 at 9:32 PM, Ryan Schmidt <ryandesign at macports.org> wrote:

> Any time you add gobject-introspection support, you have to switch the build command to gmake and add a gmake build dependency on Tiger, because the version of make its Xcode ships with is too old. See any other port using gobject-introspection for a block you can copy to do that.

So you mean something like the following:

--- a/gnome/gstreamer010/Portfile
+++ b/gnome/gstreamer010/Portfile
@@ -10,6 +10,7 @@ PortGroup   muniversal 1.0
 name                gstreamer010
 set my_name         gstreamer
 version             0.10.36
+revision            1
 description \
     GStreamer is a library for constructing graphs of media-handling components
 long_description \
@@ -41,7 +42,8 @@ depends_lib \
     port:flex \
     port:gettext \
     path:lib/pkgconfig/glib-2.0.pc:glib2 \
-    port:libxml2
+    port:libxml2 \
+    port:gobject-introspection

 use_bzip2           yes

@@ -69,4 +71,14 @@ if {[variant_isset universal]} {
         --build=${build_arch}-apple-${os.platform}${os.major}
 }

+# The rules enabled by gobject-introspection require GNU make 3.81+, #35200
+platform darwin 8 {
+    depends_build-append    port:gmake
+    build.cmd               ${prefix}/bin/gmake
+}
+
+# gobject-introspection uses g-ir-scanner, which uses $CC from env
+build.args-append       CC="${configure.cc} ${configure.cc_archflags}"
+destroot.args-append    CC="${configure.cc} ${configure.cc_archflags}"
+
 livecheck.type      none

It seems like the gstreamer1 port already has something similar to
this, apart the from "platform darwin 8" block.

Cheers

Adam


More information about the macports-dev mailing list