gnu: gxtuner: Add phase to target specific glib API version.

* gnu/packages/music.scm (gxtuner)[arguments]: Fix build by adding build phase
'target-specific-glib-API-version.
This commit is contained in:
Ricardo Wurmus 2021-10-21 15:49:12 +00:00
parent 777dfcd9e0
commit dd49a72af7
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -3455,7 +3455,13 @@ (define-public gxtuner
"/include/"))
#:phases
(modify-phases %standard-phases
(delete 'configure))))
(delete 'configure)
(add-before 'build 'target-specific-glib-API-version
(lambda _
;; See https://github.com/brummer10/gxtuner/pull/21
(setenv "CFLAGS"
"-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_54\
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_54"))))))
(inputs
`(("gtk+" ,gtk+)
("jack" ,jack-1)