gnu: dconf-editor: Fix build failure.

Fixes <https://bugs.gnu.org/37503>.
Reported by Jack Hill <jackhill@jackhill.us>.

* gnu/packages/gnome.scm (dconf-editor)[arguments]: New field.
This commit is contained in:
Ludovic Courtès 2019-10-02 12:03:03 +02:00
parent ece22ac8cc
commit 86f2124b0f
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -6548,6 +6548,17 @@ (define-public dconf-editor
(base32
"06f736spn20s7qjsz00xw44v8r8bjhyrz1v3bix6v416jc5jp6ia"))))
(build-system meson-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(add-before 'configure 'set-glib-minimum-version
(lambda _
;; Change the minimum required GLib version so that
;; 'valac' is passed '--target-glib 2.60.0'; failing to
;; do that, it complains that "55" is not an even
;; number. See <https://bugs.gnu.org/37503>.
(substitute* "editor/meson.build"
(("2\\.55\\.1") "2.60.0"))
#t)))))
(native-inputs
`(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache