gnu: libgweather: Update to 3.28.2.

* gnu/packages/gnome.scm (libgweather): Update to 3.28.2.
[build-system]: Use meson-build-system.
[arguments]: Disable tests; adjust configure flags; remove custom build
phases.
[inputs]: Move libsoup and geocode-glib from here...
[propagated-inputs]: ...to here.
This commit is contained in:
Ricardo Wurmus 2018-08-06 11:24:15 +02:00
parent a7dd0c02cc
commit cf6cbc34f5
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 10 additions and 26 deletions

View File

@ -3123,7 +3123,7 @@ service via the system message bus.")
(define-public libgweather (define-public libgweather
(package (package
(name "libgweather") (name "libgweather")
(version "3.26.1") (version "3.28.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/" (uri (string-append "mirror://gnome/sources/" name "/"
@ -3131,30 +3131,14 @@ service via the system message bus.")
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1f64ix7acj0j0qvxwxaazii2bhsjgh5ang1kw14fkg25ndq899zw")))) "0xfy5ghwvnz2g9074dy6512m4z2pv66pmja14vhi9imgacbfh708"))))
(build-system gnu-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:configure-flags `(#:tests? #f ; one of two tests requires network access
`(,(string-append "--with-zoneinfo-dir=" #:configure-flags
`(,(string-append "-Dzoneinfo_dir="
(assoc-ref %build-inputs "tzdata") (assoc-ref %build-inputs "tzdata")
"/share/zoneinfo")) "/share/zoneinfo"))))
#:phases
(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "data/check-timezones.sh"
(("/usr/share/zoneinfo/zone.tab")
(string-append (assoc-ref inputs "tzdata")
"/share/zoneinfo/zone.tab")))
#t))
(replace 'install
(lambda _
(zero?
(system* "make"
;; Install vala bindings into $out.
(string-append "vapidir=" %output
"/share/vala/vapi")
"install")))))))
(native-inputs (native-inputs
`(("glib:bin" ,glib "bin") ; for glib-mkenums `(("glib:bin" ,glib "bin") ; for glib-mkenums
("gobject-introspection" ,gobject-introspection) ("gobject-introspection" ,gobject-introspection)
@ -3167,10 +3151,10 @@ service via the system message bus.")
`(("gtk+" ,gtk+) `(("gtk+" ,gtk+)
("gdk-pixbuf" ,gdk-pixbuf) ("gdk-pixbuf" ,gdk-pixbuf)
("libxml2" ,libxml2) ("libxml2" ,libxml2)
("libsoup" ,libsoup))) ("libsoup" ,libsoup)
(inputs
`(("tzdata" ,tzdata)
("geocode-glib" ,geocode-glib))) ("geocode-glib" ,geocode-glib)))
(inputs
`(("tzdata" ,tzdata)))
(home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather") (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
(synopsis "Location, time zone, and weather library for GNOME") (synopsis "Location, time zone, and weather library for GNOME")
(description (description