~ruther/guix-local

5d9eb70354eaa9b2a986c32dc2b70cece4f0e06f — Ricardo Wurmus 1 year, 4 months ago 9387871
gnu: aubio: Make compatible with Python 3.11.

* gnu/packages/audio.scm (aubio)[arguments]: Use G-expression; add phase
'python3.11-compatibility.

Change-Id: I6739a18db4c1642dfca9299a821292a254726695
1 files changed, 17 insertions(+), 9 deletions(-)

M gnu/packages/audio.scm
M gnu/packages/audio.scm => gnu/packages/audio.scm +17 -9
@@ 647,15 647,23 @@ Filter) modules follow the convention of 1V / Octave.")
               "1npks71ljc48w6858l9bq30kaf5nph8z0v61jkfb70xb9np850nl"))))
    (build-system waf-build-system)
    (arguments
     `(#:tests? #f                      ; no check target
       #:configure-flags
       (list
        (string-append "LDFLAGS=-Wl,-rpath=" (assoc-ref %outputs "out") "/lib")
        "--enable-fftw3f"
        "--enable-jack"
        "--enable-sndfile"
        "--enable-samplerate"
        "--enable-avcodec")))
     (list
      #:tests? #f                      ; no check target
      #:configure-flags
      #~(list
         (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib")
         "--enable-fftw3f"
         "--enable-jack"
         "--enable-sndfile"
         "--enable-samplerate"
         "--enable-avcodec")
       #:phases
       '(modify-phases %standard-phases
          (add-after 'unpack 'python3.11-compatibility
            (lambda _
              (substitute* '("waflib/Context.py"
                             "waflib/ConfigSet.py")
                (("'rU'") "'r'")))))))
    (inputs
     (list jack-1
           libsndfile