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+")))
(wrap-program (string-append out "/bin/mypaint")
`("GI_TYPELIB_PATH" ":" prefix
(,(getenv "GI_TYPELIB_PATH"))))
#t)))
(,(getenv "GI_TYPELIB_PATH")))))))
(add-before 'check 'pre-check
(lambda _
;; Tests need writing access
(setenv "HOME" "/tmp")
#t)))))
(setenv "HOME" "/tmp"))))))
(native-inputs
`(("pkg-config" ,pkg-config)
("gobject-introspection" ,gobject-introspection)
("swig" ,swig)
("gettext" ,gettext-minimal)))
(list pkg-config
gobject-introspection
swig
gettext-minimal))
(inputs
(list gtk+
(list bash-minimal
gtk+
(librsvg-for-system)
hicolor-icon-theme
libmypaint