[gnome-weather] Update Icons Meson Manifest and Respect Development Profile
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-weather] Update Icons Meson Manifest and Respect Development Profile
- Date: Sun, 27 Jan 2019 03:25:50 +0000 (UTC)
commit a3853deea305e2cd1b0b6ff35a471f8e0b48c252
Author: Falk Alexander Seidl <fseidl gnome org>
Date: Sun Dec 9 20:13:39 2018 +0100
Update Icons Meson Manifest and Respect Development Profile
data/icons/meson.build | 32 ++++++++++++++++++++++++++++----
1 file changed, 28 insertions(+), 4 deletions(-)
---
diff --git a/data/icons/meson.build b/data/icons/meson.build
index 7b01484..d247f3e 100644
--- a/data/icons/meson.build
+++ b/data/icons/meson.build
@@ -1,4 +1,28 @@
-install_subdir(
- 'hicolor',
- install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'icons')
-)
\ No newline at end of file
+datadir = join_paths('share', 'icons')
+icondir = join_paths('hicolor', 'scalable', 'apps')
+if get_option('profile') == 'development'
+install_data (
+ join_paths(icondir, 'org.gnome.Weather.svg'),
+ install_dir: join_paths(datadir, icondir),
+ rename: 'org.gnome.WeatherDevel.svg'
+)
+else
+install_data (
+ join_paths(icondir, 'org.gnome.Weather.svg'),
+ install_dir: join_paths(datadir, icondir)
+)
+endif
+
+icondir = join_paths('hicolor', 'symbolic', 'apps')
+if get_option('profile') == 'development'
+install_data (
+ join_paths(icondir, 'org.gnome.Weather-symbolic.svg'),
+ install_dir: join_paths(datadir, icondir),
+ rename: 'org.gnome.WeatherDevel-symbolic.svg'
+)
+else
+install_data (
+ join_paths(icondir, 'org.gnome.Weather-symbolic.svg'),
+ install_dir: join_paths(datadir, icondir)
+)
+endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]