guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#74723] [PATCH v3 08/18] gnu: lmms: Enable Stk Mallets and GIG Playe


From: Sughosha
Subject: [bug#74723] [PATCH v3 08/18] gnu: lmms: Enable Stk Mallets and GIG Player.
Date: Fri, 14 Feb 2025 02:17:25 +0530

* 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 a7c23b056a..ef0612bd64 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -5333,6 +5333,12 @@ (define-public lmms
             (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"
@@ -5366,6 +5372,7 @@ (define-public lmms
            jack-2
            ladspa
            lame
+           libgig
            libogg
            libsamplerate
            libsndfile
@@ -5376,7 +5383,8 @@ (define-public lmms
            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
-- 
2.47.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]