mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-07 11:54:33 -05:00
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:
parent
777dfcd9e0
commit
dd49a72af7
1 changed files with 7 additions and 1 deletions
|
@ -3455,7 +3455,13 @@ (define-public gxtuner
|
||||||
"/include/"))
|
"/include/"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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
|
(inputs
|
||||||
`(("gtk+" ,gtk+)
|
`(("gtk+" ,gtk+)
|
||||||
("jack" ,jack-1)
|
("jack" ,jack-1)
|
||||||
|
|
Loading…
Reference in a new issue