Mavericks gstreamer010 binary package missing some files

Ryan Schmidt ryandesign at macports.org
Tue Dec 17 19:53:30 PST 2013


On Dec 17, 2013, at 21:45, Adam Mercer <ram at macports.org> wrote:

> 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

Yes, that should be it, just like that. When I add this platform darwin 8 block to ports, I update the ticket reference to the ticket specific to this port, or, since I don’t think there is one for this port, you could just remove the ticket reference.


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

I’m considering just making gmake the default make program for Tiger, given how ubiquitous gobject-introspection is becoming… but until then, probably this block is needed in gstreamer1 as well.




More information about the macports-dev mailing list