diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-10-21 15:49:12 +0000 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-10-21 15:49:12 +0000 |
commit | dd49a72af7d8ff781be81b4b497e8ebd3a203df8 (patch) | |
tree | 43a6b1a70f253440ea1803b1a6544382ef25fa9b | |
parent | 777dfcd9e023ea78ac7b592a69df5c98c775c527 (diff) |
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.
-rw-r--r-- | gnu/packages/music.scm | 8 |
1 files changed, 7 insertions, 1 deletions
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 @@ and hold, etc.") "/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) |