gnu: libgdata: Update to 0.18.1.

* gnu/packages/gnome.scm (libgdata): Update to 0.18.1.
[build-system]: Switch to meson-build-system.
[arguments]: Remove the 'disable-failing-tests phase.
[native-inputs]: Add gobject-introspection.
[inputs]: Add vala.
This commit is contained in:
Mathieu Othacehe 2021-09-26 07:27:31 +00:00
parent 2e261e7ab8
commit a1ab329f33
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -1969,12 +1969,10 @@ relationship modeling, and network diagrams. The program supports various file
formats like PNG, SVG, PDF and EPS.") formats like PNG, SVG, PDF and EPS.")
(license license:gpl2+)))) (license license:gpl2+))))
;; This is the unstable release, but it is required for the current stable
;; release of gvfs (1.38.1).
(define-public libgdata (define-public libgdata
(package (package
(name "libgdata") (name "libgdata")
(version "0.17.9") (version "0.18.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/" (uri (string-append "mirror://gnome/sources/" name "/"
@ -1982,29 +1980,25 @@ formats like PNG, SVG, PDF and EPS.")
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45")))) "1iq4d1qy0vkmy29xvr13dgz4pxvn5v3yi2swryld0ajinvp951fx"))))
(build-system gnu-build-system) (build-system meson-build-system)
(arguments (arguments
'(#:phases '(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'check 'set-home-for-tests (add-before 'check 'set-home-for-tests
(lambda _ (lambda _
(setenv "HOME" "/tmp"))) (setenv "HOME" "/tmp"))))))
(add-before 'check 'disable-failing-tests
(lambda _
;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
;; They have been removed in libgdata 0.17.6, so just do the same.
(substitute* "gdata/tests/Makefile"
(("picasaweb\\$\\(EXEEXT\\) ") "")))))))
(native-inputs (native-inputs
`(("glib:bin" ,glib "bin") `(("glib:bin" ,glib "bin")
("gobject-introspection" ,gobject-introspection)
("gsettings-desktop-schemas" ,gsettings-desktop-schemas) ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("intltool" ,intltool) ("intltool" ,intltool)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("uhttpmock" ,uhttpmock))) ("uhttpmock" ,uhttpmock)))
(inputs (inputs
`(("cyrus-sasl" ,cyrus-sasl) `(("cyrus-sasl" ,cyrus-sasl)
("glib-networking" ,glib-networking))) ("glib-networking" ,glib-networking)
("vala" ,vala)))
(propagated-inputs (propagated-inputs
`(("gcr" ,gcr) `(("gcr" ,gcr)
("glib" ,glib) ("glib" ,glib)