[Initiatives.wiki] We don't do multiple png icons anymore. Most apps	should be using an scalable SVG
- From: Felipe Borges <felipeborges src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [Initiatives.wiki] We don't do multiple png icons anymore. Most apps	should be using an scalable SVG
 
- Date: Wed,  4 Sep 2019 09:42:36 +0000 (UTC)
 
commit 274988e185b06d1a90cf07e1fcbeeb3b6d60357f
Author: Felipe Borges <felipeborges gnome org>
Date:   Wed Sep 4 09:42:32 2019 +0000
    We don't do multiple png icons anymore. Most apps should be using an scalable SVG
 DevOps-with-Flatpak.md | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/DevOps-with-Flatpak.md b/DevOps-with-Flatpak.md
index 58412a1..f74724a 100644
--- a/DevOps-with-Flatpak.md
+++ b/DevOps-with-Flatpak.md
@@ -157,15 +157,12 @@ option(
 ### Icons handling
 To install icons with the proper name change to the following on your data/meson.build:
 ```python
-foreach icon_size: ['16x16', '22x22', '24x24', '32x32', '48x48', '512x512']
-  icondir = join_paths('icons', 'hicolor', icon_size, 'apps')
-
-  install_data(
-    join_paths(icondir, 'org.gnome.AppName.png'),
-    install_dir: join_paths(datadir, icondir),
-    rename: '@0@.png'.format(application_id)
-  )
-endforeach
+icondir = join_paths('icons', 'hicolor', 'scalable', 'apps')
+install_data(
+  join_paths(icondir, 'org.gnome.AppName.svg'),
+  install_dir: join_paths(datadir, icondir),
+  rename: '@0@.png'.format(application_id)
+)
 
 icondir = join_paths('icons', 'hicolor', 'symbolic', 'apps')
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]