gnu: komikku: Update to 0.41.0.

* gnu/packages/gnome.scm (komikku): Update to 0.41.0.
[phases]: Delete trailing #t.
{python-and-gi-wrap}: Use search-input-file.
[inputs]: Add bash-minimal.
This commit is contained in:
Maxim Cournoyer 2022-09-10 01:28:26 -04:00
parent 87c5dd8ea5
commit eb93a78df8
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -12770,18 +12770,15 @@ (define-public komikku
(add-after 'unpack 'skip-gtk-update-icon-cache
(lambda _
(substitute* "meson_post_install.py"
(("gtk-update-icon-cache") (which "true")))
#t))
(("gtk-update-icon-cache") (which "true")))))
(add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
(lambda* (#:key outputs #:allow-other-keys)
(let ((prog (string-append (assoc-ref outputs "out")
"/bin/komikku")))
(wrap-program prog
`("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
#t))))))
(wrap-program (search-input-file outputs "bin/komikku")
`("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
(inputs
(list gtk+
(list bash-minimal
gtk+
libhandy
libnotify
libsecret