[gnome-tetravex/gnome-3-22] snap: switch to core18



commit 0208cb7e2f3cf6cea8db245221a926508aed97ae
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Sun Feb 3 22:20:37 2019 -0500

    snap: switch to core18

 snap/snapcraft.yaml | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 457bf5c..58d2396 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -7,16 +7,17 @@ description: |
   numbers don't match, you can't put the piece there. Move quickly: you're
   being timed!
 
-  You can make the game easier or harder by changing the size of the board.     
+  You can make the game easier or harder by changing the size of the board.
 
 grade: stable # must be 'stable' to release into candidate/stable channels
 confinement: strict
+base: core18
 
 plugs:
-  gnome-3-26-1604:
+  gnome-3-28-1804:
     interface: content
     target: $SNAP/gnome-platform
-    default-provider: gnome-3-26-1604
+    default-provider: gnome-3-28-1804
   gtk-3-themes:
     interface: content
     target: $SNAP/data-dir/themes
@@ -47,8 +48,19 @@ apps:
       PATH: $SNAP/usr/games:$PATH
 
 parts:
+  desktop-gnome-platform:
+    source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
+    source-subdir: gtk
+    plugin: make
+    make-parameters: ["FLAVOR=gtk3"]
+    build-packages:
+      - build-essential
+      - libgtk-3-dev
+    override-build: |
+      snapcraftctl build
+      mkdir -pv $SNAPCRAFT_PART_INSTALL/gnome-platform
+
   gnome-tetravex:
-    build-attributes: [no-system-libraries]
     after: [desktop-gnome-platform]
     source: .
     source-type: git


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