gnu: mixxx: Update to 2.3.2.

* gnu/packages/music.scm (mixxx): Update to 2.3.2.
[arguments]<#:phases>: Don't override the 'check phase as the previously
failing test passes in this version.
[native-inputs]: Use the new style.
[inputs]: Likewise.
This commit is contained in:
Vinicius Monego 2022-02-02 16:51:35 -03:00
parent 102a02896d
commit 5fe10d1b97
No known key found for this signature in database
GPG key ID: 637B0B138065B68A

View file

@ -34,7 +34,7 @@
;;; Copyright © 2019 Riku Viitanen <riku.viitanen0@gmail.com> ;;; Copyright © 2019 Riku Viitanen <riku.viitanen0@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com> ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2021 Liliana Marie Prikler <liliana.prikler@gmail.com> ;;; Copyright © 2021 Liliana Marie Prikler <liliana.prikler@gmail.com>
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2021, 2022 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot> ;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com> ;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
;;; Copyright © 2021 Frank Pursel <frank.pursel@gmail.com> ;;; Copyright © 2021 Frank Pursel <frank.pursel@gmail.com>
@ -2176,7 +2176,7 @@ (define-public jalv-select
(define-public mixxx (define-public mixxx
(package (package
(name "mixxx") (name "mixxx")
(version "2.3.1") (version "2.3.2")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -2188,7 +2188,7 @@ (define-public mixxx
(search-patches "mixxx-link-qtscriptbytearray-qtscript.patch" (search-patches "mixxx-link-qtscriptbytearray-qtscript.patch"
"mixxx-system-googletest-benchmark.patch")) "mixxx-system-googletest-benchmark.patch"))
(sha256 (sha256
(base32 "04781s4ajdlwgvf12v2mvh6ia5grhc5pn9d75b468qci3ilnmkg8")) (base32 "1h26vpf60rk56fsw1nvmxihg7ammlj8q4zgim49q4s4ww7j8wwqj"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
;; Delete libraries that we already have or don't need. ;; Delete libraries that we already have or don't need.
@ -2210,11 +2210,6 @@ (define-public mixxx
(lambda _ (lambda _
(system "Xvfb &") (system "Xvfb &")
(setenv "DISPLAY" ":0"))) (setenv "DISPLAY" ":0")))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
;; This test fails. I don't know why.
(invoke "ctest" "-E" "TagLibTest.WriteID3v2Tag"))))
(add-after 'install 'wrap-executable (add-after 'install 'wrap-executable
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
@ -2223,56 +2218,56 @@ (define-public mixxx
`("LD_LIBRARY_PATH" ":" prefix `("LD_LIBRARY_PATH" ":" prefix
,(list (string-append faad2 "/lib")))))))))) ,(list (string-append faad2 "/lib"))))))))))
(native-inputs (native-inputs
`(("benchmark" ,benchmark) (list benchmark
("googletest" ,googletest) googletest
("python" ,python-wrapper) python-wrapper
("qttools" ,qttools) qttools
("xorg-server" ,xorg-server-for-tests))) xorg-server-for-tests))
(inputs (inputs
`(("bash" ,bash-minimal) (list bash-minimal
("chromaprint" ,chromaprint) chromaprint
("faad2" ,faad2) faad2
("ffmpeg" ,ffmpeg) ffmpeg
("fftw" ,fftw) fftw
("flac" ,flac) flac
("glu" ,glu) glu
("hidapi" ,hidapi) hidapi
("jack" ,jack-1) jack-1
("lame" ,lame) lame
("libdjinterop" ,libdjinterop) libdjinterop
("libebur128" ,libebur128) libebur128
("libid3tag" ,libid3tag) libid3tag
("libkeyfinder" ,libkeyfinder) libkeyfinder
("libmad" ,libmad) libmad
("libmp4v2" ,libmp4v2) libmp4v2
("libmodplug" ,libmodplug) libmodplug
("libsndfile" ,libsndfile) libsndfile
("libshout" ,libshout) libshout
;; XXX: Mixxx complains the libshout-idjc package suffers from bug ;; XXX: Mixxx complains the libshout-idjc package suffers from bug
;; lp1833225 and refuses to use it. Use the bundle for now. ;; lp1833225 and refuses to use it. Use the bundle for now.
;; ("libshout-idjc" ,libshout-idjc) ;; libshout-idjc
("libusb" ,libusb) libusb
("libvorbis" ,libvorbis) libvorbis
("lilv" ,lilv) lilv
("mp3guessenc" ,mp3guessenc) mp3guessenc
("openssl" ,openssl) openssl
("opusfile" ,opusfile) opusfile
("portaudio" ,portaudio) portaudio
("portmidi" ,portmidi) portmidi
("protobuf" ,protobuf) protobuf
("qtbase" ,qtbase-5) qtbase-5
("qtdeclarative" ,qtdeclarative) qtdeclarative
("qtkeychain" ,qtkeychain) qtkeychain
("qtscript" ,qtscript) qtscript
("qtsvg" ,qtsvg) qtsvg
("qtx11extras" ,qtx11extras) qtx11extras
("rubberband" ,rubberband) rubberband
("soundtouch" ,soundtouch) soundtouch
("sqlite" ,sqlite) sqlite
("taglib" ,taglib) taglib
("upower" ,upower) upower
("vamp" ,vamp) vamp
("wavpack" ,wavpack))) wavpack))
(home-page "https://mixxx.org/") (home-page "https://mixxx.org/")
(synopsis "DJ software to perform live mixes") (synopsis "DJ software to perform live mixes")
(description "Mixxx is a DJ software. It integrates the tools DJs need to (description "Mixxx is a DJ software. It integrates the tools DJs need to