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




commit 28971ff60c2177e7f7ad12b3aa08b0cee18af649
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 access 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 a1899fc..13e20a1 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]