diff options
author | Andrej Shadura <andrew.shadura@collabora.co.uk> | 2019-12-24 12:55:10 +0100 |
---|---|---|
committer | Andrej Shadura <andrew.shadura@collabora.co.uk> | 2019-12-24 12:55:10 +0100 |
commit | 4d385dfcce48db53738b2d4b544afd6ed5b9880b (patch) | |
tree | 0a4312b8195a3632d00f965004881236583fbb41 /SparkleShare/Linux/Images/icons/meson.build | |
parent | ee6272896c29a9a7a2e31c5c148ecf3a681b15a0 (diff) | |
parent | 4c248d2a7b08f68c7878405dd3af0c24ec2e4223 (diff) |
Update upstream source from tag 'upstream/3.28+git20190525+cf446c0'
Update to upstream version '3.28+git20190525+cf446c0'
with Debian dir 5bd732c9ba24f59c032f6aa627936d8c8a09aa85
Diffstat (limited to 'SparkleShare/Linux/Images/icons/meson.build')
-rw-r--r-- | SparkleShare/Linux/Images/icons/meson.build | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/SparkleShare/Linux/Images/icons/meson.build b/SparkleShare/Linux/Images/icons/meson.build index 422bda5..61f4294 100644 --- a/SparkleShare/Linux/Images/icons/meson.build +++ b/SparkleShare/Linux/Images/icons/meson.build @@ -1,14 +1,21 @@ # Install app icons in system theme theme_dir = join_paths(get_option('prefix'), 'share', 'icons', 'hicolor') icon_sizes = ['16', '24', '48', '256', '512'] + app_icon_name = 'org.sparkleshare.SparkleShare' +source_icon_name = app_icon_name + +if get_option('nightly') + source_icon_name = app_icon_name + '.Nightly' +endif foreach size : icon_sizes icon_dir = join_paths(size + 'x' + size, 'apps') install_data( - sources: join_paths('hicolor', icon_dir, app_icon_name + '.png'), - install_dir: join_paths(theme_dir, icon_dir)) + sources: join_paths('hicolor', icon_dir, source_icon_name + '.png'), + install_dir: join_paths(theme_dir, icon_dir), + rename: app_icon_name + '.png') endforeach install_data( |