guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 03/10: gnu: gxtuner: Add phase to target specific glib API version.
Date: Thu, 21 Oct 2021 17:57:29 -0400 (EDT)

rekado pushed a commit to branch core-updates-frozen
in repository guix.

commit dd49a72af7d8ff781be81b4b497e8ebd3a203df8
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Oct 21 15:49:12 2021 +0000

    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.
---
 gnu/packages/music.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 4146044..30578e7 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]