[gnome-clocks] Updates to the snap package, greatly reducing the package size.
- From: Ken VanDine <kvandine src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] Updates to the snap package, greatly reducing the package size.
- Date: Tue, 14 Nov 2017 16:06:35 +0000 (UTC)
commit 1698b5ff9bab7e15d0b7acd1a8b2ba93331c3ab0
Author: Ken VanDine <kvandine gnome org>
Date: Tue Nov 14 11:06:18 2017 -0500
Updates to the snap package, greatly reducing the package size.
snap/snapcraft.yaml | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 2ec93d4..9bebf6e 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -28,6 +28,7 @@ apps:
- desktop
- desktop-legacy
- gsettings
+ - pulseaudio
- unity7
- location-observe
- wayland
@@ -44,6 +45,7 @@ parts:
configflags: [--prefix=/snap/gnome-clocks/current/usr]
organize:
snap/gnome-clocks/current/usr: usr
+ build-attributes: ['no-system-libraries']
build-packages:
- gnome-common
- gnome-pkg-tools
@@ -78,6 +80,7 @@ parts:
mkdir -p $SNAPCRAFT_PART_INSTALL/meta/gui/
cp ../src/data/icons/hicolor/256x256/apps/org.gnome.clocks.png $SNAPCRAFT_PART_INSTALL/meta/gui/
cp _build/data/org.gnome.clocks.desktop $SNAPCRAFT_PART_INSTALL/meta/gui/
+ build-attributes: ['no-system-libraries']
build-packages:
- meson
- desktop-file-utils
@@ -97,3 +100,14 @@ parts:
- pkg-config
- valac
- yelp-tools
+
+ libraries:
+ plugin: nil
+ stage-packages:
+ - libgsound0
+ - libgeocode-glib0
+ - libgeoclue-2-0
+ prime:
+ - "usr/lib/*/libgsound.so.*"
+ - "usr/lib/*/libgeocode-glib.so.*"
+ - "usr/lib/*/libgeoclue-2.so.*"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]