gnu: mypaint: Add 'bash' input for 'wrap-program'.

It is required for cross-compilation.

* gnu/packages/image.scm
(mypaint): Delete trailing #t.
[inputs]: Add 'bash-minimal'.
[native-inputs]: Remove labels.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ifb3b6bd129f9ca2d5724288622d6162db2e84746
This commit is contained in:
Maxime Devos 2021-07-02 12:13:12 +02:00 committed by Ludovic Courtès
parent 24a67bcc17
commit 0d956d9a4e
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -2714,20 +2714,19 @@ (define-public mypaint
(gtk+ (assoc-ref inputs "gtk+"))) (gtk+ (assoc-ref inputs "gtk+")))
(wrap-program (string-append out "/bin/mypaint") (wrap-program (string-append out "/bin/mypaint")
`("GI_TYPELIB_PATH" ":" prefix `("GI_TYPELIB_PATH" ":" prefix
(,(getenv "GI_TYPELIB_PATH")))) (,(getenv "GI_TYPELIB_PATH")))))))
#t)))
(add-before 'check 'pre-check (add-before 'check 'pre-check
(lambda _ (lambda _
;; Tests need writing access ;; Tests need writing access
(setenv "HOME" "/tmp") (setenv "HOME" "/tmp"))))))
#t)))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) (list pkg-config
("gobject-introspection" ,gobject-introspection) gobject-introspection
("swig" ,swig) swig
("gettext" ,gettext-minimal))) gettext-minimal))
(inputs (inputs
(list gtk+ (list bash-minimal
gtk+
(librsvg-for-system) (librsvg-for-system)
hicolor-icon-theme hicolor-icon-theme
libmypaint libmypaint