[gnome-maps/wip/mlundblad/flatpak-ical-git-3.0] flatpak: Build libical from the 3.0 branch




commit c4a63717fc8274fb9061698375c19f131d3b0fe7
Author: Marcus Lundblad <ml update uu se>
Date:   Tue Jul 20 10:46:44 2021 +0200

    flatpak: Build libical from the 3.0 branch
    
    libical 3.0.8 has started to fail building against the latest
    GNOME SDK. Align with how Evolution does it and build straight
    from the 3.0 branch.

 org.gnome.Maps.json | 41 +++++++++++++++++++----------------------
 1 file changed, 19 insertions(+), 22 deletions(-)
---
diff --git a/org.gnome.Maps.json b/org.gnome.Maps.json
index 1e2a2f0c..29413c7b 100644
--- a/org.gnome.Maps.json
+++ b/org.gnome.Maps.json
@@ -47,28 +47,25 @@
         "*.a"
     ],
     "modules" : [
-        {
-            "name": "libical",
-            "cleanup": [
-              "/lib/cmake"
-            ],
-            "buildsystem": "cmake-ninja",
-            "config-opts": [
-                "-DCMAKE_BUILD_TYPE=Release",
-                "-DCMAKE_INSTALL_LIBDIR=lib",
-                "-DBUILD_SHARED_LIBS:BOOL=ON",
-                "-DICAL_GLIB=true",
-                "-DGOBJECT_INTROSPECTION=true",
-                "-DICAL_GLIB_VAPI=true",
-                "-DICAL_BUILD_DOCS=false"
-            ],
-            "sources": [
-                {
-                    "type": "archive",
-                    "url": 
"https://github.com/libical/libical/releases/download/v3.0.8/libical-3.0.8.tar.gz";,
-                    "sha256": "09fecacaf75ba5a242159e3a9758a5446b5ce4d0ab684f98a7040864e1d1286f"
-                }
-            ]
+       {
+           "name": "libical",
+           "cleanup": [ "/lib/cmake" ],
+           "buildsystem": "cmake-ninja",
+           "config-opts": [
+               "-DCMAKE_INSTALL_LIBDIR:PATH=/app/lib",
+               "-DBUILD_SHARED_LIBS:BOOL=ON",
+               "-DGOBJECT_INTROSPECTION:BOOL=ON",
+               "-DICAL_BUILD_DOCS:BOOL=OFF",
+               "-DICAL_GLIB_VAPI:BOOL=ON",
+               "-DICAL_GLIB:BOOL=ON"
+           ],
+           "sources": [
+               {
+                   "type": "git",
+                   "url": "https://github.com/libical/libical.git";,
+                   "branch": "3.0"
+               }
+           ]
         },
         {
             "name" : "gnome-online-accounts",


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