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.
This commit is contained in:
Andrew Tropin 2023-06-02 08:50:50 +04:00
parent 195c91b793
commit a9c8e8fd38
No known key found for this signature in database
GPG key ID: 2208D20958C1DEB0

View file

@ -2720,7 +2720,7 @@ compatible with the well-known scripts of the same name.")
(define-public libportal (define-public libportal
(package (package
(name "libportal") (name "libportal")
(version "0.5") (version "0.6")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -2729,12 +2729,18 @@ compatible with the well-known scripts of the same name.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0i4v0wjyiryg7jq9hp9iaplqyhwj1cqy5891s4jfldcdzvcwxwx0")))) "1q1kqq72cs7f5b17gzw7218mxs65hijzkll27mh51s02fpiw8c60"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:configure-flags (list
(list "-Dbackends=gtk4,gtk3,qt5" #:configure-flags
"-Ddocs=false"))) ; requires unpackaged gi-docgen #~(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 (native-inputs
(list pkg-config (list pkg-config
docbook-xsl docbook-xsl