all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sughosha via Guix-patches via <guix-patches@gnu.org>
To: 56140@debbugs.gnu.org
Cc: "rekado@elephly.net" <rekado@elephly.net>,
	"alice.brenon@ens-lyon.fr" <alice.brenon@ens-lyon.fr>
Subject: [bug#56140] [Patch v2 2/2]: gnu: Add distrho-ports.
Date: Thu, 15 Jun 2023 16:34:05 +0000	[thread overview]
Message-ID: <TrO8tv4T-QOtbBmtH7u-4xk67wYVwkJbyfTURTIqqY6yTt2FbPO0jorFJ7tHuQ1Cm8GtvdP6pnV02nZBl4iVQbFu3JlYIWzo2utRGZmeiuE=@proton.me> (raw)
In-Reply-To: <o8Acm5cfOaqtnIzq2115gx9xgJ2jE0FcDoyhmSHDnUyYRqrMF8zeNDErpYpVcjmuokpGtGw__RkbqGW5xetv_xl_kkmC88mofx2bh08OU4Q=@proton.me>

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

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 2e7edda..fbd1e76 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -6344,6 +6344,141 @@ (define-public mamba
 ones.")
    (license license:bsd-0)))
 
+(define-public distrho-ports
+  (let ((commit "f2dbaded0a05732e3499fa374a586e5b32370da5")
+        (revision "0"))
+    (package
+      (name "distrho-ports")
+      (version (git-version "0.2021-03-15" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/DISTRHO/DISTRHO-Ports")
+                      ;; This commit corresponds to tag 2021-03-15
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1rrnqwask2qg05ynisk6bpj118cl7c3w53rqrfg5x3sx847rjjgc"))
+                (snippet
+                 '(with-directory-excursion "ports-juce6"
+                    ;; Delete third party libraries.
+                    (for-each delete-file-recursively
+                      (list "swankyamp/thirdparty"
+                            "vitalium/third_party"))
+                    ;; Exclude them from building.
+                    (substitute*
+                     (list "swankyamp/meson.build"
+                           "vitalium/meson.build")
+                      (("'third") "#'third"))
+                    ;; Use system provided "nlohmann/json.hpp".
+                    (with-directory-excursion "vitalium/source"
+                      (substitute*
+                       (list "common/line_generator.h"
+                             "common/load_save.h"
+                             "common/tuning.h"
+                             "common/wavetable/wavetable_component.h"
+                             "common/wavetable/wavetable_creator.h"
+                             "common/wavetable/wavetable_keyframe.h"
+                             "interface/editor_sections/save_section.h"
+                             "interface/look_and_feel/skin.h"
+                             "synthesis/producers/sample_source.h")
+                        (("json/json\\.h") "nlohmann/json.hpp")))))))
+      (build-system meson-build-system)
+      (arguments
+       (list #:tests? #f ;no test target
+             #:phases
+             #~(modify-phases %standard-phases
+                 (add-after 'unpack 'patch-paths
+                   (lambda* (#:key inputs #:allow-other-keys)
+                     (with-directory-excursion "libs"
+                       (for-each
+                         (lambda (dir)
+                           (substitute*
+                            (string-append dir "/source/modules/juce_graphics"
+                                           "/native/juce_linux_Fonts.cpp")
+                             (("/usr/share/fonts")
+                              (search-input-directory inputs "/etc/fonts"))))
+                         (list "juce5" "juce6" "juce7"))))))))
+      (native-inputs
+       (list cmake-minimal
+             concurrentqueue
+             nlohmann-json
+             optional-lite
+             pkg-config))
+      (inputs
+       (list alsa-lib
+             fontconfig
+             freetype
+             fftwf
+             libx11
+             libxcursor
+             libxext
+             libxrender
+             mesa))
+      (home-page "https://github.com/DISTRHO/DISTRHO-Ports")
+      (synopsis "Audio plugins and LV2 ports")
+      (description
+       "This package contains LV2 ports of the following plugins:
+@itemize
+@item The Function,
+@item The Pilgrim,
+@item CHOW,
+@item Dexed,
+@item dRowAudio plugins (Distortion, Distortion Shaper, Flanger, Reverb,
+  Tremolo),
+@item DrumSynth,
+@item EasySSP,
+@item EQinox,
+@item HiReSam,
+@item JuceOPL,
+@item KlangFalter,
+@item LUFS Meter,
+@item Luftikus,
+@item Obxd,
+@item PitchedDelay,
+@item ReFine,
+@item StereoSourceSeperation,
+@item Swanky Amp,
+@item TAL plugins (Dub-3, Filter, Filter-2, Noize Mak3r, Reverb, Reverb-II,
+  Reverb-III, Vocoder-II),
+@item Temper,
+@item Vex,
+@item Vitalium, and
+@item Wolpertinger.
+@end itemize
+")
+      ;; Licenses for lv2-ttl-generator, The Function, The Pilgrim,
+      ;; juce-demo-host and juce-demo-plugin are not declared.
+      (license
+        (list license:asl2.0 ;for msfa
+              license:bsd-2 ;for mingw-std-threads and dsp-utility
+              ;; There is no mention of licenses for dRowAudio plugins,
+              ;; Luftikus, PitchedDelay and ReFine in this repository, but the
+              ;; upstream repositories released them under MIT:
+              ;; https://github.com/drowaudio/drowaudio;
+              ;; https://github.com/lkjbdsp/lkjb-plugins.
+              license:expat ;for FFTConvolver
+              (license:fsf-free ;for Temper
+                "file:///ports-juce5/temper/source/TemperDsp.hpp")
+              license:gpl2 ;for juce-plugin, LUFS Meter and Obxd
+              ;; There is no mention of license for Wolpertinger, but the
+              ;; upstream released it under GPLv2+:
+              ;; https://github.com/jkroll20/wolpertinger.
+              license:gpl2+ ;for HiReSam, TAL plugins and Vex
+              ;; There is no mention of license for EasySSP in this repository,
+              ;; but the upstream repository released it under GPLv3:
+              ;; https://github.com/automatl/audio-dsp-multi-visualize.
+              license:gpl3 ;for JUCE and CHOW
+              license:gpl3+ ;for Dexed, Swanky Amp, Vitalium and KlangFalter
+              license:lgpl2.0+ ;for DrumSynth, EQinox
+              license:lgpl3+
+              license:lgpl2.1+ ;for juce-opl
+              (license:non-copyleft ;kiss_fft
+                (string-append "file:///ports-juce5/stereosourceseparation"
+                               "/source/kiss_fft/kiss_fft.c"))
+              license:wtfpl2))))) ;for FFTReal
+
 (define-public dpf-plugins
   (package
     (name "dpf-plugins")
--
libgit2 1.5.1





  parent reply	other threads:[~2023-06-15 16:35 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-22 12:36 [bug#56140] [Patches] Add and update music packages Sughosha via Guix-patches via
2022-06-24  8:54 ` [bug#56140] Resending the patches with correcting mistakes Sughosha via Guix-patches via
2022-06-28  7:45 ` [bug#56140] [Patches] Add and update music packages Alice BRENON
2022-06-28  8:30 ` Sughosha via Guix-patches via
2022-06-28 12:40   ` Maxime Devos
2022-07-01 16:04     ` Sughosha via Guix-patches via
2022-07-01 17:29 ` Ricardo Wurmus
2022-07-01 18:05   ` Thorsten Wilms
2023-06-15 16:30 ` [bug#56140] [Patch v2 0/2]: gnu: Add distrho-ports Sughosha via Guix-patches via
2023-06-15 16:32 ` [bug#56140] [Patch v2 1/2]: gnu: Add optional-lite Sughosha via Guix-patches via
2023-06-15 16:34 ` Sughosha via Guix-patches via [this message]
2023-06-15 18:38   ` [bug#56140] [Patch v2 2/2]: gnu: Add distrho-ports Ricardo Wurmus
2023-06-16 14:05 ` [bug#56140] [PATCH v3 0/2] " Sughosha via Guix-patches via
2023-06-16 14:06 ` [bug#56140] [PATCH v3 1/2] gnu: Add optional-lite Sughosha via Guix-patches via
2023-06-16 14:06 ` [bug#56140] [PATCH v3 2/2] gnu: Add distrho-ports Sughosha via Guix-patches via
2023-06-16 15:02   ` [bug#56140] [PATCH v4 0/2] " Sughosha via Guix-patches via
2023-06-16 15:04     ` [bug#56140] [PATCH v4 2/2] " Sughosha via Guix-patches via
2023-09-02  1:11     ` [bug#56140] Add optional-lite and distrho-ports Vagrant Cascadian
2023-06-16 15:02 ` [bug#56140] [PATCH v4 1/2] gnu: Add optional-lite Sughosha via Guix-patches via
2023-09-02  8:40 ` bug#56140: Add optional-lite and distrho-ports Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='TrO8tv4T-QOtbBmtH7u-4xk67wYVwkJbyfTURTIqqY6yTt2FbPO0jorFJ7tHuQ1Cm8GtvdP6pnV02nZBl4iVQbFu3JlYIWzo2utRGZmeiuE=@proton.me' \
    --to=guix-patches@gnu.org \
    --cc=56140@debbugs.gnu.org \
    --cc=Sughosha@proton.me \
    --cc=alice.brenon@ens-lyon.fr \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.