~ruther/guix-local

0d956d9a4e3557378a536371cb7f496b6473cd29 — Maxime Devos 4 years ago 24a67bc
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
1 files changed, 8 insertions(+), 9 deletions(-)

M gnu/packages/image.scm
M gnu/packages/image.scm => gnu/packages/image.scm +8 -9
@@ 2714,20 2714,19 @@ GIF, TIFF, WEBP, BMP, PNG, XPM formats.")
                    (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