[rygel/wip/meson: 37/52] meson: Minor cosmetic changes
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/wip/meson: 37/52] meson: Minor cosmetic changes
- Date: Thu, 18 Oct 2018 09:17:39 +0000 (UTC)
commit 8b9d5441d0c7f7365effa19775c443314f32118d
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]