From 36a4086443d878881fb73463e5820136c93a00d7 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Mon, 27 Sep 2021 19:39:32 +0300 Subject: meson.build: Install pkg-config pc file 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 Change-Id: I22543c79fc03da408211f96ae3fb817c2c01c8f0 --- meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'meson.build') 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') -- cgit 1.2.3-korg