meson: Advertise dependency on gst_dep generating girs
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Wed, 9 Nov 2016 17:07:28 +0000 (14:07 -0300)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Wed, 9 Nov 2016 20:00:49 +0000 (17:00 -0300)
And do not simply link to libgst as the gir information
location only exist in declare_dependecy

https://bugzilla.gnome.org/show_bug.cgi?id=774044

libs/gst/base/meson.build
libs/gst/controller/meson.build
libs/gst/net/meson.build

index 8f31b41..a232a87 100644 (file)
@@ -64,7 +64,7 @@ if libtype != 'static'
       identifier_prefix : 'Gst',
       symbol_prefix : 'gst',
       export_packages : 'gstreamer-base-1.0',
-      link_with : libgst_shared,
+      dependencies : [gst_dep],
       include_directories : [configinc, libsinc, privinc],
       includes : ['GLib-2.0', 'GObject-2.0', 'GModule-2.0', 'Gst-1.0'],
       install : true,
index 2ff95cd..c3c7843 100644 (file)
@@ -49,7 +49,7 @@ if libtype != 'static'
       identifier_prefix : 'Gst',
       symbol_prefix : 'gst',
       export_packages : 'gstreamer-controller-1.0',
-      link_with : libgst_shared,
+      dependencies : [gst_dep],
       include_directories : [configinc, libsinc, privinc],
       includes : ['GLib-2.0', 'GObject-2.0', 'GModule-2.0', 'Gst-1.0'],
       install : true,
index dc9bdbc..160b44d 100644 (file)
@@ -51,7 +51,7 @@ if libtype != 'static'
       identifier_prefix : 'Gst',
       symbol_prefix : 'gst',
       export_packages : 'gstreamer-net-1.0',
-      link_with : libgst_shared,
+      dependencies : [gst_dep, gst_base_dep],
       include_directories : [configinc, libsinc],
       includes : ['GLib-2.0', 'GObject-2.0', 'GModule-2.0', 'Gio-2.0', 'Gst-1.0'],
       install : true,