gnu: vmpk: Update to 0.9.0.

* gnu/packages/music.scm (vmpk): Update to 0.9.0.
[build-system]: Switch to qt-build-system.
[arguments]<#:qtbase>: Use qtbase.
<#:phases>: Add wrap-drumstick.
[inputs]: Remove qtbase-5. Replace qtsvg-5 with qtsvg. Add qtwayland.
[native-inputs]: Replace qttools-5 with qttools.

Change-Id: I3aced579ece316348c900409171e63c3c2cfa192
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
This commit is contained in:
Sughosha 2024-11-17 21:05:16 +05:30 committed by Zheng Junjie
parent 58c9e87426
commit 53855ec1f9
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -3377,22 +3377,31 @@ (define-public drumstick
(define-public vmpk
(package
(name "vmpk")
(version "0.8.4")
(version "0.9.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/vmpk/vmpk/"
version "/vmpk-" version ".tar.bz2"))
(sha256
(base32
"0kh8pns9pla9c47y2nwckjpiihczg6rpg96aignsdsd7vkql69s9"))))
(build-system cmake-build-system)
"1ndwmshw3skfcxb3f606hv4y80hfisfp5bdc81a0f0qrpx6f2zn4"))))
(build-system qt-build-system)
(arguments
`(#:tests? #f)) ; no test target
(list #:qtbase qtbase
#:tests? #f ; no test target
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'wrap-drumstick
(lambda* (#:key inputs #:allow-other-keys)
(wrap-program (string-append #$output "/bin/vmpk")
`("DRUMSTICKRT" =
(,(search-input-directory inputs
"/lib/drumstick2")))))))))
(inputs
(list drumstick qtbase-5 qtsvg-5 qtx11extras))
(list drumstick qt5compat qtsvg qtwayland))
(native-inputs
(list libxslt ;for xsltproc
docbook-xml-4.4 docbook-xsl qttools-5 pkg-config))
docbook-xml-4.4 docbook-xsl qttools pkg-config))
(home-page "https://vmpk.sourceforge.io/")
(synopsis "Virtual MIDI piano keyboard")
(description