gnu: lmms: Enable STK Mallets and GIG Player.

* gnu/packages/music.scm (lmms)[inputs]: Add libgig and stk.
[arguments]<#:phases>: Add patch-stk-path.

Change-Id: I8116d603399f75571dfc37bc43760334df3a764e
This commit is contained in:
Sughosha 2024-12-05 21:50:20 +05:30 committed by Gabriel Wicki
parent 26c4e0341e
commit 7e1b139cdd
No known key found for this signature in database
GPG key ID: CC98E9F04330FD7F

View file

@ -5369,6 +5369,12 @@ and more. Full API documentation and examples are included.")
(lambda* (#:key inputs #:allow-other-keys)
(copy-recursively (assoc-ref inputs "rpmalloc")
"src/3rdparty/rpmalloc/rpmalloc")))
(add-after 'unpack 'patch-stk-path
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "cmake/modules/FindSTK.cmake"
(("/usr") (assoc-ref inputs "stk")))
(substitute* "src/core/ConfigManager.cpp"
(("/usr") (assoc-ref inputs "stk")))))
(add-before 'configure 'set-ldflags
(lambda _
(setenv "LDFLAGS"
@ -5402,6 +5408,7 @@ and more. Full API documentation and examples are included.")
jack-2
ladspa
lame
libgig
libogg
libsamplerate
libsndfile
@ -5412,7 +5419,8 @@ and more. Full API documentation and examples are included.")
pulseaudio
qtbase-5
qtx11extras
sdl))
sdl
stk))
(home-page "https://lmms.io/")
(synopsis "Music composition tool")
(description "LMMS is a digital audio workstation. It includes tools for