← Back to team overview

gnome3-team team mailing list archive

[Merge] ~marcustomlinson/gnome-mahjongg:master into gnome-mahjongg:master

 

Marcus Tomlinson has proposed merging ~marcustomlinson/gnome-mahjongg:master into gnome-mahjongg:master.

Commit message:
Switch from png to svg icon

Requested reviews:
  GNOME3 Team (gnome3-team)

For more details, see:
https://code.launchpad.net/~marcustomlinson/gnome-mahjongg/+git/gnome-mahjongg/+merge/372531

Fixes FTBFS: https://code.launchpad.net/~ubuntu-desktop/+snap/gnome-mahjongg-master/+build/669690
-- 
Your team GNOME3 Team is requested to review the proposed merge of ~marcustomlinson/gnome-mahjongg:master into gnome-mahjongg:master.
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]

References