gnu: libportal: Update to 0.5.
* gnu/packages/freedesktop.scm (libportal): Update to 0.5. [arguments]: Add #:configure-flags to limit dependency creep. Remove 'move-doc phase. [native-inputs]: Remove gtk-doc. Add gobject-introspection and vala. [inputs]: Add gtk, gtk+, qtbase-5, and qtx11extras. [outputs]: Remove :out.
This commit is contained in:
parent
e2d8125a5c
commit
294476022f
|
@ -103,6 +103,7 @@ (define-module (gnu packages freedesktop)
|
||||||
#:use-module (gnu packages python)
|
#:use-module (gnu packages python)
|
||||||
#:use-module (gnu packages python-crypto)
|
#:use-module (gnu packages python-crypto)
|
||||||
#:use-module (gnu packages python-xyz)
|
#:use-module (gnu packages python-xyz)
|
||||||
|
#:use-module (gnu packages qt)
|
||||||
#:use-module (gnu packages rdesktop)
|
#:use-module (gnu packages rdesktop)
|
||||||
#:use-module (gnu packages rsync)
|
#:use-module (gnu packages rsync)
|
||||||
#:use-module (gnu packages samba)
|
#:use-module (gnu packages samba)
|
||||||
|
@ -2219,7 +2220,7 @@ (define-public libappindicator
|
||||||
(define-public libportal
|
(define-public libportal
|
||||||
(package
|
(package
|
||||||
(name "libportal")
|
(name "libportal")
|
||||||
(version "0.4")
|
(version "0.5")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -2228,30 +2229,27 @@ (define-public libportal
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1jh6wd96y4i218zbmmqw12zir8p88nm8dlsa3yx3lsqxd5c1krky"))))
|
"0i4v0wjyiryg7jq9hp9iaplqyhwj1cqy5891s4jfldcdzvcwxwx0"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:configure-flags
|
||||||
(modify-phases %standard-phases
|
(list "-Dbackends=gtk4,qt5"
|
||||||
(add-after 'install 'move-doc
|
"-Ddocs=false"))) ; requires unpackaged gi-docgen
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(let ((out (assoc-ref outputs "out"))
|
|
||||||
(doc (assoc-ref outputs "doc"))
|
|
||||||
(html "/share/gtk-doc"))
|
|
||||||
(copy-recursively (string-append out html)
|
|
||||||
(string-append doc html))
|
|
||||||
(delete-file-recursively (string-append out html))
|
|
||||||
#t))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("pkg-config" ,pkg-config)
|
||||||
("gtk-doc" ,gtk-doc/stable)
|
|
||||||
("docbook-xsl" ,docbook-xsl)
|
("docbook-xsl" ,docbook-xsl)
|
||||||
("docbook-xml" ,docbook-xml)
|
("docbook-xml" ,docbook-xml)
|
||||||
|
("glib:bin" ,glib "bin")
|
||||||
|
("gobject-introspection" ,gobject-introspection)
|
||||||
("libxml2" ,libxml2)
|
("libxml2" ,libxml2)
|
||||||
("glib:bin" ,glib "bin")))
|
("vala" ,vala)))
|
||||||
|
(inputs
|
||||||
|
(list gtk
|
||||||
|
gtk+
|
||||||
|
qtbase-5
|
||||||
|
qtx11extras))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list glib))
|
(list glib))
|
||||||
(outputs '("out" "doc"))
|
|
||||||
(home-page "https://github.com/flatpak/libportal")
|
(home-page "https://github.com/flatpak/libportal")
|
||||||
(synopsis "Flatpak portal library")
|
(synopsis "Flatpak portal library")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue