aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/music.scm
diff options
context:
space:
mode:
authorhapster <o.rojon@posteo.net>2024-05-26 08:42:10 +0200
committerAndreas Enge <andreas@enge.fr>2024-06-30 12:06:11 +0200
commitc7b009285ec2ab7a27747de40f28e6ecfba82922 (patch)
tree998dfcfe338194b1a1adfc2097c801872c1f510e /gnu/packages/music.scm
parent103e9db1573275118d435a15f5fbe752734cc248 (diff)
downloadguix-c7b009285ec2ab7a27747de40f28e6ecfba82922.tar.gz
guix-c7b009285ec2ab7a27747de40f28e6ecfba82922.zip
gnu: mixxx: Update to 2.4.1.
* gnu/packages/music (mixxx): Update to 2.4.1. * gnu/packages/patches/mixxx-link-qtscriptbytearray-qtscript.patch, gnu/packages/patches/mixxx-system-googletest-benchmark.patch: Remove files. * gnu/local.mk (dist_patch_DATA): Unregister patches. Change-Id: I2ee0f2848dba7a917598a97a295d838bc0656716 Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/music.scm')
-rw-r--r--gnu/packages/music.scm144
1 files changed, 70 insertions, 74 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 540908fc8e..cb29fa5816 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -56,6 +56,7 @@
;;; Copyright © 2023 Yovan Naumovski <yovan@gorski.stream>
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2024 Parnikkapore <poomklao@yahoo.com>
+;;; Copyright © 2024 hapster <o.rojon@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2429,7 +2430,7 @@ a JACK session.")
(define-public mixxx
(package
(name "mixxx")
- (version "2.3.6")
+ (version "2.4.1")
(source
(origin
(method git-fetch)
@@ -2437,90 +2438,85 @@ a JACK session.")
(url "https://github.com/mixxxdj/mixxx")
(commit version)))
(file-name (git-file-name name version))
- (patches
- (search-patches "mixxx-link-qtscriptbytearray-qtscript.patch"
- "mixxx-system-googletest-benchmark.patch"))
(sha256
- (base32 "1v1sza75rf2q1m0bdc0j2k53qd34m12d1573jmac3g7vvyqh5n2m"))
+ (base32 "0cfdgrxfhck6cg4j9mb2rdp06n57kca1403qw92c3pmk1y05grq4"))
(modules '((guix build utils)))
(snippet
;; Delete libraries that we already have or don't need.
;; TODO: try to unbundle more (see lib/).
`(begin
- (let ((third-parties '("apple" "benchmark" "googletest" "hidapi"
- "libebur128")))
+ (let ((third-parties '("apple" "hidapi")))
(with-directory-excursion "lib"
(map (lambda (third-party)
- (delete-file-recursively third-party))
- third-parties)))
+ (delete-file-recursively third-party)) third-parties)))
#t))))
(build-system qt-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- ;; Tests need a running X server.
- (add-before 'check 'prepare-x-for-test
- (lambda _
- (system "Xvfb &")
- (setenv "DISPLAY" ":0")))
- (add-after 'install 'wrap-executable
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (faad2 (assoc-ref inputs "faad2")))
- (wrap-program (string-append out "/bin/mixxx")
- `("LD_LIBRARY_PATH" ":" prefix
- ,(list (string-append faad2 "/lib"))))))))))
- (native-inputs
- (list benchmark
- googletest
- python-wrapper
- qttools-5
- xorg-server-for-tests))
- (inputs
- (list bash-minimal
- chromaprint
- faad2
- ffmpeg
- fftw
- flac
- glu
- hidapi
- jack-1
- lame
- libdjinterop
- libebur128
- libid3tag
- libkeyfinder
- libmad
- libmp4v2
- libmodplug
- libsndfile
- libshout
- ;; XXX: Mixxx complains the libshout-idjc package suffers from bug
- ;; lp1833225 and refuses to use it. Use the bundle for now.
- ;; libshout-idjc
- libusb
- libvorbis
- lilv
- mp3guessenc
- openssl
- opusfile
- portaudio
- portmidi
- protobuf
- qtbase-5
- qtdeclarative-5
- qtkeychain
- qtscript
- qtsvg-5
- qtx11extras
- rubberband
- soundtouch
- sqlite
- taglib
- upower
- vamp
- wavpack))
+ `(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'disable-bugged-test
+ ;; This test regularly fails and aborts the build process, hence it
+ ;; was disabled (no impact on functionality). It appears this is a
+ ;; problem for some upstream as well, as indicated by:
+ ;; https://github.com/mixxxdj/mixxx/issues/12887 (featuring a
+ ;; reference to another issue related to the same problem).
+ (lambda _
+ (substitute* "src/test/soundproxy_test.cpp"
+ (("TEST_F\\(SoundSourceProxyTest, firstSoundTest\\)")
+ "TEST_F(SoundSourceProxyTest, DISABLED_firstSoundTest)"))))
+ (add-after 'install 'wrap-executable
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (faad2 (assoc-ref inputs "faad2")))
+ (wrap-program (string-append out "/bin/mixxx")
+ `("LD_LIBRARY_PATH" ":" prefix
+ ,(list (string-append faad2 "/lib"))))))))))
+ (native-inputs (list benchmark googletest python-wrapper qttools-5
+ xorg-server-for-tests))
+ (inputs (list bash-minimal
+ chromaprint
+ faad2
+ ffmpeg
+ fftw
+ flac
+ glu
+ hidapi
+ jack-1
+ lame
+ libdjinterop
+ libebur128
+ libid3tag
+ libkeyfinder
+ libmad
+ libmp4v2
+ libmodplug
+ libsndfile
+ libshout
+ ;; XXX: Mixxx complains the libshout-idjc package suffers from bug
+ ;; lp1833225 and refuses to use it. Use the bundle for now.
+ libshout-idjc
+ libusb
+ libvorbis
+ lilv
+ mp3guessenc
+ openssl
+ opusfile
+ portaudio
+ portmidi
+ protobuf
+ qtbase-5
+ qtdeclarative-5
+ qtkeychain
+ qtscript
+ qtsvg-5
+ qtx11extras
+ rubberband
+ soundtouch
+ sqlite
+ taglib
+ upower
+ vamp
+ wavpack
+ c++-gsl))
(home-page "https://mixxx.org/")
(synopsis "DJ software to perform live mixes")
(description "Mixxx is a DJ software. It integrates the tools DJs need to