[gnome-weather/wip/hadess/use-libgeoclue-portal: 7/9] flatpak: Use portal to access location




commit 4a8cd29aef587e9d76b13f88355e7330e225fcfc
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Jul 23 20:08:32 2021 +0200

    flatpak: Use portal to access location
    
    Build a newer version of libgeoclue to access the location information
    through a portal instead of relying on accessing Geoclue directly.
    
    Closes: #307

 org.gnome.Weather.json | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/org.gnome.Weather.json b/org.gnome.Weather.json
index 36b18fe..73b6a5e 100644
--- a/org.gnome.Weather.json
+++ b/org.gnome.Weather.json
@@ -12,7 +12,6 @@
         "--socket=fallback-x11",
         "--socket=wayland",
         "--share=network",
-        "--system-talk-name=org.freedesktop.GeoClue2",
         "--env=G_ENABLE_DIAGNOSTIC=1",
         "--metadata=X-DConf=migrate-path=/org/gnome/Weather/"
     ],
@@ -29,6 +28,22 @@
         "*.a"
     ],
     "modules": [
+        {
+            "name": "libgeoclue",
+            "buildsystem": "meson",
+            "config-opts" : [
+                "-Denable-backend=false",
+                "-Dlibgeoclue=true",
+                "-Dintrospection=true",
+                "-Dgtk-doc=false"
+            ],
+            "sources": [
+                {
+                    "type" : "git",
+                    "url": "https://gitlab.freedesktop.org/geoclue/geoclue.git";
+                }
+            ]
+        },
         {
             "name" : "geocode-glib",
             "config-opts" : [


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