[rygel/wip/meson: 23/44] meson: Add pkg-config
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/wip/meson: 23/44] meson: Add pkg-config
- Date: Thu, 18 Oct 2018 19:32:53 +0000 (UTC)
commit f316db706b09923375d3e3311b83fe8ceb06fe51
Author: Jens Georg <mail jensge org>
Date: Mon May 22 21:12:38 2017 +0200
meson: Add pkg-config
meson.build | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
---
diff --git a/meson.build b/meson.build
index 78b882be..7b87ae11 100644
--- a/meson.build
+++ b/meson.build
@@ -108,6 +108,46 @@ ui_deps = common_deps + [gtk]
configure_file(output: 'config.h', configuration: conf)
+pc_conf = configuration_data()
+pc_conf.set('prefix', get_option('prefix'))
+pc_conf.set('exec_prefix', '${prefix}')
+pc_conf.set('libdir', join_paths(get_option('prefix'), get_option('libdir')))
+pc_conf.set('includedir', join_paths('${prefix}', get_option('includedir')))
+pc_conf.set('RYGEL_PLUGIN_DIR', rygel_plugindir)
+pc_conf.set('RYGEL_MEDIA_ENGINE_DIR', rygel_enginedir)
+pc_conf.set('RYGEL_PLUGIN_LINKER_FLAGS', '')
+pc_conf.set('RYGEL_ENGINE_LINKER_FLAGS', '')
+
+configure_file(output: 'rygel-core-2.6.pc',
+ input: 'rygel-core-2.6.pc.in',
+ configuration: pc_conf,
+ install: true,
+ install_dir : join_paths(get_option('libdir'), 'pkgconfig'))
+
+configure_file(output: 'rygel-server-2.6.pc',
+ input: 'rygel-server-2.6.pc.in',
+ configuration: pc_conf,
+ install: true,
+ install_dir : join_paths(get_option('libdir'), 'pkgconfig'))
+
+configure_file(output: 'rygel-renderer-2.6.pc',
+ input: 'rygel-renderer-2.6.pc.in',
+ configuration: pc_conf,
+ install: true,
+ install_dir : join_paths(get_option('libdir'), 'pkgconfig'))
+
+configure_file(output: 'rygel-renderer-gst-2.6.pc',
+ input: 'rygel-renderer-gst-2.6.pc.in',
+ configuration: pc_conf,
+ install: true,
+ install_dir : join_paths(get_option('libdir'), 'pkgconfig'))
+
+configure_file(output: 'rygel-ruih-2.0.pc',
+ input: 'rygel-ruih-2.0.pc.in',
+ configuration: pc_conf,
+ install: true,
+ install_dir : join_paths(get_option('libdir'), 'pkgconfig'))
+
subdir('src')
subdir('po')
subdir('data')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]