[gnome-mines] snap: Update yaml to use GNOME extensions



commit efea5b31cfff31a0faea4634fbe84eaea9809c40
Author: Heather Ellsworth <heather ellsworth canonical com>
Date:   Mon Sep 16 14:13:56 2019 +0200

    snap: Update yaml to use GNOME extensions

 snap/snapcraft.yaml | 35 ++---------------------------------
 1 file changed, 2 insertions(+), 33 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 6eba089..514dd6d 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -20,20 +20,6 @@ passthrough:
   license: GPL-3.0+
   title: GNOME Mines
 
-plugs:
-  gnome-3-28-1804:
-    interface: content
-    target: $SNAP/gnome-platform
-    default-provider: gnome-3-28-1804
-  gtk-3-themes:
-    interface: content
-    target: $SNAP/data-dir/themes
-    default-provider: gtk-common-themes
-  icon-themes:
-    interface: content
-    target: $SNAP/data-dir/icons
-    default-provider: gtk-common-themes
-
 slots:
   # for GtkApplication registration
   gnome-mines:
@@ -43,31 +29,14 @@ slots:
 
 apps:
   gnome-mines:
-    command: desktop-launch gnome-mines
+    command: usr/bin/gnome-mines
+    extensions: [gnome-3-28]
     plugs:
-      - desktop
-      - desktop-legacy
       - gsettings
-      - unity7
-      - wayland
     desktop: usr/share/applications/org.gnome.Mines.desktop
-    environment:
-      GSETTINGS_SCHEMA_DIR: $SNAP/share/glib-2.0/schemas
 
 parts:
-  desktop-gnome-platform:
-    source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
-    source-subdir: gtk
-    plugin: make
-    make-parameters: ["FLAVOR=gtk3"]
-    build-packages:
-      - build-essential
-      - libgtk-3-dev
-    override-build: |
-      snapcraftctl build
-      mkdir -pv $SNAPCRAFT_PART_INSTALL/gnome-platform
   gnome-mines:
-    after: [desktop-gnome-platform]
     source: .
     source-type: git
     override-build: |


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