[rygel/wip/meson: 32/49] meson: Minor cosmetic changes
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/wip/meson: 32/49] meson: Minor cosmetic changes
- Date: Mon, 22 Oct 2018 20:15:05 +0000 (UTC)
commit f993b755af8fac3f4b662cfd4f2b52331ea1997f
Author: Jens Georg <mail jensge org>
Date: Sun Sep 9 14:26:00 2018 +0200
meson: Minor cosmetic changes
meson.build | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/meson.build b/meson.build
index ce147898..93ad17cd 100644
--- a/meson.build
+++ b/meson.build
@@ -76,14 +76,13 @@ sed = find_program('sed')
g_ir_compiler = find_program('g-ir-compiler')
gir_dir = join_paths(get_option('datadir'), 'gir-1.0')
typelib_dir = join_paths(get_option('libdir'), 'girepository-1.0')
+pkgconfig_dir = join_paths(get_option('libdir'), 'pkgconfig')
cc = meson.get_compiler('c')
math = cc.find_library('m', required: false)
unistring = cc.find_library('unistring', required: false)
u8_strcoll_available = cc.has_function('u8_strcoll', dependencies: unistring)
-if u8_strcoll_available
- conf.set('HAVE_UNISTRING', '1')
-endif
+conf.set10('HAVE_UNISTRING', u8_strcoll_available)
common_deps = [gupnp, gee]
@@ -125,31 +124,31 @@ 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'))
+ install_dir : pkgconfig_dir)
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'))
+ install_dir : pkgconfig_dir)
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'))
+ install_dir : pkgconfig_dir)
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'))
+ install_dir : pkgconfig_dir)
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'))
+ install_dir : pkgconfig_dir)
subdir('src')
subdir('po')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]