Commit 4060e022 authored by Ken VanDine's avatar Ken VanDine

snap: Fixed snapcraft deprecations

parent d96e096f
......@@ -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/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment