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:
parent
195c91b793
commit
a9c8e8fd38
1 changed files with 11 additions and 5 deletions
|
@ -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
|
||||
|
|
Reference in a new issue