From beb0a523173b54acd0089d0e75d93e2e949af030 Mon Sep 17 00:00:00 2001
From: Adam Mercer <ramercer@gmail.com>
Date: Tue, 17 Dec 2013 22:11:55 -0600
Subject: [PATCH] gnome/gstreamer010: add dependency on gobject-introspection
---
gnome/gstreamer010/Portfile | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/gnome/gstreamer010/Portfile b/gnome/gstreamer010/Portfile
index 025f776..20a3070 100644
a
|
b
|
PortGroup muniversal 1.0 |
10 | 10 | name gstreamer010 |
11 | 11 | set my_name gstreamer |
12 | 12 | version 0.10.36 |
| 13 | revision 1 |
13 | 14 | description \ |
14 | 15 | GStreamer is a library for constructing graphs of media-handling components. |
15 | 16 | long_description \ |
… |
… |
depends_lib \ |
41 | 42 | port:flex \ |
42 | 43 | port:gettext \ |
43 | 44 | path:lib/pkgconfig/glib-2.0.pc:glib2 \ |
44 | | port:libxml2 |
| 45 | port:libxml2 \ |
| 46 | port:gobject-introspection |
45 | 47 | |
46 | 48 | use_bzip2 yes |
47 | 49 | |
… |
… |
if {[variant_isset universal]} { |
69 | 71 | --build=${build_arch}-apple-${os.platform}${os.major} |
70 | 72 | } |
71 | 73 | |
| 74 | # The rules enabled by gobject-introspection require GNU make 3.81+ |
| 75 | platform darwin 8 { |
| 76 | depends_build-append port:gmake |
| 77 | build.cmd ${prefix}/bin/gmake |
| 78 | } |
| 79 | |
| 80 | # gobject-introspection uses g-ir-scanner, which uses $CC from env |
| 81 | build.args-append CC="${configure.cc} ${configure.cc_archflags}" |
| 82 | destroot.args-append CC="${configure.cc} ${configure.cc_archflags}" |
| 83 | |
72 | 84 | livecheck.type none |