Subject: [bug#74398] [PATCH 2/4] gnu: drumstick: Update to 2.9.1.

From: Sughosha <[email-masked]>
Date: Sun, 17 Nov 2024 21:05:14 +0530

* gnu/packages/music.scm (drumstick): Update to 2.9.1.
[build-system]: Switch to qt-build-system.
[arguments]<#:qtbase>: Use qtbase.
[native-inputs]: Add qttools.
[inputs]: Remove qtbase-5 and qttools-5. Replace qtsvg-5 with qtsvg. Add
fluid-synth, pipewire, pulseaudio, qt5compat, qtwayland and sonivox.

Change-Id: I2db8ce32691dc8ad60c4437667d66681398abec3
---
 gnu/packages/music.scm | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index e00dce3561..cf5dfa8493 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -3337,25 +3337,34 @@ (define-public frescobaldi
 (define-public drumstick
   (package
     (name "drumstick")
-    (version "2.3.1")
+    (version "2.9.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://sourceforge/drumstick/"
                                   version "/drumstick-" version ".tar.bz2"))
               (sha256
                (base32
-                "1rs248pkgn6d29nkvw9ab6dvi1vsz220jdmz1ddzr29cpyc0adfh"))))
-    (build-system cmake-build-system)
+                "1n1kkxkl1y4bwbm8hmqbc58l643qpyh8s7r4rw6jzi63jkvad42k"))))
+    (build-system qt-build-system)
     (arguments
-     `(#:tests? #f))                      ; no test target
+     (list #:qtbase qtbase
+           #:tests? #f)) ;no test target
     (inputs
-     (list qtbase-5 qtsvg-5 qttools-5 alsa-lib))
+     (list alsa-lib
+           fluidsynth
+           pipewire
+           pulseaudio
+           qt5compat
+           qtsvg
+           qtwayland
+           sonivox))
     (native-inputs
      (list pkg-config
            libxslt ; for xsltproc
            docbook-xsl
            doxygen
-           graphviz)) ; for dot
+           graphviz ; for dot
+           qttools))
     (home-page "https://drumstick.sourceforge.io/")
     (synopsis "C++ MIDI library")
     (description
-- 
2.46.0