[gnome-calculator] [snap] Updated snap to build with meson



commit 87c5662859289c6e8f275e840b8d592097024530
Author: Ken VanDine <ken vandine org>
Date:   Wed Aug 1 09:43:41 2018 -0400

    [snap] Updated snap to build with meson

 snap/snapcraft.yaml | 26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 37ce3b14..81778234 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -24,10 +24,22 @@ grade: devel # must be 'stable' to release into candidate/stable channels
 confinement: strict
 
 plugs:
-    gnome-3-26-1604:
-      interface: content
-      target: $SNAP/gnome-platform
-      default-provider: gnome-3-26-1604:gnome-3-26-1604
+  gnome-3-26-1604:
+    interface: content
+    target: $SNAP/gnome-platform
+    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
@@ -55,10 +67,8 @@ parts:
     build-attributes: [no-system-libraries]
     after: [desktop-gnome-platform]
     source: .
-    source-type: git
-    plugin: autotools
-    # workaround the issue described in https://launchpad.net/bugs/1583250
-    configflags: [--prefix=/snap/gnome-calculator/current/usr]
+    plugin: meson
+    meson-parameters: [--prefix=/snap/gnome-calculator/current/usr]
     organize:
       snap/gnome-calculator/current/usr: usr
     build-packages:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]