GNU bug report logs - #52584
[PATCH] gnu: Add sc3-plugins.

Previous Next

Package: guix-patches;

Reported by: Aleksandr Vityazev <avityazev <at> posteo.org>

Date: Fri, 17 Dec 2021 19:08:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 52584 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#52584; Package guix-patches. (Fri, 17 Dec 2021 19:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Aleksandr Vityazev <avityazev <at> posteo.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 17 Dec 2021 19:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add sc3-plugins.
Date: Fri, 17 Dec 2021 19:08:08 +0000
* gnu/packages/audio.scm (sc3-plugins): New variable.
---
 gnu/packages/audio.scm | 47 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 05c6354e45..d123ff5ae4 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3021,6 +3021,53 @@ (define-public supercollider
 using Guix System.")
     (license license:gpl2+)))
 
+(define-public sc3-plugins
+  (package
+    (name "sc3-plugins")
+    (version "3.11.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/supercollider/sc3-plugins")
+             (commit (string-append "Version-" version))
+             ;; for nova-simd, TLSF, stk
+             (recursive? #t)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1cy7g2mvmikml4dg6v4fzw6qr2yv9c94531iwxp501fr9j6z5jh8"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:tests? #f                      ;No target
+       #:configure-flags
+       (list
+        (string-append "-DSC_PATH="
+                       (assoc-ref %build-inputs "supercollider")
+                       "/include/SuperCollider")
+        "-DCMAKE_BUILD_TYPE=Release"
+        "-DSUPERNOVA=ON")
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'patch-supercollider-version
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "CMakeLists.txt"
+               (("include\\(\"\\$\\{SC_PATH\\}/SCVersion.txt\"\\)")
+                (string-append "include("
+                               (search-input-file
+                                inputs
+                                "/include/SuperCollider/SCVersion.txt") ")"))))))))
+    (native-inputs
+     (list pkg-config))
+    (inputs (list fftwf supercollider))
+    (home-page "https://github.com/supercollider/sc3-plugins")
+    (synopsis "Community plugins for SuperCollider")
+    (description "Community collection of unit generator plugins
+for @code{SuperCollider}.  An installation extends the functionality of
+@code{SuperCollider} by additional UGens that run on scsynth, the
+@code{SuperCollider} audio synthesis server.")
+    (license license:gpl2+)))
+
 (define-public libshout-idjc
   (package
     (name "libshout-idjc")
-- 
2.34.0



-- 

Aleksandr Vityazev




This bug report was last modified 2 years and 124 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.