[gnome-mahjongg] snap: Switch from png to svg icon
- From: Ken VanDine <kvandine src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-mahjongg] snap: Switch from png to svg icon
- Date: Tue, 10 Sep 2019 11:48:49 +0000 (UTC)
commit fa18b2f8b9861f9e7e0f855b3aea708e4f929957
Author: Marcus Tomlinson <marcus tomlinson canonical com>
Date: Tue Sep 10 09:48:42 2019 +0100
snap: Switch from png to svg icon
snap/snapcraft.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 72c2121..09ae41f 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -66,10 +66,10 @@ parts:
source: .
source-type: git
override-build: |
- sed -i.bak -e 's|=org.gnome.Mahjongg$|=${SNAP}/meta/gui/org.gnome.Mahjongg.png|g'
data/org.gnome.Mahjongg.desktop.in
+ sed -i.bak -e 's|=org.gnome.Mahjongg$|=${SNAP}/meta/gui/org.gnome.Mahjongg.svg|g'
data/org.gnome.Mahjongg.desktop.in
snapcraftctl build
mkdir -p $SNAPCRAFT_PART_INSTALL/meta/gui/
- cp ../src/data/icons/hicolor/48x48/org.gnome.Mahjongg.png $SNAPCRAFT_PART_INSTALL/meta/gui/
+ cp ../src/data/icons/hicolor/scalable/org.gnome.Mahjongg.svg $SNAPCRAFT_PART_INSTALL/meta/gui/
cp ../install/snap/gnome-mahjongg/current/usr/share/applications/org.gnome.Mahjongg.desktop
$SNAPCRAFT_PART_INSTALL/meta/gui/
plugin: meson
meson-parameters: [--prefix=/snap/gnome-mahjongg/current/usr]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]