summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-11-11 04:41:39 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2016-11-11 04:41:39 +0530
commitaccd0b41296cbb0eb8a32b6848a910fcae5a3b97 (patch)
tree0a5524aa1435870fa3428b77ec3f43ae6d4fa903
parentbce5d0fc55319a67671c7a4bfe8be182ec1177e0 (diff)
meson: Add GstBase-1.0.gir to gst_base_dep
Without this, GIR generators can't find and use it
-rw-r--r--libs/gst/base/meson.build9
1 files changed, 6 insertions, 3 deletions
diff --git a/libs/gst/base/meson.build b/libs/gst/base/meson.build
index a232a8716..f66368ce8 100644
--- a/libs/gst/base/meson.build
+++ b/libs/gst/base/meson.build
@@ -44,6 +44,8 @@ if libtype != 'shared'
gst_base = gst_base_static
endif
+gst_base_gen_sources = []
+
if libtype != 'static'
gst_base_shared = shared_library('gstbase-@0@'.format(apiversion),
gst_base_sources,
@@ -57,7 +59,7 @@ if libtype != 'static'
)
gst_base = gst_base_shared
if build_gir
- gnome.generate_gir(gst_base_shared,
+ gst_base_gen_sources += [gnome.generate_gir(gst_base_shared,
sources : gst_base_sources + gst_base_headers,
namespace : 'GstBase',
nsversion : apiversion,
@@ -69,13 +71,14 @@ if libtype != 'static'
includes : ['GLib-2.0', 'GObject-2.0', 'GModule-2.0', 'Gst-1.0'],
install : true,
extra_args : gir_init_section,
- )
+ )]
endif
endif
gst_base_dep = declare_dependency(link_with : gst_base,
include_directories : [libsinc],
- dependencies : [gst_dep])
+ dependencies : [gst_dep],
+ sources : gst_base_gen_sources)
install_headers('base.h',
'gstadapter.h',