summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2019-03-01 18:02:38 -0500
committerKen VanDine <ken.vandine@canonical.com>2019-03-01 18:03:20 -0500
commit35f9e5992c5e8df9eebf6256ed84aa8cb21ab0ab (patch)
treef038a1973dfe868330905b433ada84c74edc0373
parent5d4fa9f6ad9dc0e5d335274d934ced451ca961d0 (diff)
downloadeog-gnome-3-28.tar.gz
snap: Use appstream for metadatagnome-3-28
-rw-r--r--snap/snapcraft.yaml15
1 files changed, 3 insertions, 12 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index fcedd106..e8ff7216 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -1,16 +1,6 @@
name: eog
version: git
-summary: Eye of GNOME Image Viewer
-description: |
- The Eye of GNOME is the official image viewer for the GNOME desktop.
- It integrates with the GTK+ look and feel of GNOME, and supports many image
- formats for viewing single images or images in a collection.
-
- The Eye of GNOME also allows to view the images in a fullscreen slideshow mode
- or set an image as the desktop wallpaper.
- It reads the camera tags to automatically rotate your images in the correct
- portrait or landscape orientation.
-
+adopt-info: eog
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict
base: core18
@@ -53,6 +43,7 @@ slots:
apps:
eog:
+ common-id: eog.desktop
command: desktop-launch eog
plugs:
- desktop
@@ -63,7 +54,6 @@ apps:
- unity7
- mount-observe
- wayland
- desktop: usr/share/applications/eog.desktop
environment:
LD_LIBRARY_PATH: $SNAP/usr/lib/eog:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/eog:$LD_LIBRARY_PATH
GI_TYPELIB_PATH: $SNAP/usr/lib/eog/girepository-1.0:$SNAP/usr/lib/girepository-1.0:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/girepository-1.0:$SNAP/gnome-platform/usr/lib/girepository-1.0:$SNAP/gnome-platform/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/girepository-1.0
@@ -86,6 +76,7 @@ parts:
after: [desktop-gnome-platform]
source: .
source-type: git
+ parse-info: [usr/share/metainfo/eog.appdata.xml]
plugin: meson
meson-parameters: [--prefix=/usr, -Dintrospection=true]
organize: