[gnome-calculator] snap: Update yaml to use GNOME extension
- From: Ken VanDine <kvandine src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] snap: Update yaml to use GNOME extension
- Date: Tue, 17 Sep 2019 11:14:08 +0000 (UTC)
commit 87cfe0b724f85b5d103589fde2b2091b92fef458
Author: Heather Ellsworth <hellsworth gnome org>
Date: Tue Sep 17 11:13:59 2019 +0000
snap: Update yaml to use GNOME extension
snap/snapcraft.yaml | 36 ++----------------------------------
1 file changed, 2 insertions(+), 34 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index e958c116..d7b00cc7 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -24,24 +24,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-calculator:
@@ -51,31 +33,17 @@ slots:
apps:
gnome-calculator:
- command: desktop-launch gnome-calculator
+ command: usr/bin/gnome-calculator
+ extensions: [gnome-3-28]
plugs:
- - desktop
- - desktop-legacy
- gsettings
- network
- - unity7
- - wayland
desktop: usr/share/applications/org.gnome.Calculator.desktop
environment:
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/lib/gnome-calculator
parts:
- desktop-gnome-platform:
- source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
- source-subdir: gtk
- plugin: make
- make-parameters: ["FLAVOR=gtk3"]
- build-packages:
- - gcc
- override-build: |
- snapcraftctl build
- mkdir -pv $SNAPCRAFT_PART_INSTALL/gnome-platform
gtksourceview:
- after: [desktop-gnome-platform]
source: https://gitlab.gnome.org/GNOME/gtksourceview.git
source-type: git
plugin: meson
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]