[gedit/gnome-3-30] snap: Use appstream metadata



commit cbb9c506190d3b7beffb265cb6755fe5aeb0714d
Author: Ken VanDine <ken vandine canonical com>
Date:   Fri Mar 1 14:27:54 2019 -0500

    snap: Use appstream metadata

 snap/snapcraft.yaml | 17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 52fe2dfca..a6d177b61 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -1,18 +1,6 @@
 name: gedit
 version: git
-summary: Edit text files
-description: |
-  gedit is the official text editor of the GNOME desktop environment.
-  While aiming at simplicity and ease of use, gedit is a powerful general
-  purpose text editor.
-
-  Whether you are writing the next bestseller, programming an innovative
-  application, or simply taking some quick notes, gedit will be a reliable
-  tool to accomplish your task.
-
-  Its flexible plugin system allows you to tailor the application to your
-  needs and adapt it to your workflow.
-
+adopt-info: gedit
 grade: stable # must be 'stable' to release into candidate/stable channels
 confinement: strict
 base: core18
@@ -68,7 +56,7 @@ apps:
       - removable-media
       - unity7
       - wayland
-    desktop: usr/share/applications/org.gnome.gedit.desktop
+    common-id: org.gnome.gedit.desktop
     environment:
       GSETTINGS_SCHEMA_DIR: $SNAP/share/glib-2.0/schemas
       LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/lib/gedit
@@ -92,6 +80,7 @@ parts:
     after: [desktop-gnome-platform]
     source: .
     source-type: git
+    parse-info: [usr/share/metainfo/org.gnome.gedit.appdata.xml]
     plugin: autotools
     configflags: [--prefix=/snap/gedit/current/usr]
     override-build: |


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