[gupnp/wip/phako/ci] build: Fix vapi include when building from subproject
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp/wip/phako/ci] build: Fix vapi include when building from subproject
- Date: Sat, 22 May 2021 17:30:04 +0000 (UTC)
commit 6cdc26dda33d059af9455b03362e10d7f12b552e
Author: Jens Georg <mail jensge org>
Date: Sat May 22 19:29:57 2021 +0200
build: Fix vapi include when building from subproject
vala/meson.build | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/vala/meson.build b/vala/meson.build
index 2c4106f..2812b1a 100644
--- a/vala/meson.build
+++ b/vala/meson.build
@@ -1,5 +1,10 @@
+if gssdp_dep.type_name() == 'internal'
+ gssdp_vala_package = subproject('gssdp-1.2').get_variable('vapi')
+else
+ gssdp_vala_package = 'gssdp-1.2'
+endif
gnome.generate_vapi('gupnp-1.2',
sources : [gir.get(0), 'gupnp-1.2-custom.vala'],
- packages : ['gssdp-1.2', 'gio-2.0', 'libsoup-2.4', 'libxml-2.0'],
+ packages : [gssdp_vala_package, 'gio-2.0', 'libsoup-2.4', 'libxml-2.0'],
install : true)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]