[hitori] snap: Use appstream metadata
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hitori] snap: Use appstream metadata
- Date: Sun, 3 Mar 2019 03:30:36 +0000 (UTC)
commit d8287b5ebfd0418ed62eb9227c1b1ee0dcd99838
Author: Jeremy Bicha <jbicha ubuntu com>
Date: Sat Mar 2 20:41:00 2019 -0500
snap: Use appstream metadata
snap/snapcraft.yaml | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index b1dc1be..f481b10 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -1,15 +1,6 @@
name: gnome-hitori
version: git
-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.
-
+adopt-info: gnome-hitori
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict
base: core18
@@ -47,7 +38,7 @@ apps:
- gsettings
- unity7
- wayland
- desktop: usr/share/applications/org.gnome.Hitori.desktop
+ common-id: org.gnome.Hitori.desktop
environment:
GSETTINGS_SCHEMA_DIR: $SNAP/share/glib-2.0/schemas
@@ -68,6 +59,7 @@ 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]