summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2021-09-27 19:39:32 +0300
committerMarius Vlad <marius.vlad@collabora.com>2021-09-28 00:19:04 +0300
commit36a4086443d878881fb73463e5820136c93a00d7 (patch)
tree801f00e3aadc69709c8081749384bd1d15e70d39 /meson.build
parentd096229473e301ce34e33dbbfa9b3ae73b9181e8 (diff)
A pkg-config would allow a much easier way to determine if the waltham transmitter is installed or not. Bug-AGL: SPEC-4087 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I22543c79fc03da408211f96ae3fb817c2c01c8f0
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 43c8cf4..851a1bd 100644
--- a/meson.build
+++ b/meson.build
@@ -54,5 +54,13 @@ common_inc = include_directories('include')
dir_include_waltham_transmiter_install = 'waltham-transmitter'
+pkgconfig.generate(
+ filebase: 'waltham-transmitter',
+ name: 'waltham-transmitter-plugin',
+ version: '0.0.1',
+ description: 'header file for waltham transmitter plugin',
+ install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'pkgconfig')
+)
+
subdir('transmitter-plugin')
subdir('include')