[gnome-tweaks/wip/snwh/app-icon-redesign: 1/3] build: don't use subdirectories for icons



commit 134c873f509de42e527a08ffbb9bcb841743740b
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Thu Sep 27 10:24:58 2018 -0400

    build: don't use subdirectories for icons
    
    Since there are only 2 app icons, it is simpler to
    not have so many subdirectories.

 data/icons/meson.build                                             | 2 --
 data/meson.build                                                   | 7 +++++--
 .../hicolor/symbolic/apps => }/org.gnome.tweaks-symbolic.svg       | 0
 data/{icons/hicolor/scalable/apps => }/org.gnome.tweaks.svg        | 0
 4 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 3641c53..bfebb09 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,5 +1,3 @@
-subdir('icons')
-
 gui_data = [
   'shell.ui',
   'shell.css'
@@ -24,3 +22,8 @@ i18n.merge_file(appdata_file,
   install: true,
   install_dir: appdatadir
 )
+
+install_data ('org.gnome.tweaks.svg',
+  install_dir: join_paths(datadir, 'icons', 'hicolor', 'scalable', 'apps'))
+install_data ('org.gnome.tweaks-symbolic.svg',
+  install_dir: join_paths(datadir, 'icons', 'hicolor', 'symbolic', 'apps'))
diff --git a/data/icons/hicolor/symbolic/apps/org.gnome.tweaks-symbolic.svg 
b/data/org.gnome.tweaks-symbolic.svg
similarity index 100%
rename from data/icons/hicolor/symbolic/apps/org.gnome.tweaks-symbolic.svg
rename to data/org.gnome.tweaks-symbolic.svg
diff --git a/data/icons/hicolor/scalable/apps/org.gnome.tweaks.svg b/data/org.gnome.tweaks.svg
similarity index 100%
rename from data/icons/hicolor/scalable/apps/org.gnome.tweaks.svg
rename to data/org.gnome.tweaks.svg


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]