[quadrapassel/gnome-3-36] snap: Set common-id and use appstream metadata
- From: Ken VanDine <kvandine src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [quadrapassel/gnome-3-36] snap: Set common-id and use appstream metadata
- Date: Wed, 6 May 2020 21:35:42 +0000 (UTC)
commit 6f16e44c80dc4a4d03addc7dc5fb50807f193ba3
Author: Ken VanDine <ken vandine canonical com>
Date: Wed May 6 17:17:13 2020 -0400
snap: Set common-id and use appstream metadata
snap/snapcraft.yaml | 15 +++------------
1 file changed, 3 insertions(+), 12 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index f880fe4..cab4c93 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -1,17 +1,6 @@
name: quadrapassel
version: git
-summary: Fit falling blocks together
-description: |
- Quadrapassel is a derivative of a classic Russian falling-block game.
- Reposition and rotate the blocks as they fall, and attempt to fit them
- together. When you form a complete horizontal row of blocks, the row will
- disappear and you score points. The game is over when the blocks get stacked
- too high. As your score gets higher, you level up and the blocks fall faster.
-
- If you're looking for a challenge, Quadrapassel allows you to increase the
- initial speed of the blocks, or begin the game with partial blocks on some
- of the rows. Or, instead of allowing the blocks to fall randomly, it can
- select blocks that will be hard for you to place.
+adopt-info: quadrapassel
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict
@@ -33,6 +22,7 @@ apps:
- opengl
- pulseaudio
desktop: usr/share/applications/org.gnome.Quadrapassel.desktop
+ common-id: org.gnome.Quadrapassel.desktop
environment:
GSETTINGS_SCHEMA_DIR: $SNAP/share/glib-2.0/schemas
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/lib/quadrapassel
@@ -91,6 +81,7 @@ parts:
plugin: meson
# workaround the issue described in https://launchpad.net/bugs/1583250
meson-parameters: [--prefix=/snap/quadrapassel/current/usr]
+ parse-info: [usr/share/metainfo/org.gnome.Quadrapassel.appdata.xml]
organize:
snap/quadrapassel/current/usr: usr
override-build: |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]