[gnome-clocks] [snap] Fixed libgweather datadir causing relocation issues since the swtich to meson.



commit b804eb1c00abe6286c3088251cfe95c437282612
Author: Ken VanDine <kvandine gnome org>
Date:   Mon Feb 26 09:46:03 2018 -0500

    [snap] Fixed libgweather datadir causing relocation issues since the swtich to meson.

 snap/snapcraft.yaml |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 434f86b..67ef239 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -42,7 +42,9 @@ parts:
     source: https://git.gnome.org/browse/libgweather
     source-type: git
     plugin: meson
-    meson-parameters: [--prefix=/usr]
+    meson-parameters: 
+      - --prefix=/usr
+      - --datadir=../snap/gnome-clocks/current/usr/share
     organize:
       snap/gnome-clocks/current/usr: usr
     build-attributes: ['no-system-libraries']
@@ -70,7 +72,7 @@ parts:
     source: .
     source-type: git
     plugin: meson
-    meson-parameters: [--prefix=/usr]
+    meson-parameters: [--prefix=/snap/gnome-clocks/current/usr]
     organize:
       snap/gnome-clocks/current/usr: usr
     prepare:


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