From 7e1b139cdd044b400b8f85ff2651bbc1dac0e971 Mon Sep 17 00:00:00 2001 From: Sughosha Date: Thu, 5 Dec 2024 21:50:20 +0530 Subject: [PATCH] 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 --- gnu/packages/music.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 677d8005c73..ebebbdeb0da 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -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