mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: gnome-characters: Remove custom typelib wrap and add python phases.
* gnu/packages/gnome.scm (gnome-characters) [arguments]: Modify. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
parent
215e68ec60
commit
53a9c65335
1 changed files with 1 additions and 9 deletions
|
@ -2308,6 +2308,7 @@ (define-public gnome-characters
|
|||
(build-system meson-build-system)
|
||||
(arguments
|
||||
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
|
||||
#:python? #t ; To wrap binaries
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'skip-gtk-update-icon-cache
|
||||
|
@ -2315,15 +2316,6 @@ (define-public gnome-characters
|
|||
(substitute* "meson_post_install.py"
|
||||
(("gtk-update-icon-cache")
|
||||
"true"))
|
||||
#t))
|
||||
(add-after 'install 'wrap
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; GNOME Characters needs Typelib files from GTK and
|
||||
;; gnome-desktop.
|
||||
(wrap-program
|
||||
(string-append (assoc-ref outputs "out")
|
||||
"/bin/gnome-characters")
|
||||
`("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH"))))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("gettext" ,gettext-minimal)
|
||||
|
|
Loading…
Reference in a new issue