diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2021-09-27 19:39:32 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2021-09-28 00:19:04 +0300 |
commit | 36a4086443d878881fb73463e5820136c93a00d7 (patch) | |
tree | 801f00e3aadc69709c8081749384bd1d15e70d39 | |
parent | d096229473e301ce34e33dbbfa9b3ae73b9181e8 (diff) |
meson.build: Install pkg-config pc filemarlin_12.93.0marlin_12.92.0marlin_12.91.0marlin_12.90.1marlin/12.93.0marlin/12.92.0marlin/12.91.0marlin/12.90.112.93.012.92.012.91.012.90.1
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
-rw-r--r-- | meson.build | 8 |
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') |