[hitori] snap: build with meson



commit e55c1081af8259ef5fa7b96287738ccd00c05f1c
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Tue Feb 19 12:27:00 2019 -0500

    snap: build with meson

 snap/snapcraft.yaml | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 7f5ab11..f5e5d6a 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -68,9 +68,9 @@ parts:
     after: [desktop-gnome-platform]
     source: https://gitlab.gnome.org/GNOME/hitori.git
     source-type: git
-    plugin: autotools
+    plugin: meson
     # workaround the issue described in https://launchpad.net/bugs/1583250
-    configflags: [--prefix=/snap/gnome-hitori/current/usr]
+    meson-parameters: [--prefix=/snap/gnome-hitori/current/usr]
     organize:
       snap/gnome-hitori/current/usr: usr
     override-build: |
@@ -78,13 +78,11 @@ parts:
       snapcraftctl build
       mkdir -p $SNAPCRAFT_PART_INSTALL/meta/gui/
       cp ../src/data/icons/48x48/org.gnome.Hitori.png $SNAPCRAFT_PART_INSTALL/meta/gui/
-      cp data/org.gnome.Hitori.desktop $SNAPCRAFT_PART_INSTALL/meta/gui/
+      cp ../install/snap/gnome-hitori/current/usr/share/applications/org.gnome.Hitori.desktop 
$SNAPCRAFT_PART_INSTALL/meta/gui/
     build-packages:
-      - appstream-util
-      - autoconf-archive
       - desktop-file-utils
       - gettext
       - gsettings-desktop-schemas-dev
+      - itstool
       - libglib2.0-dev
       - libgtk-3-dev
-      - yelp-tools


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