[gnome-clocks: 1/2] snap: Update yaml to use GNOME extension
- From: Ken VanDine <kvandine src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks: 1/2] snap: Update yaml to use GNOME extension
- Date: Tue, 24 Sep 2019 17:28:41 +0000 (UTC)
commit 18f9b88dda37af6dafe6ac29a6f7c54fe9f8d5e8
Author: Heather Ellsworth <hellsworth gnome org>
Date: Tue Sep 24 17:28:25 2019 +0000
snap: Update yaml to use GNOME extension
snap/snapcraft.yaml | 39 +++------------------------------------
1 file changed, 3 insertions(+), 36 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 624aed2..77a7bad 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -18,24 +18,6 @@ passthrough:
license: GPL-2.0+
title: GNOME Clocks
-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-clocks:
@@ -45,33 +27,18 @@ slots:
apps:
gnome-clocks:
- command: desktop-launch gnome-clocks
+ command: usr/bin/gnome-clocks
+ extensions: [gnome-3-28]
plugs:
- - desktop
- - desktop-legacy
- gsettings
- pulseaudio
- - unity7
- location-observe
- - wayland
desktop: usr/share/applications/org.gnome.clocks.desktop
environment:
GSETTINGS_SCHEMA_DIR: $SNAP/share/glib-2.0/schemas
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/lib/gnome-clocks
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
-
libcanberra:
source: git://git.0pointer.de/libcanberra
source-type: git
@@ -133,7 +100,7 @@ parts:
- libgladeui-dev
gnome-clocks:
- after: [gsound, libgweather, desktop-gnome-platform]
+ after: [gsound, libgweather]
source: .
source-type: git
plugin: meson
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]