unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#72655] [PATCH] Add bespokesynth package
@ 2024-08-16 10:35 Apoorv via Guix-patches via
  0 siblings, 0 replies; only message in thread
From: Apoorv via Guix-patches via @ 2024-08-16 10:35 UTC (permalink / raw)
  To: 72655


[-- Attachment #1.1: Type: text/plain, Size: 154 bytes --]

This is a patch to add a new package, `bespokesynth` to `gnu/packages/music.scm`.

-- 
 Sent with Tuta; enjoy secure & ad-free emails: 
 https://tuta.com

[-- Attachment #1.2: Type: text/html, Size: 408 bytes --]

[-- Attachment #2: 0002-Add-bespokesynth-package.patch --]
[-- Type: text/x-patch, Size: 2741 bytes --]

From ad747fefd837303a6c24a59125811853c30eb74e Mon Sep 17 00:00:00 2001
From: apoorv569 <apoorvs569@gmail.com>
Date: Fri, 16 Aug 2024 15:26:39 +0530
Subject: [PATCH 02/13] Add bespokesynth package

---
 gnu/packages/music.scm | 53 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 0b418fa7a7..7a4b272013 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -8028,6 +8028,59 @@ (define-public airwindows-lv2
       "This is an LV2 port of the Airwindows plugins originally created by Chris Johnson.")
      (license license:expat))))
 
+(define-public bespokesynth
+  (let ((commit "faf42ee537195c114837ed2571e2c9ec5830aab0")
+        (revision "1"))
+    (package
+     (name "bespokesynth")
+     (version (git-version "1.2.1" revision commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/BespokeSynth/BespokeSynth")
+             (recursive? #t)
+             (commit commit)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0np0762vzqbxx0srgyi2kimzd3h3lycmr83wi67df9x83dyck152"))))
+     (inputs (list xcb-util-cursor
+                   xcb-util-keysyms
+                   xcb-util
+                   libxkbcommon
+                   libxcb
+                   gtk+
+                   webkitgtk
+                   curl
+                   alsa-lib
+                   alsa-utils
+                   jack-2
+                   freetype
+                   libxinerama
+                   libxrandr
+                   mesa
+                   libxcursor
+                   libusb))
+     (native-inputs (list ninja patchelf pkg-config python))
+     (build-system cmake-build-system)
+     (arguments
+      (list
+       #:tests? #f ;No test target available
+       #:build-type "Release"
+       #:phases
+       #~(modify-phases
+          %standard-phases
+          (add-after 'unpack 'pre-configure
+                     (lambda _
+                       ;; Override default location of fonts.conf.
+                       (substitute* "libs/JUCE/modules/juce_graphics/native/juce_Fonts_linux.cpp"
+                                    (("/usr/share/fonts/fonts.conf")
+                                     "/run/current-system/profile/etc/fonts/fonts.conf")))))))
+     (home-page "http://bespokesynth.com/")
+     (synopsis "Software modular synth")
+     (description "Software modular synth")
+     (license license:gpl3))))
+
 ;;;
 ;;; Avoid adding new packages to the end of this file. To reduce the chances
 ;;; of a merge conflict, place them above by existing packages with similar
-- 
2.45.2


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-08-16 10:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-16 10:35 [bug#72655] [PATCH] Add bespokesynth package Apoorv via Guix-patches via

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).