diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 4146044ec1..30578e7752 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -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)