unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#59192] [PATCH] gnu: Add paulxstretch
@ 2022-11-11 11:11 Sughosha via Guix-patches via
  2022-11-28 22:12 ` bug#59192: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Sughosha via Guix-patches via @ 2022-11-11 11:11 UTC (permalink / raw)
  To: 59192

* gnu/packages/music.scm (paulxstretch): New variable.
---
 gnu/packages/music.scm | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 6b37c79..04e2322 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -2465,6 +2465,66 @@ which can modulate the oscillators, filter, and amplitude; distortion and
 reverb effects.")
     (license license:gpl2+)))

+(define-public paulxstretch
+  (package
+    (name "paulxstretch")
+    (version "1.6.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/essej/paulxstretch")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1pff51imfgmgqzc6mdgwd1v9fci0a8hj85fnkdsvkdzbnxdzvs9r"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:tests? #f ;no test suite
+           #:phases
+            #~(modify-phases %standard-phases
+                (replace 'install
+                  (lambda _
+                    (let* ((bin (string-append #$output "/bin"))
+                          (lib (string-append #$output "/lib"))
+                          (share (string-append #$output "/share"))
+                          (clap (string-append lib "/clap"))
+                          (vst3 (string-append lib "/vst3")))
+                      (with-directory-excursion
+                       "PaulXStretch_artefacts/RelWithDebInfo"
+                        (install-file "Standalone/paulxstretch" bin)
+                        (install-file "CLAP/PaulXStretch.clap" clap)
+                        (mkdir-p vst3)
+                        (copy-recursively "VST3" vst3)
+                        (install-file (string-append
+                                        #$source
+                                        "/linux/paulxstretch.desktop")
+                                      (string-append share "/applications"))
+                        (install-file
+                          (string-append
+                            #$source
+                            "/images/paulxstretch_icon_1024_rounded.png")
+                          (string-append share "/pixmaps")))))))))
+    (home-page "https://sonosaurus.com/paulxstretch/")
+    (native-inputs (list pkg-config))
+    (inputs (list alsa-lib
+                  curl
+                  fftwf
+                  freetype
+                  jack-1
+                  libx11
+                  libxcursor
+                  libxext
+                  libxinerama
+                  libxrandr))
+    (supported-systems '("x86_64-linux"))
+    (synopsis "Audio timestretching application and plugin")
+    (description
+     "PaulXStretch is an application/plugin is based on the PaulStretch
+algorithm (Paul’s Extreme Time Stretch, originally developed by Nasca Octavian
+Paul), and specifically the PaulXStretch version from Xenakios.")
+    (license license:gpl3+)))
+
 (define-public setbfree
   (package
     (name "setbfree")
--
libgit2 1.4.3




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#59192: [PATCH] gnu: Add paulxstretch
  2022-11-11 11:11 [bug#59192] [PATCH] gnu: Add paulxstretch Sughosha via Guix-patches via
@ 2022-11-28 22:12 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-11-28 22:12 UTC (permalink / raw)
  To: Sughosha; +Cc: 59192-done

Hi,

Sughosha <Sughosha@proton.me> skribis:

> * gnu/packages/music.scm (paulxstretch): New variable.

Applied with indentation tweaks, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-28 22:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-11 11:11 [bug#59192] [PATCH] gnu: Add paulxstretch Sughosha via Guix-patches via
2022-11-28 22:12 ` bug#59192: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).