gnu: libpeas: Update to 1.30.0.

* gnu/packages/gnome.scm (libpeas): Update to 1.30.0.
[arguments]: Set XDG_CACHE_HOME and XDG_CONFIG_HOME variables to fix the tests.
This commit is contained in:
Mathieu Othacehe 2021-08-22 12:21:38 +02:00
parent 2a15e92766
commit c130c94284
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -3086,7 +3086,7 @@ (define-public libnotify
(define-public libpeas
(package
(name "libpeas")
(version "1.28.0")
(version "1.30.0")
(source
(origin
(method url-fetch)
@ -3095,7 +3095,7 @@ (define-public libpeas
name "-" version ".tar.xz"))
(sha256
(base32
"05cb7drn6arc4gi02wgsvzibigi2riz5gnfnmlb0zmbfnj9ikna2"))))
"18xrk1c1ixlhkmykcfiafrl2am470ws687xqvjlq40zwkcp5dx8b"))))
(build-system meson-build-system)
(arguments
'(#:phases
@ -3105,6 +3105,8 @@ (define-public libpeas
(let ((xorg-server (assoc-ref inputs "xorg-server"))
(disp ":1"))
(setenv "DISPLAY" disp)
(setenv "XDG_CACHE_HOME" "/tmp/xdg-cache")
(setenv "XDG_CONFIG_HOME" "/tmp")
;; Tests require a running X server.
(system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
#t))))))