mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: gnome-weather: Remove custom typelib wrap and add python phases.
* gnu/packages/gnome.scm (gnome-weather) [arguments]: Modify. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
parent
ecbd749e47
commit
f49fbd6af3
1 changed files with 2 additions and 8 deletions
|
@ -10465,6 +10465,7 @@ (define-public gnome-weather
|
|||
(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
|
||||
|
@ -10472,14 +10473,7 @@ (define-public gnome-weather
|
|||
(substitute* "meson_post_install.py"
|
||||
(("gtk-update-icon-cache")
|
||||
"true"))
|
||||
#t))
|
||||
(add-after 'install 'wrap
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(gi-typelib-path (getenv "GI_TYPELIB_PATH")))
|
||||
(wrap-program (string-append out "/bin/gnome-weather")
|
||||
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
|
||||
#t))))))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("desktop-file-utils" ,desktop-file-utils)
|
||||
("gettext" ,gettext-minimal)
|
||||
|
|
Loading…
Reference in a new issue