[quadrapassel] snap: Add libmanette to dependencies and use snapcraft-preload
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [quadrapassel] snap: Add libmanette to dependencies and use snapcraft-preload
- Date: Sat, 2 Feb 2019 00:46:36 +0000 (UTC)
commit 905dc3159ee59c222e52f9f38585e06f1004f4bd
Author: Jeremy Bicha <jbicha debian org>
Date: Fri Feb 1 19:29:39 2019 -0500
snap: Add libmanette to dependencies and use snapcraft-preload
snap/snapcraft.yaml | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 8e8dce2..d4759b1 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -44,7 +44,7 @@ slots:
apps:
quadrapassel:
- command: desktop-launch quadrapassel
+ command: desktop-launch snapcraft-preload quadrapassel
plugs:
- desktop
- desktop-legacy
@@ -53,12 +53,20 @@ apps:
- pulseaudio
- unity7
- wayland
- desktop: usr/share/applications/or.gnome.Quadrapassel.desktop
+ desktop: usr/share/applications/org.gnome.Quadrapassel.desktop
environment:
GSETTINGS_SCHEMA_DIR: $SNAP/share/glib-2.0/schemas
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/lib/quadrapassel
parts:
+# needed for clutter to work
+ snapcraft-preload:
+ source: https://github.com/sergiusens/snapcraft-preload.git
+ plugin: cmake
+ build-packages:
+ - gcc-multilib
+ - g++-multilib
+
desktop-gnome-platform:
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
source-subdir: gtk
@@ -110,7 +118,7 @@ parts:
- valac
quadrapassel:
- after: [desktop-gnome-platform, gsound]
+ after: [desktop-gnome-platform, gsound, snapcraft-preload]
source: .
source-type: git
plugin: meson
@@ -133,5 +141,9 @@ parts:
- libclutter-gtk-1.0-dev
- libglib2.0-dev
- libgtk-3-dev
+ - libmanette-0.2-dev
- librsvg2-dev
- valac
+ stage-packages:
+ - libclutter-gtk-1.0-0
+ - libmanette-0.2-0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]