[rygel/rygel-0-40] build: Don't install UI if preferences not built
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/rygel-0-40] build: Don't install UI if preferences not built
- Date: Mon, 11 Apr 2022 21:31:11 +0000 (UTC)
commit 59531a73d0f2acdfaf27e4c75de58f540074b55d
Author: Jens Georg <mail jensge org>
Date: Mon Apr 11 23:27:19 2022 +0200
build: Don't install UI if preferences not built
fixes #208
data/meson.build | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 3d97ff83f..1e2ba170e 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -9,7 +9,9 @@ install_data(join_paths('icons', '48x48', 'rygel.png'), install_dir : join_paths
install_data(join_paths('icons', 'scalable', 'rygel.svg'), install_dir : join_paths(rygel_icondir,
'scalable', 'apps'))
install_data(join_paths('icons', 'scalable', 'rygel-full.svg'), install_dir : join_paths(rygel_icondir,
'scalable', 'apps'))
-install_data('rygel-preferences.ui', install_dir : rygel_datadir)
+if (gtk.found())
+ install_data('rygel-preferences.ui', install_dir : rygel_datadir)
+endif
data_conf = configuration_data()
data_conf.set('bindir', join_paths(get_option('prefix'), get_option('bindir')))
@@ -60,7 +62,7 @@ i18n.merge_file(input: rygel_desktop_preferences_in,
output: 'rygel-preferences.desktop',
po_dir : join_paths('..','po'),
type: 'desktop',
- install : true,
+ install : gtk.found(),
install_dir: join_paths(get_option('datadir'), 'applications'))
subdir('presets')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]