gnu: sushi: Remove custom typelib wrap.

* gnu/packages/gnome.scm (sushi) [arguments]: Modify.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
Raghav Gururajan 2020-08-17 05:09:32 -04:00 committed by Danny Milosavljevic
parent 41e76350fa
commit d2c0c3c0d7
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -1708,18 +1708,7 @@ (define-public sushi
(base32 "1zcr8wi5bgvvpb5ha1v96aiaz4vqqrsn6cvvalwzah6am85k78m8"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
#:phases
(modify-phases %standard-phases
(add-after 'glib-or-gtk-wrap 'wrap-typelib
(lambda* (#:key outputs #:allow-other-keys)
(let* ((prog (string-append (assoc-ref outputs "out")
"/bin/sushi")))
;; Put existing typelibs before sushi's deps, so as to correctly
;; infer gdk-pixbuf
(wrap-program prog
`("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
#t))))))
`(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
(native-inputs
`(("gettext" ,gettext-minimal)
("glib:bin" ,glib "bin")