summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2019-03-01 14:27:54 -0500
committerKen VanDine <ken.vandine@canonical.com>2019-03-01 14:27:54 -0500
commitcbb9c506190d3b7beffb265cb6755fe5aeb0714d (patch)
tree043666e80fdebc51382e511ece1d0537518a232b
parent8cf63eb6c3b5ddc7794b2b38c8393b6c3893c8e1 (diff)
downloadgedit-gnome-3-30.tar.gz
snap: Use appstream metadatagnome-3-30
-rw-r--r--snap/snapcraft.yaml17
1 files 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: |