guix-commits
[Top][All Lists]
Advanced

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

01/04: gnu: libportal: Update to 0.6.


From: guix-commits
Subject: 01/04: gnu: libportal: Update to 0.6.
Date: Fri, 2 Jun 2023 01:04:59 -0400 (EDT)

abcdw pushed a commit to branch master
in repository guix.

commit a9c8e8fd3810fd9889c933da4f66e9c6901180cb
Author: Andrew Tropin <andrew@trop.in>
AuthorDate: Fri Jun 2 08:50:50 2023 +0400

    gnu: libportal: Update to 0.6.
    
    * gnu/packages/freedesktop.scm (libportal): Update to 0.6.
    [arguments]: Remove deprecated backends option from #:configure-flags.  Add
    set-qt-environment-variables phase.
---
 gnu/packages/freedesktop.scm | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index d9917ee9bf..60ca5583ba 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -2720,7 +2720,7 @@ compatible with the well-known scripts of the same name.")
 (define-public libportal
   (package
     (name "libportal")
-    (version "0.5")
+    (version "0.6")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -2729,12 +2729,18 @@ compatible with the well-known scripts of the same 
name.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0i4v0wjyiryg7jq9hp9iaplqyhwj1cqy5891s4jfldcdzvcwxwx0"))))
+                "1q1kqq72cs7f5b17gzw7218mxs65hijzkll27mh51s02fpiw8c60"))))
     (build-system meson-build-system)
     (arguments
-     `(#:configure-flags
-       (list "-Dbackends=gtk4,gtk3,qt5"
-             "-Ddocs=false")))          ; requires unpackaged gi-docgen
+     (list
+      #:configure-flags
+      #~(list "-Ddocs=false")          ; requires unpackaged gi-docgen
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'set-qt-environment-variables
+            (lambda* (#:key inputs #:allow-other-keys)
+              ;; Required for tests
+              (setenv "QT_QPA_PLATFORM" "offscreen"))))))
     (native-inputs
      (list pkg-config
            docbook-xsl



reply via email to

[Prev in Thread] Current Thread [Next in Thread]