[hitori] Revert "snap: Use appstream metadata"



commit 8ece2388d87e71614d82a4b5c7c4cba5289bd8d8
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Sun Mar 3 06:44:35 2019 -0500

    Revert "snap: Use appstream metadata"
    
    This reverts commit d8287b5ebfd0418ed62eb9227c1b1ee0dcd99838.
    
    snapcraft doesn't yet support an ID that doesn't end in .desktop
    for the parse-info extractor. Maybe in snapcraft 3.3.
    https://launchpad.net/bugs/1814898

 snap/snapcraft.yaml | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index f481b10..b1dc1be 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -1,6 +1,15 @@
 name: gnome-hitori
 version: git
-adopt-info: gnome-hitori
+summary: Play the Hitori puzzle game
+description: |
+  Hitori is a logic game similar to the popular game of Sudoku.
+
+  You play the game against the clock, aiming to eliminate all the duplicate
+  numbers in each row and column in the fastest time.
+  Multiple sizes of game board are supported, and you can place markers on
+  cells to help work out the solution.
+  If you get stuck, the game can give you a hint.
+
 grade: stable # must be 'stable' to release into candidate/stable channels
 confinement: strict
 base: core18
@@ -38,7 +47,7 @@ apps:
       - gsettings
       - unity7
       - wayland
-    common-id: org.gnome.Hitori.desktop
+    desktop: usr/share/applications/org.gnome.Hitori.desktop
     environment:
       GSETTINGS_SCHEMA_DIR: $SNAP/share/glib-2.0/schemas
 
@@ -59,7 +68,6 @@ parts:
     after: [desktop-gnome-platform]
     source: https://gitlab.gnome.org/GNOME/hitori.git
     source-type: git
-    parse-info: [usr/share/metainfo/org.gnome.Hitori.appdata.xml]
     plugin: meson
     # workaround the issue described in https://launchpad.net/bugs/1583250
     meson-parameters: [--prefix=/snap/gnome-hitori/current/usr]


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