aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/music.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-10-21 15:49:12 +0000
committerRicardo Wurmus <rekado@elephly.net>2021-10-21 15:49:12 +0000
commitdd49a72af7d8ff781be81b4b497e8ebd3a203df8 (patch)
tree43a6b1a70f253440ea1803b1a6544382ef25fa9b /gnu/packages/music.scm
parent777dfcd9e023ea78ac7b592a69df5c98c775c527 (diff)
downloadguix-dd49a72af7d8ff781be81b4b497e8ebd3a203df8.tar
guix-dd49a72af7d8ff781be81b4b497e8ebd3a203df8.tar.gz
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.
Diffstat (limited to 'gnu/packages/music.scm')
-rw-r--r--gnu/packages/music.scm8
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)