From fa984fa678f98ddc72cc89c6f6dc50ba4aff2487 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 7 Oct 2019 16:32:03 +0200 Subject: gnu: jack-2: Update to 1.9.13. * gnu/packages/audio.scm (jack-2): Update to 1.9.13. [arguments]: Don't build with python-2. [inputs]: Replace python2-dbus with python-dbus. --- gnu/packages/audio.scm | 42 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 22 deletions(-) (limited to 'gnu/packages/audio.scm') diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 6eb61583f7..afa02c1239 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -1532,7 +1532,7 @@ (define-public jack-1 (define-public jack-2 (package (inherit jack-1) (name "jack2") - (version "1.9.12") + (version "1.9.13") (source (origin (method url-fetch) (uri (string-append "https://github.com/jackaudio/jack2/releases/" @@ -1541,40 +1541,38 @@ (define-public jack-2 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0crf4y9a5j9miw8r5ji4l3w5w0y2frrf7xyfsfdgacnw6vwy5vyy")))) + "1d1d403jn4366mqig6g8ghr8057b3rn7gs26b5p3rkal34j20qw2")))) (build-system waf-build-system) (arguments - `(#:python ,python-2 - #:tests? #f ; no check target + `(#:tests? #f ; no check target #:configure-flags '("--dbus" "--alsa") #:phases (modify-phases %standard-phases - (add-before - 'configure 'set-linkflags - (lambda _ - ;; Add $libdir to the RUNPATH of all the binaries. - (substitute* "wscript" - ((".*CFLAGS.*-Wall.*" m) - (string-append m - " conf.env.append_unique('LINKFLAGS'," - "'-Wl,-rpath=" %output "/lib')\n"))) - #t)) + (add-before 'configure 'set-linkflags + (lambda _ + ;; Add $libdir to the RUNPATH of all the binaries. + (substitute* "wscript" + ((".*CFLAGS.*-Wall.*" m) + (string-append m + " conf.env.append_unique('LINKFLAGS'," + "'-Wl,-rpath=" %output "/lib')\n"))) + #t)) (add-after 'install 'wrap-python-scripts - (lambda* (#:key inputs outputs #:allow-other-keys) - ;; Make sure 'jack_control' runs with the correct PYTHONPATH. - (let* ((out (assoc-ref outputs "out")) - (path (getenv "PYTHONPATH"))) - (wrap-program (string-append out "/bin/jack_control") - `("PYTHONPATH" ":" prefix (,path)))) - #t))))) + (lambda* (#:key inputs outputs #:allow-other-keys) + ;; Make sure 'jack_control' runs with the correct PYTHONPATH. + (let* ((out (assoc-ref outputs "out")) + (path (getenv "PYTHONPATH"))) + (wrap-program (string-append out "/bin/jack_control") + `("PYTHONPATH" ":" prefix (,path)))) + #t))))) (inputs `(("alsa-lib" ,alsa-lib) ("dbus" ,dbus) ("expat" ,expat) ("libsamplerate" ,libsamplerate) ("opus" ,opus) - ("python2-dbus" ,python2-dbus) + ("python-dbus" ,python-dbus) ("readline" ,readline))) (native-inputs `(("pkg-config" ,pkg-config))) -- cgit v1.2.3