[gssdp/wip/meson: 6/17] meson: Add vapi
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gssdp/wip/meson: 6/17] meson: Add vapi
- Date: Fri, 26 Oct 2018 14:45:18 +0000 (UTC)
commit e733f2f828d2368a3093a85aa46746335f1a46a6
Author: Jens Georg <mail jensge org>
Date: Fri Oct 26 16:43:39 2018 +0200
meson: Add vapi
libgssdp/meson.build | 2 +-
meson.build | 1 +
vala/meson.build | 4 ++++
3 files changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/libgssdp/meson.build b/libgssdp/meson.build
index a1a2399..4e6cdd8 100644
--- a/libgssdp/meson.build
+++ b/libgssdp/meson.build
@@ -50,7 +50,7 @@ libgssdp = shared_library('gssdp-1.2', sources,
include_directories : include_directories('..'),
install : true)
-gnome.generate_gir(libgssdp,
+gir = gnome.generate_gir(libgssdp,
sources : introspection_sources,
namespace : 'GSSDP',
nsversion : '1.2',
diff --git a/meson.build b/meson.build
index a6ffb44..c8563b1 100644
--- a/meson.build
+++ b/meson.build
@@ -47,3 +47,4 @@ subdir('tests')
if (gtk.found())
subdir('tools')
endif
+subdir('vala')
diff --git a/vala/meson.build b/vala/meson.build
new file mode 100644
index 0000000..6cf3646
--- /dev/null
+++ b/vala/meson.build
@@ -0,0 +1,4 @@
+gnome.generate_vapi('gssdp-1.2',
+ sources : gir.get(0),
+ packages : ['gio-2.0', 'libsoup-2.4'],
+ install : true)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]