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