[gimp/wip/Jehan/ci-improve-flatpak-build: 2/2] build: sync with development flatpak.




commit 1da004b5cbde800e8ee143f067638b58389cfb42
Author: Jehan <jehan girinstud io>
Date:   Thu May 27 11:45:32 2021 +0200

    build: sync with development flatpak.
    
    - dri access needed (cf. commit de8be943 on our Flathub repo).
    - GNOME runtime still only provides lcms 2.10 (even in its master build)
      and we ned version 2.12 to avoid some crashes (cf. commit ae60863e
      from our flathub repo).

 build/flatpak/org.gimp.GIMP-nightly.json | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/build/flatpak/org.gimp.GIMP-nightly.json b/build/flatpak/org.gimp.GIMP-nightly.json
index fd9db8e263..3c9edc4331 100644
--- a/build/flatpak/org.gimp.GIMP-nightly.json
+++ b/build/flatpak/org.gimp.GIMP-nightly.json
@@ -10,6 +10,7 @@
     "rename-icon": "gimp",
     "finish-args": ["--share=ipc", "--share=network",
                     "--socket=x11", "--socket=wayland",
+                    "--device=dri",
                     "--filesystem=host", "--filesystem=xdg-config/GIMP",
                     "--filesystem=xdg-config/gtk-3.0", "--filesystem=/tmp",
                     "--filesystem=xdg-run/gvfs", "--filesystem=xdg-run/gvfsd",
@@ -60,6 +61,18 @@
                 }
             ]
         },
+        {
+            "name": "lcms2",
+            "config-opts": [ "--disable-static" ],
+            "cleanup": [ "/bin", "/share" ],
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": 
"https://src.fedoraproject.org/repo/pkgs/rpms/lcms2/lcms2-2.12.tar.gz/sha512/967e8ac9a1d1aa3be45dc82362b9bc71c555e8577441efda57dc12d0bf84ed9188460c52eb8542d399ce9ab43bd4191988ed22b254ef34c6c1877bbb935952ed/lcms2-2.12.tar.gz";,
+                    "sha512": 
"967e8ac9a1d1aa3be45dc82362b9bc71c555e8577441efda57dc12d0bf84ed9188460c52eb8542d399ce9ab43bd4191988ed22b254ef34c6c1877bbb935952ed"
+                }
+            ]
+        },
         {
             "name": "openexr",
             "modules": [


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