[gnome-clocks] snap: Fixed snapcraft deprecations
- From: Ken VanDine <kvandine src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] snap: Fixed snapcraft deprecations
- Date: Fri, 3 Aug 2018 18:16:30 +0000 (UTC)
commit 4060e0222944406dc2e42433021e2b543438131e
Author: Ken VanDine <ken vandine org>
Date: Fri Aug 3 14:15:54 2018 -0400
snap: Fixed snapcraft deprecations
snap/snapcraft.yaml | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 67ef239..d44449c 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -12,7 +12,19 @@ plugs:
gnome-3-26-1604:
interface: content
target: $SNAP/gnome-platform
- default-provider: gnome-3-26-1604:gnome-3-26-1604
+ default-provider: gnome-3-26-1604
+ 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
@@ -75,9 +87,9 @@ parts:
meson-parameters: [--prefix=/snap/gnome-clocks/current/usr]
organize:
snap/gnome-clocks/current/usr: usr
- prepare:
+ override-build: |
sed -i.bak -e 's|=org.gnome.clocks$|=${SNAP}/meta/gui/org.gnome.clocks.png|g'
data/org.gnome.clocks.desktop.in
- install: |
+ snapcraftctl build
mkdir -p $SNAPCRAFT_PART_INSTALL/meta/gui/
cp ../src/data/icons/hicolor/256x256/apps/org.gnome.clocks.png $SNAPCRAFT_PART_INSTALL/meta/gui/
cp snapbuild/data/org.gnome.clocks.desktop $SNAPCRAFT_PART_INSTALL/meta/gui/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]