mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: libportal: Update to 0.4.
* gnu/packages/freedesktop.scm (libportal): Update to 0.4. [source]: Use the version as commit field.
This commit is contained in:
parent
75fda6a011
commit
1e02955ea4
1 changed files with 40 additions and 42 deletions
|
@ -2303,48 +2303,46 @@ fallback to generic Systray support if none of those are available.")
|
||||||
(license license:lgpl2.1+)))
|
(license license:lgpl2.1+)))
|
||||||
|
|
||||||
(define-public libportal
|
(define-public libportal
|
||||||
(let ((commit "bff3289")
|
(package
|
||||||
(revision "1"))
|
(name "libportal")
|
||||||
(package
|
(version "0.4")
|
||||||
(name "libportal")
|
(source (origin
|
||||||
(version (git-version "0.3" revision commit))
|
(method git-fetch)
|
||||||
(source (origin
|
(uri (git-reference
|
||||||
(method git-fetch)
|
(url "https://github.com/flatpak/libportal")
|
||||||
(uri (git-reference
|
(commit version)))
|
||||||
(url "https://github.com/flatpak/libportal")
|
(file-name (git-file-name name version))
|
||||||
(commit commit)))
|
(sha256
|
||||||
(file-name (git-file-name name version))
|
(base32
|
||||||
(sha256
|
"1jh6wd96y4i218zbmmqw12zir8p88nm8dlsa3yx3lsqxd5c1krky"))))
|
||||||
(base32
|
(build-system meson-build-system)
|
||||||
"104b91qircr1i9jkmm6f725awywky52aimrki303kiaadn2v8b5i"))))
|
(arguments
|
||||||
(build-system meson-build-system)
|
`(#:phases
|
||||||
(arguments
|
(modify-phases %standard-phases
|
||||||
`(#:phases
|
(add-after 'install 'move-doc
|
||||||
(modify-phases %standard-phases
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(add-after 'install 'move-doc
|
(let ((out (assoc-ref outputs "out"))
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(doc (assoc-ref outputs "doc"))
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(html "/share/gtk-doc"))
|
||||||
(doc (assoc-ref outputs "doc"))
|
(copy-recursively (string-append out html)
|
||||||
(html "/share/gtk-doc"))
|
(string-append doc html))
|
||||||
(copy-recursively (string-append out html)
|
(delete-file-recursively (string-append out html))
|
||||||
(string-append doc html))
|
#t))))))
|
||||||
(delete-file-recursively (string-append out html))
|
(native-inputs
|
||||||
#t))))))
|
`(("pkg-config" ,pkg-config)
|
||||||
(native-inputs
|
("gtk-doc" ,gtk-doc/stable)
|
||||||
`(("pkg-config" ,pkg-config)
|
("docbook-xsl" ,docbook-xsl)
|
||||||
("gtk-doc" ,gtk-doc/stable)
|
("docbook-xml" ,docbook-xml)
|
||||||
("docbook-xsl" ,docbook-xsl)
|
("libxml2" ,libxml2)
|
||||||
("docbook-xml" ,docbook-xml)
|
("glib:bin" ,glib "bin")))
|
||||||
("libxml2" ,libxml2)
|
(propagated-inputs
|
||||||
("glib:bin" ,glib "bin")))
|
`(("glib" ,glib)))
|
||||||
(propagated-inputs
|
(outputs '("out" "doc"))
|
||||||
`(("glib" ,glib)))
|
(home-page "https://github.com/flatpak/libportal")
|
||||||
(outputs '("out" "doc"))
|
(synopsis "Flatpak portal library")
|
||||||
(home-page "https://github.com/flatpak/libportal")
|
(description
|
||||||
(synopsis "Flatpak portal library")
|
"libportal provides GIO-style async APIs for most Flatpak portals.")
|
||||||
(description
|
(license license:lgpl2.1+)))
|
||||||
"libportal provides GIO-style async APIs for most Flatpak portals.")
|
|
||||||
(license license:lgpl2.1+))))
|
|
||||||
|
|
||||||
(define-public xdg-desktop-portal
|
(define-public xdg-desktop-portal
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue