[gnome-characters: 1/2] snap: Update yaml to use GNOME extension



commit a98bbae5bd7c7cabda755456b02d6c0098365e6a
Author: Heather Ellsworth <hellsworth gnome org>
Date:   Thu Sep 19 15:35:32 2019 +0000

    snap: Update yaml to use GNOME extension

 snap/snapcraft.yaml | 37 ++-----------------------------------
 1 file changed, 2 insertions(+), 35 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index bf6d98e..6394323 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -9,24 +9,6 @@ grade: stable # must be 'stable' to release into candidate/stable channels
 confinement: strict
 base: core18
 
-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
-  sound-themes:
-    interface: content
-    target: $SNAP/data-dir/sounds
-    default-provider: gtk-common-themes
-
 slots:
   # for GtkApplication registration
   gnome-characters:
@@ -36,34 +18,19 @@ slots:
 
 apps:
   gnome-characters:
-    command: desktop-launch ${SNAP}/usr/share/org.gnome.Characters/org.gnome.Characters
+    command: usr/share/org.gnome.Characters/org.gnome.Characters
+    extensions: [gnome-3-28]
     plugs:
       - browser-support
-      - desktop
-      - desktop-legacy
       - gsettings
       - home
-      - unity7
-      - wayland
     desktop: usr/share/applications/org.gnome.Characters.desktop
     environment:
       GSETTINGS_SCHEMA_DIR: $SNAP/share/glib-2.0/schemas
       LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/org.gnome.Characters
 
 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-characters:
-    after: [desktop-gnome-platform]
     source-type: git
     source: .
     plugin: meson


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