gnu: libgovirt: Update to 0.3.9.

* gnu/packages/gnome.scm (libgovirt): Update to 0.3.9.
[build-system]: Use meson-build-system.
[glib-or-gtk?]: New argument.
[inputs]: Replace rest with rest-next.  Move glib-networking to...
[native-inputs]: ... here.  Remove gtk+:bin.
This commit is contained in:
Maxim Cournoyer 2022-09-10 01:55:09 -04:00
parent eb93a78df8
commit e8de035b95
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -9692,31 +9692,37 @@ (define-public gnome-default-applications
(define-public libgovirt
(package
(name "libgovirt")
(version "0.3.8")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
(version-major+minor version) "/"
name "-" version ".tar.xz"))
(sha256
(base32
"1y0x1wyakj3ya33hgj0w1jkbcn50q21gmn2zyalxysqp55i1ij8x"))))
(build-system glib-or-gtk-build-system)
(native-inputs
(list gettext-minimal
`(,glib "bin")
gobject-introspection
gsettings-desktop-schemas
`(,gtk+ "bin")
pkg-config))
(inputs
(list glib-networking ; GIO plugin--for the tests
rest))
(synopsis "GoVirt Library")
(description "GoVirt is a GObject wrapper for the oVirt REST API.")
(home-page "https://gitlab.gnome.org/GNOME/libgovirt")
(license license:gpl2+)))
(name "libgovirt")
(version "0.3.9")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
(version-major+minor version) "/"
name "-" version ".tar.xz"))
(sha256
(base32
"0z118di7cg654f5zb8xn5w60ghgqngsc1p7izr1pw01dkxbw6bxi"))))
(build-system meson-build-system)
(arguments
(list #:glib-or-gtk? #t
#:phases #~(modify-phases %standard-phases
(add-after 'unpack 'set-home
(lambda _
;; The tests require a writable HOME.
(setenv "HOME" "/tmp"))))))
(native-inputs
(list gettext-minimal
`(,glib "bin")
glib-networking ; GIO plugin--for the tests
gobject-introspection
gsettings-desktop-schemas
pkg-config))
(inputs
(list rest-next))
(synopsis "GoVirt Library")
(description "GoVirt is a GObject wrapper for the oVirt REST API.")
(home-page "https://gitlab.gnome.org/GNOME/libgovirt")
(license license:gpl2+)))
(define-public gnome-weather
(package