gnu: blanket: Update to 0.8.0, fix build.

* gnu/packages/task-management.scm (blanket): Update to 0.8.0.
[source]: Fix indentation.
[arguments]: Use Gexp as well as search-input-file in phases. Remove
'#:tests? #f'.
<#:phases>: Move 'wrap-libs' after 'glib-or-gtk-wrap'.
[native-inputs]: Add blueprint-compiler.
[inputs]: Replace gtk+ by gtk. Add libadwaita.

Change-Id: I1f09ce2d93f4121b0bcfe7da7d2c13460809bfde
This commit is contained in:
Vinicius Monego 2025-08-09 19:14:25 -03:00
parent bb5eeffe6f
commit 82e0408b0e
No known key found for this signature in database
GPG key ID: 637B0B138065B68A

View file

@ -414,34 +414,34 @@ a task.")
(define-public blanket
(package
(name "blanket")
(version "0.5.0")
(version "0.8.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/rafaelmardojai/blanket/")
(commit version)))
(url "https://github.com/rafaelmardojai/blanket/")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "00i821zqfbigxmc709322r16z75qsw4rg23yhv35gza9sl65bzkg"))))
(base32 "1inqb8z2vbmfybcrqbla76sny7cg2qz932agynqj4pn9a3zwnw9f"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
#:tests? #f ;the "Validate appstream file" test fails
#:phases
(modify-phases %standard-phases
(add-after 'wrap 'wrap-libs
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(gi-typelib-path (getenv "GI_TYPELIB_PATH"))
(list
#:glib-or-gtk? #t
#:phases
#~(modify-phases %standard-phases
(add-after 'glib-or-gtk-wrap 'wrap-libs
(lambda* (#:key outputs #:allow-other-keys)
(let ((gi-typelib-path (getenv "GI_TYPELIB_PATH"))
(gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
(python-path (getenv "GUIX_PYTHONPATH")))
(wrap-program (string-append out "/bin/blanket")
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
`("GUIX_PYTHONPATH" ":" prefix (,python-path)))))))))
(wrap-program (search-input-file outputs "/bin/blanket")
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
`("GUIX_PYTHONPATH" ":" prefix (,python-path)))))))))
(native-inputs
(list desktop-file-utils
(list blueprint-compiler
desktop-file-utils
gettext-minimal
`(,glib "bin")
gobject-introspection
@ -453,8 +453,9 @@ a task.")
gsettings-desktop-schemas
gst-plugins-bad
gst-plugins-good ;for ScaleTempo plugin
gtk+
gtk
libhandy
libadwaita
python
python-gst
python-pygobject))