Commit | Line | Data |
---|---|---|
1b6826d3 | 1 | ;;; GNU Guix --- Functional package management for GNU |
0163b900 | 2 | ;;; Copyright © 2014, 2019 Eric Bavier <bavier@member.fsf.org> |
0d4b4059 | 3 | ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net> |
e8069d01 | 4 | ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org> |
aa0edd3f | 5 | ;;; Copyright © 2016 Al McElrath <hello@yrns.org> |
255bb7be | 6 | ;;; Copyright © 2016, 2017, 2019 Efraim Flashner <efraim@flashner.co.il> |
e42ba3da | 7 | ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name> |
72385c34 | 8 | ;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net> |
6d3ef286 | 9 | ;;; Copyright © 2016 John J. Foerch <jjfoerch@earthlink.net> |
23319ed6 | 10 | ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com> |
3c986a7d | 11 | ;;; Copyright © 2017 nikita <nikita@n0.is> |
a42619e5 | 12 | ;;; Copyright © 2017 Rodger Fox <thylakoid@openmailbox.org> |
3212b964 | 13 | ;;; Copyright © 2017, 2018, 2019, 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr> |
55af6456 | 14 | ;;; Copyright © 2017, 2018, 2019 Pierre Langlois <pierre.langlois@gmx.com> |
bc27eb3b | 15 | ;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net> |
8cc1fdce | 16 | ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> |
6b445c57 | 17 | ;;; Copyright © 2018 nee <nee.git@hidamari.blue> |
b0dea60c | 18 | ;;; Copyright © 2018 Stefan Reichör <stefan@xsteve.at> |
4715f92e | 19 | ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz> |
4b577961 | 20 | ;;; Copyright © 2018, 2019 Ludovic Courtès <ludo@gnu.org> |
e029d90f | 21 | ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de> |
1331a6c0 | 22 | ;;; Copyright © 2019 Gabriel Hondet <gabrielhondet@gmail.com> |
455e6a31 | 23 | ;;; Copyright © 2019 Timotej Lazar <timotej.lazar@araneo.si> |
e8134442 | 24 | ;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays@sdf.org> |
7fcc2f93 | 25 | ;;; Copyright © 2019 raingloom <raingloom@protonmail.com> |
1c463524 | 26 | ;;; Copyright © 2019 David Wilson <david@daviwil.com> |
93f4511e | 27 | ;;; Copyright © 2019, 2020 Alexandros Theodotou <alex@zrythm.org> |
8b39565c | 28 | ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com> |
6ddb8238 | 29 | ;;; Copyright © 2020 Lars-Dominik Braun <lars@6xq.net> |
3ff2d270 | 30 | ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org> |
1b6826d3 RW |
31 | ;;; |
32 | ;;; This file is part of GNU Guix. | |
33 | ;;; | |
34 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
35 | ;;; under the terms of the GNU General Public License as published by | |
36 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
37 | ;;; your option) any later version. | |
38 | ;;; | |
39 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
40 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
41 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
42 | ;;; GNU General Public License for more details. | |
43 | ;;; | |
44 | ;;; You should have received a copy of the GNU General Public License | |
45 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
46 | ||
47 | (define-module (gnu packages music) | |
48 | #:use-module (guix utils) | |
49 | #:use-module (guix packages) | |
50 | #:use-module (guix download) | |
8e80244a | 51 | #:use-module (guix git-download) |
1b6826d3 RW |
52 | #:use-module ((guix licenses) #:prefix license:) |
53 | #:use-module (guix build-system gnu) | |
f467c352 | 54 | #:use-module (guix build-system ant) |
8b9ec354 | 55 | #:use-module (guix build-system cmake) |
2394afa4 | 56 | #:use-module (guix build-system meson) |
b0c2c5ab | 57 | #:use-module (guix build-system perl) |
821664f1 | 58 | #:use-module (guix build-system python) |
bc27eb3b | 59 | #:use-module (guix build-system scons) |
58301682 | 60 | #:use-module (guix build-system glib-or-gtk) |
8e80244a | 61 | #:use-module (guix build-system waf) |
87d1b7b0 | 62 | #:use-module (guix build-system trivial) |
5703380b | 63 | #:use-module (guix build-system go) |
1b6826d3 | 64 | #:use-module (gnu packages) |
7f559045 | 65 | #:use-module (gnu packages admin) |
ddfddb0c | 66 | #:use-module (gnu packages algebra) |
91595624 | 67 | #:use-module (gnu packages apr) |
c267cc15 | 68 | #:use-module (gnu packages audio) |
2d0fd07b | 69 | #:use-module (gnu packages autotools) |
b7367762 | 70 | #:use-module (gnu packages backup) |
8b9ec354 | 71 | #:use-module (gnu packages base) ;libbdf |
7bac8196 | 72 | #:use-module (gnu packages bash) |
1b6826d3 | 73 | #:use-module (gnu packages bison) |
b7367762 | 74 | #:use-module (gnu packages boost) |
e8069d01 | 75 | #:use-module (gnu packages cdrom) |
8b9ec354 RW |
76 | #:use-module (gnu packages code) |
77 | #:use-module (gnu packages check) | |
a7a7186c | 78 | #:use-module (gnu packages cmake) |
8b9ec354 | 79 | #:use-module (gnu packages compression) |
d20b7384 | 80 | #:use-module (gnu packages crypto) |
aa0edd3f | 81 | #:use-module (gnu packages curl) |
13416a10 | 82 | #:use-module (gnu packages cyrus-sasl) |
d20b7384 | 83 | #:use-module (gnu packages datastructures) |
1b6826d3 | 84 | #:use-module (gnu packages docbook) |
99828fa7 | 85 | #:use-module (gnu packages documentation) |
91595624 | 86 | #:use-module (gnu packages emacs) |
13416a10 | 87 | #:use-module (gnu packages file) |
1b6826d3 | 88 | #:use-module (gnu packages flex) |
8e80244a | 89 | #:use-module (gnu packages fltk) |
1b6826d3 RW |
90 | #:use-module (gnu packages fonts) |
91 | #:use-module (gnu packages fontutils) | |
3bf429af | 92 | #:use-module (gnu packages freedesktop) |
72385c34 | 93 | #:use-module (gnu packages game-development) |
6260d1a8 | 94 | #:use-module (gnu packages gcc) |
aa0edd3f | 95 | #:use-module (gnu packages gnupg) |
1b6826d3 RW |
96 | #:use-module (gnu packages gettext) |
97 | #:use-module (gnu packages ghostscript) | |
ec8da0e2 | 98 | #:use-module (gnu packages gl) |
8e80244a | 99 | #:use-module (gnu packages glib) |
c267cc15 | 100 | #:use-module (gnu packages gnome) |
a9f847ad | 101 | #:use-module (gnu packages gpodder) |
770305f4 | 102 | #:use-module (gnu packages graphics) |
4f0f46e4 | 103 | #:use-module (gnu packages graphviz) |
d20b7384 | 104 | #:use-module (gnu packages gstreamer) |
1b6826d3 RW |
105 | #:use-module (gnu packages gtk) |
106 | #:use-module (gnu packages guile) | |
7f559045 | 107 | #:use-module (gnu packages haskell) |
c267cc15 | 108 | #:use-module (gnu packages image) |
1b6826d3 | 109 | #:use-module (gnu packages imagemagick) |
6260d1a8 | 110 | #:use-module (gnu packages java) |
91595624 | 111 | #:use-module (gnu packages libffi) |
d20b7384 | 112 | #:use-module (gnu packages libusb) |
7bac8196 LF |
113 | #:use-module (gnu packages linux) ; for alsa-utils |
114 | #:use-module (gnu packages lirc) | |
91595624 | 115 | #:use-module (gnu packages llvm) |
c267cc15 RW |
116 | #:use-module (gnu packages man) |
117 | #:use-module (gnu packages mp3) | |
3bf429af | 118 | #:use-module (gnu packages mpd) |
e8069d01 | 119 | #:use-module (gnu packages ncurses) |
1b6826d3 | 120 | #:use-module (gnu packages netpbm) |
91595624 | 121 | #:use-module (gnu packages pcre) |
821664f1 | 122 | #:use-module (gnu packages pdf) |
1b6826d3 | 123 | #:use-module (gnu packages perl) |
b2961dda | 124 | #:use-module (gnu packages perl-web) |
1b6826d3 | 125 | #:use-module (gnu packages pkg-config) |
d20b7384 | 126 | #:use-module (gnu packages protobuf) |
d231bb35 | 127 | #:use-module (gnu packages pulseaudio) ;libsndfile |
1b6826d3 | 128 | #:use-module (gnu packages python) |
1b2f753d | 129 | #:use-module (gnu packages python-web) |
44d10b1f | 130 | #:use-module (gnu packages python-xyz) |
8b9ec354 | 131 | #:use-module (gnu packages qt) |
d231bb35 | 132 | #:use-module (gnu packages rdf) |
c493679f | 133 | #:use-module (gnu packages readline) |
1b6826d3 | 134 | #:use-module (gnu packages rsync) |
21d18113 | 135 | #:use-module (gnu packages sdl) |
cd0322a3 | 136 | #:use-module (gnu packages sqlite) |
2d0fd07b | 137 | #:use-module (gnu packages tcl) |
1b6826d3 | 138 | #:use-module (gnu packages texinfo) |
8f9ac901 | 139 | #:use-module (gnu packages tex) |
4ee2cce3 | 140 | #:use-module (gnu packages time) |
13416a10 | 141 | #:use-module (gnu packages tls) |
1ea29aa0 | 142 | #:use-module (gnu packages version-control) |
e8069d01 | 143 | #:use-module (gnu packages video) |
ce1cd434 | 144 | #:use-module (gnu packages vim) ;for 'xxd' |
8b9ec354 | 145 | #:use-module (gnu packages web) |
c30a66de | 146 | #:use-module (gnu packages wxwidgets) |
c267cc15 | 147 | #:use-module (gnu packages xml) |
ddfddb0c | 148 | #:use-module (gnu packages xorg) |
c267cc15 | 149 | #:use-module (gnu packages xiph) |
5703380b PN |
150 | #:use-module (gnu packages golang) |
151 | #:use-module (gnu packages lua) | |
2d0fd07b | 152 | #:use-module ((srfi srfi-1) #:select (last))) |
1b6826d3 | 153 | |
c30a66de RW |
154 | (define-public aria-maestosa |
155 | (package | |
156 | (name "aria-maestosa") | |
0a151351 | 157 | (version "1.4.13") |
c30a66de RW |
158 | (source (origin |
159 | (method url-fetch) | |
160 | (uri (string-append "mirror://sourceforge/ariamaestosa/ariamaestosa/" | |
161 | version "/AriaSrc-" version ".tar.bz2")) | |
162 | (sha256 | |
163 | (base32 | |
0a151351 | 164 | "1cs3z6frx2ch7rm5ammx9p0rxcjrbj1vq14hvcbimpaw39rdsn3d")))) |
30812446 | 165 | (build-system scons-build-system) |
c30a66de RW |
166 | (arguments |
167 | `(#:tests? #f ;no tests | |
20e42d1e DM |
168 | #:scons-flags |
169 | (list (string-append "prefix=" (assoc-ref %outputs "out"))) | |
30812446 | 170 | #:scons ,scons-python2 |
c30a66de | 171 | #:phases |
c30a66de RW |
172 | (modify-phases %standard-phases |
173 | (delete 'configure) | |
174 | (add-after 'unpack 'scons-propagate-environment | |
175 | (lambda _ | |
176 | ;; By design, SCons does not, by default, propagate | |
177 | ;; environment variables to subprocesses. See: | |
178 | ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969> | |
179 | ;; Here, we modify the SConstruct file to arrange for | |
180 | ;; environment variables to be propagated. | |
181 | (substitute* "SConstruct" | |
182 | (("env = Environment\\(\\)") | |
183 | "env = Environment(ENV=os.environ)") | |
184 | ;; Scons errors out when copying subdirectories from Resources, | |
185 | ;; so we move them instead. | |
186 | (("Copy") "Move") | |
187 | ;; We move the "score" and "Documentation" directories at once, | |
188 | ;; so we have to ignore files contained therein. | |
189 | (("if \".svn\" in file" line) | |
190 | (string-append line | |
191 | " or \"score/\" in file" | |
192 | " or \"Documentation/\" in file"))) | |
193 | #t)) | |
30812446 | 194 | (add-after 'install 'fix-directory-permissions |
c30a66de RW |
195 | (lambda* (#:key outputs #:allow-other-keys) |
196 | (let ((out (assoc-ref outputs "out"))) | |
30812446 DM |
197 | (chmod (string-append out "/share/Aria/Documentation") #o555) |
198 | (chmod (string-append out "/share/Aria/score") #o555) | |
199 | #t)))))) | |
c30a66de RW |
200 | (inputs |
201 | `(("wxwidgets" ,wxwidgets) | |
202 | ("glib" ,glib) | |
203 | ("alsa-lib" ,alsa-lib))) | |
204 | (native-inputs | |
30812446 | 205 | `(("pkg-config" ,pkg-config))) |
c30a66de RW |
206 | (home-page "http://ariamaestosa.sourceforge.net/") |
207 | (synopsis "MIDI sequencer and editor") | |
208 | (description | |
209 | "Aria Maestosa is a MIDI sequencer and editor. It lets you compose, edit | |
210 | and play MIDI files with a few clicks in a user-friendly interface offering | |
211 | score, keyboard, guitar, drum and controller views.") | |
212 | (license license:gpl3+))) | |
213 | ||
d20b7384 PL |
214 | ;; We don't use the latest release because it depends on Qt4. Instead we |
215 | ;; download the sources from the tip of the "qt5" branch. | |
216 | (define-public clementine | |
8a6d16b8 PL |
217 | (let ((commit "4619a4c1ab3b17b13d4b2327ad477912917eaf36") |
218 | (revision "2")) | |
d20b7384 PL |
219 | (package |
220 | (name "clementine") | |
8a6d16b8 | 221 | (version (git-version "1.3.1" revision commit)) |
d20b7384 PL |
222 | (source (origin |
223 | (method git-fetch) | |
224 | (uri (git-reference | |
b0e7b699 | 225 | (url "https://github.com/clementine-player/Clementine") |
d20b7384 | 226 | (commit commit))) |
8a6d16b8 | 227 | (file-name (git-file-name name version)) |
d20b7384 PL |
228 | (sha256 |
229 | (base32 | |
8a6d16b8 | 230 | "1hximk3q0p8nw8is5w7215xgkb7k4flnfyr0pdz9svfwvcm05w1i")) |
d20b7384 PL |
231 | (modules '((guix build utils))) |
232 | (snippet | |
6cbee49d MW |
233 | '(begin |
234 | (for-each | |
d20b7384 PL |
235 | (lambda (dir) |
236 | (delete-file-recursively | |
6cbee49d | 237 | (string-append "3rdparty/" dir))) |
d20b7384 | 238 | (list |
6cbee49d MW |
239 | ;; TODO: The following dependencies are still bundled: |
240 | ;; - "qxt": Appears to be unmaintained upstream. | |
241 | ;; - "qsqlite" | |
242 | ;; - "qtsingleapplication" | |
243 | ;; - "qocoa" | |
244 | ;; - "qtiocompressor" | |
245 | ;; - "gmock": The tests crash when using our googletest | |
246 | ;; package instead of the bundled gmock. | |
247 | "SPMediaKeyTap" | |
248 | "fancytabwidget" | |
249 | "google-breakpad" | |
250 | "libmygpo-qt" | |
251 | "libmygpo-qt5" | |
252 | "libprojectm" | |
253 | "qtwin" | |
254 | "sha2" ;; Replaced by openssl. | |
255 | "taglib" | |
256 | "tinysvcmdns")) | |
257 | #t)) | |
af414f34 | 258 | (patches (search-patches "clementine-use-openssl.patch" |
7bcc3405 PL |
259 | "clementine-remove-crypto++-dependency.patch" |
260 | "clementine-fix-sqlite.patch")))) | |
d20b7384 PL |
261 | (build-system cmake-build-system) |
262 | (arguments | |
263 | '(#:test-target "clementine_test" | |
264 | #:configure-flags | |
af414f34 PL |
265 | (list ;; Requires unpackaged "projectm" |
266 | "-DENABLE_VISUALISATIONS=OFF" | |
267 | ;; Otherwise it may try to download a non-free library at run-time. | |
268 | ;; TODO In an origin snippet, remove the code that performs the | |
269 | ;; download. | |
270 | "-DHAVE_SPOTIFY_DOWNLOADER=FALSE" | |
271 | "-DUSE_SYSTEM_SHA2=TRUE") | |
d20b7384 PL |
272 | #:phases |
273 | (modify-phases %standard-phases | |
274 | (add-after 'install 'wrap-program | |
275 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
276 | (let ((out (assoc-ref outputs "out")) | |
277 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))) | |
278 | (wrap-program (string-append out "/bin/clementine") | |
279 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))) | |
280 | #t)))))) | |
281 | (native-inputs | |
282 | `(("gettext" ,gettext-minimal) | |
283 | ("pkg-config" ,pkg-config) | |
284 | ("qtlinguist" ,qttools))) | |
285 | (inputs | |
286 | `(("boost" ,boost) | |
287 | ("chromaprint" ,chromaprint) | |
d20b7384 PL |
288 | ("fftw" ,fftw) |
289 | ("glib" ,glib) | |
290 | ("glu" ,glu) | |
291 | ("gstreamer" ,gstreamer) | |
292 | ("gst-plugins-base" ,gst-plugins-base) | |
8473f802 LF |
293 | ("gst-plugins-good" ,gst-plugins-good) |
294 | ("gst-libav" ,gst-libav) | |
d20b7384 PL |
295 | ("libcdio" ,libcdio) |
296 | ("libmygpo-qt" ,libmygpo-qt) | |
d20b7384 PL |
297 | ;; TODO: Package libgpod. |
298 | ("libmtp" ,libmtp) | |
299 | ("libxml2" ,libxml2) | |
300 | ("openssl" ,openssl) | |
301 | ("protobuf" ,protobuf) | |
302 | ("pulseaudio" ,pulseaudio) | |
303 | ("qtbase" ,qtbase) | |
304 | ("qtx11extras" ,qtx11extras) | |
fad5b1a6 | 305 | ("sqlite" ,sqlite) |
d20b7384 PL |
306 | ("sparsehash" ,sparsehash) |
307 | ("taglib" ,taglib))) | |
88491097 | 308 | (home-page "https://clementine-player.org") |
d20b7384 PL |
309 | (synopsis "Music player and library organizer") |
310 | (description "Clementine is a multiplatform music player. It is inspired | |
311 | by Amarok 1.4, focusing on a fast and easy-to-use interface for searching and | |
312 | playing your music.") | |
313 | (license (list | |
314 | ;; clementine and qtiocompressor are under GPLv3. | |
315 | license:gpl3+ | |
316 | ;; gmock is under BSD-3. | |
317 | license:bsd-3 | |
318 | ;; qxt is under CPL1.0. | |
319 | license:cpl1.0 | |
320 | ;; qsqlite and qtsingleapplication are under LGPL2.1+. | |
321 | license:lgpl2.1+ | |
322 | ;; qocoa is under MIT and CC by-sa for the icons. | |
323 | license:cc-by-sa3.0))))) | |
324 | ||
e8069d01 PW |
325 | (define-public cmus |
326 | (package | |
327 | (name "cmus") | |
455e6a31 | 328 | (version "2.8.0") |
e8069d01 | 329 | (source (origin |
4e829468 RW |
330 | (method git-fetch) |
331 | (uri (git-reference | |
b0e7b699 | 332 | (url "https://github.com/cmus/cmus") |
4e829468 RW |
333 | (commit (string-append "v" version)))) |
334 | (file-name (git-file-name name version)) | |
e8069d01 PW |
335 | (sha256 |
336 | (base32 | |
455e6a31 | 337 | "1ydnvq13ay8b8mfmmgwi5qsgyf220yi1d01acbnxqn775dghmwar")))) |
e8069d01 PW |
338 | (build-system gnu-build-system) |
339 | (arguments | |
340 | `(#:tests? #f ; cmus does not include tests | |
341 | #:phases | |
342 | (modify-phases %standard-phases | |
ec618c20 RW |
343 | (replace 'configure |
344 | (lambda* (#:key outputs #:allow-other-keys) | |
345 | (let ((out (assoc-ref outputs "out"))) | |
346 | ;; It's an idiosyncratic configure script that doesn't | |
347 | ;; understand --prefix=..; it wants prefix=.. instead. | |
348 | (invoke "./configure" | |
349 | (string-append "prefix=" out)) | |
350 | #t)))))) | |
e8069d01 PW |
351 | ;; TODO: cmus optionally supports the following formats, which haven't yet |
352 | ;; been added to Guix: | |
353 | ;; | |
354 | ;; - Roar, libroar | |
355 | ;; | |
356 | ;; - DISCID_LIBS, apparently different from cd-discid which is included in | |
357 | ;; Guix. See <http://sourceforge.net/projects/discid/> | |
358 | (native-inputs | |
359 | `(("pkg-config" ,pkg-config))) | |
360 | (inputs | |
361 | `(("alsa-lib" ,alsa-lib) | |
362 | ("ao" ,ao) | |
9d34cc13 | 363 | ("faad2" ,faad2) |
e8069d01 PW |
364 | ("ffmpeg" ,ffmpeg) |
365 | ("flac" ,flac) | |
366 | ("jack" ,jack-1) | |
367 | ("libcddb" ,libcddb) | |
368 | ("libcdio-paranoia" ,libcdio-paranoia) | |
369 | ("libcue" ,libcue) | |
370 | ("libmad" ,libmad) | |
371 | ("libmodplug" ,libmodplug) | |
372 | ("libmpcdec" ,libmpcdec) | |
373 | ("libsamplerate" ,libsamplerate) | |
374 | ("libvorbis" ,libvorbis) | |
375 | ("ncurses" ,ncurses) | |
376 | ("opusfile" ,opusfile) | |
377 | ("pulseaudio" ,pulseaudio) | |
378 | ("wavpack" ,wavpack))) | |
379 | (home-page "https://cmus.github.io/") | |
380 | (synopsis "Small console music player") | |
381 | (description "Cmus is a small and fast console music player. It supports | |
382 | many input formats and provides a customisable Vi-style user interface.") | |
383 | (license license:gpl2+))) | |
384 | ||
edd1652e KK |
385 | (define-public denemo |
386 | (package | |
387 | (name "denemo") | |
c5e6a7fe | 388 | (version "2.4.0") |
211cf6dc NG |
389 | (source |
390 | (origin | |
391 | (method url-fetch) | |
392 | (uri (string-append "mirror://gnu/denemo/" | |
393 | "denemo-" version ".tar.gz")) | |
394 | (sha256 | |
c5e6a7fe | 395 | (base32 "145kq0zfgdadykl3i6na221i4s5wzdrcqq48amzyfarnrqk2rmpd")))) |
edd1652e KK |
396 | (build-system gnu-build-system) |
397 | (arguments | |
398 | `(#:phases | |
399 | (modify-phases %standard-phases | |
400 | (replace 'check | |
211cf6dc NG |
401 | (lambda* (#:key inputs #:allow-other-keys) |
402 | ;; Tests require to write $HOME. | |
403 | (setenv "HOME" (getcwd)) | |
404 | ;; Replace hard-coded diff file name. | |
405 | (substitute* "tests/integration.c" | |
406 | (("/usr/bin/diff") | |
407 | (string-append (assoc-ref inputs "diffutils") "/bin/diff"))) | |
408 | ;; Denemo's documentation says to use this command to run its | |
409 | ;; test suite. | |
f6181921 | 410 | (invoke "make" "-C" "tests" "check"))) |
b43ec33b KK |
411 | (add-before 'build 'set-lilypond |
412 | ;; This phase sets the default path for lilypond to its current | |
413 | ;; location in the store. | |
414 | (lambda* (#:key inputs #:allow-other-keys) | |
415 | (let* ((lilypond (string-append (assoc-ref inputs "lilypond") | |
416 | "/bin/lilypond"))) | |
417 | (substitute* "src/core/prefops.c" | |
418 | (("g_string_new \\(\"lilypond\"\\);") | |
419 | (string-append "g_string_new (\"" | |
420 | lilypond | |
421 | "\");")))) | |
edd1652e KK |
422 | #t))))) |
423 | (native-inputs | |
211cf6dc | 424 | `(("diffutils" ,diffutils) |
255bb7be EF |
425 | ("glib:bin" ,glib "bin") ; for gtester |
426 | ("gtk-doc" ,gtk-doc) | |
211cf6dc | 427 | ("intltool" ,intltool) |
255bb7be | 428 | ("libtool" ,libtool) |
edd1652e KK |
429 | ("pkg-config" ,pkg-config))) |
430 | (inputs | |
431 | `(("alsa-lib" ,alsa-lib) | |
432 | ("aubio" ,aubio) | |
433 | ("evince" ,evince) | |
434 | ("fftw" ,fftw) | |
435 | ("fluidsynth" ,fluidsynth) | |
436 | ("glib" ,glib) | |
437 | ("gtk+" ,gtk+) | |
6bf79532 | 438 | ("gtksourceview" ,gtksourceview-3) |
edd1652e | 439 | ("guile" ,guile-2.0) |
edd1652e KK |
440 | ("librsvg" ,librsvg) |
441 | ("libsndfile" ,libsndfile) | |
edd1652e | 442 | ("libxml2" ,libxml2) |
c695fb76 | 443 | ("lilypond" ,lilypond) |
edd1652e KK |
444 | ("portaudio" ,portaudio) |
445 | ("portmidi" ,portmidi) | |
446 | ("rubberband" ,rubberband))) | |
edd1652e KK |
447 | (synopsis "Graphical music notation, front-end to GNU Lilypond") |
448 | (description | |
449 | "GNU Denemo is a music notation editor that provides a convenient | |
450 | interface to the powerful music engraving program Lilypond. Music can be | |
451 | typed in using the computer keyboard, played in using a MIDI keyboard, or | |
452 | even input via a microphone connected to the sound card. The final product | |
453 | is publication-quality music notation that is continuously generated in the | |
454 | background while you work.") | |
455 | (home-page "http://www.denemo.org") | |
456 | (license license:gpl3+))) | |
457 | ||
72385c34 KK |
458 | (define-public dumb |
459 | (package | |
460 | (name "dumb") | |
461 | (version "2.0.3") | |
462 | (source | |
463 | (origin | |
464 | (method git-fetch) | |
465 | (uri (git-reference | |
b0e7b699 | 466 | (url "https://github.com/kode54/dumb") |
72385c34 KK |
467 | (commit version))) |
468 | (sha256 | |
469 | (base32 "1cnq6rb14d4yllr0yi32p9jmcig8avs3f43bvdjrx4r1mpawspi6")) | |
470 | (file-name (git-file-name name version)))) | |
471 | (build-system cmake-build-system) | |
472 | (arguments | |
473 | '(#:tests? #f ; no check target | |
474 | #:configure-flags | |
475 | (list "-DBUILD_SHARED_LIBS=ON" | |
476 | "-DBUILD_EXAMPLES=OFF"))) | |
477 | (home-page "https://github.com/kode54/dumb") | |
478 | (synopsis "Module audio renderer library") | |
479 | (description | |
480 | "DUMB is a tracker library with support for IT, XM, S3M and MOD files. It | |
481 | targets maximum accuracy to the original formats, with low-pass resonant filters | |
482 | for the IT files, accurate timing and pitching, and three resampling quality | |
483 | settings (aliasing, linear interpolation and cubic interpolation).") | |
484 | ;; The DUMB license is a bit peculiar. | |
485 | ;; Clause 8 states that clauses 4, 5 and 6 are null and void, leaving only | |
486 | ;; the first three clauses for genuine consideration. | |
487 | ;; Clauses 1, 2 and 3 are analogous to clauses 1, 2 and 3 of the zlib | |
488 | ;; license, a known free software license. | |
489 | ;; Therefore, the DUMB license may be considered a free software license. | |
490 | (license (license:fsf-free "file://LICENSE")))) | |
491 | ||
d61dcb1b KK |
492 | (define-public dumb-allegro4 |
493 | (package | |
494 | (inherit dumb) | |
495 | (name "dumb-allegro4") | |
496 | (arguments | |
497 | (substitute-keyword-arguments (package-arguments dumb) | |
498 | ((#:configure-flags flags) | |
499 | `(cons "-DBUILD_ALLEGRO4=ON" ,flags)))) | |
500 | (inputs | |
501 | `(("allegro" ,allegro-4))))) | |
502 | ||
d231bb35 RW |
503 | (define-public hydrogen |
504 | (package | |
505 | (name "hydrogen") | |
4330cca8 | 506 | (version "1.0.0-rc1") |
01895743 NG |
507 | (source |
508 | (origin | |
509 | (method git-fetch) | |
510 | (uri (git-reference | |
b0e7b699 | 511 | (url "https://github.com/hydrogen-music/hydrogen") |
01895743 NG |
512 | (commit version))) |
513 | (file-name (git-file-name name version)) | |
514 | (sha256 | |
4330cca8 | 515 | (base32 "1ibbdzyk30nj83jrq7py78hwpjgy0lq7ji6gi2pdp1pqzz1mqp0v")))) |
b7367762 | 516 | (build-system cmake-build-system) |
d231bb35 | 517 | (arguments |
80808d67 RW |
518 | `(#:test-target "tests" |
519 | #:phases | |
520 | (modify-phases %standard-phases | |
521 | (add-after 'unpack 'fix-data-directory | |
522 | (lambda* (#:key outputs #:allow-other-keys) | |
523 | (substitute* "CMakeLists.txt" | |
524 | (("/usr/share/pixmaps") | |
525 | (string-append (assoc-ref outputs "out") | |
526 | "/share/pixmaps"))) | |
527 | #t))))) | |
d231bb35 | 528 | (native-inputs |
b7367762 | 529 | `(("cppunit" ,cppunit) |
01895743 NG |
530 | ("pkg-config" ,pkg-config) |
531 | ("qtlinguist" ,qttools))) | |
d231bb35 | 532 | (inputs |
b7367762 | 533 | `(("alsa-lib" ,alsa-lib) |
d231bb35 | 534 | ("jack" ,jack-1) |
01895743 | 535 | ;; ("ladspa" ,ladspa) ; require LADSPA_PATH to be set |
d231bb35 | 536 | ("lash" ,lash) |
b7367762 | 537 | ("libarchive" ,libarchive) |
01895743 | 538 | ("liblo" ,liblo) |
b7367762 | 539 | ("libsndfile" ,libsndfile) |
b7367762 | 540 | ("lrdf" ,lrdf) |
01895743 | 541 | ("pulseaudio" ,pulseaudio) |
80808d67 RW |
542 | ("qtbase" ,qtbase) |
543 | ("qtxmlpatterns" ,qtxmlpatterns) | |
b7367762 | 544 | ("zlib" ,zlib))) |
d231bb35 RW |
545 | (home-page "http://www.hydrogen-music.org") |
546 | (synopsis "Drum machine") | |
547 | (description | |
548 | "Hydrogen is an advanced drum machine for GNU/Linux. Its main goal is to | |
549 | enable professional yet simple and intuitive pattern-based drum programming.") | |
550 | (license license:gpl2+))) | |
551 | ||
58301682 PL |
552 | (define-public easytag |
553 | (package | |
554 | (name "easytag") | |
555 | (version "2.4.3") | |
556 | (source (origin | |
557 | (method url-fetch) | |
558 | (uri (string-append "mirror://gnome/sources/easytag/2.4/easytag-" | |
559 | version ".tar.xz")) | |
560 | (sha256 | |
561 | (base32 | |
562 | "1mbxnqrw1fwcgraa1bgik25vdzvf97vma5pzknbwbqq5ly9fwlgw")))) | |
563 | (build-system glib-or-gtk-build-system) | |
564 | (native-inputs | |
565 | `(("desktop-file-utils" ,desktop-file-utils) | |
566 | ("glib" ,glib "bin") | |
567 | ("intltool" ,intltool) | |
568 | ("itstool" ,itstool) | |
569 | ("pkg-config" ,pkg-config) | |
570 | ("xmllint" ,libxml2))) | |
571 | (inputs | |
572 | `(("flac" ,flac) | |
573 | ("gtk+" ,gtk+) | |
574 | ("id3lib" ,id3lib) | |
575 | ("libid3tag" ,libid3tag) | |
576 | ("libvorbis" ,libvorbis) | |
577 | ("opusfile" ,opusfile) | |
578 | ("speex" ,speex) | |
579 | ("taglib" ,taglib) | |
580 | ("wavpack" ,wavpack) | |
581 | ("yelp" ,yelp))) | |
582 | (arguments | |
583 | '(#:phases | |
584 | (modify-phases %standard-phases | |
585 | (add-before 'configure 'configure-libid3tag | |
586 | (lambda* (#:key inputs #:allow-other-keys) | |
587 | ;; libid3tag does not provide a .pc file and EasyTAG's configure | |
588 | ;; script healivy relies on pkg-config. Providing a temporary | |
589 | ;; local .pc file is easier than patching the configure script. | |
590 | (let* ((libid3tag (assoc-ref inputs "libid3tag"))) | |
591 | (mkdir-p "pkgconfig") | |
592 | (with-output-to-file | |
593 | "pkgconfig/id3tag.pc" | |
594 | (lambda _ | |
595 | (format #t | |
596 | "prefix=~@*~a~@ | |
597 | libdir=${prefix}/lib~@ | |
598 | includedir=${prefix}/include~@ | |
55af6456 PL |
599 | |
600 | Name: libid3tag~@ | |
601 | Description:~@ | |
602 | Version:~@ | |
58301682 PL |
603 | Libs: -L${libdir} -lid3tag -lz~@ |
604 | Cflags: -I${includedir}~%" | |
605 | libid3tag))) | |
606 | (setenv "PKG_CONFIG_PATH" | |
607 | (string-append (getenv "PKG_CONFIG_PATH") | |
55af6456 PL |
608 | ":" (getcwd) "/pkgconfig")) |
609 | #t))) | |
58301682 PL |
610 | (add-after 'unpack 'patch-makefile |
611 | (lambda _ | |
612 | (substitute* "Makefile.in" | |
613 | ;; The Makefile generates a test-desktop-file-validate.sh | |
614 | ;; script with /bin/sh hard-coded. | |
615 | (("/bin/sh") (which "sh")) | |
616 | ;; Don't create 'icon-theme.cache'. | |
55af6456 PL |
617 | (("gtk-update-icon-cache") "true")) |
618 | #t))))) | |
58301682 PL |
619 | (home-page "https://wiki.gnome.org/Apps/EasyTAG") |
620 | (synopsis "Simple application for viewing and editing tags in audio files") | |
621 | (description | |
622 | "EasyTAG is an application for viewing and editing tags in audio files. | |
623 | It supports MP3, MP2, MP4/AAC, FLAC, Ogg Opus, Ogg Speex, Ogg Vorbis, | |
624 | MusePack, Monkey's Audio, and WavPack files.") | |
625 | (license license:gpl2+))) | |
626 | ||
91595624 RW |
627 | (define-public extempore |
628 | (package | |
629 | (name "extempore") | |
3ff2d270 | 630 | (version "0.8.6") |
91595624 | 631 | (source (origin |
8b0f6917 RW |
632 | (method git-fetch) |
633 | (uri (git-reference | |
b0e7b699 | 634 | (url "https://github.com/digego/extempore") |
3ff2d270 | 635 | (commit (string-append "v" version)))) |
91595624 RW |
636 | (sha256 |
637 | (base32 | |
3ff2d270 GL |
638 | "182jy23qv115dipny7kglwbn21z55dp253w1ykm0kh8n6vkgs7gp")) |
639 | (file-name (git-file-name name version)) | |
640 | (patches (search-patches | |
641 | "extempore-unbundle-external-dependencies.patch")) | |
642 | (modules '((guix build utils))) | |
643 | (snippet | |
644 | '(begin | |
645 | ;; Remove bundled sources. | |
646 | (map delete-file-recursively | |
647 | '("src/portaudio" | |
648 | "src/pcre")) | |
649 | #t)))) | |
91595624 RW |
650 | (build-system cmake-build-system) |
651 | (arguments | |
3ff2d270 GL |
652 | `(#:configure-flags (list "-DJACK=ON" |
653 | "-DPACKAGE=ON" | |
654 | "-DEXTERNAL_SHLIBS_AUDIO=OFF" | |
655 | "-DEXTERNAL_SHLIBS_GRAPHICS=OFF" | |
656 | "-DCMAKE_BUILD_TYPE=Release" | |
657 | (string-append "-DEXT_SHARE_DIR=" | |
658 | (assoc-ref %outputs "out") | |
659 | "/share")) | |
91595624 RW |
660 | #:modules ((ice-9 match) |
661 | (guix build cmake-build-system) | |
662 | (guix build utils)) | |
663 | #:phases | |
664 | (modify-phases %standard-phases | |
3ff2d270 GL |
665 | (add-after 'build 'build-aot-libs |
666 | (lambda _ | |
667 | (for-each (lambda (target) | |
668 | (invoke "make" target)) | |
669 | '("aot_base" | |
670 | "aot_math" | |
671 | "aot_instruments")) | |
672 | #t)) | |
673 | (add-after 'unpack 'patch-install-locations | |
674 | (lambda* (#:key outputs #:allow-other-keys) | |
675 | (substitute* "CMakeLists.txt" | |
676 | (("EXT_SHARE_DIR=\"\\.\"\\)") | |
677 | "EXT_SHARE_DIR=\"${EXT_SHARE_DIR}/extempore\")") | |
678 | (("DESTINATION \"\\.\"\\)") "DESTINATION bin)") | |
679 | (("DESTINATION \"\\.\"\n") "DESTINATION share/extempore\n")) | |
680 | #t)) | |
91595624 RW |
681 | (add-after 'unpack 'patch-directories |
682 | (lambda* (#:key outputs #:allow-other-keys) | |
91595624 RW |
683 | (substitute* "extras/extempore.el" |
684 | (("\\(runtime-directory \\(concat default-directory \"runtime\"\\)\\)") | |
685 | (string-append "(runtime-directory \"" | |
686 | (assoc-ref outputs "out") | |
3ff2d270 | 687 | "/share/extempore/runtime" |
91595624 RW |
688 | "\")"))) |
689 | #t)) | |
690 | (add-after 'unpack 'link-with-additional-libs | |
691 | (lambda _ | |
692 | ;; The executable must be linked with libffi and zlib. | |
693 | (substitute* "CMakeLists.txt" | |
91595624 RW |
694 | (("target_link_libraries\\(extempore PRIVATE dl" line) |
695 | (string-append line " ffi z"))) | |
696 | #t)) | |
91595624 RW |
697 | ;; FIXME: All examples that are used as tests segfault for some |
698 | ;; unknown reason. | |
699 | (add-after 'unpack 'disable-broken-tests | |
700 | (lambda _ | |
701 | (substitute* "CMakeLists.txt" | |
702 | (("extempore_add_example_as_test\\(.*") "")) | |
703 | #t)) | |
704 | (add-after 'unpack 'hardcode-external-lib-paths | |
705 | (lambda* (#:key inputs #:allow-other-keys) | |
706 | (use-modules (ice-9 match)) | |
707 | (for-each | |
708 | (match-lambda | |
709 | ((file-name lib pkg-name) | |
710 | (substitute* (string-append "libs/external/" file-name ".xtm") | |
711 | ((lib) (string-append (assoc-ref inputs pkg-name) | |
712 | "/lib/" lib))))) | |
713 | '(("assimp" "libassimp.so" "assimp") | |
714 | ("portmidi" "libportmidi.so" "portmidi") | |
715 | ("sndfile" "libsndfile.so" "libsndfile") | |
716 | ("fft" "libkiss_fft.so" "kiss-fft") | |
717 | ("stb_image" "libstb_image.so" "stb-image") | |
718 | ("nanovg" "libnanovg.so" "nanovg") | |
719 | ("glext" "libGL.so" "mesa") | |
720 | ("glfw3" "libglfw.so" "glfw") | |
721 | ("gl/glcore-directbind" "libGL.so" "mesa") | |
722 | ("gl/glcompat-directbind" "libGL.so" "mesa"))) | |
723 | #t)) | |
724 | (add-after 'unpack 'use-own-llvm | |
3ff2d270 GL |
725 | (lambda* (#:key inputs #:allow-other-keys) |
726 | (setenv "EXT_LLVM_DIR" (assoc-ref inputs "llvm")) | |
727 | ;; Our LLVM builds shared libraries, so Extempore should use | |
728 | ;; those. | |
729 | (substitute* "CMakeLists.txt" | |
730 | (("CMAKE_STATIC_LIBRARY") "CMAKE_SHARED_LIBRARY")) | |
731 | #t)) | |
91595624 RW |
732 | (add-after 'unpack 'fix-aot-compilation |
733 | (lambda* (#:key outputs #:allow-other-keys) | |
734 | (substitute* "CMakeLists.txt" | |
91595624 RW |
735 | ;; Extempore needs to be told where the runtime is to be found. |
736 | ;; While we're at it we disable automatic tuning for a specific | |
737 | ;; CPU to make binary substitution possible. | |
738 | (("COMMAND extempore" prefix) | |
739 | (string-append prefix " --sharedir " (getcwd) | |
740 | " --mcpu=generic --attr=none"))) | |
741 | #t))))) | |
742 | (inputs | |
743 | `(("llvm" ,llvm-for-extempore) | |
744 | ("libffi" ,libffi) | |
745 | ("jack" ,jack-1) | |
746 | ("libsndfile" ,libsndfile) | |
747 | ("glfw" ,glfw) | |
748 | ("apr" ,apr) | |
749 | ("stb-image" ,stb-image-for-extempore) | |
750 | ("kiss-fft" ,kiss-fft-for-extempore) | |
751 | ("nanovg" ,nanovg-for-extempore) | |
752 | ("portmidi" ,portmidi-for-extempore) | |
753 | ("assimp" ,assimp) | |
754 | ("alsa-lib" ,alsa-lib) | |
755 | ("portaudio" ,portaudio) | |
756 | ("mesa" ,mesa) | |
757 | ("pcre" ,pcre) | |
758 | ("zlib" ,zlib))) | |
759 | (native-inputs | |
760 | `(("perl" ,perl) | |
761 | ("emacs" ,emacs-no-x))) | |
39162ee4 RW |
762 | ;; Extempore refuses to build on architectures other than x86_64 |
763 | (supported-systems '("x86_64-linux")) | |
181d19ab | 764 | (home-page "https://digego.github.io/extempore/") |
91595624 RW |
765 | (synopsis "Programming environment for live coding of multimedia") |
766 | (description | |
767 | "Extempore is a programming language and runtime environment designed | |
768 | with live programming in mind. It supports interactive programming in a REPL | |
769 | style, compiling and binding code just-in-time. Although Extempore has its | |
770 | roots in 'live coding' of audiovisual media art, it is suitable for any task | |
771 | domain where dynamic run-time modifiability and good numerical performance are | |
772 | required. Extempore also has strong timing and concurrency semantics, which | |
773 | are helpful when working in problem spaces where timing is important (such as | |
774 | audio and video).") | |
775 | (license license:bsd-2))) | |
776 | ||
8c454dcd RW |
777 | (define-public klick |
778 | (package | |
779 | (name "klick") | |
780 | (version "0.12.2") | |
781 | (source (origin | |
782 | (method url-fetch) | |
783 | (uri (string-append "http://das.nasophon.de/download/klick-" | |
784 | version ".tar.gz")) | |
785 | (sha256 | |
786 | (base32 | |
787 | "0hmcaywnwzjci3pp4xpvbijnnwvibz7gf9xzcdjbdca910y5728j")))) | |
bc27eb3b | 788 | (build-system scons-build-system) |
8c454dcd | 789 | (arguments |
bc27eb3b | 790 | `(#:scons-flags (list (string-append "PREFIX=" %output)) |
ecc604ba | 791 | #:scons ,scons-python2 |
f00067db RW |
792 | #:tests? #f ; no "check" target |
793 | #:phases | |
794 | (modify-phases %standard-phases | |
fb1d8d2b RW |
795 | (add-after 'unpack 'be-permissive |
796 | (lambda _ | |
797 | (substitute* "SConstruct" | |
798 | (("'-Wall'") "'-Wall', '-fpermissive'")) | |
799 | #t)) | |
f00067db RW |
800 | (add-after 'unpack 'replace-removed-scons-syntax |
801 | (lambda _ | |
802 | (substitute* "SConstruct" | |
803 | (("BoolOption") "BoolVariable") | |
804 | (("PathOption") "PathVariable") | |
805 | (("Options") "Variables")) | |
806 | #t))))) | |
8c454dcd RW |
807 | (inputs |
808 | `(("boost" ,boost) | |
809 | ("jack" ,jack-1) | |
810 | ("libsndfile" ,libsndfile) | |
811 | ("libsamplerate" ,libsamplerate) | |
812 | ("liblo" ,liblo) | |
813 | ("rubberband" ,rubberband))) | |
814 | (native-inputs | |
bc27eb3b | 815 | `(("pkg-config" ,pkg-config))) |
8c454dcd RW |
816 | (home-page "http://das.nasophon.de/klick/") |
817 | (synopsis "Metronome for JACK") | |
818 | (description | |
819 | "klick is an advanced command-line based metronome for JACK. It allows | |
820 | you to define complex tempo maps for entire songs or performances.") | |
821 | (license license:gpl2+))) | |
822 | ||
048bfba1 RW |
823 | (define-public gtklick |
824 | (package | |
825 | (name "gtklick") | |
826 | (version "0.6.4") | |
827 | (source (origin | |
828 | (method url-fetch) | |
829 | (uri (string-append "http://das.nasophon.de/download/gtklick-" | |
830 | version ".tar.gz")) | |
831 | (sha256 | |
832 | (base32 | |
833 | "0dq1km6njnzsqdqyf6wzir9g733z0mc9vmxfg2383k3c2a2di6bp")))) | |
834 | (build-system python-build-system) | |
835 | (arguments | |
836 | `(#:tests? #f ; no tests | |
837 | #:python ,python-2 | |
838 | #:phases | |
839 | (modify-phases %standard-phases | |
840 | (add-before 'build 'add-sitedirs | |
841 | ;; .pth files are not automatically interpreted unless the | |
842 | ;; directories containing them are added as "sites". The directories | |
843 | ;; are then added to those in the PYTHONPATH. This is required for | |
844 | ;; the operation of pygtk. | |
845 | (lambda _ | |
846 | (substitute* "gtklick/gtklick.py" | |
847 | (("import pygtk") | |
848 | "import pygtk, site, sys | |
849 | for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)")))) | |
850 | (add-after 'unpack 'inject-store-path-to-klick | |
851 | (lambda* (#:key inputs #:allow-other-keys) | |
852 | (substitute* "gtklick/klick_backend.py" | |
853 | (("KLICK_PATH = 'klick'") | |
854 | (string-append "KLICK_PATH = '" | |
855 | (assoc-ref inputs "klick") | |
856 | "/bin/klick'"))) | |
857 | #t))))) | |
858 | (inputs | |
859 | `(("klick" ,klick) | |
860 | ("python2-pyliblo" ,python2-pyliblo) | |
861 | ("python2-pygtk" ,python2-pygtk))) | |
862 | (native-inputs | |
b94a6ca0 | 863 | `(("gettext" ,gettext-minimal))) |
048bfba1 RW |
864 | (home-page "http://das.nasophon.de/gtklick/") |
865 | (synopsis "Simple metronome with an easy-to-use graphical interface") | |
866 | (description | |
867 | "Gtklick is a simple metronome with an easy-to-use graphical user | |
868 | interface. It is implemented as a frontend to @code{klick}.") | |
869 | (license license:gpl2+))) | |
870 | ||
a3b10217 KK |
871 | (define-public libgme |
872 | (package | |
873 | (name "libgme") | |
dd42a2f3 | 874 | (version "0.6.3") |
a3b10217 KK |
875 | (source (origin |
876 | (method url-fetch) | |
877 | (uri (string-append "https://bitbucket.org/mpyne/game-music-emu/" | |
878 | "downloads/game-music-emu-" version | |
21f5f351 | 879 | ".tar.xz")) |
a3b10217 KK |
880 | (sha256 |
881 | (base32 | |
dd42a2f3 | 882 | "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb")))) |
a3b10217 KK |
883 | (build-system cmake-build-system) |
884 | (arguments | |
dd42a2f3 | 885 | '(#:tests? #f)) ; no check target |
a3b10217 KK |
886 | (home-page "https://bitbucket.org/mpyne/game-music-emu") |
887 | (synopsis "Video game music file playback library") | |
888 | (description | |
889 | "Game-music-emu is a collection of video game music file emulators that | |
890 | support the following formats and systems: | |
891 | @table @code | |
892 | @item AY | |
893 | ZX Spectrum/Asmtrad CPC | |
894 | @item GBS | |
895 | Nintendo Game Boy | |
896 | @item GYM | |
897 | Sega Genesis/Mega Drive | |
898 | @item HES | |
899 | NEC TurboGrafx-16/PC Engine | |
900 | @item KSS | |
901 | MSX Home Computer/other Z80 systems (doesn't support FM sound) | |
902 | @item NSF/NSFE | |
903 | Nintendo NES/Famicom (with VRC 6, Namco 106, and FME-7 sound) | |
904 | @item SAP | |
905 | Atari systems using POKEY sound chip | |
906 | @item SPC | |
907 | Super Nintendo/Super Famicom | |
908 | @item VGM/VGZ | |
909 | Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC Micro | |
910 | @end table") | |
911 | (license (list license:lgpl2.1+ | |
912 | ;; demo and player directories are under the Expat license | |
913 | license:expat)))) | |
914 | ||
c82d5092 AT |
915 | (define-public ninjas2 |
916 | (package | |
917 | (name "ninjas2") | |
918 | (version "0.2.0") | |
919 | (source | |
920 | (origin | |
921 | (method git-fetch) | |
922 | (uri | |
923 | (git-reference | |
924 | (url "https://github.com/clearly-broken-software/ninjas2") | |
925 | (commit (string-append "v" version)) | |
926 | ;; Bundles a specific commit of the DISTRHO plugin framework. | |
927 | (recursive? #t))) | |
928 | (file-name (git-file-name name version)) | |
929 | (sha256 | |
930 | (base32 "1kwp6pmnfar2ip9693gprfbcfscklgri1k1ycimxzlqr61nkd2k9")))) | |
931 | (build-system gnu-build-system) | |
932 | (arguments | |
933 | `(#:tests? #f ;no tests | |
934 | #:make-flags | |
935 | (list (string-append "PREFIX=" (assoc-ref %outputs "out")) | |
936 | (string-append "CC=" ,(cc-for-target))) | |
937 | #:phases | |
938 | (modify-phases %standard-phases | |
939 | (delete 'configure) ;no configure target | |
940 | (replace 'install ;no install target | |
941 | (lambda* (#:key outputs #:allow-other-keys) | |
942 | (let* ((out (assoc-ref outputs "out")) | |
943 | (bin (string-append out "/bin")) | |
944 | (lv2 (string-append out "/lib/lv2"))) | |
945 | ;; Install LV2. | |
946 | (for-each | |
947 | (lambda (file) | |
948 | (copy-recursively file | |
949 | (string-append lv2 "/" (basename file)))) | |
950 | (find-files "bin" "\\.lv2$" #:directories? #t)) | |
951 | ;; Install executables. | |
952 | (for-each | |
953 | (lambda (file) | |
954 | (install-file file bin)) | |
955 | (find-files "bin" | |
956 | (lambda (name stat) | |
957 | (and | |
958 | (equal? (dirname name) "bin") | |
959 | (not (string-suffix? ".so" name)) | |
960 | (not (string-suffix? ".lv2" name)))))) | |
961 | #t)))))) | |
962 | (inputs | |
963 | `(("fftwf" ,fftwf) | |
964 | ("jack" ,jack-1) ; for the standalone JACK application | |
965 | ("libsamplerate" ,libsamplerate) | |
966 | ("mesa" ,mesa) | |
967 | ("libsndfile" ,libsndfile))) | |
968 | (native-inputs | |
969 | `(("ladspa" ,ladspa) | |
970 | ("lv2" ,lv2) | |
971 | ("pkg-config" ,pkg-config))) | |
972 | (synopsis "Sample slicer audio plugin") | |
973 | (description | |
974 | "Ninjas 2 is a rewrite of the Ninjas sample slicer audio plugin. | |
975 | Its goal is to be an easy to use sample slicer with quick slicing of samples | |
976 | and auto-mapping slices to MIDI note numbers.") | |
977 | (home-page "https://github.com/clearly-broken-software/ninjas2") | |
978 | (license license:gpl3+))) | |
979 | ||
1b6826d3 RW |
980 | (define-public lilypond |
981 | (package | |
982 | (name "lilypond") | |
4da6de3e NG |
983 | (version "2.20.0") |
984 | (source | |
985 | (origin | |
986 | (method url-fetch) | |
987 | (uri (string-append "http://lilypond.org/download/sources/" | |
988 | "v" (version-major+minor version) "/" | |
989 | "lilypond-" version ".tar.gz")) | |
990 | (sha256 | |
991 | (base32 "0qd6pd4siss016ffmcyw5qc6pr2wihnvrgd4kh1x725w7wr02nar")))) | |
1b6826d3 RW |
992 | (build-system gnu-build-system) |
993 | (arguments | |
4da6de3e | 994 | `(#:tests? #f ;out-test/collated-files.html fails |
1b6826d3 | 995 | #:out-of-source? #t |
4da6de3e | 996 | #:make-flags '("conf=www") ;to generate images for info manuals |
127b04d7 | 997 | #:configure-flags |
409be57b RW |
998 | (list "CONFIGURATION=www" |
999 | (string-append "--with-texgyre-dir=" | |
127b04d7 RW |
1000 | (assoc-ref %build-inputs "font-tex-gyre") |
1001 | "/share/fonts/opentype/")) | |
1b6826d3 | 1002 | #:phases |
a8bc747a | 1003 | (modify-phases %standard-phases |
9cc823f5 RW |
1004 | (add-after 'unpack 'use-texlive-union |
1005 | (lambda _ | |
1006 | ;; FIXME: fonts are not found and have to be generated in HOME. | |
1007 | (setenv "HOME" "/tmp") | |
1008 | ;; The test for the "lh" package fails, even though it is among | |
1009 | ;; the inputs. | |
1010 | (substitute* "configure" | |
1011 | (("TEX_FIKPARM=.*") "TEX_FIKPARM=found\n")) | |
1012 | #t)) | |
409be57b | 1013 | (add-after 'unpack 'fix-path-references |
4da6de3e NG |
1014 | (lambda _ |
1015 | (substitute* "scm/backend-library.scm" | |
1016 | (("\\(search-executable '\\(\"gs\"\\)\\)") | |
1017 | (string-append "\"" (which "gs") "\"")) | |
1018 | (("\"/bin/sh\"") | |
1019 | (string-append "\"" (which "sh") "\""))) | |
1020 | #t)) | |
a8bc747a | 1021 | (add-before 'configure 'prepare-configuration |
4da6de3e NG |
1022 | (lambda _ |
1023 | (substitute* "configure" | |
1024 | (("SHELL=/bin/sh") "SHELL=sh") | |
1025 | ;; When checking the fontforge version do not consider the | |
1026 | ;; version string that's part of the directory. | |
1027 | (("head -n") "tail -n") | |
1028 | ;; Also allow for SOURCE_DATE_EPOCH = 0 in fontforge. | |
1029 | (("20110222") "19700101")) | |
1030 | (setenv "out" "www") | |
1031 | (setenv "conf" "www") | |
1032 | #t)) | |
409be57b RW |
1033 | (add-after 'install 'install-info |
1034 | (lambda _ | |
88659738 RW |
1035 | (invoke "make" |
1036 | "-j" (number->string (parallel-job-count)) | |
1037 | "conf=www" "install-info") | |
1038 | #t))))) | |
1b6826d3 RW |
1039 | (inputs |
1040 | `(("guile" ,guile-1.8) | |
1041 | ("font-dejavu" ,font-dejavu) | |
127b04d7 | 1042 | ("font-tex-gyre" ,font-tex-gyre) |
1b6826d3 RW |
1043 | ("fontconfig" ,fontconfig) |
1044 | ("freetype" ,freetype) | |
fb0b9ff1 | 1045 | ("ghostscript" ,ghostscript) |
1b6826d3 RW |
1046 | ("pango" ,pango) |
1047 | ("python" ,python-2))) | |
1048 | (native-inputs | |
1049 | `(("bison" ,bison) | |
1050 | ("perl" ,perl) | |
1051 | ("flex" ,flex) | |
1052 | ("fontforge" ,fontforge) | |
1053 | ("dblatex" ,dblatex) | |
b94a6ca0 | 1054 | ("gettext" ,gettext-minimal) |
1b6826d3 | 1055 | ("imagemagick" ,imagemagick) |
4da6de3e | 1056 | ("netpbm" ,netpbm) ;for pngtopnm |
9cc823f5 RW |
1057 | ("texlive" ,(texlive-union (list texlive-metapost |
1058 | texlive-generic-epsf | |
1059 | texlive-latex-lh | |
1060 | texlive-latex-cyrillic))) | |
1b6826d3 | 1061 | ("texinfo" ,texinfo) |
4da6de3e | 1062 | ("texi2html" ,texi2html-1.82) |
1b6826d3 RW |
1063 | ("rsync" ,rsync) |
1064 | ("pkg-config" ,pkg-config) | |
1065 | ("zip" ,zip))) | |
1066 | (home-page "http://www.lilypond.org/") | |
1067 | (synopsis "Music typesetting") | |
1068 | (description | |
1069 | "GNU LilyPond is a music typesetter, which produces high-quality sheet | |
1070 | music. Music is input in a text file containing control sequences which are | |
1071 | interpreted by LilyPond to produce the final document. It is extendable with | |
1072 | Guile.") | |
55ca5e80 LC |
1073 | (license license:gpl3+) |
1074 | ||
1075 | ;; On armhf and mips64el, building the documentation sometimes leads to | |
1076 | ;; more than an hour of silence, so double the max silent time. | |
1077 | (properties `((max-silent-time . 7200))))) | |
c267cc15 | 1078 | |
8e80244a RW |
1079 | (define-public non-sequencer |
1080 | ;; The latest tagged release is three years old and uses a custom build | |
1bbe7959 | 1081 | ;; system, so we take the last commit. |
a6b5e1fb RW |
1082 | (let ((commit "5ae43bb27c42387052a73e5ffc5d33efb9d946a9") |
1083 | (revision "4")) | |
8e80244a RW |
1084 | (package |
1085 | (name "non-sequencer") | |
1bbe7959 | 1086 | (version (string-append "1.9.5-" revision "." (string-take commit 7))) |
8e80244a RW |
1087 | (source (origin |
1088 | (method git-fetch) | |
1089 | (uri (git-reference | |
1090 | (url "git://git.tuxfamily.org/gitroot/non/non.git") | |
1091 | (commit commit))) | |
1092 | (sha256 | |
1093 | (base32 | |
a6b5e1fb | 1094 | "1cljkkyi9dxqpqhx8y6l2ja4zjmlya26m26kqxml8gx08vyvddhx")) |
8e80244a RW |
1095 | (file-name (string-append name "-" version "-checkout")))) |
1096 | (build-system waf-build-system) | |
1097 | (arguments | |
1098 | `(#:tests? #f ;no "check" target | |
e591a4d6 RW |
1099 | #:configure-flags |
1100 | (list "--project=sequencer" | |
1101 | ;; Disable the use of SSE unless on x86_64. | |
1102 | ,@(if (not (string-prefix? "x86_64" (or (%current-target-system) | |
1103 | (%current-system)))) | |
1104 | '("--disable-sse") | |
1105 | '())) | |
8e80244a RW |
1106 | #:python ,python-2)) |
1107 | (inputs | |
1108 | `(("jack" ,jack-1) | |
1109 | ("libsigc++" ,libsigc++) | |
1110 | ("liblo" ,liblo) | |
1111 | ("ntk" ,ntk))) | |
1112 | (native-inputs | |
1113 | `(("pkg-config" ,pkg-config))) | |
48a13b4b | 1114 | (home-page "https://non.tuxfamily.org/wiki/Non%20Sequencer") |
8e80244a RW |
1115 | (synopsis "Pattern-based MIDI sequencer") |
1116 | (description | |
1117 | "The Non Sequencer is a powerful, lightweight, real-time, | |
1118 | pattern-based MIDI sequencer. It utilizes the JACK Audio Connection Kit for | |
1119 | MIDI I/O and the NTK GUI toolkit for its user interface. Everything in Non | |
1120 | Sequencer happens on-line, in real-time. Music can be composed live, while the | |
1121 | transport is rolling.") | |
1122 | (license license:gpl2+)))) | |
1123 | ||
ded69d6f RW |
1124 | (define-public non-session-manager |
1125 | (package (inherit non-sequencer) | |
1126 | (name "non-session-manager") | |
1127 | (arguments | |
1128 | (substitute-keyword-arguments (package-arguments non-sequencer) | |
1129 | ((#:configure-flags flags) | |
1130 | `(cons "--project=session-manager" | |
1131 | (delete "--project=sequencer" ,flags))))) | |
1132 | (inputs | |
1133 | `(("jack" ,jack-1) | |
1134 | ("liblo" ,liblo) | |
1135 | ("ntk" ,ntk))) | |
1136 | (native-inputs | |
1137 | `(("pkg-config" ,pkg-config))) | |
48a13b4b | 1138 | (home-page "https://non.tuxfamily.org/nsm/") |
ded69d6f RW |
1139 | (synopsis "Audio session management") |
1140 | (description | |
1141 | "The Non Session Manager is an API and an implementation for audio | |
1142 | session management. NSM clients use a well-specified OSC protocol to | |
1143 | communicate with the session management daemon.") | |
1144 | (license license:gpl2+))) | |
1145 | ||
46bb58b8 RW |
1146 | (define-public non-mixer |
1147 | (package (inherit non-sequencer) | |
1148 | (name "non-mixer") | |
1149 | (arguments | |
1150 | (substitute-keyword-arguments (package-arguments non-sequencer) | |
1151 | ((#:configure-flags flags) | |
1152 | `(cons "--project=mixer" | |
1153 | (delete "--project=sequencer" ,flags))))) | |
1154 | (inputs | |
1155 | `(("jack" ,jack-1) | |
1156 | ("liblo" ,liblo) | |
1157 | ("ladspa" ,ladspa) | |
1158 | ("lrdf" ,lrdf) | |
1159 | ("ntk" ,ntk))) | |
1160 | (native-inputs | |
1161 | `(("pkg-config" ,pkg-config))) | |
48a13b4b | 1162 | (home-page "https://non.tuxfamily.org/wiki/Non%20Mixer") |
46bb58b8 RW |
1163 | (synopsis "Modular digital audio mixer") |
1164 | (description | |
1165 | "The Non Mixer is a powerful, reliable and fast modular digital audio | |
1166 | mixer. It utilizes JACK for inter-application audio I/O and the NTK GUI | |
1167 | toolkit for a fast and lightweight user interface. Non Mixer can be used | |
1168 | alone or in concert with Non Timeline and Non Sequencer to form a complete | |
1169 | studio.") | |
1170 | (license license:gpl2+))) | |
1171 | ||
4511e0db RW |
1172 | (define-public non-timeline |
1173 | (package (inherit non-sequencer) | |
1174 | (name "non-timeline") | |
1175 | (arguments | |
1176 | (substitute-keyword-arguments (package-arguments non-sequencer) | |
1177 | ((#:configure-flags flags) | |
1178 | `(cons "--project=timeline" | |
1179 | (delete "--project=sequencer" ,flags))))) | |
1180 | (inputs | |
1181 | `(("jack" ,jack-1) | |
1182 | ("liblo" ,liblo) | |
1183 | ("libsndfile" ,libsndfile) | |
1184 | ("ntk" ,ntk))) | |
1185 | (native-inputs | |
1186 | `(("pkg-config" ,pkg-config))) | |
48a13b4b | 1187 | (home-page "https://non.tuxfamily.org/wiki/Non%20Timeline") |
4511e0db RW |
1188 | (synopsis "Modular digital audio timeline arranger") |
1189 | (description | |
1190 | "The Non Timeline is a powerful, reliable and fast modular digital audio | |
1191 | timeline arranger. It utilizes JACK for inter-application audio I/O and the | |
1192 | NTK GUI toolkit for a fast and lightweight user interface. Non Timeline can | |
1193 | be used alone or in concert with Non Mixer and Non Sequencer to form a | |
1194 | complete studio.") | |
1195 | (license license:gpl2+))) | |
1196 | ||
ea2884c1 RW |
1197 | (define-public bsequencer |
1198 | (package | |
1199 | (name "bsequencer") | |
1200 | (version "1.2.0") | |
1201 | (source (origin | |
1202 | (method git-fetch) | |
1203 | (uri (git-reference | |
b0e7b699 | 1204 | (url "https://github.com/sjaehn/BSEQuencer") |
ea2884c1 RW |
1205 | (commit version))) |
1206 | (file-name (git-file-name name version)) | |
1207 | (sha256 | |
1208 | (base32 | |
1209 | "08xwz5v8wrar0rx7qdr9pkpjz2k9sw6bn5glhpn6sp6453fabf8q")))) | |
1210 | (build-system gnu-build-system) | |
1211 | (arguments | |
1212 | `(#:make-flags | |
1213 | (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) | |
1214 | #:tests? #f ; there are none | |
1215 | #:phases | |
1216 | (modify-phases %standard-phases | |
1217 | (delete 'configure)))) | |
1218 | (inputs | |
1219 | `(("cairo" ,cairo) | |
1220 | ("lv2" ,lv2) | |
1221 | ("libx11" ,libx11))) | |
1222 | (native-inputs | |
1223 | `(("pkg-config" ,pkg-config))) | |
1224 | (home-page "https://github.com/sjaehn/BSEQuencer") | |
1225 | (synopsis "Multi-channel MIDI step sequencer LV2 plugin") | |
1226 | (description | |
1227 | "This package provides a multi-channel MIDI step sequencer LV2 plugin | |
1228 | with a selectable pattern matrix size.") | |
1229 | (license license:gpl3+))) | |
1230 | ||
d5aee500 AT |
1231 | (define-public bchoppr |
1232 | (package | |
1233 | (inherit bsequencer) | |
1234 | (name "bchoppr") | |
1235 | (version "1.4.2") | |
1236 | (source | |
1237 | (origin | |
1238 | (method git-fetch) | |
1239 | (uri (git-reference | |
b0e7b699 | 1240 | (url "https://github.com/sjaehn/BChoppr") |
d5aee500 AT |
1241 | (commit version))) |
1242 | (file-name (git-file-name name version)) | |
1243 | (sha256 | |
1244 | (base32 | |
1245 | "1ympx0kyn3mkb23xgd44rlrf4qnngnlkmikz9syhayklgax7ijgm")))) | |
1246 | (synopsis "Audio stream-chopping LV2 plugin") | |
1247 | (description "B.Choppr cuts the audio input stream into a repeated | |
1248 | sequence of up to 16 chops. Each chop can be leveled up or down (gating). | |
1249 | B.Choppr is the successor of B.Slizr.") | |
1250 | (home-page "https://github.com/sjaehn/BChoppr") | |
1251 | (license license:gpl3+))) | |
1252 | ||
0a62d25b AT |
1253 | (define-public bshapr |
1254 | (package | |
1255 | (inherit bsequencer) | |
1256 | (name "bshapr") | |
1257 | (version "0.8") | |
1258 | (source | |
1259 | (origin | |
1260 | (method git-fetch) | |
1261 | (uri (git-reference | |
1262 | (url "https://github.com/sjaehn/BShapr") | |
1263 | (commit (string-append "v" version)))) | |
1264 | (file-name (git-file-name name version)) | |
1265 | (sha256 | |
1266 | (base32 | |
1267 | "0jlq5rjicc4fxlpk869dg0l5bwwz8k9aj2wfk9v89b0qw8l8kaxl")))) | |
1268 | (synopsis "Beat/envelope shaper LV2 plugin") | |
1269 | (description "B.Shapr is a beat/envelope shaper LV2 plugin.") | |
1270 | (home-page "https://github.com/sjaehn/BShapr") | |
1271 | (license license:gpl3+))) | |
1272 | ||
c267cc15 RW |
1273 | (define-public solfege |
1274 | (package | |
1275 | (name "solfege") | |
1276 | (version "3.22.2") | |
1277 | (source (origin | |
1278 | (method url-fetch) | |
1279 | (uri (string-append | |
1280 | "mirror://gnu/solfege/solfege-" | |
1281 | version ".tar.xz")) | |
1282 | (sha256 | |
1283 | (base32 | |
1284 | "1w25rxdbj907nsx285k9nm480pvy12w3yknfh4n1dfv17cwy072i")))) | |
1285 | (build-system gnu-build-system) | |
1286 | (arguments | |
1287 | `(#:tests? #f ; xmllint attempts to download DTD | |
1288 | #:test-target "test" | |
1289 | #:phases | |
dc1d3cde KK |
1290 | (modify-phases %standard-phases |
1291 | (add-after 'unpack 'fix-configuration | |
1292 | (lambda* (#:key inputs #:allow-other-keys) | |
1293 | (substitute* "default.config" | |
20c65aa1 | 1294 | (("/usr/bin/aplay") "aplay") |
95e545a4 NG |
1295 | (("/usr/bin/timidity") "timidity") |
1296 | (("/usr/bin/mpg123") "mpg123") | |
1297 | (("/usr/bin/ogg123") "ogg123")) | |
dc1d3cde KK |
1298 | #t)) |
1299 | (add-before 'build 'patch-python-shebangs | |
1300 | (lambda _ | |
1301 | ;; Two python scripts begin with a Unicode BOM, so patch-shebang | |
1302 | ;; has no effect. | |
1303 | (substitute* '("solfege/parsetree.py" | |
1304 | "solfege/presetup.py") | |
1305 | (("#!/usr/bin/python") (string-append "#!" (which "python")))) | |
1306 | #t)) | |
1307 | (add-before 'build 'add-sitedirs | |
1308 | ;; .pth files are not automatically interpreted unless the | |
1309 | ;; directories containing them are added as "sites". The directories | |
1310 | ;; are then added to those in the PYTHONPATH. This is required for | |
1311 | ;; the operation of pygtk and pygobject. | |
1312 | (lambda _ | |
1313 | (substitute* "run-solfege.py" | |
1314 | (("import os") | |
1315 | "import os, site | |
1316 | for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)")) | |
1317 | #t)) | |
1318 | (add-before 'build 'adjust-config-file-prefix | |
c267cc15 RW |
1319 | (lambda* (#:key outputs #:allow-other-keys) |
1320 | (substitute* "run-solfege.py" | |
1321 | (("prefix = os.path.*$") | |
dc1d3cde KK |
1322 | (string-append "prefix = " (assoc-ref outputs "out")))) |
1323 | #t)) | |
1324 | (add-after 'install 'wrap-program | |
1325 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
1326 | ;; Make sure 'solfege' runs with the correct PYTHONPATH. | |
1327 | (let* ((out (assoc-ref outputs "out")) | |
1328 | (path (getenv "PYTHONPATH"))) | |
1329 | (wrap-program (string-append out "/bin/solfege") | |
1330 | `("PYTHONPATH" ":" prefix (,path)))) | |
1331 | #t))))) | |
c267cc15 RW |
1332 | (inputs |
1333 | `(("python" ,python-2) | |
1334 | ("pygtk" ,python2-pygtk) | |
b94a6ca0 | 1335 | ("gettext" ,gettext-minimal) |
c267cc15 | 1336 | ("gtk" ,gtk+) |
95e545a4 | 1337 | ("lilypond" ,lilypond))) |
c267cc15 RW |
1338 | (native-inputs |
1339 | `(("pkg-config" ,pkg-config) | |
1340 | ("txt2man" ,txt2man) | |
1341 | ("libxml2" ,libxml2) ; for tests | |
1342 | ("ghostscript" ,ghostscript) | |
c267cc15 RW |
1343 | ("texinfo" ,texinfo))) |
1344 | (home-page "https://www.gnu.org/software/solfege/") | |
1345 | (synopsis "Ear training") | |
1346 | (description | |
1347 | "GNU Solfege is a program for practicing musical ear-training. With it, | |
1348 | you can practice your recognition of various musical intervals and chords. It | |
1349 | features a statistics overview so you can monitor your progress across several | |
1350 | sessions. Solfege is also designed to be extensible so you can easily write | |
1351 | your own lessons.") | |
1352 | (license license:gpl3+))) | |
6260d1a8 | 1353 | |
8b9ec354 | 1354 | (define-public powertabeditor |
10bdd84e RW |
1355 | ;; This commit is after the switch from catch2 to doctest; I couldn't build |
1356 | ;; powertabeditor with catch2. | |
1357 | (let ((commit "c5d39b25b75bf87ec693a3ac5018823b1d87f277") | |
1358 | (revision "1")) | |
1359 | (package | |
1360 | (name "powertabeditor") | |
1361 | (version (git-version "2.0.0-alpha12" revision commit)) | |
1362 | (source (origin | |
1363 | (method git-fetch) | |
1364 | (uri (git-reference | |
b0e7b699 | 1365 | (url "https://github.com/powertab/powertabeditor") |
10bdd84e RW |
1366 | (commit commit))) |
1367 | (file-name (git-file-name name version)) | |
1368 | (sha256 | |
1369 | (base32 | |
1370 | "16qhqfvk14bp7s8cwr8ds8zfd80pq603d7aymr7967pnb49kic5z")))) | |
1371 | (build-system cmake-build-system) | |
1372 | (arguments | |
1373 | `(#:phases | |
1374 | (modify-phases %standard-phases | |
1375 | (replace 'check (lambda _ (invoke "bin/pte_tests")))))) | |
1376 | (inputs | |
1377 | `(("alsa-lib" ,alsa-lib) | |
1378 | ("boost" ,boost) | |
1379 | ("minizip" ,minizip) | |
1380 | ("pugixml" ,pugixml) | |
1381 | ("qtbase" ,qtbase) | |
1382 | ("rapidjson" ,rapidjson) | |
1383 | ("rtmidi" ,rtmidi) | |
1384 | ("timidity" ,timidity++) | |
1385 | ("zlib" ,zlib))) | |
1386 | (native-inputs | |
1387 | `(("doctest" ,doctest) | |
1388 | ("pkg-config" ,pkg-config))) | |
1389 | (home-page "https://github.com/powertab/powertabedito") | |
1390 | (synopsis "Guitar tablature editor") | |
1391 | (description | |
1392 | "Power Tab Editor 2.0 is the successor to the famous original Power Tab | |
8b9ec354 | 1393 | Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.") |
10bdd84e | 1394 | (license license:gpl3+)))) |
8b9ec354 | 1395 | |
3d4b1bb9 RW |
1396 | (define-public jalv-select |
1397 | (package | |
1398 | (name "jalv-select") | |
fc1ff7fc | 1399 | (version "1.3") |
3d4b1bb9 | 1400 | (source (origin |
ca364e7a RW |
1401 | (method git-fetch) |
1402 | (uri (git-reference | |
b0e7b699 | 1403 | (url "https://github.com/brummer10/jalv_select") |
fc1ff7fc | 1404 | (commit (string-append "v" version)))) |
ca364e7a | 1405 | (file-name (git-file-name name version)) |
3d4b1bb9 RW |
1406 | (sha256 |
1407 | (base32 | |
fc1ff7fc | 1408 | "15yanq1wra0hyh6x72ji7pk562iddg476g3vksj495x91zhnl6vm")))) |
3d4b1bb9 RW |
1409 | (build-system gnu-build-system) |
1410 | (arguments | |
1411 | `(#:make-flags | |
1412 | (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) | |
1413 | #:phases | |
1414 | (modify-phases %standard-phases | |
1415 | (delete 'configure) | |
1416 | (add-after 'unpack 'ignore-PATH | |
1417 | (lambda* (#:key inputs #:allow-other-keys) | |
1418 | (substitute* "jalv.select.cpp" | |
ad7f6e5f | 1419 | (("echo \\$PATH.*tr ':'.*xargs ls") |
3d4b1bb9 | 1420 | (string-append "ls -1 " (assoc-ref inputs "jalv") "/bin"))) |
ca364e7a RW |
1421 | #t)) |
1422 | (add-before 'reset-gzip-timestamps 'make-manpages-writable | |
1423 | (lambda* (#:key outputs #:allow-other-keys) | |
1424 | (for-each make-file-writable | |
1425 | (find-files (string-append (assoc-ref outputs "out") | |
1426 | "/share/man") | |
1427 | ".*\\.gz$")) | |
3d4b1bb9 RW |
1428 | #t))))) |
1429 | (inputs | |
1430 | `(("lilv" ,lilv) | |
1431 | ("lv2" ,lv2) | |
1432 | ("jalv" ,jalv) | |
1433 | ("gtkmm" ,gtkmm-2))) | |
1434 | (native-inputs | |
1435 | `(("pkg-config" ,pkg-config))) | |
1436 | (home-page "https://github.com/brummer10/jalv_select") | |
1437 | (synopsis "GUI to select LV2 plugins and run them with jalv") | |
1438 | (description | |
1439 | "The jalv.select package provides a graphical user interface allowing | |
1440 | users to select LV2 plugins and run them with jalv.") | |
1441 | (license license:public-domain))) | |
1442 | ||
b095e762 RW |
1443 | (define-public synthv1 |
1444 | (package | |
1445 | (name "synthv1") | |
958258dc | 1446 | (version "0.9.15") |
b095e762 RW |
1447 | (source (origin |
1448 | (method url-fetch) | |
1449 | (uri | |
de67e922 LF |
1450 | (string-append "mirror://sourceforge/synthv1/synthv1/" version |
1451 | "/synthv1-" version ".tar.gz")) | |
b095e762 RW |
1452 | (sha256 |
1453 | (base32 | |
958258dc | 1454 | "047y2l7ipzv00ly54f074v6p043xjml7vz0svc7z81bhx74vs0ix")))) |
b095e762 | 1455 | (build-system gnu-build-system) |
69008d73 | 1456 | (arguments |
8c7c7687 | 1457 | `(#:tests? #f)) ; there are no tests |
b095e762 RW |
1458 | (inputs |
1459 | `(("jack" ,jack-1) | |
1460 | ("lv2" ,lv2) | |
1461 | ("alsa-lib" ,alsa-lib) | |
b45aa39b | 1462 | ("non-session-manager" ,non-session-manager) |
b095e762 | 1463 | ("liblo" ,liblo) |
8b39565c | 1464 | ("qtbase" ,qtbase))) |
b45aa39b | 1465 | (native-inputs |
8b39565c VL |
1466 | `(("pkg-config" ,pkg-config) |
1467 | ("qttools" ,qttools))) | |
9459216a | 1468 | (home-page "https://synthv1.sourceforge.io") |
b095e762 RW |
1469 | (synopsis "Polyphonic subtractive synthesizer") |
1470 | (description | |
1471 | "Synthv1 is an old-school subtractive polyphonic synthesizer with four | |
1472 | oscillators and stereo effects.") | |
1473 | (license license:gpl2+))) | |
2bb00612 | 1474 | |
cf9af706 RW |
1475 | (define-public drumkv1 |
1476 | (package | |
1477 | (name "drumkv1") | |
f4482a63 | 1478 | (version "0.9.15") |
cf9af706 RW |
1479 | (source (origin |
1480 | (method url-fetch) | |
1481 | (uri | |
1482 | (string-append "mirror://sourceforge/drumkv1/drumkv1/" version | |
1483 | "/drumkv1-" version ".tar.gz")) | |
1484 | (sha256 | |
1485 | (base32 | |
f4482a63 | 1486 | "108jk8p1sbm99plipf98ssij6dxaip1lmznibg8y2c4x0v2la6ab")))) |
cf9af706 RW |
1487 | (build-system gnu-build-system) |
1488 | (arguments | |
8b78ba2b | 1489 | `(#:tests? #f)) ; there are no tests |
cf9af706 RW |
1490 | (inputs |
1491 | `(("jack" ,jack-1) | |
1492 | ("lv2" ,lv2) | |
1493 | ("libsndfile" ,libsndfile) | |
1494 | ("alsa-lib" ,alsa-lib) | |
41e2a731 | 1495 | ("non-session-manager" ,non-session-manager) |
cf9af706 RW |
1496 | ("liblo" ,liblo) |
1497 | ("qtbase" ,qtbase))) | |
1498 | (native-inputs | |
1499 | `(("pkg-config" ,pkg-config) | |
1500 | ("qttools" ,qttools))) | |
9459216a | 1501 | (home-page "https://drumkv1.sourceforge.io") |
cf9af706 RW |
1502 | (synopsis "Drum-kit sampler synthesizer with stereo effects") |
1503 | (description | |
1504 | "Drumkv1 is an old-school drum-kit sampler synthesizer with stereo | |
1505 | effects.") | |
1506 | (license license:gpl2+))) | |
1507 | ||
18675264 RW |
1508 | (define-public samplv1 |
1509 | (package | |
1510 | (name "samplv1") | |
5aed9101 | 1511 | (version "0.9.15") |
18675264 RW |
1512 | (source (origin |
1513 | (method url-fetch) | |
1514 | (uri | |
1515 | (string-append "mirror://sourceforge/samplv1/samplv1/" version | |
1516 | "/samplv1-" version ".tar.gz")) | |
1517 | (sha256 | |
1518 | (base32 | |
5aed9101 | 1519 | "0r3bz64jqv5j4rqaxkbiqkxdf8n3hlcwjx1p19qfzik1lbwv9nw5")))) |
18675264 RW |
1520 | (build-system gnu-build-system) |
1521 | (arguments | |
d32f2aa3 | 1522 | `(#:tests? #f)) ; there are no tests |
18675264 RW |
1523 | (inputs |
1524 | `(("jack" ,jack-1) | |
1525 | ("lv2" ,lv2) | |
1526 | ("libsndfile" ,libsndfile) | |
1527 | ("alsa-lib" ,alsa-lib) | |
92b70c6f | 1528 | ("non-session-manager" ,non-session-manager) |
18675264 RW |
1529 | ("liblo" ,liblo) |
1530 | ("qtbase" ,qtbase))) | |
1531 | (native-inputs | |
1532 | `(("pkg-config" ,pkg-config) | |
1533 | ("qttools" ,qttools))) | |
9459216a | 1534 | (home-page "https://samplv1.sourceforge.io") |
18675264 RW |
1535 | (synopsis "Polyphonic sampler synthesizer with stereo effects") |
1536 | (description | |
1537 | "Samplv1 is an old-school polyphonic sampler synthesizer with stereo | |
1538 | effects.") | |
1539 | (license license:gpl2+))) | |
1540 | ||
2702e12e RW |
1541 | (define-public padthv1 |
1542 | (package | |
1543 | (name "padthv1") | |
0b97e8fc | 1544 | (version "0.9.15") |
2702e12e RW |
1545 | (source (origin |
1546 | (method url-fetch) | |
1547 | (uri | |
1548 | (string-append "mirror://sourceforge/padthv1/padthv1/" version | |
1549 | "/padthv1-" version ".tar.gz")) | |
1550 | (sha256 | |
1551 | (base32 | |
0b97e8fc | 1552 | "18ma429kamifcvjmsv0hysxk7qn2r9br4fia929bvfccapck98y1")))) |
2702e12e RW |
1553 | (build-system gnu-build-system) |
1554 | (arguments | |
0246bfc0 | 1555 | `(#:tests? #f)) ; there are no tests |
2702e12e RW |
1556 | (inputs |
1557 | `(("jack" ,jack-1) | |
1558 | ("lv2" ,lv2) | |
1559 | ("alsa-lib" ,alsa-lib) | |
1560 | ("non-session-manager" ,non-session-manager) | |
1561 | ("liblo" ,liblo) | |
1562 | ("fftw" ,fftw) | |
1563 | ("qtbase" ,qtbase))) | |
1564 | (native-inputs | |
1565 | `(("pkg-config" ,pkg-config) | |
1566 | ("qttools" ,qttools))) | |
9459216a | 1567 | (home-page "https://padthv1.sourceforge.io") |
2702e12e RW |
1568 | (synopsis "Polyphonic additive synthesizer") |
1569 | (description | |
1570 | "Padthv1 is an old-school polyphonic additive synthesizer with stereo | |
1571 | effects. Padthv1 is based on the PADsynth algorithm by Paul Nasca, as a | |
1572 | special variant of additive synthesis.") | |
1573 | (license license:gpl2+))) | |
1574 | ||
2bb00612 RW |
1575 | (define-public amsynth |
1576 | (package | |
1577 | (name "amsynth") | |
7e0befd4 | 1578 | (version "1.7.1") |
2bb00612 RW |
1579 | (source |
1580 | (origin | |
1581 | (method url-fetch) | |
1582 | (uri (string-append "https://github.com/amsynth/amsynth/releases/" | |
1583 | "download/release-" version | |
1584 | "/amsynth-" version ".tar.bz2")) | |
1585 | (sha256 | |
1586 | (base32 | |
7e0befd4 | 1587 | "1882pfcmf3rqg3vd4qflzkppcv158d748i603spqjbxqi8z7x7w0")))) |
2bb00612 | 1588 | (build-system gnu-build-system) |
2bb00612 RW |
1589 | (inputs |
1590 | `(("alsa-lib" ,alsa-lib) | |
1591 | ("jack" ,jack-1) | |
1592 | ("lv2" ,lv2) | |
7175f4c2 | 1593 | ("lash" ,lash) |
2bb00612 RW |
1594 | ("libsndfile" ,libsndfile) |
1595 | ("gtk+" ,gtk+-2) | |
1596 | ("gtkmm" ,gtkmm-2))) | |
1597 | (native-inputs | |
7e0befd4 RW |
1598 | `(("pkg-config" ,pkg-config) |
1599 | ("intltool" ,intltool))) | |
c99f0e57 | 1600 | (home-page "https://amsynth.github.io") |
2bb00612 RW |
1601 | (synopsis "Analog modeling synthesizer") |
1602 | (description | |
1603 | "amsynth is an easy-to-use software synthesizer with a classic | |
1604 | subtractive synthesizer topology. Its features include: dual | |
1605 | oscillators (sine, saw, square, noise) with hard sync; 12 and 24 dB/oct | |
1606 | resonant filters (low-pass, high-pass, band-pass, notch); mono, poly, legato | |
1607 | keyboard modes; dual ADSR envelope generators for filter and amplitude; LFO | |
1608 | which can modulate the oscillators, filter, and amplitude; distortion and | |
1609 | reverb effects.") | |
1610 | (license license:gpl2+))) | |
b095e762 | 1611 | |
ec8da0e2 RW |
1612 | (define-public setbfree |
1613 | (package | |
1614 | (name "setbfree") | |
be99ceef | 1615 | (version "0.8.11") |
ec8da0e2 | 1616 | (source (origin |
e0674840 TGR |
1617 | (method git-fetch) |
1618 | (uri (git-reference | |
1619 | (url "https://github.com/pantherb/setBfree") | |
1620 | (commit (string-append "v" version)))) | |
1621 | (file-name (git-file-name name version)) | |
ec8da0e2 RW |
1622 | (sha256 |
1623 | (base32 | |
be99ceef | 1624 | "1s3ps3cjwlm63ml4izb7mizy8ci5pl9a19lvz62xf0br089h3afc")))) |
ec8da0e2 RW |
1625 | (build-system gnu-build-system) |
1626 | (arguments | |
d7caf8b8 | 1627 | `(#:tests? #f ; no "check" target |
ec8da0e2 RW |
1628 | #:make-flags |
1629 | (list (string-append "PREFIX=" (assoc-ref %outputs "out")) | |
1630 | (string-append "FONTFILE=" | |
1631 | (assoc-ref %build-inputs "font-bitstream-vera") | |
b42d4508 RW |
1632 | "/share/fonts/truetype/VeraBd.ttf") |
1633 | ;; Disable unsupported optimization flags on non-x86 | |
1634 | ,@(let ((system (or (%current-target-system) | |
1635 | (%current-system)))) | |
1636 | (if (or (string-prefix? "x86_64" system) | |
1637 | (string-prefix? "i686" system)) | |
1638 | '() | |
1639 | '("OPTIMIZATIONS=-ffast-math -fomit-frame-pointer -O3")))) | |
ec8da0e2 RW |
1640 | #:phases |
1641 | (modify-phases %standard-phases | |
1642 | (add-before 'build 'set-CC-variable | |
d7caf8b8 | 1643 | (lambda _ (setenv "CC" "gcc") #t)) |
ec8da0e2 RW |
1644 | (delete 'configure)))) |
1645 | (inputs | |
1646 | `(("jack" ,jack-1) | |
1647 | ("lv2" ,lv2) | |
1648 | ("zita-convolver" ,zita-convolver) | |
1649 | ("glu" ,glu) | |
1650 | ("ftgl" ,ftgl) | |
1651 | ("font-bitstream-vera" ,font-bitstream-vera))) | |
1652 | (native-inputs | |
1653 | `(("help2man" ,help2man) | |
1654 | ("pkg-config" ,pkg-config))) | |
1655 | (home-page "http://setbfree.org") | |
1656 | (synopsis "Tonewheel organ") | |
1657 | (description | |
1658 | "setBfree is a MIDI-controlled, software synthesizer designed to imitate | |
1659 | the sound and properties of the electromechanical organs and sound | |
1660 | modification devices that brought world-wide fame to the names and products of | |
1661 | Laurens Hammond and Don Leslie.") | |
1662 | (license license:gpl2+))) | |
1663 | ||
770305f4 RW |
1664 | (define-public beast |
1665 | (package | |
1666 | (name "beast") | |
1667 | (version "0.10.0") | |
1668 | (source (origin | |
1669 | (method url-fetch) | |
1670 | (uri (string-append "https://testbit.eu/pub/dists/beast/beast-" | |
1671 | version ".tar.xz")) | |
1672 | (sha256 | |
1673 | (base32 | |
1674 | "1jzzmfwssklzw8fvvil04n8csc0zm99fnd9p2xa7c0xchg37lvhn")))) | |
1675 | (build-system gnu-build-system) | |
844f4f6e EF |
1676 | (arguments |
1677 | '(#:parallel-build? #f)) ; Race conditions cause build failures | |
770305f4 RW |
1678 | (inputs |
1679 | `(("rapicorn" ,rapicorn) | |
1680 | ("guile" ,guile-1.8) | |
1681 | ("python" ,python-2) | |
770305f4 RW |
1682 | ("libgnomecanvas" ,libgnomecanvas) |
1683 | ("libogg" ,libogg) | |
1684 | ("libmad" ,libmad) | |
1685 | ("flac" ,flac) | |
1686 | ("alsa-lib" ,alsa-lib) | |
1687 | ("libvorbis" ,libvorbis) | |
b94a6ca0 | 1688 | ("gettext" ,gettext-minimal))) |
770305f4 RW |
1689 | (native-inputs |
1690 | `(("pkg-config" ,pkg-config) | |
1691 | ("glib:bin" ,glib "bin") | |
f2516de2 | 1692 | ("cython" ,python2-cython) |
770305f4 RW |
1693 | ("perl" ,perl) |
1694 | ("perl-xml-parser" ,perl-xml-parser))) | |
1695 | (home-page "https://testbit.eu/wiki/Beast_Home") | |
1696 | (synopsis "Music composition and modular synthesis environment") | |
1697 | (description | |
1698 | "Beast is a music composition and modular synthesis application. It | |
1699 | supports a wide range of standards in the field, such as MIDI, various audio | |
1700 | file formats and LADSPA modules. It allows for multitrack editing, real-time | |
1701 | synthesis, 32bit audio rendering, precise timing down to sample granularity, | |
1702 | on-demand and partial loading of wave files, on the fly decoding, stereo | |
1703 | mixing, FFT scopes, MIDI automation and full scriptability in Scheme.") | |
1704 | (license license:gpl3+))) | |
1705 | ||
96250294 RW |
1706 | (define-public bristol |
1707 | (package | |
1708 | (name "bristol") | |
1709 | (version "0.60.11") | |
1710 | (source (origin | |
1711 | (method url-fetch) | |
1712 | (uri (string-append "mirror://sourceforge/bristol/bristol/" | |
1713 | (version-major+minor version) | |
1714 | "/bristol-" version ".tar.gz")) | |
1715 | (sha256 | |
1716 | (base32 | |
1717 | "1fi2m4gmvxdi260821y09lxsimq82yv4k5bbgk3kyc3x1nyhn7vx")))) | |
1718 | (build-system gnu-build-system) | |
18ef998b RW |
1719 | (arguments |
1720 | `(#:phases | |
1721 | (modify-phases %standard-phases | |
1722 | (add-after 'unpack 'remove-sse-flags | |
1723 | (lambda* (#:key system #:allow-other-keys) | |
1724 | (when (not (or (string-prefix? "x86_64" system) | |
1725 | (string-prefix? "i686" system))) | |
1726 | (substitute* "bristol/Makefile.in" | |
1727 | (("-msse -mfpmath=sse") ""))) | |
73124d34 | 1728 | #t)) |
bd0c6231 RW |
1729 | ;; alsa-lib 1.1.x no longer provides iatomic.h. That's okay because |
1730 | ;; bristol actually doesn't use it. | |
1731 | (add-after 'unpack 'do-not-use-alsa-iatomic | |
1732 | (lambda _ | |
1733 | (substitute* "libbristolaudio/audioEngineJack.c" | |
1734 | (("#include <alsa/iatomic.h>") "")) | |
1735 | #t)) | |
73124d34 RW |
1736 | ;; We know that Bristol has been linked with JACK and we don't have |
1737 | ;; ldd, so we can just skip this check. | |
1738 | (add-after 'unpack 'do-not-grep-for-jack | |
1739 | (lambda _ | |
1740 | (substitute* "bin/startBristol.in" | |
1741 | (("ldd `which bristol` | grep jack") "echo guix")) | |
18ef998b | 1742 | #t))))) |
96250294 RW |
1743 | (inputs |
1744 | `(("alsa-lib" ,alsa-lib) | |
1745 | ("jack" ,jack-1) | |
1746 | ("liblo" ,liblo) | |
1747 | ("libx11" ,libx11))) | |
1748 | (native-inputs | |
1749 | `(("pkg-config" ,pkg-config))) | |
1750 | (home-page "http://bristol.sourceforge.net/") | |
1751 | (synopsis "Synthesizer emulator") | |
1752 | (description | |
36a4366d | 1753 | "Bristol is an emulation package for a number of different @code{classic} |
96250294 RW |
1754 | synthesizers including additive and subtractive and a few organs. The |
1755 | application consists of the engine, which is called bristol, and its own GUI | |
1756 | library called brighton that represents all the emulations. There are | |
1757 | currently more than twenty different emulations; each does sound different | |
1758 | although the author maintains that the quality and accuracy of each emulation | |
1759 | is subjective.") | |
1760 | (license license:gpl3+))) | |
1761 | ||
6260d1a8 RW |
1762 | (define-public tuxguitar |
1763 | (package | |
1764 | (name "tuxguitar") | |
3cc64120 | 1765 | (version "1.5.4") |
6260d1a8 RW |
1766 | (source (origin |
1767 | (method url-fetch) | |
1768 | (uri (string-append | |
1769 | "mirror://sourceforge/tuxguitar/TuxGuitar/TuxGuitar-" | |
f467c352 | 1770 | version "/tuxguitar-" version "-src.tar.gz")) |
6260d1a8 RW |
1771 | (sha256 |
1772 | (base32 | |
3cc64120 | 1773 | "0fjhf56lhlhm84v08917xp4yw8y6d0qajm4qiy1gfp8dm74whwwg")))) |
f467c352 | 1774 | (build-system ant-build-system) |
6260d1a8 | 1775 | (arguments |
f467c352 | 1776 | `(#:build-target "build" |
40f372af | 1777 | #:jdk ,icedtea-8 |
a0a7e425 | 1778 | #:tests? #f ; no tests |
6260d1a8 | 1779 | #:phases |
5f1c9498 | 1780 | (modify-phases %standard-phases |
44e70dee | 1781 | (replace 'build |
f467c352 | 1782 | (lambda* (#:key inputs outputs #:allow-other-keys) |
750e54ec RW |
1783 | (let* ((initial-classpath (getenv "CLASSPATH")) |
1784 | (build-dir (lambda (dir) | |
44e70dee MR |
1785 | (setenv |
1786 | "CLASSPATH" | |
1787 | (string-join (cons initial-classpath | |
1788 | (find-files (getcwd) "\\.jar$")) | |
1789 | ":")) | |
1790 | (with-directory-excursion dir | |
1791 | (if (file-exists? "build.xml") | |
1792 | ((assoc-ref %standard-phases 'build) | |
1793 | #:build-target "build") | |
1794 | (begin | |
1795 | ;; Generate default build.xml. | |
1796 | ((@@ (guix build ant-build-system) | |
1797 | default-build.xml) | |
1798 | (string-append (string-downcase dir) ".jar") | |
1799 | (string-append (assoc-ref outputs "out") | |
1800 | "/share/java")) | |
1801 | ((assoc-ref %standard-phases 'build)))))))) | |
1802 | (map build-dir '("TuxGuitar-lib" | |
1803 | "TuxGuitar-editor-utils" | |
750e54ec RW |
1804 | "TuxGuitar-ui-toolkit" |
1805 | "TuxGuitar-ui-toolkit-swt" | |
44e70dee MR |
1806 | "TuxGuitar-viewer" |
1807 | "TuxGuitar" | |
1808 | "TuxGuitar-gm-utils" | |
1809 | "TuxGuitar-alsa" | |
1810 | "TuxGuitar-midi" | |
1811 | "TuxGuitar-midi-ui")) | |
1812 | #t))) | |
1813 | (add-after 'build 'build-jni | |
f467c352 | 1814 | (lambda _ |
44e70dee MR |
1815 | (setenv "CC" "gcc") |
1816 | (setenv "CFLAGS" (string-append | |
1817 | "-fpic -I" | |
1818 | (getcwd) | |
1819 | "/build-scripts/native-modules/common-include")) | |
1820 | (invoke "make" "-C" "./TuxGuitar-alsa/jni" "-f" "GNUmakefile"))) | |
f467c352 RW |
1821 | (replace 'install |
1822 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
1823 | (let* ((out (assoc-ref outputs "out")) | |
1824 | (bin (string-append out "/bin")) | |
1825 | (share (string-append out "/share")) | |
44e70dee | 1826 | (jni-lib (string-append out "/lib")) |
f467c352 | 1827 | (lib (string-append share "/java")) |
44e70dee MR |
1828 | (swt (assoc-ref inputs "java-swt")) |
1829 | (mime (string-append share "/mime/packages")) | |
1830 | (app (string-append share "/applications")) | |
1831 | (man (string-append share "/man/man1"))) | |
1832 | ||
f467c352 | 1833 | (mkdir-p bin) |
a0a7e425 | 1834 | ;; Install all jars. |
f467c352 RW |
1835 | (for-each (lambda (file) |
1836 | (install-file file lib)) | |
44e70dee MR |
1837 | (find-files "." "\\.jar$")) |
1838 | ||
1839 | ;; Install jni libraries | |
1840 | (for-each (lambda (file) | |
1841 | (install-file file jni-lib)) | |
1842 | (find-files "." "\\-jni.so$")) | |
750e54ec | 1843 | |
a0a7e425 | 1844 | ;; Install all resources. |
44e70dee MR |
1845 | (copy-recursively "./TuxGuitar/share" share) |
1846 | ||
1847 | ;; Install desktop and mime files | |
1848 | (install-file "./misc/tuxguitar.xml" mime) | |
1849 | (install-file "./misc/tuxguitar.desktop" app) | |
1850 | ||
1851 | ;; Install manaual | |
1852 | (install-file "./misc/tuxguitar.1" man) | |
750e54ec | 1853 | |
a0a7e425 | 1854 | ;; Create wrapper. |
f467c352 RW |
1855 | (call-with-output-file (string-append bin "/tuxguitar") |
1856 | (lambda (port) | |
44e70dee MR |
1857 | (let ((classpath (string-join (append (find-files lib "\\.jar$") |
1858 | (find-files swt "\\.jar$")) | |
f467c352 RW |
1859 | ":"))) |
1860 | (format | |
1861 | port | |
1862 | (string-append "#!/bin/sh\n" | |
1863 | (which "java") | |
1864 | " -cp " classpath | |
1865 | " -Dtuxguitar.home.path=" out | |
1866 | " -Dtuxguitar.share.path=" out "/share" | |
1867 | " -Dswt.library.path=" swt "/lib" | |
44e70dee | 1868 | " -Djava.library.path=" out "/lib" |
f467c352 RW |
1869 | " org.herac.tuxguitar.app.TGMainSingleton" |
1870 | " \"$1\" \"$2\""))))) | |
1871 | (chmod (string-append bin "/tuxguitar") #o555) | |
1872 | #t)))))) | |
6260d1a8 | 1873 | (inputs |
44e70dee MR |
1874 | `(("alsa-lib" ,alsa-lib) |
1875 | ("java-swt" ,java-swt))) | |
d4eae3f7 | 1876 | (home-page "http://tuxguitar.com.ar/") |
6260d1a8 RW |
1877 | (synopsis "Multitrack tablature editor and player") |
1878 | (description | |
1879 | "TuxGuitar is a guitar tablature editor with player support through midi. | |
1880 | It can display scores and multitrack tabs. TuxGuitar provides various | |
1881 | additional features, including autoscrolling while playing, note duration | |
1882 | management, bend/slide/vibrato/hammer-on/pull-off effects, support for | |
1883 | tuplets, time signature management, tempo management, gp3/gp4/gp5 import and | |
1884 | export.") | |
1885 | (license license:lgpl2.1+))) | |
2d0fd07b RW |
1886 | |
1887 | (define-public pd | |
1888 | (package | |
1889 | (name "pd") | |
f6b8b181 | 1890 | (version "0.51-0") |
2d0fd07b RW |
1891 | (source (origin |
1892 | (method url-fetch) | |
1893 | (uri | |
037bf4f4 RW |
1894 | (string-append "http://msp.ucsd.edu/Software/pd-" |
1895 | version ".src.tar.gz")) | |
2d0fd07b RW |
1896 | (sha256 |
1897 | (base32 | |
f6b8b181 | 1898 | "0qzv4hjf4h7xx00ihnbl43pxa0fia9qkc8nwgzhqrs12jiljz6ps")))) |
2d0fd07b RW |
1899 | (build-system gnu-build-system) |
1900 | (arguments | |
98f08a99 TGR |
1901 | (let ((wish (string-append "wish" (version-major+minor |
1902 | (package-version tk))))) | |
1903 | `(#:tests? #f ; no "check" target | |
1904 | #:configure-flags | |
1905 | (list | |
1906 | "--enable-jack" | |
1907 | (string-append "--with-wish=" (string-append | |
1908 | (assoc-ref %build-inputs "tk") | |
1909 | "/bin/" ,wish))) | |
1910 | #:phases | |
1911 | (modify-phases %standard-phases | |
1912 | (add-before 'configure 'fix-with-path | |
1913 | (lambda _ | |
1914 | (substitute* "tcl/pd-gui.tcl" | |
1915 | (("exec wish ") (string-append "exec " (which ,wish) " "))) | |
1916 | #t)))))) | |
2d0fd07b RW |
1917 | (native-inputs |
1918 | `(("autoconf" ,autoconf) | |
1919 | ("automake" ,automake) | |
1920 | ("libtool" ,libtool) | |
b94a6ca0 | 1921 | ("gettext" ,gettext-minimal) |
2d0fd07b RW |
1922 | ("pkg-config" ,pkg-config))) |
1923 | (inputs | |
1924 | `(("tk" ,tk) | |
1925 | ("alsa-lib" ,alsa-lib) | |
1926 | ("jack" ,jack-1))) | |
8c5b29c7 | 1927 | (home-page "https://puredata.info") |
2d0fd07b RW |
1928 | (synopsis "Visual programming language for artistic performances") |
1929 | (description | |
1930 | "Pure Data (aka Pd) is a visual programming language. Pd enables | |
1931 | musicians, visual artists, performers, researchers, and developers to create | |
1932 | software graphically, without writing lines of code. Pd is used to process | |
1933 | and generate sound, video, 2D/3D graphics, and interface sensors, input | |
1934 | devices, and MIDI. Pd can easily work over local and remote networks to | |
1935 | integrate wearable technology, motor systems, lighting rigs, and other | |
1936 | equipment. Pd is suitable for learning basic multimedia processing and visual | |
1937 | programming methods as well as for realizing complex systems for large-scale | |
1938 | projects.") | |
1939 | (license license:bsd-3))) | |
821664f1 | 1940 | |
6826f1e1 SB |
1941 | (define-public libpd |
1942 | (package | |
1943 | (name "libpd") | |
1944 | (version "0.11.0") | |
1945 | (source (origin | |
1946 | (method git-fetch) | |
1947 | (uri (git-reference | |
b0e7b699 | 1948 | (url "https://github.com/libpd/libpd") |
6826f1e1 SB |
1949 | (commit version) |
1950 | (recursive? #t))) ; for the 'pure-data' submodule | |
1951 | (file-name (string-append name "-" version "-checkout")) | |
1952 | (sha256 | |
1953 | (base32 | |
1954 | "1bcg1d9iyf9n37hwwphmih0c8rd1xcqykil5z1cax6xfs76552nk")))) | |
1955 | (build-system gnu-build-system) | |
1956 | (arguments | |
1957 | '(#:tests? #f ; no tests | |
1958 | #:make-flags '("CC=gcc") | |
1959 | #:phases | |
1960 | (modify-phases %standard-phases | |
1961 | (delete 'configure) ; no configure script | |
1962 | (replace 'install | |
1963 | (lambda* (#:key outputs #:allow-other-keys) | |
1964 | (let ((out (assoc-ref outputs "out"))) | |
1965 | (invoke "make" "install" | |
1966 | (string-append "prefix=" out) | |
1967 | ;; XXX: Fix the last 2 lines of 'install' target. | |
1968 | "LIBPD_IMPLIB=NO" | |
1969 | "LIBPD_DEF=NO"))))))) | |
1970 | (home-page "http://libpd.cc/") | |
1971 | (synopsis "Pure Data as an embeddable audio synthesis library") | |
1972 | (description | |
1973 | "Libpd provides Pure Data as an embeddable audio synthesis library. Its | |
1974 | main purpose is to liberate raw audio rendering from audio and MIDI drivers.") | |
1975 | (license license:bsd-3))) | |
1976 | ||
aacb52fb RW |
1977 | (define-public portmidi |
1978 | (package | |
1979 | (name "portmidi") | |
1980 | (version "217") | |
1981 | (source (origin | |
1982 | (method url-fetch) | |
1983 | (uri (string-append "mirror://sourceforge/portmedia/portmidi/" | |
1984 | version "/portmidi-src-" version ".zip")) | |
1985 | (sha256 | |
1986 | (base32 | |
1987 | "03rfsk7z6rdahq2ihy5k13qjzgx757f75yqka88v3gc0pn9ais88")) | |
1988 | (patches (list (search-patch "portmidi-modular-build.patch"))))) | |
1989 | (build-system cmake-build-system) | |
1990 | (arguments | |
3def739d TGR |
1991 | `(#:tests? #f ; tests cannot be linked |
1992 | #:build-type "Release" ; needed to have PMALSA set | |
aacb52fb RW |
1993 | #:configure-flags |
1994 | (list "-DPORTMIDI_ENABLE_JAVA=Off" | |
a374d9c9 NG |
1995 | "-DPORTMIDI_ENABLE_TEST=Off") ; tests fail linking |
1996 | #:phases | |
1997 | (modify-phases %standard-phases | |
1998 | ;; Some packages, e.g., MuseScore, expect "libporttime.so" instead of | |
1999 | ;; "libportmidi.so". Distributions get away with it by creating an | |
2000 | ;; appropriate symlink. | |
2001 | (add-after 'install 'add-porttime | |
2002 | (lambda* (#:key outputs #:allow-other-keys) | |
2003 | (let* ((out (assoc-ref outputs "out")) | |
2004 | (lib (string-append out "/lib"))) | |
2005 | (with-directory-excursion lib | |
2006 | (symlink "libportmidi.so" "libporttime.so"))) | |
2007 | #t))))) | |
aacb52fb RW |
2008 | (inputs |
2009 | `(("alsa-lib" ,alsa-lib))) | |
2010 | (native-inputs | |
2011 | `(("unzip" ,unzip))) | |
2012 | (home-page "http://portmedia.sourceforge.net/portmidi/") | |
2013 | (synopsis "Library for MIDI I/O") | |
2014 | (description | |
2015 | "PortMidi is a library supporting real-time input and output of MIDI data | |
2016 | using a system-independent interface.") | |
2017 | (license license:expat))) | |
f65d59fc | 2018 | |
38098bf7 | 2019 | (define-public portmidi-for-extempore |
fc570fab GL |
2020 | (let ((version "217") |
2021 | (revision "0") | |
2022 | (commit "8602f548f71daf5ef638b2f7d224753400cb2158")) | |
2023 | (package (inherit portmidi) | |
2024 | (name "portmidi-for-extempore") | |
2025 | (version (git-version version revision commit)) | |
2026 | (source (origin | |
2027 | (method git-fetch) | |
2028 | (uri (git-reference | |
b0e7b699 | 2029 | (url "https://github.com/extemporelang/portmidi") |
fc570fab GL |
2030 | (commit commit))) |
2031 | (file-name (git-file-name name version)) | |
2032 | (sha256 | |
2033 | (base32 | |
2034 | "1qidzl1s3kzhczzm96rcd2ppn27a97k2axgfh1zhvyf0s52d7m4w")))) | |
2035 | (build-system cmake-build-system) | |
2036 | (arguments `(#:tests? #f)) ; no tests | |
2037 | (native-inputs '()) | |
2038 | ;; Extempore refuses to build on architectures other than x86_64 | |
2039 | (supported-systems '("x86_64-linux")) | |
2040 | (home-page "https://github.com/extemporelang/portmidi/")))) | |
38098bf7 | 2041 | |
f65d59fc RW |
2042 | (define-public python-pyportmidi |
2043 | (package | |
2044 | (name "python-pyportmidi") | |
2045 | (version (package-version portmidi)) | |
2046 | (source (package-source portmidi)) | |
2047 | (build-system python-build-system) | |
2048 | (arguments | |
2049 | `(#:tests? #f ; no tests included | |
2050 | #:phases | |
2051 | (modify-phases %standard-phases | |
2052 | (add-after 'unpack 'enter-dir | |
2053 | (lambda _ (chdir "pm_python") #t)) | |
2054 | (add-after 'enter-dir 'fix-setup.py | |
2055 | (lambda _ | |
2056 | (substitute* "setup.py" | |
2057 | ;; Use Python 3 syntax | |
2058 | (("print (\".*\")" _ text) | |
2059 | (string-append "print(" text ")\n")) | |
2060 | ;; TODO.txt and CHANGES.txt don't exist | |
2061 | (("CHANGES =.*") "CHANGES = \"\"\n") | |
2062 | (("TODO =.*") "TODO = \"\"\n")) | |
2063 | #t))))) | |
2064 | (inputs | |
2065 | `(("portmidi" ,portmidi) | |
f2516de2 | 2066 | ("alsa-lib" ,alsa-lib))) |
f65d59fc | 2067 | (native-inputs |
f2516de2 HG |
2068 | `(("python-cython" ,python-cython) |
2069 | ("unzip" ,unzip))) | |
f65d59fc RW |
2070 | (home-page "http://portmedia.sourceforge.net/portmidi/") |
2071 | (synopsis "Python bindings to PortMidi") | |
2072 | (description | |
2073 | "This package provides Python bindings to the PortMidi library.") | |
2074 | (license license:expat))) | |
aacb52fb | 2075 | |
821664f1 RW |
2076 | (define-public frescobaldi |
2077 | (package | |
2078 | (name "frescobaldi") | |
88c586f3 | 2079 | (version "3.1.2") |
eaa3cb1e NG |
2080 | (source |
2081 | (origin | |
2082 | (method url-fetch) | |
2083 | (uri (string-append | |
2084 | "https://github.com/wbsoft/frescobaldi/releases/download/v" | |
2085 | version "/frescobaldi-" version ".tar.gz")) | |
2086 | (sha256 | |
88c586f3 | 2087 | (base32 "084vxzvxnxl5rrhllincnh6krsyi03c8p0452ppzmn9c52wgyb2w")))) |
821664f1 | 2088 | (build-system python-build-system) |
eaa3cb1e NG |
2089 | (arguments |
2090 | `(#:tests? #f)) ;no tests included | |
821664f1 RW |
2091 | (inputs |
2092 | `(("lilypond" ,lilypond) | |
eaa3cb1e | 2093 | ("poppler" ,poppler) |
6855b347 | 2094 | ("portmidi" ,portmidi) |
821664f1 | 2095 | ("python-ly" ,python-ly) |
e40335b2 | 2096 | ("python-poppler-qt5" ,python-poppler-qt5) |
eaa3cb1e NG |
2097 | ("python-pyportmidi" ,python-pyportmidi) |
2098 | ("python-pyqt" ,python-pyqt) | |
821664f1 | 2099 | ("python-sip" ,python-sip))) |
3e2d65ae | 2100 | (home-page "https://www.frescobaldi.org/") |
821664f1 RW |
2101 | (synopsis "LilyPond sheet music text editor") |
2102 | (description | |
2103 | "Frescobaldi is a LilyPond sheet music text editor with syntax | |
2104 | highlighting and automatic completion. Among other things, it can render | |
2105 | scores next to the source, can capture input from MIDI or read MusicXML and | |
2106 | ABC files, has a MIDI player for proof-listening, and includes a documentation | |
2107 | browser.") | |
2108 | (license license:gpl2+))) | |
ddfddb0c | 2109 | |
bf76d780 RW |
2110 | (define-public drumstick |
2111 | (package | |
2112 | (name "drumstick") | |
6fd7e0cc | 2113 | (version "1.1.3") |
bf76d780 RW |
2114 | (source (origin |
2115 | (method url-fetch) | |
2116 | (uri (string-append "mirror://sourceforge/drumstick/" | |
2117 | version "/drumstick-" version ".tar.bz2")) | |
2118 | (sha256 | |
2119 | (base32 | |
6fd7e0cc | 2120 | "1n9wvg79yvkygrkc8xd8pgrd3d7hqmr7gh24dccf0px23lla9b3m")))) |
bf76d780 RW |
2121 | (build-system cmake-build-system) |
2122 | (arguments | |
7adaf5b5 | 2123 | `(#:tests? #f ; no test target |
bf76d780 RW |
2124 | #:configure-flags '("-DLIB_SUFFIX=") |
2125 | #:phases | |
2126 | (modify-phases %standard-phases | |
2127 | (add-before 'configure 'fix-docbook | |
2128 | (lambda* (#:key inputs #:allow-other-keys) | |
2129 | (substitute* "cmake_admin/CreateManpages.cmake" | |
2130 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
2131 | (string-append (assoc-ref inputs "docbook-xsl") | |
2132 | "/xml/xsl/docbook-xsl-" | |
2133 | ,(package-version docbook-xsl) | |
2134 | "/manpages/docbook.xsl"))) | |
2135 | #t))))) | |
2136 | (inputs | |
ca1cab82 EF |
2137 | `(("qtbase" ,qtbase) |
2138 | ("qtsvg" ,qtsvg) | |
7adaf5b5 | 2139 | ("alsa-lib" ,alsa-lib))) |
bf76d780 RW |
2140 | (native-inputs |
2141 | `(("pkg-config" ,pkg-config) | |
7adaf5b5 | 2142 | ("libxslt" ,libxslt) ; for xsltproc |
bf76d780 RW |
2143 | ("docbook-xsl" ,docbook-xsl) |
2144 | ("doxygen" ,doxygen))) | |
2145 | (home-page "http://drumstick.sourceforge.net/") | |
2146 | (synopsis "C++ MIDI library") | |
2147 | (description | |
2148 | "Drumstick is a set of MIDI libraries using C++/Qt5 idioms and style. It | |
2149 | includes a C++ wrapper around the ALSA library sequencer interface. A | |
2150 | complementary library provides classes for processing SMF (Standard MIDI | |
2151 | files: .MID/.KAR), Cakewalk (.WRK), and Overture (.OVE) file formats. A | |
2152 | multiplatform realtime MIDI I/O library is also provided with various output | |
2153 | backends, including ALSA, OSS, Network and FluidSynth.") | |
2154 | (license license:gpl2+))) | |
2155 | ||
14b9203d RW |
2156 | (define-public vmpk |
2157 | (package | |
2158 | (name "vmpk") | |
2159 | (version "0.7.2") | |
2160 | (source (origin | |
2161 | (method url-fetch) | |
2162 | (uri (string-append "mirror://sourceforge/vmpk/vmpk/" | |
2163 | version "/vmpk-" version ".tar.bz2")) | |
2164 | (sha256 | |
2165 | (base32 | |
2166 | "1i3hnvdgz46n4k5v0q4jhgh7nkh0s390ix4nqr69z0q3026yp0p6")))) | |
2167 | (build-system cmake-build-system) | |
2168 | (arguments | |
2169 | `(#:tests? #f ; no test target | |
2170 | #:phases | |
2171 | (modify-phases %standard-phases | |
2172 | (add-before 'configure 'fix-docbook | |
2173 | (lambda* (#:key inputs #:allow-other-keys) | |
2174 | (substitute* "cmake_admin/CreateManpages.cmake" | |
2175 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
2176 | (string-append (assoc-ref inputs "docbook-xsl") | |
2177 | "/xml/xsl/docbook-xsl-" | |
2178 | ,(package-version docbook-xsl) | |
2179 | "/manpages/docbook.xsl"))) | |
2180 | #t))))) | |
2181 | (inputs | |
2182 | `(("drumstick" ,drumstick) | |
2183 | ("qtbase" ,qtbase) | |
2184 | ("qtsvg" ,qtsvg) | |
14b9203d RW |
2185 | ("qtx11extras" ,qtx11extras))) |
2186 | (native-inputs | |
2187 | `(("libxslt" ,libxslt) ;for xsltproc | |
2188 | ("docbook-xsl" ,docbook-xsl) | |
f4783d77 | 2189 | ("qttools" ,qttools) |
14b9203d | 2190 | ("pkg-config" ,pkg-config))) |
45ebb59a | 2191 | (home-page "https://vmpk.sourceforge.io/") |
14b9203d RW |
2192 | (synopsis "Virtual MIDI piano keyboard") |
2193 | (description | |
2194 | "Virtual MIDI Piano Keyboard is a MIDI events generator and receiver. It | |
2195 | doesn't produce any sound by itself, but can be used to drive a MIDI | |
2196 | synthesizer (either hardware or software, internal or external). You can use | |
2197 | the computer's keyboard to play MIDI notes, and also the mouse. You can use | |
2198 | the Virtual MIDI Piano Keyboard to display the played MIDI notes from another | |
2199 | instrument or MIDI file player.") | |
2200 | (license license:gpl3+))) | |
2201 | ||
ddfddb0c RW |
2202 | (define-public zynaddsubfx |
2203 | (package | |
2204 | (name "zynaddsubfx") | |
5f88d81f | 2205 | (version "3.0.5") |
ddfddb0c RW |
2206 | (source (origin |
2207 | (method url-fetch) | |
2208 | (uri (string-append | |
2209 | "mirror://sourceforge/zynaddsubfx/zynaddsubfx/" | |
138e7697 | 2210 | version "/zynaddsubfx-" version ".tar.bz2")) |
ddfddb0c RW |
2211 | (sha256 |
2212 | (base32 | |
5f88d81f | 2213 | "0qwzg14h043rmyf9jqdylxhyfy4sl0vsr0gjql51wjhid0i34ivl")))) |
ddfddb0c | 2214 | (build-system cmake-build-system) |
00dfc97c RW |
2215 | (arguments |
2216 | `(#:phases | |
2217 | (modify-phases %standard-phases | |
2218 | ;; Move SSE compiler optimization flags from generic target to | |
2219 | ;; athlon64 and core2 targets, because otherwise the build would fail | |
2220 | ;; on non-Intel machines. | |
2221 | (add-after 'unpack 'remove-sse-flags-from-generic-target | |
2222 | (lambda _ | |
2223 | (substitute* "src/CMakeLists.txt" | |
2224 | (("-msse -msse2 -mfpmath=sse") "") | |
2225 | (("-march=(athlon64|core2)" flag) | |
2226 | (string-append flag " -msse -msse2 -mfpmath=sse"))) | |
2227 | #t))))) | |
ddfddb0c RW |
2228 | (inputs |
2229 | `(("liblo" ,liblo) | |
2230 | ("ntk" ,ntk) | |
1ea7969f | 2231 | ("mesa" ,mesa) |
ddfddb0c RW |
2232 | ("alsa-lib" ,alsa-lib) |
2233 | ("jack" ,jack-1) | |
2234 | ("fftw" ,fftw) | |
2235 | ("minixml" ,minixml) | |
2236 | ("libxpm" ,libxpm) | |
2237 | ("zlib" ,zlib))) | |
2238 | (native-inputs | |
2239 | `(("pkg-config" ,pkg-config))) | |
2240 | (home-page "http://zynaddsubfx.sf.net/") | |
2241 | (synopsis "Software synthesizer") | |
2242 | (description | |
2243 | "ZynAddSubFX is a feature heavy realtime software synthesizer. It offers | |
2244 | three synthesizer engines, multitimbral and polyphonic synths, microtonal | |
2245 | capabilities, custom envelopes, effects, etc.") | |
2246 | (license license:gpl2))) | |
c493679f RW |
2247 | |
2248 | (define-public yoshimi | |
c889fbbf TGR |
2249 | ;; Release 1.7.1 doesn't build with our version of LV2. Applying only |
2250 | ;; 86996cbb235f0fe138ae814a6758c2c8ba1c2a38 is not enough. | |
2251 | (let ((commit "bfcadc6537dbcb301cd93346f21d36bcbffa36c7") | |
2252 | (revision "0")) | |
2253 | (package | |
2254 | (name "yoshimi") | |
2255 | (version (git-version "1.7.1" revision commit)) | |
2256 | (source | |
2257 | (origin | |
2258 | (method git-fetch) | |
2259 | (uri (git-reference | |
2260 | (url "https://git.code.sf.net/p/yoshimi/code") | |
2261 | (commit commit))) | |
2262 | (sha256 | |
2263 | (base32 "0vhdxj7ky4iyq11r5wj9jwavjih4xvcn2djbrlmwpkdhrzpy6myl")) | |
2264 | (file-name (git-file-name name version)))) | |
2265 | (build-system cmake-build-system) | |
2266 | (arguments | |
2267 | `(#:tests? #f ; there are no tests | |
2268 | #:configure-flags | |
2269 | (list (string-append "-DCMAKE_INSTALL_DATAROOTDIR=" | |
2270 | (assoc-ref %outputs "out") "/share")) | |
2271 | #:phases | |
2272 | (modify-phases %standard-phases | |
2273 | (add-before 'configure 'enter-dir | |
2274 | (lambda _ (chdir "src") #t)) | |
2275 | ;; Move SSE compiler optimization flags from generic target to | |
2276 | ;; athlon64 and core2 targets, because otherwise the build would fail | |
2277 | ;; on non-Intel machines. | |
2278 | (add-after 'unpack 'remove-sse-flags-from-generic-target | |
2279 | (lambda _ | |
2280 | (substitute* "src/CMakeLists.txt" | |
2281 | (("-msse -msse2 -mfpmath=sse") "") | |
2282 | (("-march=(athlon64|core2)" flag) | |
2283 | (string-append flag " -msse -msse2 -mfpmath=sse"))) | |
2284 | #t))))) | |
2285 | (inputs | |
2286 | `(("boost" ,boost) | |
2287 | ("fftwf" ,fftwf) | |
2288 | ("alsa-lib" ,alsa-lib) | |
2289 | ("jack" ,jack-1) | |
2290 | ("fontconfig" ,fontconfig) | |
2291 | ("minixml" ,minixml) | |
2292 | ("mesa" ,mesa) | |
2293 | ("fltk" ,fltk) | |
2294 | ("lv2" ,lv2) | |
2295 | ("readline" ,readline) | |
2296 | ("ncurses" ,ncurses) | |
2297 | ("cairo" ,cairo) | |
2298 | ("zlib" ,zlib))) | |
2299 | (native-inputs | |
2300 | `(("pkg-config" ,pkg-config))) | |
2301 | (home-page "http://yoshimi.sourceforge.net/") | |
2302 | (synopsis "Multi-paradigm software synthesizer") | |
2303 | (description | |
2304 | "Yoshimi is a fork of ZynAddSubFX, a feature-heavy real-time software | |
c493679f RW |
2305 | synthesizer. It offers three synthesizer engines, multitimbral and polyphonic |
2306 | synths, microtonal capabilities, custom envelopes, effects, etc. Yoshimi | |
2307 | improves on support for JACK features, such as JACK MIDI.") | |
c889fbbf | 2308 | (license license:gpl2)))) |
658212eb | 2309 | |
e87cb754 RW |
2310 | (define-public libgig |
2311 | (package | |
2312 | (name "libgig") | |
ce63a3b9 | 2313 | (version "4.2.0") |
e87cb754 RW |
2314 | (source (origin |
2315 | (method url-fetch) | |
2316 | (uri (string-append "http://download.linuxsampler.org/packages/" | |
2317 | "libgig-" version ".tar.bz2")) | |
2318 | (sha256 | |
2319 | (base32 | |
ce63a3b9 | 2320 | "1zs5yy124bymfyapsnljr6rv2lnn5inwchm0xnwiw44b2d39l8hn")))) |
e87cb754 RW |
2321 | (build-system gnu-build-system) |
2322 | (inputs | |
bb93042c | 2323 | `(("libuuid" ,util-linux "lib") |
e87cb754 RW |
2324 | ("libsndfile" ,libsndfile))) |
2325 | (native-inputs | |
2326 | `(("pkg-config" ,pkg-config))) | |
2c051312 | 2327 | (home-page "https://linuxsampler.org/libgig/") |
e87cb754 RW |
2328 | (synopsis "C++ library for working with Gigasampler (.gig) files") |
2329 | (description | |
2330 | "Libgig is a C++ library for loading, modifying existing and creating new | |
2331 | Gigasampler (.gig) files and DLS (Downloadable Sounds) Level 1/2 files, KORG | |
2332 | sample based instruments (.KSF and .KMP files), SoundFont v2 (.sf2) files and | |
2333 | AKAI sampler data. The package includes a couple of command line tools based | |
2334 | on the library.") | |
2335 | ;; The library and tools are released under the GPL, except the AKAI | |
2336 | ;; classes which are released under the LGPL. | |
2337 | (license (list license:gpl2+ license:lgpl2.1+)))) | |
2338 | ||
a9f55bf2 RW |
2339 | (define-public jack-keyboard |
2340 | (package | |
2341 | (name "jack-keyboard") | |
2342 | (version "2.5") | |
2343 | (source | |
2344 | (origin | |
2345 | (method url-fetch) | |
2346 | (uri (string-append "mirror://sourceforge/jack-keyboard/jack-keyboard/" | |
2347 | version "/jack-keyboard-" version ".tar.gz")) | |
2348 | (sha256 | |
2349 | (base32 | |
2350 | "0mzmg8aavybcfdlq2yd9d0vscqd6is5p6jzrgfpfm5j3xdcvh2s3")))) | |
2351 | (build-system gnu-build-system) | |
2352 | (inputs | |
2353 | `(("jack" ,jack-1) | |
2354 | ("lash" ,lash) | |
2355 | ("gtk+" ,gtk+-2))) | |
2356 | (native-inputs | |
2357 | `(("pkg-config" ,pkg-config))) | |
2358 | (home-page "http://jack-keyboard.sourceforge.net/") | |
2359 | (synopsis "Virtual MIDI keyboard") | |
2360 | (description "Jack-keyboard is a virtual MIDI keyboard, a program that | |
2361 | allows you to send JACK MIDI events (i.e. play) using your PC keyboard.") | |
2362 | (license license:bsd-2))) | |
2363 | ||
39b33584 RW |
2364 | (define-public jack-capture |
2365 | (package | |
2366 | (name "jack-capture") | |
2367 | (version "0.9.73") | |
2368 | (source (origin | |
2369 | (method git-fetch) | |
2370 | (uri (git-reference | |
b0e7b699 | 2371 | (url "https://github.com/kmatheussen/jack_capture") |
39b33584 RW |
2372 | (commit version))) |
2373 | (file-name (string-append name "-" version "-checkout")) | |
2374 | (sha256 | |
2375 | (base32 | |
2376 | "0jcqky96q8xgya6wqv1p8pj9fkf2wh7ynl67ah7x5bn3basgfclf")))) | |
2377 | (build-system gnu-build-system) | |
2378 | (arguments | |
2379 | `(#:make-flags | |
2380 | (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) | |
2381 | #:tests? #f ; there are none | |
2382 | #:phases | |
2383 | (modify-phases %standard-phases | |
2384 | (delete 'configure)))) | |
2385 | (native-inputs | |
2386 | `(("pkg-config" ,pkg-config) | |
2387 | ("which" ,which))) | |
2388 | (inputs | |
2389 | `(("gtk+" ,gtk+-2) | |
2390 | ("jack" ,jack-1) | |
2391 | ("libogg" ,libogg) | |
2392 | ("liblo" ,liblo) | |
2393 | ("lame" ,lame) | |
2394 | ("libsndfile" ,libsndfile))) | |
2395 | (home-page "https://github.com/kmatheussen/jack_capture") | |
2396 | (synopsis "Program for recording sound files with JACK") | |
2397 | (description "This is a program for recording sound files with JACK. It | |
2398 | can connect to any JACK port and record the output into a stereo WAV file.") | |
2399 | (license license:gpl2+))) | |
2400 | ||
3f68f76e RW |
2401 | (define-public jack-select |
2402 | (package | |
2403 | (name "jack-select") | |
2404 | (version "1.5.0") | |
2405 | (source (origin | |
2406 | (method url-fetch) | |
2407 | (uri (pypi-uri "jack-select" version)) | |
2408 | (sha256 | |
2409 | (base32 | |
2410 | "1zijk9ly2fczxsnnrqr8s0ajmlyx1j1vd8gk0rm5dj5zyhhmia7f")))) | |
2411 | (build-system gnu-build-system) | |
2412 | (arguments | |
2413 | `(#:modules ((guix build gnu-build-system) | |
2414 | ((guix build python-build-system) #:prefix python:) | |
2415 | (guix build utils)) | |
2416 | #:imported-modules (,@%gnu-build-system-modules | |
2417 | (guix build python-build-system)) | |
2418 | #:make-flags | |
2419 | (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) | |
2420 | #:tests? #f ; there are none | |
2421 | #:phases | |
2422 | (modify-phases %standard-phases | |
2423 | (replace 'configure | |
2424 | (lambda* (#:key inputs #:allow-other-keys) | |
2425 | ;; python-dbus cannot be found but it's really there. See | |
2426 | ;; https://github.com/SpotlightKid/jack-select/issues/2 | |
2427 | (substitute* "setup.py" | |
2428 | (("'dbus-python',") "")) | |
2429 | ;; Fix reference to dlopened libraries. | |
2430 | (substitute* "jackselect/alsainfo.py" | |
2431 | (("libasound.so.2") | |
2432 | (string-append (assoc-ref inputs "alsa-lib") | |
2433 | "/lib/libasound.so.2"))) | |
2434 | #t)) | |
2435 | (replace 'build | |
2436 | (assoc-ref python:%standard-phases 'build)) | |
2437 | (add-after 'install 'wrap | |
2438 | (assoc-ref python:%standard-phases 'wrap))))) | |
2439 | (native-inputs | |
2440 | `(("pkg-config" ,pkg-config))) | |
2441 | (inputs | |
2442 | `(("alsa-lib" ,alsa-lib) | |
2443 | ("python" ,python-wrapper) | |
2444 | ("python-pyudev" ,python-pyudev) | |
2445 | ("python-pyxdg" ,python-pyxdg) | |
2446 | ("python-dbus" ,python-dbus) | |
2447 | ("python-pygobject" ,python-pygobject))) | |
2448 | (home-page "https://github.com/SpotlightKid/jack-select") | |
2449 | (synopsis "Systray application to quickly change the JACK-DBus configuration") | |
2450 | (description "This application displays an icon in the system tray (also | |
2451 | known as notification area) of your desktop, which shows the status of the | |
2452 | JACK audio server and when you click on it, a menu pops up, which lets you | |
2453 | quickly select from the JACK configuration presets you created with QjackCtl. | |
2454 | When you select a preset, its JACK engine and driver configuration settings | |
2455 | are loaded via DBus into JACK and then the server is restarted. This allows | |
2456 | you to switch between different audio setups with just two mouse clicks.") | |
2457 | (license license:expat))) | |
2458 | ||
658212eb LF |
2459 | (define-public cursynth |
2460 | (package | |
2461 | (name "cursynth") | |
2462 | (version "1.5") | |
2463 | (source | |
2464 | (origin | |
2465 | (method url-fetch) | |
2466 | (uri (string-append "mirror://gnu/cursynth/cursynth-" | |
2467 | version ".tar.gz")) | |
2468 | (sha256 | |
2469 | (base32 "1dhphsya41rv8z6yqcv9l6fwbslsds4zh1y56zizi39nd996d40v")) | |
fc1adab1 | 2470 | (patches (search-patches "cursynth-wave-rand.patch")))) |
658212eb LF |
2471 | (build-system gnu-build-system) |
2472 | (native-inputs `(("pkg-config" ,pkg-config))) | |
2473 | ;; TODO: See https://github.com/iyoko/cursynth/issues/4 which currently | |
2474 | ;; prevents us from using pulseaudio | |
2475 | (inputs `(("ncurses" ,ncurses) | |
2476 | ("alsa" ,alsa-lib))) | |
6fd52309 | 2477 | (home-page "https://www.gnu.org/software/cursynth/") |
658212eb LF |
2478 | (synopsis "Polyphonic and MIDI subtractive music synthesizer using curses") |
2479 | (description "GNU cursynth is a polyphonic synthesizer that runs | |
2480 | graphically in the terminal. It is built on a full-featured subtractive | |
2481 | synthesis engine. Notes and parameter changes may be entered via MIDI or the | |
2482 | computer's keyboard.") | |
2483 | (license license:gpl3+))) | |
a763ce7d | 2484 | |
13edf1b9 RW |
2485 | (define-public aj-snapshot |
2486 | (package | |
2487 | (name "aj-snapshot") | |
bc03fe69 | 2488 | (version "0.9.9") |
13edf1b9 RW |
2489 | (source (origin |
2490 | (method url-fetch) | |
2491 | (uri (string-append "mirror://sourceforge/aj-snapshot/" | |
2492 | "aj-snapshot-" version ".tar.bz2")) | |
2493 | (sha256 | |
2494 | (base32 | |
bc03fe69 | 2495 | "0z8wd5yvxdmw1h1rj6km9h01xd4xmp4d86gczlix7hsc7zrf0wil")))) |
13edf1b9 RW |
2496 | (build-system gnu-build-system) |
2497 | (inputs | |
2498 | `(("minixml" ,minixml) | |
2499 | ("jack" ,jack-1) | |
2500 | ("alsa-lib" ,alsa-lib))) | |
2501 | (native-inputs | |
2502 | `(("pkg-config" ,pkg-config))) | |
2503 | (home-page "http://aj-snapshot.sourceforge.net/") | |
2504 | (synopsis "Snapshot connections between ALSA and JACK clients") | |
2505 | (description "Aj-snapshot is a small program that can be used to make | |
2506 | snapshots of the connections made between JACK and/or ALSA clients. Because | |
2507 | JACK can provide both audio and MIDI support to programs, aj-snapshot can | |
2508 | store both types of connections for JACK. ALSA, on the other hand, only | |
2509 | provides routing facilities for MIDI clients. Aj-snapshot is meant to be used | |
2510 | from the command line.") | |
2511 | (license license:gpl3+))) | |
2512 | ||
a763ce7d RW |
2513 | (define-public qtractor |
2514 | (package | |
2515 | (name "qtractor") | |
b3e8e6fd | 2516 | (version "0.9.15") |
a763ce7d RW |
2517 | (source (origin |
2518 | (method url-fetch) | |
d2bc9f0e | 2519 | (uri (string-append "https://downloads.sourceforge.net/qtractor/" |
a763ce7d RW |
2520 | "qtractor-" version ".tar.gz")) |
2521 | (sha256 | |
2522 | (base32 | |
b3e8e6fd | 2523 | "0k7a6llwrzs07flr9mvzvay9ygc2x64syg8npyabsw5a4d85fwsx")))) |
a763ce7d | 2524 | (build-system gnu-build-system) |
42639cc9 | 2525 | (arguments |
d56eee86 | 2526 | `(#:tests? #f)) ; no "check" target |
a763ce7d | 2527 | (inputs |
523544d3 RW |
2528 | `(("qt" ,qtbase) |
2529 | ("qtx11extras" ,qtx11extras) | |
a763ce7d RW |
2530 | ("alsa-lib" ,alsa-lib) |
2531 | ("jack" ,jack-1) | |
2532 | ("libsndfile" ,libsndfile) | |
2533 | ("ladspa" ,ladspa) | |
2534 | ("lv2" ,lv2) | |
2535 | ("lilv" ,lilv) | |
2536 | ("suil" ,suil) | |
2537 | ("libsamplerate" ,libsamplerate) | |
2538 | ("libvorbis" ,libvorbis) | |
2539 | ("libmad" ,libmad) | |
2540 | ("rubberband" ,rubberband) | |
2541 | ("liblo" ,liblo) | |
2542 | ("zlib" ,zlib))) | |
2543 | (native-inputs | |
523544d3 RW |
2544 | `(("pkg-config" ,pkg-config) |
2545 | ("qttools" ,qttools))) | |
8071bbbc | 2546 | (home-page "http://qtractor.org/") |
a763ce7d RW |
2547 | (synopsis "Audio/MIDI multi-track sequencer") |
2548 | (description | |
2549 | "Qtractor is an Audio/MIDI multi-track sequencer application. It uses | |
2550 | JACK for audio and ALSA sequencer for MIDI as multimedia infrastructures and | |
2551 | follows a traditional multi-track tape recorder control paradigm.") | |
2552 | (license license:gpl2+))) | |
aa0edd3f | 2553 | |
849c3d03 | 2554 | (define-public ams-lv2 |
c10f6c5a TGR |
2555 | (package |
2556 | (name "ams-lv2") | |
2557 | (version "1.2.2") | |
2558 | (source | |
2559 | (origin | |
2560 | (method git-fetch) | |
2561 | (uri (git-reference | |
b0e7b699 | 2562 | (url "https://github.com/blablack/ams-lv2") |
c10f6c5a TGR |
2563 | (commit (string-append "v" version)))) |
2564 | (file-name (git-file-name name version)) | |
2565 | (sha256 | |
2566 | (base32 "1lz2mvk4gqsyf92yxd3aaldx0d0qi28h4rnnvsaz4ls0ccqm80nk")))) | |
2567 | (build-system waf-build-system) | |
2568 | (arguments | |
2569 | `(#:phases | |
2570 | (modify-phases %standard-phases | |
2571 | (add-after 'unpack 'remove-sse-flags | |
2572 | (lambda* (#:key system #:allow-other-keys) | |
2573 | (unless (or (string-prefix? "x86_64" system) | |
2574 | (string-prefix? "i686" system)) | |
2575 | (substitute* "wscript" | |
2576 | (("'-msse', '-mfpmath=sse', ") ""))) | |
2577 | #t))) | |
2578 | #:tests? #f)) ; no tests | |
2579 | (inputs | |
2580 | `(("cairo" ,cairo) | |
2581 | ("fftw" ,fftw) | |
2582 | ("gtk" ,gtk+-2) | |
2583 | ("gtkmm" ,gtkmm-2) | |
2584 | ("lv2" ,lv2) | |
2585 | ("lvtk" ,lvtk))) | |
2586 | (native-inputs | |
2587 | `(("pkg-config" ,pkg-config))) | |
2588 | (home-page "https://github.com/blablack/ams-lv2") | |
2589 | (synopsis "Port of Alsa Modular Synth internal modules into LV2") | |
2590 | (description "This set of LV2 plugins is a port of the internal modules | |
849c3d03 RW |
2591 | found in Alsa Modular Synth. These plugins are used to create modular |
2592 | synthesizers and contain: VCO, VCF, VCA, LFO, slew limiter, envelopes, sample | |
2593 | and hold, etc.") | |
c10f6c5a | 2594 | (license license:gpl2))) |
849c3d03 | 2595 | |
aed023ff RW |
2596 | (define-public gxtuner |
2597 | (package | |
2598 | (name "gxtuner") | |
f5e0ff0f | 2599 | (version "2.4") |
aed023ff | 2600 | (source (origin |
bed4eb37 RW |
2601 | (method git-fetch) |
2602 | (uri (git-reference | |
b0e7b699 | 2603 | (url "https://github.com/brummer10/gxtuner") |
bed4eb37 RW |
2604 | (commit (string-append "v" version)))) |
2605 | (file-name (git-file-name name version)) | |
aed023ff RW |
2606 | (sha256 |
2607 | (base32 | |
bed4eb37 | 2608 | "1fxd2akan2njlr7fpkh84830783qhh1gg7yakswqk5dd466dcn96")))) |
aed023ff RW |
2609 | (build-system gnu-build-system) |
2610 | (arguments | |
2611 | `(#:make-flags | |
2612 | (list (string-append "PREFIX=" (assoc-ref %outputs "out")) | |
2613 | (string-append "INCLUDE_L_DIR=" | |
2614 | (assoc-ref %build-inputs "zita-resampler") | |
2615 | "/include/")) | |
2616 | #:phases | |
2617 | (modify-phases %standard-phases | |
2618 | (delete 'configure)))) | |
2619 | (inputs | |
f5e0ff0f | 2620 | `(("gtk+" ,gtk+) |
aed023ff RW |
2621 | ("jack" ,jack-1) |
2622 | ("fftwf" ,fftwf) | |
2623 | ("cairo" ,cairo) | |
2624 | ("zita-resampler" ,zita-resampler))) | |
2625 | (native-inputs | |
2626 | `(("pkg-config" ,pkg-config))) | |
2627 | (home-page "https://github.com/brummer10/gxtuner") | |
2628 | (synopsis "Guitar tuner") | |
2629 | (description "GXtuner is a simple guitar tuner for JACK with an | |
2630 | analogue-like user interface.") | |
2631 | (license license:gpl2+))) | |
2632 | ||
c2c9e748 | 2633 | (define-public mod-host |
9f1ac4fa | 2634 | ;; The last release was in 2014 but since then hundreds of commits have |
c2c9e748 | 2635 | ;; been made. |
9f1ac4fa RW |
2636 | (let ((commit "1726ad06b11323da7e1aaed690ff8aef91f702b5") |
2637 | (revision "3")) | |
c2c9e748 RW |
2638 | (package |
2639 | (name "mod-host") | |
2640 | (version (string-append "0.10.6-" revision "." (string-take commit 9))) | |
2641 | (source (origin | |
2642 | (method git-fetch) | |
2643 | (uri (git-reference | |
2644 | (url "https://github.com/moddevices/mod-host") | |
2645 | (commit commit))) | |
2646 | (sha256 | |
2647 | (base32 | |
9f1ac4fa | 2648 | "1nrd37c35w6z6ldczgrwmmd9hx1n3zyvcjcgb3mi4cygqdanvspv")) |
c2c9e748 RW |
2649 | (file-name (string-append name "-" version "-checkout")))) |
2650 | (build-system gnu-build-system) | |
2651 | (arguments | |
2652 | `(#:tests? #f ; no tests included | |
2653 | #:make-flags | |
2654 | (list (string-append "PREFIX=" (assoc-ref %outputs "out")) | |
2655 | "CC=gcc") | |
2656 | #:phases | |
2657 | (modify-phases %standard-phases | |
2658 | (delete 'configure) | |
2659 | (add-after 'unpack 'fix-jack-installation-directory | |
2660 | (lambda _ | |
2661 | ;; Do not attempt to install files to output of "jack" package. | |
2662 | (substitute* "Makefile" | |
2663 | (("\\$\\(shell pkg-config --variable=libdir jack\\)") | |
2664 | "lib")) | |
2665 | #t))))) | |
2666 | (inputs | |
2667 | `(("lilv" ,lilv) | |
c96cb01a DC |
2668 | ("fftw" ,fftw) |
2669 | ("fftwf" ,fftwf) | |
c2c9e748 RW |
2670 | ("lv2" ,lv2) |
2671 | ("jack" ,jack-1) | |
2672 | ("readline" ,readline))) | |
2673 | (native-inputs | |
2674 | `(("pkg-config" ,pkg-config) | |
2675 | ("python" ,python-2))) | |
2676 | (home-page "https://github.com/moddevices/mod-host") | |
2677 | (synopsis "LV2 host for Jack controllable via socket or command line") | |
2678 | (description "mod-host is an LV2 plugin host for JACK, controllable via | |
2679 | socket or command line.") | |
2680 | (license license:gpl3+)))) | |
2681 | ||
19d93ef5 SR |
2682 | (define-public curseradio |
2683 | (let ((commit "1bd4bd0faeec675e0647bac9a100b526cba19f8d") | |
2684 | (revision "1")) | |
2685 | (package | |
2686 | (name "curseradio") | |
2687 | (version (git-version "0" revision commit)) | |
2688 | (source (origin | |
2689 | (method git-fetch) | |
2690 | (uri (git-reference | |
b0e7b699 | 2691 | (url "https://github.com/chronitis/curseradio") |
19d93ef5 SR |
2692 | (commit commit))) |
2693 | (file-name (git-file-name name version)) | |
2694 | (sha256 | |
2695 | (base32 | |
2696 | "11bf0jnj8h2fxhpdp498189r4s6b47vy4wripv0z4nx7lxajl88i")))) | |
2697 | (build-system python-build-system) | |
e79a07bc EF |
2698 | (arguments |
2699 | `(#:phases | |
2700 | (modify-phases %standard-phases | |
2701 | (add-after 'unpack 'link-to-mpv | |
2702 | (lambda* (#:key inputs #:allow-other-keys) | |
2703 | (substitute* "curseradio/curseradio.py" | |
2704 | (("/usr/bin/mpv") | |
2705 | (string-append (assoc-ref inputs "mpv") "/bin/mpv"))) | |
2706 | #t))))) | |
19d93ef5 SR |
2707 | (propagated-inputs |
2708 | `(("python-lxml" ,python-lxml) | |
2709 | ("python-requests" ,python-requests) | |
e79a07bc EF |
2710 | ("python-pyxdg" ,python-pyxdg))) |
2711 | (inputs | |
2712 | `(("mpv" ,mpv))) | |
19d93ef5 SR |
2713 | (home-page "https://github.com/chronitis/curseradio") |
2714 | (synopsis "Command-line Internet radio player") | |
2715 | (description "Curseradio is a Curses-based radio player that uses a | |
2716 | tune-in sender list from @url{http://opml.radiotime.com}.") | |
2717 | (license license:expat)))) | |
2718 | ||
aa0edd3f AM |
2719 | (define-public pianobar |
2720 | (package | |
2721 | (name "pianobar") | |
6ddb8238 | 2722 | (version "2020.04.05") |
aa0edd3f | 2723 | (source (origin |
1410e178 RW |
2724 | (method git-fetch) |
2725 | (uri (git-reference | |
b0e7b699 | 2726 | (url "https://github.com/PromyLOPh/pianobar") |
1410e178 RW |
2727 | (commit version))) |
2728 | (file-name (git-file-name name version)) | |
aa0edd3f AM |
2729 | (sha256 |
2730 | (base32 | |
6ddb8238 | 2731 | "1gq8kpks6nychqz4gf0rpy7mrhz5vjw48a60x56j6y9flmazmypw")))) |
aa0edd3f AM |
2732 | (build-system gnu-build-system) |
2733 | (arguments | |
8cc1fdce | 2734 | `(#:tests? #f ; no tests |
95fd14df | 2735 | #:make-flags (list "CC=gcc" (string-append "PREFIX=" %output)) |
aa0edd3f AM |
2736 | #:phases (modify-phases %standard-phases |
2737 | (delete 'configure)))) | |
2738 | (inputs | |
2739 | `(("ao" ,ao) | |
2740 | ("curl" ,curl) | |
2741 | ("libgcrypt" ,libgcrypt) | |
2742 | ("json-c" ,json-c) | |
8cc1fdce | 2743 | ("ffmpeg" ,ffmpeg))) |
aa0edd3f AM |
2744 | (native-inputs |
2745 | `(("pkg-config" ,pkg-config))) | |
3e97cf47 | 2746 | (home-page "https://6xq.net/pianobar/") |
aa0edd3f AM |
2747 | (synopsis "Console-based pandora.com player") |
2748 | (description "pianobar is a console-based music player for the | |
2749 | personalized online radio pandora.com. It has configurable keys for playing | |
2750 | and managing stations, can be controlled remotely via fifo, and can run | |
2751 | event-based scripts for scrobbling, notifications, etc.") | |
2752 | (license license:expat))) | |
3f7a182d | 2753 | |
1deab8cb CB |
2754 | (define-public picard |
2755 | (package | |
2756 | (name "picard") | |
b421e915 | 2757 | (version "2.1.3") |
1deab8cb CB |
2758 | (source (origin |
2759 | (method url-fetch) | |
2760 | (uri (string-append | |
2761 | "https://musicbrainz.osuosl.org/pub/musicbrainz/" | |
2762 | "picard/picard-" version ".tar.gz")) | |
2763 | (sha256 | |
2764 | (base32 | |
b421e915 | 2765 | "19w5k3bf4886gdycxjds9nkjvir0gwy2r5cqkz0lbls4ikk4y14f")))) |
1deab8cb CB |
2766 | (build-system python-build-system) |
2767 | (arguments | |
251448f7 TGR |
2768 | '(#:use-setuptools? #f |
2769 | #:configure-flags | |
e28b0798 TGR |
2770 | (list "--root=/" |
2771 | ;; Don't phone home or show ‘Check for Update…’ in the Help menu. | |
2772 | "--disable-autoupdate") | |
251448f7 | 2773 | #:phases |
1deab8cb CB |
2774 | (modify-phases %standard-phases |
2775 | (add-after 'unpack 'patch-source | |
2776 | (lambda* (#:key inputs #:allow-other-keys) | |
2777 | (substitute* "picard/const/__init__.py" | |
2778 | (("pyfpcalc") | |
2779 | (string-append | |
2780 | "pyfpcalc', '" | |
e247244e TGR |
2781 | (assoc-ref inputs "chromaprint") "/bin/fpcalc"))) |
2782 | #t))))) | |
1deab8cb CB |
2783 | (native-inputs |
2784 | `(("gettext" ,gettext-minimal))) | |
2785 | (inputs | |
2786 | `(("chromaprint" ,chromaprint) | |
7d9fa5f3 | 2787 | ("python-discid" ,python-discid) |
1deab8cb CB |
2788 | ("python-pyqt" ,python-pyqt) |
2789 | ("python-mutagen" ,python-mutagen))) | |
2790 | (home-page "https://picard.musicbrainz.org/") | |
2791 | (synopsis "Graphical music tagging application") | |
2792 | (description | |
2793 | "MusicBrainz Picard is a music tagging application, supporting multiple | |
2794 | formats, looking up tracks through metadata and audio fingerprints.") | |
2795 | (license license:gpl2+))) | |
2796 | ||
3f7a182d LF |
2797 | (define-public python-mutagen |
2798 | (package | |
2799 | (name "python-mutagen") | |
e39aae4f | 2800 | (version "1.38") |
3f7a182d LF |
2801 | (source (origin |
2802 | (method url-fetch) | |
2803 | (uri (pypi-uri "mutagen" version)) | |
2804 | (sha256 | |
2805 | (base32 | |
e39aae4f | 2806 | "0rl7sxn1rcjl48fwga3dqf9f6pzspsny4ngxyf6pp337mrq0z693")))) |
3f7a182d | 2807 | (build-system python-build-system) |
4228a79e LF |
2808 | (native-inputs |
2809 | `(("python-pytest" ,python-pytest))) | |
3f7a182d LF |
2810 | (home-page "https://bitbucket.org/lazka/mutagen") |
2811 | (synopsis "Read and write audio tags") | |
2812 | (description "Mutagen is a Python module to handle audio metadata. It | |
2813 | supports ASF, FLAC, M4A, Monkey’s Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg | |
2814 | Theora, Ogg Vorbis, True Audio, WavPack and OptimFROG audio files. All versions | |
2815 | of ID3v2 are supported, and all standard ID3v2.4 frames are parsed. It can read | |
2816 | Xing headers to accurately calculate the bitrate and length of MP3s. ID3 and | |
2817 | APEv2 tags can be edited regardless of audio format. It can also manipulate Ogg | |
2818 | streams on an individual packet/page level.") | |
2819 | (license license:gpl2))) ; "later version" never mentioned | |
2820 | ||
2821 | (define-public python2-mutagen | |
2822 | (package-with-python2 python-mutagen)) | |
8975de88 LF |
2823 | |
2824 | (define-public python-musicbrainzngs | |
2825 | (package | |
2826 | (name "python-musicbrainzngs") | |
daedf34d | 2827 | (version "0.6") |
8975de88 LF |
2828 | (source (origin |
2829 | (method url-fetch) | |
2830 | (uri (pypi-uri "musicbrainzngs" version)) | |
2831 | (sha256 | |
2832 | (base32 | |
daedf34d | 2833 | "1dddarpjawryll2wss65xq3v9q8ln8dan7984l5dxzqx88d2dvr8")))) |
8975de88 | 2834 | (build-system python-build-system) |
daedf34d LF |
2835 | (arguments |
2836 | '(;; The tests fail suffer from race conditions: | |
2837 | ;; https://github.com/alastair/python-musicbrainzngs/issues/211 | |
2838 | #:tests? #f)) | |
8975de88 LF |
2839 | (home-page "https://python-musicbrainzngs.readthedocs.org/") |
2840 | (synopsis "Python bindings for MusicBrainz NGS webservice") | |
2841 | (description "Musicbrainzngs implements Python bindings of the MusicBrainz | |
2842 | web service. This library can be used to retrieve music metadata from the | |
2843 | MusicBrainz database.") | |
2844 | ;; 'musicbrainzngs/compat.py' is ISC licensed. | |
2845 | (license (list license:bsd-2 license:isc)))) | |
2846 | ||
2847 | (define-public python2-musicbrainzngs | |
2848 | (package-with-python2 python-musicbrainzngs)) | |
e8fee648 | 2849 | |
07c82daa GH |
2850 | (define-public python-isrcsubmit |
2851 | (package | |
2852 | (name "python-isrcsubmit") | |
2853 | (version "2.0.1") | |
2854 | (source | |
2855 | (origin | |
2856 | (method url-fetch) | |
2857 | (uri (pypi-uri "isrcsubmit" version)) | |
2858 | (sha256 | |
2859 | (base32 | |
2860 | "0jh4cni8qhri6dh83cmp0i0m0384vv0vznlygv49wj9xzh1d99qv")))) | |
2861 | (build-system python-build-system) | |
2862 | (propagated-inputs | |
2863 | `(("python-discid" ,python-discid) | |
2864 | ("python-musicbrainzngs" ,python-musicbrainzngs))) | |
2865 | (home-page "https://github.com/JonnyJD/musicbrainz-isrcsubmit") | |
2866 | (synopsis "Submit ISRCs from CDs to MusicBrainz") | |
2867 | (description "@code{isrcsubmit} is a tool to extract @dfn{International | |
2868 | Standard Recording Code} (ISRCs) from audio CDs and submit them to | |
2869 | @url{https://musicbrainz.org/, MusicBrainz}.") | |
2870 | (license license:gpl3+))) | |
2871 | ||
a2eab422 | 2872 | (define-public python2-pyechonest |
e8fee648 | 2873 | (package |
a2eab422 | 2874 | (name "python2-pyechonest") |
e8fee648 LF |
2875 | (version "9.0.0") |
2876 | (source (origin | |
2877 | (method url-fetch) | |
2878 | (uri (pypi-uri "pyechonest" version)) | |
2879 | (sha256 | |
2880 | (base32 | |
2881 | "1584nira3rkiman9dm81kdshihmkj21s8navndz2l8spnjwb790x")))) | |
2882 | (build-system python-build-system) | |
a2eab422 LF |
2883 | (arguments |
2884 | `(;; Python 3 is not supported: | |
2885 | ;; https://github.com/echonest/pyechonest/issues/42 | |
2886 | #:python ,python-2)) | |
e8fee648 LF |
2887 | (home-page "https://github.com/echonest/pyechonest") |
2888 | (synopsis "Python interface to The Echo Nest APIs") | |
d3e3468f LF |
2889 | (description "Pyechonest is a Python library for the Echo Nest API. With |
2890 | Pyechonest you have Python access to the entire set of API methods including: | |
e8fee648 LF |
2891 | |
2892 | @enumerate | |
2893 | @item artist - search for artists by name, description, or attribute, and get | |
2894 | back detailed information about any artist including audio, similar artists, | |
2895 | blogs, familiarity, hotttnesss, news, reviews, urls and video. | |
2896 | @item song - search songs by artist, title, description, or attribute (tempo, | |
2897 | duration, etc) and get detailed information back about each song, such as | |
2898 | hotttnesss, audio_summary, or tracks. | |
2899 | @item track - upload a track to the Echo Nest and receive summary information | |
2900 | about the track including key, duration, mode, tempo, time signature along with | |
2901 | detailed track info including timbre, pitch, rhythm and loudness information. | |
2902 | @end enumerate\n") | |
a2eab422 | 2903 | (license license:bsd-3))) |
acd7351f LF |
2904 | |
2905 | (define-public python-pylast | |
2906 | (package | |
2907 | (name "python-pylast") | |
653f2b92 | 2908 | (version "2.0.0") |
acd7351f LF |
2909 | (source (origin |
2910 | (method url-fetch) | |
2911 | (uri (pypi-uri "pylast" version)) | |
2912 | (sha256 | |
2913 | (base32 | |
653f2b92 | 2914 | "0r9h7g8i8l2mgqjwkda3v6prfbkb2im5kap1az9ppmhjm9i4jkcf")))) |
acd7351f | 2915 | (build-system python-build-system) |
653f2b92 RW |
2916 | ;; Tests require network access. See |
2917 | ;; https://github.com/pylast/pylast/issues/105 | |
2918 | (arguments '(#:tests? #f)) | |
acd7351f LF |
2919 | (native-inputs |
2920 | `(("python-coverage" ,python-coverage) | |
653f2b92 | 2921 | ("python-pycodestyle" ,python-pycodestyle) |
acd7351f LF |
2922 | ("python-mock" ,python-mock) |
2923 | ("python-pep8" ,python-pep8) | |
2924 | ("python-pytest" ,python-pytest) | |
653f2b92 | 2925 | ("python-flaky" ,python-flaky) |
acd7351f LF |
2926 | ("python-pyflakes" ,python-pyflakes) |
2927 | ("python-pyyaml" ,python-pyyaml))) | |
2928 | (propagated-inputs | |
2929 | `(("python-six" ,python-six))) | |
2930 | (home-page "https://github.com/pylast/pylast") | |
2931 | (synopsis "Python interface to Last.fm and Libre.fm") | |
2932 | (description "A Python interface to Last.fm and other API-compatible | |
2933 | websites such as Libre.fm.") | |
5c31f4aa | 2934 | (license license:asl2.0))) |
acd7351f LF |
2935 | |
2936 | (define-public python2-pylast | |
5c31f4aa | 2937 | (package-with-python2 python-pylast)) |
3bf429af | 2938 | |
b0dea60c SR |
2939 | (define-public instantmusic |
2940 | (let ((commit "300891d09c703525215fa5a116b9294af1c923c8") | |
2941 | (revision "1")) | |
2942 | (package | |
2943 | (name "instantmusic") | |
2944 | (version (git-version "1.0" revision commit)) | |
2945 | (source (origin | |
2946 | (method git-fetch) | |
2947 | (uri (git-reference | |
b0e7b699 | 2948 | (url "https://github.com/yask123/Instant-Music-Downloader") |
b0dea60c SR |
2949 | (commit commit))) |
2950 | (file-name (git-file-name name version)) | |
2951 | (sha256 | |
2952 | (base32 | |
2953 | "0j7qivaa04bpdz3anmgci5833dgiyfqqwq9fdrpl9m68b34gl773")))) | |
2954 | (build-system python-build-system) | |
2955 | (propagated-inputs | |
2956 | `(("python-requests" ,python-requests) | |
c695fb76 | 2957 | ("eyed3" ,eyed3) |
b0dea60c SR |
2958 | ("python-beautifulsoup4" ,python-beautifulsoup4) |
2959 | ("youtube-dl" ,youtube-dl))) | |
2960 | (arguments | |
2961 | '(#:modules ((guix build python-build-system) | |
2962 | (guix build utils) | |
2963 | (srfi srfi-26)) | |
2964 | #:phases (modify-phases %standard-phases | |
2965 | (add-before 'build 'change-directory | |
2966 | (lambda _ | |
2967 | (chdir "instantmusic-0.1") #t)) | |
4b577961 | 2968 | (add-before 'install 'fix-file-permissions |
b0dea60c SR |
2969 | (lambda _ |
2970 | ;; Fix some read-only files that would cause a build failure | |
2971 | (for-each (cut chmod <> #o644) | |
2972 | (find-files "instantmusic.egg-info" | |
2973 | "PKG-INFO|.*\\.txt")) | |
2974 | #t))))) | |
f23365fa | 2975 | (home-page "https://github.com/yask123/Instant-Music-Downloader") |
b0dea60c SR |
2976 | (synopsis "Command-line program to download a song from YouTube") |
2977 | (description "InstantMusic downloads a song from YouTube in MP3 format. | |
c889fbbf | 2978 | Songs can be searched by artist, name or even by a part of the song text.") |
b0dea60c SR |
2979 | (license license:expat)))) |
2980 | ||
3bf429af LF |
2981 | (define-public beets |
2982 | (package | |
2983 | (name "beets") | |
3f3d712c | 2984 | (version "1.4.9") |
3bf429af LF |
2985 | (source (origin |
2986 | (method url-fetch) | |
23319ed6 | 2987 | (uri (pypi-uri "beets" version)) |
e76cbdcd | 2988 | (patches (search-patches "beets-werkzeug-compat.patch")) |
3bf429af LF |
2989 | (sha256 |
2990 | (base32 | |
3f3d712c | 2991 | "0m40rjimvfgy1dv04p8f8d5dvi2855v4ix99a9xr900cmcn476yj")))) |
3bf429af LF |
2992 | (build-system python-build-system) |
2993 | (arguments | |
0d48ff81 | 2994 | `(#:phases |
3bf429af LF |
2995 | (modify-phases %standard-phases |
2996 | (add-after 'unpack 'set-HOME | |
46fce968 TGR |
2997 | (lambda _ |
2998 | (setenv "HOME" (string-append (getcwd) "/tmp")) | |
2999 | #t)) | |
36c2c8c8 | 3000 | (replace 'check |
46fce968 TGR |
3001 | (lambda _ |
3002 | (invoke "nosetests" "-v")))))) | |
3bf429af | 3003 | (native-inputs |
0d48ff81 LF |
3004 | `(("python-beautifulsoup4" ,python-beautifulsoup4) |
3005 | ("python-flask" ,python-flask) | |
3006 | ("python-mock" ,python-mock) | |
3007 | ("python-mpd2" ,python-mpd2) | |
3008 | ("python-nose" ,python-nose) | |
3009 | ("python-pathlib" ,python-pathlib) | |
3010 | ("python-pyxdg" ,python-pyxdg) | |
3011 | ("python-pylast" ,python-pylast) | |
3012 | ("python-rarfile" ,python-rarfile) | |
3013 | ("python-responses" ,python-responses))) | |
3bf429af | 3014 | ;; TODO: Install optional plugins and dependencies. |
b3470031 | 3015 | (inputs |
0d48ff81 | 3016 | `(("python-discogs-client" ,python-discogs-client) |
0d48ff81 LF |
3017 | ("python-jellyfish" ,python-jellyfish) |
3018 | ("python-munkres" ,python-munkres) | |
3019 | ("python-musicbrainzngs" ,python-musicbrainzngs) | |
3020 | ("python-mutagen" ,python-mutagen) | |
04a51d0c | 3021 | ("python-pyacoustid" ,python-pyacoustid) |
0d48ff81 LF |
3022 | ("python-pyyaml" ,python-pyyaml) |
3023 | ("python-unidecode" ,python-unidecode))) | |
d94ec407 | 3024 | (home-page "https://beets.io") |
3bf429af LF |
3025 | (synopsis "Music organizer") |
3026 | (description "The purpose of beets is to get your music collection right | |
c889fbbf TGR |
3027 | once and for all. It catalogs your collection, automatically improving its |
3028 | metadata as it goes using the MusicBrainz database. Then it provides a variety | |
3029 | of tools for manipulating and accessing your music.") | |
3bf429af | 3030 | (license license:expat))) |
21d18113 | 3031 | |
4ee2cce3 JK |
3032 | (define-public beets-bandcamp |
3033 | (package | |
3034 | (name "beets-bandcamp") | |
3035 | (version "0.1.3") | |
3036 | (source (origin | |
3037 | (method url-fetch) | |
3038 | (uri (pypi-uri "beets-bandcamp" version)) | |
3039 | (sha256 | |
3040 | (base32 | |
3041 | "04awg0zdhhg5h510fc1p3qkvr2l1qm6nf85hlr9z8im8a7xlka0i")))) | |
3042 | (build-system python-build-system) | |
3043 | (arguments '(#:tests? #f)) ; there are no tests | |
3044 | (propagated-inputs | |
3045 | `(("beets" ,beets) | |
3046 | ("python-isodate" ,python-isodate))) | |
3047 | (inputs | |
3048 | `(("python-beautifulsoup4" ,python-beautifulsoup4) | |
3049 | ("python-requests" ,python-requests) | |
3050 | ("python-six" ,python-six))) | |
3051 | (home-page "https://github.com/unrblt/beets-bandcamp") | |
3052 | (synopsis "Bandcamp plugin for beets") | |
3053 | (description | |
3054 | "This plugin for beets automatically obtains tag data from @uref{Bandcamp, | |
c889fbbf TGR |
3055 | https://bandcamp.com/}. It's also capable of getting song lyrics and album art |
3056 | using the beets FetchArt plugin.") | |
4ee2cce3 JK |
3057 | (license license:gpl2))) |
3058 | ||
21d18113 KY |
3059 | (define-public milkytracker |
3060 | (package | |
3061 | (name "milkytracker") | |
b7e2fcf0 | 3062 | (version "1.02.00") |
21d18113 | 3063 | (source (origin |
caa39e56 RW |
3064 | (method git-fetch) |
3065 | (uri (git-reference | |
b0e7b699 | 3066 | (url "https://github.com/milkytracker/MilkyTracker") |
caa39e56 RW |
3067 | (commit (string-append "v" version)))) |
3068 | (file-name (git-file-name name version)) | |
21d18113 KY |
3069 | (sha256 |
3070 | (base32 | |
caa39e56 | 3071 | "05a6d7l98k9i82dwrgi855dnccm3f2lkb144gi244vhk1156n0ca")) |
e3b2e943 KK |
3072 | (modules '((guix build utils))) |
3073 | ;; Remove non-FSDG compliant sample songs. | |
3074 | (snippet | |
3075 | '(begin | |
3076 | (delete-file-recursively "resources/music") | |
3077 | (substitute* "CMakeLists.txt" | |
6cbee49d MW |
3078 | (("add_subdirectory\\(resources/music\\)") "")) |
3079 | #t)))) | |
e3b2e943 | 3080 | (build-system cmake-build-system) |
21d18113 | 3081 | (arguments |
7f2f8345 KK |
3082 | '(#:tests? #f ; no check target |
3083 | ;; This flag ensures that MilkyTracker links with the JACK library. | |
3084 | #:configure-flags '("-DCMAKE_CXX_FLAGS=-ljack"))) | |
21d18113 KY |
3085 | (inputs |
3086 | `(("alsa-lib" ,alsa-lib) | |
ba259bad | 3087 | ("lhasa" ,lhasa) |
21d18113 | 3088 | ("jack" ,jack-1) |
f1618a0f | 3089 | ("rtmidi" ,rtmidi) |
e3b2e943 | 3090 | ("sdl" ,sdl2) |
f1618a0f KK |
3091 | ("zlib" ,zlib) |
3092 | ("zziplib" ,zziplib))) | |
21d18113 KY |
3093 | (native-inputs |
3094 | `(("pkg-config" ,pkg-config))) | |
3095 | (synopsis "Music tracker for working with .MOD/.XM module files") | |
3096 | (description "MilkyTracker is a music application for creating .MOD and .XM | |
c889fbbf TGR |
3097 | module files. It attempts to recreate the module replay and user experience of |
3098 | the popular DOS program Fasttracker II, with special playback modes available | |
3099 | for improved Amiga ProTracker 2/3 compatibility.") | |
b3ee0c64 | 3100 | (home-page "https://milkytracker.titandemo.org/") |
21d18113 KY |
3101 | ;; 'src/milkyplay' is under Modified BSD, the rest is under GPL3 or later. |
3102 | (license (list license:bsd-3 license:gpl3+)))) | |
13416a10 | 3103 | |
89bcf3fc KK |
3104 | (define-public schismtracker |
3105 | (package | |
3106 | (name "schismtracker") | |
72aee8a8 | 3107 | (version "20190805") |
89bcf3fc | 3108 | (source (origin |
3b9e9415 RW |
3109 | (method git-fetch) |
3110 | (uri (git-reference | |
b0e7b699 | 3111 | (url "https://github.com/schismtracker/schismtracker") |
3b9e9415 RW |
3112 | (commit version))) |
3113 | (file-name (git-file-name name version)) | |
89bcf3fc KK |
3114 | (sha256 |
3115 | (base32 | |
72aee8a8 | 3116 | "0qqps20vvn3rgpg8174bjrrm38gqcci2z5z4c1r1vhbccclahgsd")) |
89bcf3fc KK |
3117 | (modules '((guix build utils))) |
3118 | (snippet | |
3119 | ;; Remove use of __DATE__ and __TIME__ for reproducibility. | |
6cbee49d MW |
3120 | `(begin |
3121 | (substitute* "schism/version.c" | |
3122 | (("Schism Tracker built %s %s.*$") | |
c889fbbf TGR |
3123 | (string-append "Schism Tracker version " ,version "\") ;"))) |
3124 | #t)))) | |
89bcf3fc KK |
3125 | (build-system gnu-build-system) |
3126 | (arguments | |
3127 | `(#:phases | |
3128 | (modify-phases %standard-phases | |
89bcf3fc KK |
3129 | (add-before 'configure 'link-libm |
3130 | (lambda _ (setenv "LIBS" "-lm") #t))))) | |
3131 | (native-inputs | |
3132 | `(("autoconf" ,autoconf) | |
3133 | ("automake" ,automake) | |
3134 | ("python" ,python))) | |
3135 | (inputs | |
e526db51 | 3136 | `(("alsa-lib" ,alsa-lib) ; for asound dependency |
89bcf3fc KK |
3137 | ("libx11" ,libx11) |
3138 | ("libxext" ,libxext) | |
3139 | ("sdl" ,sdl))) | |
3140 | (home-page "http://schismtracker.org") | |
3141 | (synopsis "Oldschool sample-based music composition tool") | |
3142 | (description | |
3143 | "Schism Tracker is a reimplementation of Impulse Tracker, a program used to | |
3144 | create high quality music without the requirements of specialized, expensive | |
3145 | equipment, and with a unique \"finger feel\" that is difficult to replicate in | |
3146 | part. The player is based on a highly modified version of the ModPlug engine, | |
3147 | with a number of bugfixes and changes to improve IT playback.") | |
3148 | (license license:gpl2+))) | |
3149 | ||
5beecc32 RW |
3150 | (define-public sooperlooper |
3151 | (package | |
3152 | (name "sooperlooper") | |
3153 | (version "1.7.3") | |
3154 | (source (origin | |
3155 | (method url-fetch) | |
3156 | (uri (string-append "http://essej.net/sooperlooper/sooperlooper-" | |
3157 | version ".tar.gz")) | |
3158 | (sha256 | |
3159 | (base32 | |
3160 | "0n2gdxw1fx8nxxnpzf4sj0kp6k6zi1yq59cbz6qqzcnsnpnvszbs")) | |
3161 | (patches (search-patches "sooperlooper-build-with-wx-30.patch")))) | |
3162 | (build-system gnu-build-system) | |
3163 | (arguments | |
e6e09dc9 | 3164 | `(#:phases |
5beecc32 RW |
3165 | (modify-phases %standard-phases |
3166 | (add-after 'unpack 'add-sigc++-includes | |
3167 | (lambda* (#:key inputs #:allow-other-keys) | |
3168 | (let ((sig (assoc-ref inputs "libsigc++")) | |
3169 | (xml (assoc-ref inputs "libxml2")) | |
3170 | (cwd (getcwd))) | |
3171 | (setenv "CPATH" | |
3172 | (string-append sig "/include/sigc++-2.0:" | |
3173 | sig "/lib/sigc++-2.0/include:" | |
3174 | xml "/include/libxml2/:" | |
3175 | cwd "/libs/pbd:" | |
e6e09dc9 MB |
3176 | cwd "/libs/midi++:" |
3177 | (or (getenv "CPATH") "")))) | |
5beecc32 RW |
3178 | (substitute* '("src/control_osc.hpp" |
3179 | "src/gui/app_frame.hpp" | |
3180 | "src/gui/config_panel.hpp" | |
3181 | "src/gui/keys_panel.hpp" | |
3182 | "src/gui/latency_panel.hpp" | |
3183 | "src/gui/main_panel.hpp" | |
3184 | "src/gui/midi_bind_panel.hpp" | |
3185 | "src/gui/prefs_dialog.hpp") | |
3186 | (("sigc\\+\\+/object.h") | |
3187 | "sigc++/sigc++.h")) | |
3188 | (substitute* '("src/engine.cpp" | |
3189 | "src/gui/latency_panel.cpp" | |
3190 | "src/gui/looper_panel.cpp" | |
3191 | "src/gui/main_panel.cpp") | |
3192 | (("(\\(| )bind " _ pre) | |
3193 | (string-append pre "sigc::bind "))) | |
3194 | #t)) | |
3195 | (add-after 'unpack 'fix-xpm-warnings | |
3196 | (lambda _ | |
3197 | (substitute* (find-files "." "\\.xpm$") | |
3198 | (("static char") "static const char")) | |
3199 | #t))))) | |
3200 | (inputs | |
3201 | `(("jack" ,jack-1) | |
3202 | ("alsa-lib" ,alsa-lib) | |
3203 | ("wxwidgets" ,wxwidgets-gtk2) | |
3204 | ("libsndfile" ,libsndfile) | |
3205 | ("libsamplerate" ,libsamplerate) | |
3206 | ("liblo" ,liblo) | |
3207 | ("rubberband" ,rubberband) | |
3208 | ("libxml2" ,libxml2) | |
3209 | ("libsigc++" ,libsigc++) | |
3210 | ("ncurses" ,ncurses))) | |
3211 | (native-inputs | |
3212 | `(("pkg-config" ,pkg-config))) | |
3213 | (home-page "http://essej.net/sooperlooper/") | |
3214 | (synopsis "Live looping sampler") | |
3215 | (description | |
3216 | "SooperLooper is a live looping sampler capable of immediate loop | |
3217 | recording, overdubbing, multiplying, reversing and more. It allows for | |
3218 | multiple simultaneous multi-channel loops limited only by your computer's | |
3219 | available memory.") | |
3220 | (license license:gpl2+))) | |
3221 | ||
13416a10 KY |
3222 | (define-public moc |
3223 | (package | |
3224 | (name "moc") | |
2fbc004f | 3225 | (version "2.5.2") |
13416a10 KY |
3226 | (source (origin |
3227 | (method url-fetch) | |
3228 | (uri (string-append "http://ftp.daper.net/pub/soft/" | |
3229 | name "/stable/" | |
3230 | name "-" version ".tar.bz2")) | |
3231 | (sha256 | |
3232 | (base32 | |
2784b35f | 3233 | "026v977kwb0wbmlmf6mnik328plxg8wykfx9ryvqhirac0aq39pk")))) |
13416a10 KY |
3234 | (build-system gnu-build-system) |
3235 | (inputs | |
3236 | `(("alsa-lib" ,alsa-lib) | |
3237 | ("curl" ,curl) | |
3238 | ("faad2" ,faad2) | |
bb5c508c | 3239 | ("ffmpeg" ,ffmpeg-3.4) |
13416a10 KY |
3240 | ("file" ,file) |
3241 | ("jack" ,jack-1) | |
3242 | ("libid3tag" ,libid3tag) | |
3243 | ("libltdl" ,libltdl) | |
3244 | ("libmodplug" ,libmodplug) | |
3245 | ("libmpcdec" ,libmpcdec) | |
3246 | ("libmad" ,libmad) | |
6beaa5a0 MM |
3247 | ("libogg" ,libogg) |
3248 | ("libvorbis" ,libvorbis) | |
13416a10 KY |
3249 | ("ncurses" ,ncurses) |
3250 | ("openssl" ,openssl) | |
3251 | ("sasl" ,cyrus-sasl) | |
3252 | ("speex" ,speex) | |
3253 | ("taglib" ,taglib) | |
3254 | ("wavpack" ,wavpack) | |
3255 | ("zlib" ,zlib))) | |
3256 | (native-inputs | |
3257 | `(("pkg-config" ,pkg-config))) | |
3258 | (synopsis "Console audio player designed to be powerful and easy to use") | |
3259 | (description | |
3260 | "Music on Console is a console audio player that supports many file | |
3261 | formats, including most audio formats recognized by FFMpeg.") | |
3262 | (home-page "http://moc.daper.net") | |
3263 | (license license:gpl2+))) | |
6d3ef286 JF |
3264 | |
3265 | (define-public midicsv | |
3266 | (package | |
3267 | (name "midicsv") | |
3268 | (version "1.1") | |
3269 | (source (origin | |
3270 | (method url-fetch) | |
3271 | (uri (string-append "http://www.fourmilab.ch/webtools/midicsv/" | |
3272 | name "-" version ".tar.gz")) | |
3273 | (sha256 | |
3274 | (base32 | |
3275 | "1vvhk2nf9ilfw0wchmxy8l13hbw9cnpz079nsx5srsy4nnd78nkw")))) | |
3276 | (build-system gnu-build-system) | |
3277 | (arguments | |
3278 | `(#:phases (modify-phases %standard-phases (delete 'configure)) | |
3279 | #:make-flags (list "CC=gcc" (string-append "INSTALL_DEST=" %output)))) | |
3280 | (synopsis "Convert MIDI files to and from CSV") | |
3281 | (description | |
3282 | "Midicsv reads a standard MIDI file and decodes it into a comma-separated | |
3283 | value file (CSV), which preserves all the information in the MIDI file. The | |
3284 | ASCII CSV file may be loaded into a spreadsheet or database application, or | |
3285 | processed by a program to transform the MIDI data (for example, to key | |
3286 | transpose a composition or extract a track from a multi-track sequence). A | |
3287 | CSV file in the format created by midicsv may be converted back into a | |
3288 | standard MIDI file with the csvmidi program.") | |
3289 | (home-page "http://www.fourmilab.ch/webtools/midicsv/") | |
3290 | (license license:public-domain))) | |
49604680 RW |
3291 | |
3292 | (define-public gx-guvnor-lv2 | |
35f909d4 RW |
3293 | (package |
3294 | (name "gx-guvnor-lv2") | |
3295 | (version "0.1") | |
3296 | (source (origin | |
6ac8c78c RW |
3297 | (method git-fetch) |
3298 | (uri (git-reference | |
b0e7b699 | 3299 | (url "https://github.com/brummer10/GxGuvnor.lv2") |
6ac8c78c RW |
3300 | (commit (string-append "v" version)))) |
3301 | (file-name (string-append name "-" version "-checkout")) | |
35f909d4 RW |
3302 | (sha256 |
3303 | (base32 | |
6ac8c78c | 3304 | "1wa5070j40p7f0b3kr259pzm99xb6cf2badr2capayjvgayd6gnm")))) |
35f909d4 RW |
3305 | (build-system gnu-build-system) |
3306 | (arguments | |
3307 | `(;; The check target is used only to output a warning. | |
3308 | #:tests? #f | |
3309 | #:make-flags | |
3310 | (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))) | |
3311 | #:phases | |
3312 | (modify-phases %standard-phases | |
3313 | (replace 'configure | |
3314 | (lambda _ | |
3315 | (substitute* "Makefile" | |
6ac8c78c RW |
3316 | (("INSTALL_DIR = .*") "INSTALL_DIR=/lib/lv2\n") |
3317 | (("install : all") "install :")) | |
35f909d4 RW |
3318 | #t))))) |
3319 | (inputs | |
3320 | `(("lv2" ,lv2))) | |
3321 | (home-page "https://github.com/brummer10/GxGuvnor.lv2") | |
3322 | (synopsis "Overdrive/distortion pedal simulation") | |
3323 | (description "This package provides the LV2 plugin \"GxGuvnor\", a | |
49604680 | 3324 | simulation of an overdrive or distortion pedal for guitars.") |
35f909d4 | 3325 | ;; The LICENSE file says GPLv3 but the license headers in the files say |
4b359532 RW |
3326 | ;; GPLv2 or later. The whole project is released under GPLv3 or later |
3327 | ;; according to https://github.com/brummer10/GxGuvnor.lv2/issues/1 | |
3328 | (license license:gpl3+))) | |
85ae347e RW |
3329 | |
3330 | (define-public gx-vbass-preamp-lv2 | |
1b74b126 RW |
3331 | (let ((commit "eb999b0ca0ef4da40a59e458a9ab6e7042b96c99") |
3332 | (revision "2")) | |
85ae347e RW |
3333 | (package (inherit gx-guvnor-lv2) |
3334 | (name "gx-vbass-preamp-lv2") | |
3335 | (version (string-append "0-" revision "." (string-take commit 9))) | |
3336 | (source (origin | |
3337 | (method git-fetch) | |
3338 | (uri (git-reference | |
3339 | (url "https://github.com/brummer10/GxVBassPreAmp.lv2") | |
3340 | (commit commit))) | |
3341 | (sha256 | |
3342 | (base32 | |
1b74b126 | 3343 | "0firap073ldw4nrykkd7jvyyj0jbl1nslxyzjj4kswazp99x7d9h")) |
85ae347e | 3344 | (file-name (string-append name "-" version "-checkout")))) |
1b74b126 RW |
3345 | (inputs |
3346 | `(("lv2" ,lv2) | |
3347 | ("gtk+" ,gtk+-2))) | |
3348 | (native-inputs | |
3349 | `(("pkg-config" ,pkg-config))) | |
85ae347e RW |
3350 | (home-page "https://github.com/brummer10/GxVBassPreAmp.lv2") |
3351 | (synopsis "Simulation of the Vox Venue Bass 100 Pre Amp Section") | |
3352 | (description "This package provides the LV2 plugin \"GxVBassPreAmp\", a | |
3353 | pre-amplifier simulation modelled after the 1984 Vox Venue Bass 100 Pre Amp | |
3354 | Section.")))) | |
cdc7a021 RW |
3355 | |
3356 | (define-public gx-overdriver-lv2 | |
3357 | (let ((commit "ed71801987449414bf3adaa0dbfac68e8775f1ce") | |
3358 | (revision "1")) | |
1b74b126 | 3359 | (package (inherit gx-guvnor-lv2) |
cdc7a021 RW |
3360 | (name "gx-overdriver-lv2") |
3361 | (version (string-append "0-" revision "." (string-take commit 9))) | |
3362 | (source (origin | |
3363 | (method git-fetch) | |
3364 | (uri (git-reference | |
3365 | (url "https://github.com/brummer10/GxOverDriver.lv2") | |
3366 | (commit commit))) | |
3367 | (sha256 | |
3368 | (base32 | |
3369 | "13j614jh525fbkby79nnzwj0z1ac0c9wclyn5pfqvkmx6a7j24r8")) | |
3370 | (file-name (string-append name "-" version "-checkout")))) | |
3371 | (home-page "https://github.com/brummer10/GxOverDriver.lv2") | |
3372 | (synopsis "Overdrive effect with level and tone control") | |
3373 | (description "This package provides the LV2 plugin \"GxOverDriver\", an | |
3374 | overdrive effect.")))) | |
4d95cd30 RW |
3375 | |
3376 | (define-public gx-tone-mender-lv2 | |
3377 | (let ((commit "b6780b4a3e4782b3ed0e5882d6788f178aed138f") | |
3378 | (revision "1")) | |
1b74b126 | 3379 | (package (inherit gx-guvnor-lv2) |
4d95cd30 RW |
3380 | (name "gx-tone-mender-lv2") |
3381 | (version (string-append "0-" revision "." (string-take commit 9))) | |
3382 | (source (origin | |
3383 | (method git-fetch) | |
3384 | (uri (git-reference | |
3385 | (url "https://github.com/brummer10/GxToneMender.lv2") | |
3386 | (commit commit))) | |
3387 | (sha256 | |
3388 | (base32 | |
3389 | "07qdcfsvv2vdnfnjh91pfgvjdcs5y91nvwfm8c0z8fp6b4bk7a9q")) | |
3390 | (file-name (string-append name "-" version "-checkout")))) | |
3391 | (home-page "https://github.com/brummer10/GxToneMender.lv2") | |
3392 | (synopsis "Clean boost with a 3-knob tonestack") | |
3393 | (description "This package provides the LV2 plugin \"GxToneMender\", a | |
3394 | clean boost effect with a 3-knob tonestack.")))) | |
4d4bfdc2 RW |
3395 | |
3396 | (define-public gx-push-pull-lv2 | |
3397 | (let ((commit "7f76ae2068498643ac8671ee0930b13ee3fd8eb5") | |
3398 | (revision "1")) | |
1b74b126 | 3399 | (package (inherit gx-guvnor-lv2) |
4d4bfdc2 RW |
3400 | (name "gx-push-pull-lv2") |
3401 | (version (string-append "0-" revision "." (string-take commit 9))) | |
3402 | (source (origin | |
3403 | (method git-fetch) | |
3404 | (uri (git-reference | |
3405 | (url "https://github.com/brummer10/GxPushPull.lv2") | |
3406 | (commit commit))) | |
3407 | (sha256 | |
3408 | (base32 | |
3409 | "12f5hwck2irph0gjbj8xy8jqcqdwb8l1hlwf29k0clz52h1jhb5q")) | |
3410 | (file-name (string-append name "-" version "-checkout")))) | |
3411 | (home-page "https://github.com/brummer10/GxPushPull.lv2") | |
3412 | (synopsis "Octave up push pull transistor fuzz simulation") | |
3413 | (description "This package provides the LV2 plugin \"GxPushPull\", a | |
3414 | simulation of a push pull transistor fuzz effect with added high octave.")))) | |
3eb1a964 RW |
3415 | |
3416 | (define-public gx-suppa-tone-bender-lv2 | |
f959991d RW |
3417 | (package (inherit gx-guvnor-lv2) |
3418 | (name "gx-suppa-tone-bender-lv2") | |
3419 | (version "0.1") | |
3420 | (source (origin | |
48b95a19 RW |
3421 | (method git-fetch) |
3422 | (uri (git-reference | |
b0e7b699 | 3423 | (url "https://github.com/brummer10/GxSuppaToneBender.lv2") |
48b95a19 RW |
3424 | (commit (string-append "v" version)))) |
3425 | (file-name (string-append name "-" version "-checkout")) | |
f959991d RW |
3426 | (sha256 |
3427 | (base32 | |
48b95a19 | 3428 | "01x6bjmllkmvxfzc5xwdix7w021j26js71awv728cxsmkxgqw0zy")))) |
f959991d RW |
3429 | (home-page "https://github.com/brummer10/GxSuppaToneBender.lv2") |
3430 | (synopsis "Simulation of the Vox Suppa Tone Bender pedal") | |
3431 | (description "This package provides the LV2 plugin | |
3eb1a964 | 3432 | \"GxSuppaToneBender\", a simulation modelled after the Vox Suppa Tone Bender |
f959991d | 3433 | pedal."))) |
664f677f RW |
3434 | |
3435 | (define-public gx-saturator-lv2 | |
d9f65bd3 RW |
3436 | (let ((commit "605330f432c94b6eb3f8203cbe472befae959532") |
3437 | (revision "3")) | |
ad67ca3d | 3438 | (package (inherit gx-vbass-preamp-lv2) |
664f677f RW |
3439 | (name "gx-saturator-lv2") |
3440 | (version (string-append "0-" revision "." (string-take commit 9))) | |
3441 | (source (origin | |
3442 | (method git-fetch) | |
3443 | (uri (git-reference | |
3444 | (url "https://github.com/brummer10/GxSaturator.lv2") | |
3445 | (commit commit))) | |
3446 | (sha256 | |
3447 | (base32 | |
d9f65bd3 | 3448 | "1w4nvh0rmxrv3s3hmh4fs74f3hc0jn31v00j769j7v68mqr7kawy")) |
664f677f RW |
3449 | (file-name (string-append name "-" version "-checkout")))) |
3450 | (home-page "https://github.com/brummer10/GxSaturator.lv2") | |
3451 | (synopsis "Saturation effect") | |
3452 | (description "This package provides the LV2 plugin \"GxSaturator\", a | |
3453 | saturation effect.")))) | |
89412238 RW |
3454 | |
3455 | (define-public gx-hyperion-lv2 | |
4396e9b5 RW |
3456 | (package (inherit gx-guvnor-lv2) |
3457 | (name "gx-hyperion-lv2") | |
3458 | (version "0.1") | |
3459 | (source (origin | |
37519239 RW |
3460 | (method git-fetch) |
3461 | (uri (git-reference | |
b0e7b699 | 3462 | (url "https://github.com/brummer10/GxHyperion.lv2") |
37519239 RW |
3463 | (commit (string-append "v" version)))) |
3464 | (file-name (string-append name "-" version "-checkout")) | |
4396e9b5 RW |
3465 | (sha256 |
3466 | (base32 | |
37519239 | 3467 | "1vx79s6s9if117y2g0ppdja2sv2wcny6xcfl3j1z4cipahnildxf")))) |
4396e9b5 RW |
3468 | (home-page "https://github.com/brummer10/GxHyperion.lv2") |
3469 | (synopsis "Simulation of the Hyperion Fuzz pedal") | |
3470 | (description "This package provides the LV2 plugin \"GxHyperion\", a | |
3471 | simulation of the Hyperion Fuzz pedal."))) | |
32536f00 RW |
3472 | |
3473 | (define-public gx-voodoo-fuzz-lv2 | |
cf44ebeb RW |
3474 | (package (inherit gx-guvnor-lv2) |
3475 | (name "gx-voodoo-fuzz-lv2") | |
3476 | (version "0.1") | |
3477 | (source (origin | |
d42c6613 RW |
3478 | (method git-fetch) |
3479 | (uri (git-reference | |
b0e7b699 | 3480 | (url "https://github.com/brummer10/GxVoodoFuzz.lv2") |
d42c6613 RW |
3481 | (commit (string-append "v" version)))) |
3482 | (file-name (string-append name "-" version "-checkout")) | |
cf44ebeb RW |
3483 | (sha256 |
3484 | (base32 | |
d42c6613 | 3485 | "1v0scphivri1fk4hl20j13f92i48mnx1zsil4hgnadsmm4nsfw43")))) |
cf44ebeb RW |
3486 | (home-page "https://github.com/brummer10/GxVoodoFuzz.lv2") |
3487 | (synopsis "Fuzz effect modelled after the Voodoo Lab SuperFuzz") | |
3488 | (description "This package provides the LV2 plugin \"GxVoodooFuzz\", a | |
32536f00 RW |
3489 | simulation modelled after the Voodoo Lab SuperFuzz pedal. It's basically a |
3490 | Bosstone circuit, followed by the tone control of the FoxToneMachine in | |
cf44ebeb | 3491 | parallel with a DarkBooster, followed by a volume control."))) |
29f63222 RW |
3492 | |
3493 | (define-public gx-super-fuzz-lv2 | |
34a3ecfe RW |
3494 | (package (inherit gx-guvnor-lv2) |
3495 | (name "gx-super-fuzz-lv2") | |
3496 | (version "0.1") | |
3497 | (source (origin | |
5057535f RW |
3498 | (method git-fetch) |
3499 | (uri (git-reference | |
b0e7b699 | 3500 | (url "https://github.com/brummer10/GxSuperFuzz.lv2") |
5057535f RW |
3501 | (commit (string-append "v" version)))) |
3502 | (file-name (string-append name "-" version "-checkout")) | |
34a3ecfe RW |
3503 | (sha256 |
3504 | (base32 | |
5057535f | 3505 | "1jlljd9hlgfflbiizq47lv1xbbgjyx3v835mf24zmh1q5zsw4np4")))) |
34a3ecfe RW |
3506 | (home-page "https://github.com/brummer10/GxSuperFuzz.lv2") |
3507 | (synopsis "Fuzz effect modelled after the UniVox SuperFuzz") | |
a6f39d7c | 3508 | (description "This package provides the LV2 plugin \"GxSuperFuzz\", an |
29f63222 | 3509 | analog simulation of the UniVox SuperFuzz pedal. In this simulation the trim |
d1e4ad1b | 3510 | pot, which is usually in the housing, is exposed as a control parameter. It |
34a3ecfe | 3511 | adjusts the amount of harmonics."))) |
40bffdfa RW |
3512 | |
3513 | (define-public gx-vintage-fuzz-master-lv2 | |
38050923 RW |
3514 | (package (inherit gx-guvnor-lv2) |
3515 | (name "gx-vintage-fuzz-master-lv2") | |
3516 | (version "0.1") | |
3517 | (source (origin | |
0febd673 RW |
3518 | (method git-fetch) |
3519 | (uri (git-reference | |
b0e7b699 | 3520 | (url "https://github.com/brummer10/GxVintageFuzzMaster.lv2") |
0febd673 RW |
3521 | (commit (string-append "v" version)))) |
3522 | (file-name (string-append name "-" version "-checkout")) | |
38050923 RW |
3523 | (sha256 |
3524 | (base32 | |
0febd673 | 3525 | "02jb211z8rw2qr5r1z5mdxlqgiw6cbc319xpqplvn6k21c59mskv")))) |
38050923 RW |
3526 | (home-page "https://github.com/brummer10/GxVintageFuzzMaster.lv2") |
3527 | (synopsis "Fuzz effect simulation of the vintage Fuzz Master") | |
3528 | (description "This package provides the LV2 plugin | |
3529 | \"GxVintageFuzzMaster\", a simulation of the vintage Fuzz Master pedal."))) | |
631f8175 RW |
3530 | |
3531 | (define-public gx-slow-gear-lv2 | |
d921a1f4 RW |
3532 | (let ((commit "5d37e775b0feef1d82feee94e2a7a2d7e57efe2d") |
3533 | (revision "3")) | |
ad67ca3d | 3534 | (package (inherit gx-vbass-preamp-lv2) |
631f8175 RW |
3535 | (name "gx-slow-gear-lv2") |
3536 | (version (string-append "0-" revision "." (string-take commit 9))) | |
3537 | (source (origin | |
3538 | (method git-fetch) | |
3539 | (uri (git-reference | |
3540 | (url "https://github.com/brummer10/GxSlowGear.lv2") | |
3541 | (commit commit))) | |
3542 | (sha256 | |
3543 | (base32 | |
d921a1f4 | 3544 | "141mz69zkhk3lm54bb6wgpnghb92zm1ig7fv07240cmhydqji1q1")) |
631f8175 RW |
3545 | (file-name (string-append name "-" version "-checkout")))) |
3546 | (home-page "https://github.com/brummer10/GxSlowGear.lv2") | |
3547 | (synopsis "Slow gear audio effect") | |
3548 | (description "This package provides the LV2 plugin \"GxSlowGear\", a | |
3549 | slow gear audio effect to produce volume swells.")))) | |
d75e8f5a RW |
3550 | |
3551 | (define-public gx-switchless-wah-lv2 | |
cfcef2c2 RW |
3552 | (let ((commit "7b08691203314612999f0ce2328cdc1161cd6665") |
3553 | (revision "2")) | |
1b74b126 | 3554 | (package (inherit gx-guvnor-lv2) |
d75e8f5a RW |
3555 | (name "gx-switchless-wah-lv2") |
3556 | (version (string-append "0-" revision "." (string-take commit 9))) | |
3557 | (source (origin | |
3558 | (method git-fetch) | |
3559 | (uri (git-reference | |
3560 | (url "https://github.com/brummer10/GxSwitchlessWah.lv2") | |
3561 | (commit commit))) | |
3562 | (sha256 | |
3563 | (base32 | |
cfcef2c2 | 3564 | "04jqfpncmrrqn34p21w4v9m2x5a5wsqwbm4f3byxvq4vcibwxzk2")) |
d75e8f5a RW |
3565 | (file-name (string-append name "-" version "-checkout")))) |
3566 | (home-page "https://github.com/brummer10/GxSwitchlessWah.lv2") | |
3567 | (synopsis "Wah emulation with switchless activation") | |
3568 | (description "This package provides the LV2 plugin \"GxSwitchlessWah\", | |
3569 | a simulation of an analog Wah pedal with switchless activation.")))) | |
84d53724 | 3570 | |
a734da86 | 3571 | (define-public rkrlv2 |
b2dcfaf2 RW |
3572 | ;; This commit corresponds to the beta_3 tag |
3573 | (let ((commit "7edcb4e29a358623bfd57fa2c27e5da60adfcec3") | |
3574 | (revision "2")) | |
a734da86 RW |
3575 | (package |
3576 | (name "rkrlv2") | |
3577 | (version (git-version "0" revision commit)) | |
3578 | (source (origin | |
3579 | (method git-fetch) | |
3580 | (uri (git-reference | |
b0e7b699 | 3581 | (url "https://github.com/ssj71/rkrlv2") |
a734da86 RW |
3582 | (commit commit))) |
3583 | (sha256 | |
3584 | (base32 | |
b2dcfaf2 | 3585 | "16i4ajrib7kb0abdcn4901g8a4lkwkp2fyqyms38dhqq84slyfjs")) |
a734da86 RW |
3586 | (file-name (git-file-name name version)))) |
3587 | (build-system cmake-build-system) | |
3588 | (arguments '(#:tests? #f)) ; there are no tests | |
3589 | (inputs | |
3590 | `(("fftw" ,fftw) | |
3591 | ("libsamplerate" ,libsamplerate) | |
3592 | ("lv2" ,lv2))) | |
3593 | (native-inputs | |
3594 | `(("pkg-config" ,pkg-config))) | |
3595 | (home-page "https://github.com/ssj71/rkrlv2") | |
3596 | (synopsis "Rakarrack effects ported to LV2 plugins") | |
3597 | (description "This package provides the Rakarrack effects as LV2 | |
3598 | plugins. The ports are done such that hopefully when Rakarrack gets an active | |
3599 | maintainer these will get merged into the original project.") | |
3600 | (license license:gpl2)))) | |
3601 | ||
84d53724 | 3602 | (define-public mod-utilities |
fe049d21 RW |
3603 | (let ((commit "80ea3ea9f52fab7f191671f4810bf90fc955a046") |
3604 | (revision "2")) | |
84d53724 RW |
3605 | (package |
3606 | (name "mod-utilities") | |
3607 | (version (string-append "0-" revision "." (string-take commit 9))) | |
3608 | (source (origin | |
3609 | (method git-fetch) | |
3610 | (uri (git-reference | |
b0e7b699 | 3611 | (url "https://github.com/moddevices/mod-utilities") |
84d53724 | 3612 | (commit commit))) |
fe049d21 | 3613 | (file-name (string-append name "-" version "-checkout")) |
84d53724 RW |
3614 | (sha256 |
3615 | (base32 | |
fe049d21 | 3616 | "1v55zmzmlg0ka7341x5lsvb44amy17vk27s669ps1basd1bk5s5v")))) |
84d53724 RW |
3617 | (build-system gnu-build-system) |
3618 | (arguments | |
3619 | `(#:tests? #f ; there are no tests | |
3620 | #:make-flags | |
3621 | (list (string-append "INSTALL_PATH=" | |
3622 | (assoc-ref %outputs "out") | |
fe049d21 RW |
3623 | "/lib/lv2") |
3624 | (string-append "PREFIX=" (assoc-ref %outputs "out")) | |
3625 | "CC=gcc") | |
84d53724 RW |
3626 | #:phases |
3627 | (modify-phases %standard-phases | |
3628 | (delete 'configure)))) | |
3629 | (inputs | |
3630 | `(("lv2" ,lv2))) | |
3631 | (home-page "https://github.com/moddevices/mod-utilities") | |
3632 | (synopsis "LV2 utility plugins") | |
3633 | (description "This package provides LV2 audio utility plugins, such as | |
3634 | filters, crossovers, simple gain plugins without zipper noise, switch box | |
3635 | plugins, a switch trigger, a toggle switch, and a peakmeter.") | |
3636 | (license license:gpl2+)))) | |
d3db5efb | 3637 | |
951581a2 | 3638 | (define-public ingen |
19748414 RW |
3639 | (let ((commit "cc4a4db33f4d126a07a4a498e053c5fb9a883be3") |
3640 | (revision "2")) | |
951581a2 RW |
3641 | (package |
3642 | (name "ingen") | |
3643 | (version (string-append "0.0.0-" revision "." | |
3644 | (string-take commit 9))) | |
3645 | (source | |
3646 | (origin | |
3647 | (method git-fetch) | |
3648 | (uri (git-reference | |
0d0252e4 | 3649 | (url "https://git.drobilla.net/ingen.git") |
951581a2 RW |
3650 | (commit commit))) |
3651 | (file-name (string-append name "-" version "-checkout")) | |
3652 | (sha256 | |
3653 | (base32 | |
19748414 | 3654 | "1wg47vjw9djn99gbnsl2bcwj4xhdid61m4wrbn2nlp797flj91ic")))) |
951581a2 RW |
3655 | (build-system waf-build-system) |
3656 | (arguments | |
f9dcf79f RW |
3657 | `(#:python ,python-2 |
3658 | #:tests? #f ; no "check" target | |
951581a2 RW |
3659 | #:configure-flags (list "--no-webkit") |
3660 | #:phases | |
3661 | (modify-phases %standard-phases | |
3662 | (add-after 'unpack 'patch-wscript | |
3663 | (lambda* (#:key outputs #:allow-other-keys) | |
3664 | (let ((out (assoc-ref outputs "out"))) | |
3665 | (substitute* "wscript" | |
3666 | ;; FIXME: Our version of lv2specgen.py does not behave as | |
3667 | ;; expected. Maybe this requires a development version of | |
3668 | ;; LV2. | |
3669 | (("lv2specgen.py") "touch ingen.lv2/ingen.html; echo") | |
3670 | ;; Add libraries to RUNPATH. | |
3671 | (("^(.+)target.*= 'src/ingen/ingen'," line prefix) | |
3672 | (string-append prefix | |
3673 | "linkflags=[\"-Wl,-rpath=" | |
3674 | out "/lib" "\"]," line))) | |
3675 | (substitute* '("src/wscript" | |
3676 | "src/server/wscript") | |
3677 | ;; Add libraries to RUNPATH. | |
3678 | (("bld.env.PTHREAD_LINKFLAGS" line) | |
3679 | (string-append line | |
3680 | " + [\"-Wl,-rpath=" out "/lib" "\"]"))) | |
3681 | (substitute* "src/client/wscript" | |
3682 | ;; Add libraries to RUNPATH. | |
3683 | (("^(.+)target.*= 'ingen_client'," line prefix) | |
3684 | (string-append prefix | |
3685 | "linkflags=[\"-Wl,-rpath=" | |
3686 | out "/lib" "\"]," line))) | |
3687 | (substitute* "src/gui/wscript" | |
3688 | ;; Add libraries to RUNPATH. | |
3689 | (("^(.+)target.* = 'ingen_gui.*" line prefix) | |
3690 | (string-append prefix | |
3691 | "linkflags=[\"-Wl,-rpath=" | |
3692 | out "/lib" "\"]," line)))) | |
3693 | #t))))) | |
3694 | (inputs | |
3695 | `(("boost" ,boost) | |
3696 | ("python-rdflib" ,python-rdflib) | |
3697 | ("python" ,python) | |
3698 | ("jack" ,jack-1) | |
a2467954 | 3699 | ("lv2" ,lv2) |
951581a2 RW |
3700 | ("lilv" ,lilv) |
3701 | ("raul" ,raul-devel) | |
c178d5fa | 3702 | ("ganv" ,ganv) |
951581a2 RW |
3703 | ("suil" ,suil) |
3704 | ("serd" ,serd) | |
3705 | ("sord" ,sord) | |
3706 | ("sratom" ,sratom) | |
3707 | ("gtkmm" ,gtkmm-2))) | |
3708 | (native-inputs | |
3709 | `(("pkg-config" ,pkg-config) | |
3710 | ("python-pygments" ,python-pygments))) | |
0d0252e4 | 3711 | (home-page "https://drobilla.net/software/ingen") |
951581a2 RW |
3712 | (synopsis "Modular audio processing system") |
3713 | (description "Ingen is a modular audio processing system for JACK and | |
3714 | LV2 based systems. Ingen is built around LV2 technology and a strict | |
3715 | separation of engine from user interface. The engine is controlled | |
3716 | exclusively through a protocol, and can execute as a headless process, with an | |
3717 | in-process GUI, or as an LV2 plugin. The GUI can run as a program which | |
3718 | communicates over a Unix or TCP/IP socket, or as an embeddable LV2 GUI which | |
3719 | communicates via LV2 ports. Any saved Ingen graph can be loaded as an LV2 | |
3720 | plugin on any system where Ingen is installed. This allows users to visually | |
3721 | develop custom plugins for use in other applications without programming.") | |
3722 | (license license:agpl3+)))) | |
3723 | ||
b3410b44 RW |
3724 | (define-public qmidiarp |
3725 | (package | |
3726 | (name "qmidiarp") | |
b6313997 | 3727 | (version "0.6.5") |
b3410b44 RW |
3728 | (source (origin |
3729 | (method url-fetch) | |
3730 | (uri (string-append "mirror://sourceforge/qmidiarp/qmidiarp/" | |
3731 | version "/qmidiarp-" version ".tar.bz2")) | |
3732 | (sha256 | |
3733 | (base32 | |
b6313997 | 3734 | "043yh1p0rrbj1v840y27529m9260g55gvh1km8az4jxy7mns58r2")))) |
b3410b44 RW |
3735 | (build-system gnu-build-system) |
3736 | (arguments | |
3737 | `(#:configure-flags | |
0fe041bd | 3738 | (list "--enable-qt5"))) |
b3410b44 RW |
3739 | (inputs |
3740 | `(("qtbase" ,qtbase) | |
3741 | ("alsa-lib" ,alsa-lib) | |
3742 | ("jack" ,jack-1) | |
3743 | ("liblo" ,liblo) | |
3744 | ("lv2" ,lv2))) | |
3745 | (native-inputs | |
3746 | `(("pkg-config" ,pkg-config) | |
3747 | ("qttools" ,qttools))) | |
3748 | (home-page "http://qmidiarp.sourceforge.net/") | |
3749 | (synopsis "MIDI arpeggiator") | |
3750 | (description "QMidiArp is an advanced MIDI arpeggiator, programmable step | |
3751 | sequencer and LFO. It can hold any number of arpeggiator, sequencer, or LFO | |
3752 | modules running in parallel.") | |
3753 | (license license:gpl2+))) | |
3754 | ||
ff49437d RW |
3755 | (define-public qmidiroute |
3756 | (package | |
3757 | (name "qmidiroute") | |
3758 | (version "0.4.0") | |
3759 | (source (origin | |
3760 | (method url-fetch) | |
3761 | (uri (string-append "mirror://sourceforge/alsamodular/QMidiRoute/" | |
3762 | version "/qmidiroute-" version ".tar.bz2")) | |
3763 | (sha256 | |
3764 | (base32 | |
3765 | "19v1ppbglgl3z9v7xdqc0k33w71cqq8a7d6ihvfs7iz77dygrih9")))) | |
3766 | (build-system gnu-build-system) | |
3767 | (arguments | |
3768 | `(#:configure-flags | |
0fe041bd | 3769 | (list "--enable-qt5"))) |
ff49437d RW |
3770 | (inputs |
3771 | `(("qtbase" ,qtbase) | |
3772 | ("alsa-lib" ,alsa-lib))) | |
3773 | (native-inputs | |
3774 | `(("pkg-config" ,pkg-config) | |
3775 | ("qttools" ,qttools))) | |
3776 | (home-page "http://alsamodular.sourceforge.net/") | |
3777 | (synopsis "MIDI event router and filter") | |
3778 | (description "QMidiRoute is a MIDI event router and filter. MIDI note, | |
3779 | control change, program change and pitch bend events are logged, and can be | |
3780 | filtered, redirected and transformed into other events according to MIDI maps | |
3781 | defined as tabs in the main control surface.") | |
3782 | (license license:gpl2+))) | |
3783 | ||
5a66e25c RW |
3784 | (define-public seq24 |
3785 | (package | |
3786 | (name "seq24") | |
3787 | (version "0.9.3") | |
3788 | (source (origin | |
3789 | (method url-fetch) | |
3790 | (uri (string-append "https://launchpad.net/seq24/trunk/" | |
3791 | version "/+download/seq24-" | |
3792 | version ".tar.bz2")) | |
3793 | (sha256 | |
3794 | (base32 | |
3795 | "12dphdhnvfk1k0vmagi1v2lhyxjyj1j3cz6ksjw0ydcvid1x8ap2")) | |
3796 | (patches (search-patches "seq24-rename-mutex.patch")))) | |
3797 | (build-system gnu-build-system) | |
5a66e25c RW |
3798 | (inputs |
3799 | `(("gtkmm" ,gtkmm-2) | |
3800 | ("alsa-lib" ,alsa-lib) | |
3801 | ("jack" ,jack-1) | |
3802 | ("lash" ,lash))) | |
3803 | (native-inputs | |
3804 | `(("pkg-config" ,pkg-config))) | |
3805 | (home-page "https://edge.launchpad.net/seq24/") | |
3806 | (synopsis "Real-time MIDI sequencer") | |
3807 | (description "Seq24 is a real-time MIDI sequencer. It was created to | |
3808 | provide a very simple interface for editing and playing MIDI loops.") | |
3809 | (license license:gpl2+))) | |
3810 | ||
d3db5efb LF |
3811 | (define-public python-discogs-client |
3812 | (package | |
3813 | (name "python-discogs-client") | |
3814 | (version "2.2.1") | |
3815 | (source (origin | |
3816 | (method url-fetch) | |
3817 | (uri (pypi-uri "discogs-client" version)) | |
3818 | (sha256 | |
3819 | (base32 | |
3820 | "053ld2psh0yj3z0kg6z5bn4y3cr562m727494n0ayhgzbkjbacly")))) | |
3821 | (build-system python-build-system) | |
3822 | (propagated-inputs | |
3823 | `(("python-oauthlib" ,python-oauthlib) | |
3824 | ("python-requests" ,python-requests))) | |
3825 | (native-inputs | |
3826 | `(("python-six" ,python-six))) | |
3827 | (home-page "https://github.com/discogs/discogs_client") | |
3828 | (synopsis "Official Python client for the Discogs API") | |
3829 | (description "This is the official Discogs API client for Python. It enables | |
3830 | you to query the Discogs database for information on artists, releases, labels, | |
3831 | users, Marketplace listings, and more. It also supports OAuth 1.0a | |
3832 | authorization, which allows you to change user data such as profile information, | |
3833 | collections and wantlists, inventory, and orders.") | |
80983df3 | 3834 | (license license:bsd-2))) |
d3db5efb LF |
3835 | |
3836 | (define-public python2-discogs-client | |
80983df3 | 3837 | (package-with-python2 python-discogs-client)) |
a4f05b46 | 3838 | |
3839 | (define-public libsmf | |
3840 | (package | |
3841 | (name "libsmf") | |
3842 | (version "1.3") | |
3843 | (source | |
3844 | (origin | |
3845 | (method url-fetch) | |
3846 | ;; SF download page says development moved, but the link it points to | |
3847 | ;; is gone (https://github.com/nilsgey/libsmf). Someone else adopted | |
3848 | ;; it but made no release so far (https://github.com/stump/libsmf). | |
3849 | (uri (string-append "mirror://sourceforge/libsmf/libsmf/" | |
3850 | version "/libsmf-" version ".tar.gz")) | |
3851 | (sha256 | |
3852 | (base32 | |
3853 | "16c0n40h0r56gzbh5ypxa4dwp296dan3jminml2qkb4lvqarym6k")))) | |
3854 | (build-system gnu-build-system) | |
3855 | (outputs '("out" | |
3856 | "static")) ; 88KiB of .a files | |
3857 | (arguments | |
3858 | `(#:phases | |
3859 | (modify-phases %standard-phases | |
3860 | (add-after 'install 'move-static-libraries | |
3861 | (lambda* (#:key outputs #:allow-other-keys) | |
3862 | ;; Move static libraries to the "static" output. | |
3863 | (let* ((out (assoc-ref outputs "out")) | |
3864 | (lib (string-append out "/lib")) | |
3865 | (static (assoc-ref outputs "static")) | |
3866 | (slib (string-append static "/lib"))) | |
3867 | (mkdir-p slib) | |
3868 | (for-each (lambda (file) | |
3869 | (install-file file slib) | |
3870 | (delete-file file)) | |
3871 | (find-files lib "\\.a$")) | |
3872 | #t)))))) | |
3873 | (inputs | |
3874 | `(("readline" ,readline) | |
3875 | ("glib" ,glib))) | |
3876 | (native-inputs | |
3877 | `(("doxygen" ,doxygen) | |
3878 | ("pkg-config" ,pkg-config))) | |
3879 | (home-page "http://libsmf.sourceforge.net/") | |
3880 | (synopsis "Standard MIDI File format library") | |
3881 | (description | |
3882 | "LibSMF is a C library for handling SMF (\"*.mid\") files. It transparently handles | |
3883 | conversions between time and pulses, tempo map handling and more. The only dependencies | |
3884 | are a C compiler and glib. Full API documentation and examples are included.") | |
3885 | (license license:bsd-2))) | |
a42619e5 RF |
3886 | |
3887 | (define-public lmms | |
3888 | (package | |
3889 | (name "lmms") | |
e5c44790 | 3890 | (version "1.2.1") |
a42619e5 RF |
3891 | (source |
3892 | (origin | |
3a0592ae RW |
3893 | (method git-fetch) |
3894 | (uri (git-reference | |
b0e7b699 | 3895 | (url "https://github.com/LMMS/lmms") |
3a0592ae RW |
3896 | (commit (string-append "v" version)))) |
3897 | (file-name (git-file-name name version)) | |
a42619e5 RF |
3898 | (sha256 |
3899 | (base32 | |
e5c44790 | 3900 | "1gx730z361xx30iqbsm99aam1k2c8yf561gcay6sryyjksb4w1wy")))) |
a42619e5 RF |
3901 | (build-system cmake-build-system) |
3902 | (arguments | |
3903 | `(#:tests? #f ; no tests | |
e5c44790 KK |
3904 | ;; Qt 5 support must be explicitly enabled in the 1.2 stable versions of |
3905 | ;; LMMS, so try removing "-DWANT_QT5=ON" in later versions. | |
3906 | ;; Also, explicitly disabling VST support gets rid of the in-tree | |
3907 | ;; dependency on qt5-x11embed. | |
3908 | #:configure-flags '("-DWANT_QT5=ON" | |
3909 | "-DWANT_VST=OFF") | |
a42619e5 RF |
3910 | #:phases |
3911 | (modify-phases %standard-phases | |
e5c44790 KK |
3912 | (add-after 'unpack 'unpack-rpmalloc |
3913 | (lambda* (#:key inputs #:allow-other-keys) | |
3914 | (copy-recursively (assoc-ref inputs "rpmalloc") | |
3915 | "src/3rdparty/rpmalloc/rpmalloc") | |
3916 | #t)) | |
ab2ccf4c KK |
3917 | (add-before 'configure 'set-ldflags |
3918 | (lambda* (#:key outputs #:allow-other-keys) | |
3919 | (setenv "LDFLAGS" | |
3920 | (string-append | |
3921 | "-Wl,-rpath=\"" | |
3922 | (assoc-ref outputs "out") "/lib/lmms" | |
3923 | ":" | |
3924 | (assoc-ref outputs "out") "/lib/lmms/ladspa" | |
3925 | "\"")) | |
3926 | #t)) | |
ab2ccf4c KK |
3927 | (add-before 'reset-gzip-timestamps 'make-manpages-writable |
3928 | (lambda* (#:key outputs #:allow-other-keys) | |
3929 | (map (lambda (file) | |
3930 | (make-file-writable file)) | |
3931 | (find-files (string-append (assoc-ref outputs "out") | |
3932 | "/share/man") | |
3933 | ".*\\.gz$")) | |
3934 | #t))))) | |
a42619e5 | 3935 | (native-inputs |
e5c44790 KK |
3936 | `(("pkg-config" ,pkg-config) |
3937 | ("qttools" ,qttools) | |
3938 | ;; rpmalloc is a public domain memory allocator. This version specified | |
3939 | ;; below is the version required by LMMS. | |
3940 | ;; To get the new commit of rpmalloc to use here, run | |
3941 | ;; `git submodule--helper list | grep rpmalloc | cut -f2 -d' '` | |
3942 | ;; in the cloned LMMS repository. | |
3943 | ("rpmalloc" | |
3944 | ,(origin | |
3945 | (method git-fetch) | |
3946 | (uri (git-reference | |
b0e7b699 | 3947 | (url "https://github.com/mjansson/rpmalloc") |
e5c44790 KK |
3948 | (commit "b5bdc18051bb74a22f0bde4bcc90b01cf590b496"))) |
3949 | (sha256 | |
3950 | (base32 | |
3951 | "0g9pls46iggg7rdm65vzfj8nyr3v2n5xkp54c4qbh9hhalpsw4ay")))))) | |
a42619e5 RF |
3952 | (inputs |
3953 | `(("sdl" ,sdl) | |
e5c44790 KK |
3954 | ("qtbase" ,qtbase) |
3955 | ("qtx11extras" ,qtx11extras) | |
a42619e5 RF |
3956 | ("fltk" ,fltk) |
3957 | ("libogg" ,libogg) | |
3958 | ("libsamplerate" ,libsamplerate) | |
e5c44790 | 3959 | ("fluidsynth" ,fluidsynth) |
a42619e5 RF |
3960 | ("libvorbis" ,libvorbis) |
3961 | ("alsa-lib" ,alsa-lib) | |
3962 | ("portaudio" ,portaudio) | |
3963 | ("ladspa" ,ladspa) | |
3964 | ("libsndfile1" ,libsndfile) | |
3965 | ("libxft" ,libxft) | |
3966 | ("freetype2" ,freetype) | |
4bfc925a P |
3967 | ("fftw3f" ,fftwf) |
3968 | ("jack" ,jack-1))) | |
a42619e5 RF |
3969 | (home-page "https://lmms.io/") |
3970 | (synopsis "Music composition tool") | |
3971 | (description "LMMS is a digital audio workstation. It includes tools for sequencing | |
3972 | melodies and beats and for mixing and arranging songs. LMMS includes instruments based on | |
3973 | audio samples and various soft sythesizers. It can receive input from a MIDI keyboard.") | |
3974 | (license license:gpl2+))) | |
a7a7186c NG |
3975 | |
3976 | (define-public musescore | |
3977 | (package | |
3978 | (name "musescore") | |
436dd1de | 3979 | (version "3.4.2") |
3212b964 NG |
3980 | (source |
3981 | (origin | |
3982 | (method git-fetch) | |
3983 | (uri (git-reference | |
b0e7b699 | 3984 | (url "https://github.com/musescore/MuseScore") |
3212b964 NG |
3985 | (commit (string-append "v" version)))) |
3986 | (file-name (git-file-name name version)) | |
3987 | (sha256 | |
436dd1de | 3988 | (base32 "14a9sg87nx7xca1qfbkplnpbx9pyg9k9vy87dq0g401ag6g6bi66")) |
3212b964 NG |
3989 | (modules '((guix build utils))) |
3990 | (snippet | |
3991 | ;; Un-bundle OpenSSL and remove unused libraries. | |
3992 | '(begin | |
3993 | (for-each delete-file-recursively | |
3994 | '("thirdparty/freetype" | |
3995 | "thirdparty/openssl" | |
3996 | "thirdparty/portmidi")) | |
3997 | #t)))) | |
11d44d0b | 3998 | (build-system cmake-build-system) |
a7a7186c | 3999 | (arguments |
11d44d0b | 4000 | `(#:configure-flags |
3212b964 NG |
4001 | `("-DBUILD_TELEMETRY_MODULE=OFF" ;don't phone home |
4002 | "-DBUILD_WEBENGINE=OFF" | |
8d611ef0 NG |
4003 | "-DDOWNLOAD_SOUNDFONT=OFF" |
4004 | "-DUSE_SYSTEM_FREETYPE=ON") | |
11d44d0b NG |
4005 | ;; There are tests, but no simple target to run. The command used to |
4006 | ;; run them is: | |
a7a7186c NG |
4007 | ;; |
4008 | ;; make debug && sudo make installdebug && cd \ | |
4009 | ;; build.debug/mtest && make && ctest | |
4010 | ;; | |
4011 | ;; Basically, it requires to start a whole new build process. | |
4012 | ;; So we simply skip them. | |
11d44d0b | 4013 | #:tests? #f)) |
a7a7186c NG |
4014 | (inputs |
4015 | `(("alsa-lib" ,alsa-lib) | |
4016 | ("freetype" ,freetype) | |
4017 | ("gtk+-bin" ,gtk+ "bin") ;for gtk-update-icon-cache | |
4018 | ("jack" ,jack-1) | |
4019 | ("lame" ,lame) | |
4020 | ("libogg" ,libogg) | |
4021 | ("libsndfile" ,libsndfile) | |
4022 | ("libvorbis" ,libvorbis) | |
4023 | ("portaudio" ,portaudio) | |
b3891a25 | 4024 | ("portmidi" ,portmidi) |
a7a7186c NG |
4025 | ("pulseaudio" ,pulseaudio) |
4026 | ("qtbase" ,qtbase) | |
4027 | ("qtdeclarative" ,qtdeclarative) | |
436dd1de | 4028 | ("qtquickcontrols2" ,qtquickcontrols2) |
a7a7186c NG |
4029 | ("qtscript" ,qtscript) |
4030 | ("qtsvg" ,qtsvg) | |
a7a7186c NG |
4031 | ("qtxmlpatterns" ,qtxmlpatterns))) |
4032 | (native-inputs | |
11d44d0b | 4033 | `(("pkg-config" ,pkg-config) |
a7a7186c NG |
4034 | ("qttools" ,qttools))) |
4035 | (synopsis "Music composition and notation software") | |
4036 | (description "MuseScore is a music score typesetter. Its main purpose is | |
4037 | the creation of high-quality engraved musical scores in a WYSIWYG environment. | |
4038 | ||
4039 | It supports unlimited staves, linked parts and part extraction, tablature, | |
4040 | MIDI input, percussion notation, cross-staff beaming, automatic transposition, | |
4041 | lyrics (multiple verses), fretboard diagrams, and in general everything | |
4042 | commonly used in sheet music. Style options and style sheets to change the | |
4043 | appearance and layout are provided. | |
4044 | ||
4045 | MuseScore can also play back scores through the built-in sequencer and SoundFont | |
4046 | sample library.") | |
4047 | (home-page "https://musescore.org") | |
4048 | (license license:gpl2))) | |
2434f5ce | 4049 | |
43188faf RW |
4050 | (define-public muse-sequencer |
4051 | (package | |
4052 | (name "muse-sequencer") | |
4053 | (version "3.0.0") | |
4054 | (source (origin | |
4055 | (method git-fetch) | |
4056 | (uri (git-reference | |
b0e7b699 | 4057 | (url "https://github.com/muse-sequencer/muse") |
43188faf RW |
4058 | (commit (string-append "muse_" |
4059 | (string-map (lambda (c) | |
4060 | (if (char=? c #\.) | |
4061 | #\_ c)) version))))) | |
78fee44e | 4062 | (file-name (git-file-name name version)) |
43188faf RW |
4063 | (sha256 |
4064 | (base32 | |
4065 | "1nninz8qyqlxxjdnrm79y3gr3056pga9l2fsqh674jd3cjvafya3")))) | |
4066 | (build-system cmake-build-system) | |
4067 | (arguments | |
4068 | `(#:tests? #f ; there is no test target | |
4069 | #:configure-flags | |
4070 | (list "-DENABLE_LV2_SUPPLIED=OFF" | |
4071 | "-DENABLE_RTAUDIO=OFF" ; FIXME: not packaged | |
4072 | "-DENABLE_INSTPATCH=OFF" ; FIXME: not packaged | |
4073 | "-DENABLE_VST_NATIVE=OFF") | |
4074 | #:phases | |
4075 | (modify-phases %standard-phases | |
4076 | (add-after 'unpack 'chdir | |
4077 | (lambda _ (chdir "muse3")))))) | |
4078 | (inputs | |
4079 | `(("alsa-lib" ,alsa-lib) | |
4080 | ("lash" ,lash) | |
4081 | ("jack" ,jack-1) | |
4082 | ("liblo" ,liblo) | |
4083 | ("dssi" ,dssi) | |
4084 | ("ladspa" ,ladspa) | |
4085 | ("lv2" ,lv2) | |
4086 | ("lilv" ,lilv) | |
4087 | ("sord" ,sord) | |
4088 | ("libsndfile" ,libsndfile) | |
4089 | ("libsamplerate" ,libsamplerate) | |
4090 | ("fluidsynth" ,fluidsynth) | |
4091 | ("pcre" ,pcre) | |
4092 | ("qtbase" ,qtbase) | |
4093 | ("qtsvg" ,qtsvg))) | |
4094 | (native-inputs | |
4095 | `(("pkg-config" ,pkg-config) | |
4096 | ("qttools" ,qttools))) | |
9bbb4920 | 4097 | (home-page "https://muse-sequencer.github.io/") |
43188faf RW |
4098 | (synopsis "MIDI/Audio sequencer") |
4099 | (description "MusE is a MIDI/Audio sequencer with recording and editing | |
4100 | capabilities. Its audio sequencer supports the LADSPA, DSSI, and LV2 audio | |
4101 | plugin formats; the MIDI sequencer provides a piano roll, a drum editor, a | |
4102 | list view, and a score editor. MusE aims to be a complete multitrack virtual | |
4103 | studio.") | |
4104 | (license license:gpl2+))) | |
4105 | ||
2434f5ce DM |
4106 | (define-public dssi |
4107 | (package | |
4108 | (name "dssi") | |
4109 | (version "1.1.1") | |
4110 | (source (origin | |
4111 | (method url-fetch) | |
4112 | (uri (string-append | |
4113 | "mirror://sourceforge/dssi/dssi/" version | |
4114 | "/dssi-" version ".tar.gz")) | |
4115 | (sha256 | |
4116 | (base32 | |
4117 | "0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j")))) | |
4118 | (build-system gnu-build-system) | |
4119 | (inputs | |
4120 | `(("alsa-lib" ,alsa-lib) | |
0e78801a | 4121 | ("jack" ,jack-1) |
2434f5ce DM |
4122 | ("ladspa" ,ladspa) |
4123 | ("libsamplerate" ,libsamplerate) | |
4124 | ("libsndfile" ,libsndfile) | |
4125 | ("liblo" ,liblo))) | |
4126 | (native-inputs | |
4127 | `(("pkg-config" ,pkg-config))) | |
4128 | (synopsis "Audio plugin API for soft synths and effects") | |
4129 | (description "DSSI is a plugin API for software instruments with user | |
4130 | interfaces, permitting them to be hosted in-process by audio applications. | |
4131 | It is intended to be simple, GUI-toolkit-agnostic, and slightly biased | |
4132 | towards familiarity with MIDI. The DSSI distribution package contains | |
4133 | a JACK/ALSA-sequencer reference host and some plugins as well as the | |
4134 | specification and header.") | |
4135 | (home-page "http://dssi.sourceforge.net/") | |
4136 | ;; The DSSI interface is LGPL2.1+, some tests and examples are GPL2+. | |
4137 | ;; The vast majority of examples are in the public domain. | |
4138 | (license (list license:lgpl2.1+ license:gpl2+)))) | |
9bc38f28 DM |
4139 | |
4140 | (define-public rosegarden | |
4141 | (package | |
4142 | (name "rosegarden") | |
07139296 | 4143 | (version "20.06") |
24319a83 NG |
4144 | (source |
4145 | (origin | |
4146 | (method url-fetch) | |
4147 | (uri (string-append "mirror://sourceforge/rosegarden/rosegarden/" | |
4148 | version "/rosegarden-" version ".tar.bz2")) | |
4149 | (sha256 | |
07139296 | 4150 | (base32 "1i9x9rkqwwdrk77xl5ra8i48cjirbc7fbisnj0nnclccwaq0wk6r")))) |
9bc38f28 DM |
4151 | (build-system cmake-build-system) |
4152 | (arguments | |
0d5101c3 | 4153 | `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release") |
9bc38f28 DM |
4154 | #:phases |
4155 | (modify-phases %standard-phases | |
4156 | (add-after 'unpack 'patch-tests | |
4157 | (lambda _ | |
4158 | (substitute* "CMakeLists.txt" | |
4159 | (("BUILD_TESTING OFF") "BUILD_TESTING ON") | |
4160 | ;; Make tests work. | |
4161 | ((" -fvisibility=hidden") "")) | |
4162 | #t)) | |
4163 | (add-after 'unpack 'fix-references | |
4164 | (lambda* (#:key inputs #:allow-other-keys) | |
4165 | (substitute* "src/gui/general/ProjectPackager.cpp" | |
4166 | (("\"flac\\>") | |
4167 | (string-append "\"" (assoc-ref inputs "flac") "/bin/flac")) | |
4168 | (("\"wavpack\\>") | |
4169 | (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wavpack")) | |
4170 | (("\"wvunpack\\>") | |
4171 | (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wvunpack")) | |
4172 | (("\"bash\\>") | |
4173 | (string-append "\"" (assoc-ref inputs "bash") "/bin/bash")) | |
4174 | (("\"tar\\>") | |
4175 | (string-append "\"" (assoc-ref inputs "tar") "/bin/tar"))) | |
4176 | (substitute* "src/gui/general/LilyPondProcessor.cpp" | |
4177 | (("\"convert-ly\\>") | |
4178 | (string-append "\"" (assoc-ref inputs "lilypond") "/bin/convert-ly")) | |
4179 | (("\"lilypond\\>") | |
4180 | (string-append "\"" (assoc-ref inputs "lilypond") "/bin/lilypond"))) | |
4181 | #t)) | |
4182 | (add-after 'unpack 'make-reproducible | |
4183 | (lambda _ | |
4184 | ;; Prevent Last-Modified from being written. | |
4185 | ;; The "*.qm" files that are used in locale.qrc would have a new | |
4186 | ;; mtime otherwise that is written into qrc_locale.cpp in the | |
4187 | ;; end - except when we disable it. | |
4188 | (substitute* "src/CMakeLists.txt" | |
4189 | (("COMMAND [$][{]QT_RCC_EXECUTABLE[}]") | |
4190 | "COMMAND ${QT_RCC_EXECUTABLE} --format-version 1") | |
4191 | ;; Extraneous. | |
24319a83 NG |
4192 | ;;(("qt5_add_resources[(]rg_SOURCES ../data/data.qrc[)]") |
4193 | ;; "qt5_add_resources(rg_SOURCES ../data/data.qrc OPTIONS --format-version 1)") | |
4194 | ) | |
9bc38f28 DM |
4195 | ;; Make hashtable traversal order predicable. |
4196 | (setenv "QT_RCC_TEST" "1") ; important | |
4197 | #t)) | |
4198 | (add-before 'check 'prepare-check | |
4199 | (lambda _ | |
4200 | (setenv "QT_QPA_PLATFORM" "offscreen") | |
4201 | ;; Tests create files in $HOME/.local/share/rosegarden . | |
4202 | (mkdir-p "/tmp/foo") | |
4203 | (setenv "HOME" "/tmp/foo") | |
9bf98520 | 4204 | (setenv "XDG_RUNTIME_DIR" "/tmp/foo") |
9bc38f28 DM |
4205 | #t))))) |
4206 | (inputs | |
4207 | `(("alsa-lib" ,alsa-lib) | |
4208 | ("bash" ,bash) | |
4209 | ("dssi" ,dssi) | |
4210 | ("flac" ,flac) | |
4211 | ("fftwf" ,fftwf) | |
b94f250e | 4212 | ("jack" ,jack-1) |
9bc38f28 DM |
4213 | ("ladspa" ,ladspa) |
4214 | ("liblo" ,liblo) | |
4215 | ("libsamplerate" ,libsamplerate) | |
4216 | ("lilypond" ,lilypond) | |
4217 | ("lrdf" ,lrdf) | |
4218 | ("qtbase" ,qtbase) | |
4219 | ("tar" ,tar) | |
4220 | ("lirc" ,lirc) | |
4221 | ("wavpack" ,wavpack) | |
4222 | ("zlib" ,zlib))) | |
4223 | (native-inputs | |
4224 | `(("pkg-config" ,pkg-config) | |
4225 | ("qtlinguist" ,qttools))) | |
4226 | (synopsis "Music composition and editing environment based around a MIDI | |
4227 | sequencer") | |
4228 | (description "Rosegarden is a music composition and editing environment | |
4229 | based around a MIDI sequencer that features a rich understanding of music | |
4230 | notation and includes basic support for digital audio.") | |
9bf98520 | 4231 | (home-page "https://www.rosegardenmusic.com/") |
9bc38f28 | 4232 | (license license:gpl2))) |
30655652 | 4233 | |
643817e4 | 4234 | (define-public patchmatrix |
559e06b6 RW |
4235 | (package |
4236 | (name "patchmatrix") | |
4237 | (version "0.16.0") | |
4238 | (source (origin | |
4239 | (method git-fetch) | |
4240 | (uri (git-reference | |
b0e7b699 | 4241 | (url "https://github.com/OpenMusicKontrollers/patchmatrix") |
559e06b6 RW |
4242 | (commit version))) |
4243 | (file-name (git-file-name "patchmatrix" version)) | |
4244 | (sha256 | |
4245 | (base32 | |
4246 | "020vp7zzxxzzjfic57vkpg68dm8hi98ilr1bj88xjsv6i47xmjbn")))) | |
4247 | (build-system meson-build-system) | |
4248 | (arguments '(#:tests? #f)) ; no test target | |
4249 | (inputs | |
4250 | `(("jack" ,jack-1) | |
4251 | ("lv2" ,lv2) | |
4252 | ("mesa" ,mesa))) | |
4253 | (native-inputs | |
4254 | `(("pkg-config" ,pkg-config))) | |
4255 | (home-page "https://github.com/OpenMusicKontrollers/patchmatrix") | |
4256 | (synopsis "Simple JACK patch bay") | |
4257 | (description "PatchMatrix is a patch bay for the JACK audio connection | |
643817e4 RW |
4258 | kit. It provides a patch bay in flow matrix style for audio, MIDI, CV, and |
4259 | OSC connections.") | |
559e06b6 | 4260 | (license license:artistic2.0))) |
643817e4 | 4261 | |
30655652 RW |
4262 | (define-public sorcer |
4263 | (package | |
4264 | (name "sorcer") | |
4265 | (version "1.1.3") | |
4266 | (source (origin | |
4267 | (method url-fetch) | |
4268 | (uri (string-append "https://github.com/openAVproductions/" | |
4269 | "openAV-Sorcer/archive/release-" | |
4270 | version ".tar.gz")) | |
4271 | (file-name (string-append name "-" version ".tar.gz")) | |
4272 | (sha256 | |
4273 | (base32 | |
4274 | "07iyqj28wm0xc4arrq893bm12xjpz65db7ynrlmf6w8krg8wjmd0")))) | |
4275 | (build-system cmake-build-system) | |
4276 | (arguments | |
4277 | `(#:tests? #f ; no tests included | |
4278 | #:phases | |
4279 | (modify-phases %standard-phases | |
e5af1f4a EF |
4280 | (add-after 'unpack 'remove-architecture-specific-flags |
4281 | (lambda _ | |
4282 | (substitute* "CMakeLists.txt" | |
4283 | (("-msse2 -mfpmath=sse") "")) | |
4284 | #t)) | |
30655652 RW |
4285 | (add-after 'unpack 'build-faust-sources |
4286 | (lambda* (#:key inputs #:allow-other-keys) | |
4287 | (with-directory-excursion "faust" | |
4288 | (delete-file "main.cpp") | |
d7e24652 RW |
4289 | (invoke "faust" "-i" |
4290 | "-a" "lv2synth.cpp" | |
4291 | "-o" "main.cpp" "main.dsp"))))))) | |
30655652 RW |
4292 | (inputs |
4293 | `(("boost" ,boost) | |
4294 | ("lv2" ,lv2) | |
4295 | ("ntk" ,ntk))) | |
4296 | (native-inputs | |
4297 | `(("faust" ,faust) | |
4298 | ("pkg-config" ,pkg-config))) | |
4299 | (home-page "http://openavproductions.com/sorcer/") | |
4300 | (synopsis "Wavetable LV2 plugin synth") | |
4301 | (description "Sorcer is a wavetable LV2 plugin synthesizer, targeted at | |
4302 | the electronic or dubstep genre.") | |
4303 | (license license:gpl3+))) | |
60b7ed9c | 4304 | |
f7ce2134 RW |
4305 | (define-public sonivox-eas |
4306 | (package | |
4307 | (name "sonivox-eas") | |
4308 | (version "1.1.0") | |
4309 | (source (origin | |
4310 | (method git-fetch) | |
4311 | (uri (git-reference | |
b0e7b699 | 4312 | (url "https://github.com/pedrolcl/Linux-SonivoxEas") |
f7ce2134 RW |
4313 | (commit (string-append "v" version)))) |
4314 | (file-name (string-append name "-" version "-checkout")) | |
4315 | (sha256 | |
4316 | (base32 | |
4317 | "0l9gs00p5g4k4qy6i7nv1mfi2n2wnsycwjrgrh9hxzam4irf2mw2")))) | |
4318 | (build-system cmake-build-system) | |
4319 | (arguments '(#:tests? #f)) ; there are no tests | |
4320 | (inputs | |
4321 | `(("alsa-lib" ,alsa-lib) | |
4322 | ("drumstick" ,drumstick) | |
4323 | ("pulseaudio" ,pulseaudio) | |
4324 | ("qtbase" ,qtbase))) | |
4325 | (native-inputs | |
4326 | `(("pkg-config" ,pkg-config))) | |
4327 | (home-page "https://github.com/pedrolcl/Linux-SonivoxEas") | |
4328 | (synopsis "MIDI synthesizer library") | |
4329 | (description "This project is a real time General MIDI synthesizer based | |
4330 | on the Sonivox EAS Synthesizer by Google. It does not need external | |
4331 | soundfonts, using embedded samples instead.") | |
4332 | ;; Sonivox is released under the ASL2.0; the rest of the code is under | |
4333 | ;; GPLv2+. | |
4334 | (license (list license:gpl2+ license:asl2.0)))) | |
92b36e3a RW |
4335 | |
4336 | (define-public whysynth | |
4337 | (package | |
4338 | (name "whysynth") | |
4339 | (version "20170701") | |
4340 | (source (origin | |
4341 | (method url-fetch) | |
4342 | (uri (string-append "http://smbolton.com/whysynth/whysynth-" | |
4343 | version ".tar.bz2")) | |
4344 | (sha256 | |
4345 | (base32 | |
4346 | "02qbn0hbvn1iym4zxv35b201blg31yjpgh71h8db0j5zls2xc0m6")))) | |
4347 | (build-system gnu-build-system) | |
4348 | (inputs | |
4349 | `(("dssi" ,dssi) | |
4350 | ("liblo" ,liblo) | |
4351 | ("fftwf" ,fftwf) | |
4352 | ("gtk+" ,gtk+-2) | |
4353 | ("ladspa" ,ladspa) | |
4354 | ("alsa-lib" ,alsa-lib))) | |
4355 | (native-inputs | |
4356 | `(("pkg-config" ,pkg-config))) | |
4357 | (home-page "http://smbolton.com/whysynth.html") | |
4358 | (synopsis "DSSI software synthesizer") | |
4359 | (description "WhySynth is a versatile softsynth which operates as a plugin | |
4360 | for the DSSI Soft Synth Interface. A brief list of features: | |
4361 | ||
4362 | @enumerate | |
4363 | @item 4 oscillators, 2 filters, 3 LFOs, and 5 envelope generators per voice. | |
4364 | @item 11 oscillator modes: minBLEP, wavecycle, chorused wavecycle, | |
4365 | asynchronous granular, three FM modes, waveshaper, noise, PADsynth, and phase | |
4366 | distortion. | |
4367 | @item 10 filter modes. | |
4368 | @item flexible modulation and mixdown options, plus effects. | |
4369 | @end enumerate | |
4370 | ") | |
4371 | (license license:gpl2+))) | |
6b445c57 | 4372 | |
4373 | (define-public libdiscid | |
4374 | (package | |
4375 | (name "libdiscid") | |
4376 | (version "0.6.2") | |
4377 | (source | |
4378 | (origin | |
4379 | (method url-fetch) | |
4380 | (uri (string-append | |
4381 | "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/libdiscid-" | |
4382 | version ".tar.gz")) | |
4383 | (sha256 | |
4384 | (base32 | |
4385 | "1f9irlj3dpb5gyfdnb1m4skbjvx4d4hwiz2152f83m0d9jn47r7r")))) | |
4386 | (arguments `(#:test-target "check")) | |
4387 | (build-system cmake-build-system) | |
4388 | (home-page "https://musicbrainz.org/doc/libdiscid") | |
4389 | (synopsis "Disc id reader library") | |
4390 | (description "libdiscid is a C library for creating MusicBrainz and freedb | |
4391 | disc IDs from audio CDs. It reads a CD's table of contents (TOC) and generates | |
4392 | an identifier which can be used to lookup the CD at MusicBrainz. Additionally, | |
4393 | it provides a submission URL for adding the disc ID to the database and gathers | |
4394 | ISRCs and the MCN (=UPC/EAN) from disc.") | |
4395 | (license license:lgpl2.1+))) | |
1ea29aa0 | 4396 | |
1331a6c0 GH |
4397 | (define-public python-discid |
4398 | (package | |
4399 | (name "python-discid") | |
4400 | (version "1.1.1") | |
4401 | (source | |
4402 | (origin | |
4403 | (method url-fetch) | |
4404 | (uri (pypi-uri "discid" version)) | |
4405 | (sha256 | |
4406 | (base32 | |
4407 | "1fgp67nhqlbvhhwrcxq5avil7alpzw4s4579hlyvxzbphdnbz8vq")))) | |
4408 | (build-system python-build-system) | |
4409 | (inputs | |
4410 | `(("libdiscid" ,libdiscid))) | |
4411 | (arguments | |
4412 | `(#:phases | |
4413 | (modify-phases %standard-phases | |
4414 | (add-before 'build 'set-libdiscid | |
4415 | ;; Set path of libdiscid | |
4416 | (lambda* (#:key inputs #:allow-other-keys) | |
4417 | (let ((discid (assoc-ref inputs "libdiscid"))) | |
4418 | (substitute* "discid/libdiscid.py" | |
4419 | (("lib_name = (.*)$" all name) | |
4420 | (string-append "lib_name = \"" discid | |
4421 | "/lib/libdiscid.so.0\"\n"))) | |
4422 | #t)))))) | |
4423 | (home-page "https://python-discid.readthedocs.io/") | |
4424 | (synopsis "Python bindings for Libdiscid") | |
4425 | (description | |
4426 | "This package provides Python bindings for the Libdiscid library. The | |
4427 | main purpose is the calculation of @url{https://musicbrainz.org/doc/Disc%20ID, | |
4428 | Disc IDs} for use with the MusicBrainz database. Additionally the disc | |
4429 | @dfn{Media Catalog Number} (MCN) and track @dfn{International Standard | |
4430 | Recording Code} (ISRC) can be extracted.}") | |
4431 | (license license:lgpl3+))) | |
4432 | ||
1ea29aa0 | 4433 | (define-public libmusicbrainz |
4434 | (package | |
4435 | (name "libmusicbrainz") | |
4436 | (version "5.1.0") | |
4437 | (source | |
4438 | (origin | |
4439 | (method url-fetch) | |
4440 | (uri (string-append | |
4441 | "https://github.com/metabrainz/libmusicbrainz/releases/download/release-" | |
4442 | version "/libmusicbrainz-" version ".tar.gz")) | |
4443 | (sha256 | |
4444 | (base32 | |
8c71a52c | 4445 | "0ikb9igyyk28jm34raxfzkw2qyn4nzzwsymdyprp7cmvi6g2ajb7")))) |
1ea29aa0 | 4446 | (build-system cmake-build-system) |
69cb939e RW |
4447 | (arguments |
4448 | `(#:phases | |
4449 | (modify-phases %standard-phases | |
4450 | (replace 'check | |
4451 | (lambda _ | |
4452 | ;; requires network connections | |
4453 | ;; (invoke "tests/mbtest") | |
4454 | (invoke "tests/ctest") | |
4455 | #t))))) | |
1ea29aa0 | 4456 | (inputs `(("neon" ,neon) |
4457 | ("libxml2" ,libxml2))) | |
4458 | (native-inputs `(("pkg-config" ,pkg-config))) | |
4459 | (home-page "https://musicbrainz.org/doc/libmusicbrainz") | |
4460 | (synopsis "MusicBrainz client library") | |
4461 | (description "The MusicBrainz Client Library (libmusicbrainz), also known as | |
4462 | mb_client, is a development library geared towards developers who wish to add | |
4463 | MusicBrainz lookup capabilities to their applications.") | |
4464 | (license license:lgpl2.1+))) | |
87d1b7b0 | 4465 | |
b0c2c5ab LC |
4466 | (define-public perl-musicbrainz-discid |
4467 | (package | |
4468 | (name "perl-musicbrainz-discid") | |
4469 | (version "0.04") | |
4470 | (source (origin | |
4471 | (method url-fetch) | |
4472 | (uri (string-append | |
4473 | "mirror://cpan/authors/id/N/NJ/NJH/MusicBrainz-DiscID-" | |
4474 | version ".tar.gz")) | |
4475 | (sha256 | |
4476 | (base32 | |
4477 | "1i4qk1qfcmxdibqkyfjrrjdq2zk42vjcz590qgiyc47fi9p6xx1j")))) | |
4478 | (build-system perl-build-system) | |
4479 | (native-inputs `(("pkg-config" ,pkg-config) | |
4480 | ("which" ,which))) | |
4481 | (inputs `(("libdiscid" ,libdiscid))) | |
4482 | (home-page "https://metacpan.org/release/MusicBrainz-DiscID") | |
4483 | (synopsis "Perl interface to the MusicBrainz libdiscid library") | |
4484 | (description | |
4485 | "The @code{MusicBrainz::DiscID} module is a Perl interface to the | |
4486 | MusicBrainz libdiscid library, allowing you to manipulate digital audio | |
4487 | compact disc (CDDA) identifiers.") | |
4488 | (license license:gpl2))) | |
4489 | ||
b2961dda LC |
4490 | (define-public perl-webservice-musicbrainz |
4491 | (package | |
4492 | (name "perl-webservice-musicbrainz") | |
b0842a8e | 4493 | (version "1.0.5") |
b2961dda LC |
4494 | (source (origin |
4495 | (method url-fetch) | |
4496 | (uri (string-append | |
4497 | "mirror://cpan/authors/id/B/BF/BFAIST/WebService-MusicBrainz-" | |
4498 | version ".tar.gz")) | |
4499 | (sha256 | |
4500 | (base32 | |
b0842a8e | 4501 | "16chs1l58cf000d5kalkyph3p31ci73p1rlyx98mfv10d2cq6fsj")))) |
b2961dda LC |
4502 | (build-system perl-build-system) |
4503 | (arguments | |
4504 | ;; Tests try to connect to http://musicbrainz.org. | |
4505 | '(#:tests? #f)) | |
4506 | (native-inputs | |
4507 | `(("perl-module-build" ,perl-module-build))) | |
4508 | (propagated-inputs | |
4509 | `(("perl-mojolicious" ,perl-mojolicious))) | |
4510 | (home-page "https://metacpan.org/release/WebService-MusicBrainz") | |
4511 | (synopsis "Web service API to the MusicBrainz database") | |
4512 | (description | |
4513 | "This module searches the MusicBrainz database through their web service | |
4514 | at @code{musicbrainz.org}.") | |
4515 | (license license:perl-license))) | |
4516 | ||
87d1b7b0 PN |
4517 | (define-public clyrics |
4518 | (package | |
4519 | (name "clyrics") | |
9aec93be | 4520 | (version "0.12") |
87d1b7b0 PN |
4521 | (source |
4522 | (origin | |
234a1825 RW |
4523 | (method git-fetch) |
4524 | (uri (git-reference | |
b0e7b699 | 4525 | (url "https://github.com/trizen/clyrics") |
234a1825 RW |
4526 | (commit version))) |
4527 | (file-name (git-file-name name version)) | |
87d1b7b0 | 4528 | (sha256 |
9aec93be | 4529 | (base32 "1l9iqz6vxrrxapv7s110g360bqxksir4dcqd8w0l4lhmnfmz3vnk")))) |
87d1b7b0 | 4530 | (build-system trivial-build-system) |
87d1b7b0 | 4531 | (inputs |
7f56f107 | 4532 | `(("bash" ,bash) ; for the wrapped program |
87d1b7b0 PN |
4533 | ("perl" ,perl) |
4534 | ("perl-www-mechanize" ,perl-www-mechanize) | |
4535 | ("perl-lwp-protocol-https" ,perl-lwp-protocol-https) | |
4536 | ;; Required or else LWP will fail with "GET https://www.google.com/ ==> | |
4537 | ;; 500 Can't verify SSL peers without knowing which Certificate | |
4538 | ;; Authorities to trust". | |
4539 | ("perl-mozilla-ca" ,perl-mozilla-ca))) | |
4540 | (arguments | |
4541 | `(#:modules ((guix build utils)) | |
4542 | #:builder (begin | |
4543 | (use-modules (guix build utils) | |
4544 | (ice-9 match) | |
4545 | (srfi srfi-26)) | |
4546 | (let* ((source (assoc-ref %build-inputs "source")) | |
87d1b7b0 PN |
4547 | (output (assoc-ref %outputs "out"))) |
4548 | (setenv "PATH" | |
4549 | (string-append | |
87d1b7b0 PN |
4550 | (assoc-ref %build-inputs "bash") "/bin" ":" |
4551 | (assoc-ref %build-inputs "perl") "/bin" ":")) | |
234a1825 | 4552 | (copy-recursively source (getcwd)) |
87d1b7b0 PN |
4553 | (patch-shebang "clyrics") |
4554 | (substitute* "clyrics" | |
4555 | (("/usr/share") output)) | |
4556 | (install-file "clyrics" (string-append output "/bin")) | |
4557 | (wrap-program (string-append output "/bin/clyrics") | |
4558 | `("PERL5LIB" ":" = | |
4559 | ,(delete | |
4560 | "" | |
4561 | (map (match-lambda | |
7f56f107 TGR |
4562 | (((? (cut string-prefix? "perl-" <>) name) . dir) |
4563 | (string-append dir "/lib/perl5/site_perl")) | |
4564 | (_ "")) | |
87d1b7b0 PN |
4565 | %build-inputs)))) |
4566 | (copy-recursively "plugins" (string-append output "/clyrics")) | |
4567 | #t)))) | |
4568 | (home-page "https://github.com/trizen/clyrics") | |
4569 | (synopsis "Extensible lyrics fetcher") | |
4570 | (description | |
4571 | "Clyrics is an extensible command-line tool to fetch the lyrics of songs. | |
4572 | It can be used in daemon mode along with the Music-on-Console (MOC) and cmus | |
4573 | console music players.") | |
4574 | (license license:gpl3+))) | |
5703380b PN |
4575 | |
4576 | (define-public demlo | |
4577 | (let ((commit "fe9ec4c8ac2fa995ec18e6ac86d50d46df06ec01") | |
4578 | (revision "0")) | |
4579 | (package | |
4580 | (name "demlo") | |
4581 | (version (git-version "3.8" revision commit)) | |
4582 | (source | |
4583 | (origin | |
4584 | (method git-fetch) | |
4585 | (uri (git-reference | |
4586 | (url | |
4587 | "https://gitlab.com/ambrevar/demlo") | |
4588 | (commit commit))) | |
4589 | (file-name (git-file-name name version)) | |
4590 | (sha256 | |
4591 | (base32 | |
4592 | "1afkbqhzn6da7zaf5ab7dvyqj1izqhzprwfb4hw448fllda9bdvk")))) | |
4593 | (build-system go-build-system) | |
4594 | (native-inputs | |
4595 | `(("lua" ,lua) | |
4596 | ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty) | |
4597 | ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable) | |
4598 | ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua) | |
4599 | ("go-gitlab-com-ambrevar-damerau" ,go-gitlab-com-ambrevar-damerau) | |
4600 | ("go-gitlab-com-ambrevar-golua-unicode" ,go-gitlab-com-ambrevar-golua-unicode) | |
4601 | ("go-github-com-mgutz-ansi" ,go-github-com-mgutz-ansi) | |
4602 | ("go-github-com-michiwend-gomusicbrainz" ,go-github-com-michiwend-gomusicbrainz) | |
4603 | ("go-github-com-stevedonovan-luar" ,go-github-com-stevedonovan-luar) | |
4604 | ("go-github-com-wtolson-go-taglib" ,go-github-com-wtolson-go-taglib) | |
4605 | ("go-github-com-yookoala-realpath" ,go-github-com-yookoala-realpath))) | |
4606 | (inputs | |
4607 | `(("chromaprint" ,chromaprint) | |
4608 | ("ffmpeg" ,ffmpeg))) | |
4609 | (arguments | |
4610 | `(#:import-path "gitlab.com/ambrevar/demlo" | |
4611 | #:phases | |
4612 | (modify-phases %standard-phases | |
4613 | (add-after 'install 'wrap-program | |
4614 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
4615 | (let ((out (assoc-ref outputs "out")) | |
4616 | (ffmpeg (assoc-ref inputs "ffmpeg")) | |
4617 | (chromaprint (assoc-ref inputs "chromaprint"))) | |
4618 | (wrap-program (string-append out "/bin/demlo") | |
4619 | `("XDG_DATA_DIRS" ":" prefix (,out)) | |
4620 | `("PATH" ":" prefix | |
4621 | ,(map (lambda (dir) | |
4622 | (string-append dir "/bin:" | |
4623 | dir "/sbin")) | |
4624 | (list ffmpeg chromaprint)))) | |
4625 | #t))) | |
e3900a4d | 4626 | (add-after 'install 'install-scripts |
5703380b PN |
4627 | (lambda* (#:key outputs #:allow-other-keys) |
4628 | (let* ((out (assoc-ref outputs "out")) | |
4629 | (root (string-append out "/src/gitlab.com/ambrevar/demlo")) | |
4630 | (xdg-data-dirs (string-append out "/demlo"))) | |
4631 | (copy-recursively (string-append root "/actions") | |
4632 | (string-append xdg-data-dirs "/actions")) | |
4633 | (copy-recursively (string-append root "/scripts") | |
4634 | (string-append xdg-data-dirs "/scripts")) | |
4635 | (install-file (string-append root "/config.lua") xdg-data-dirs) | |
4636 | ;; TODO: Test fish completion. | |
4637 | (install-file (string-append root "/completion/demlo.fish") | |
4638 | (string-append out "/share/fish/vendor_completions.d")) | |
4639 | #t)))))) | |
4640 | (home-page "https://gitlab.com/ambrevar/demlo") | |
4641 | (synopsis "Dynamic and extensible music library organizer") | |
4642 | (description "Demlo is a music library organizer. It can encode, fix | |
4643 | case, change folder hierarchy according to tags or file properties, tag from | |
4644 | an online database, copy covers while ignoring duplicates or those below a | |
4645 | quality threshold, and much more. It makes it possible to manage your | |
4646 | libraries uniformly and dynamically. You can write your own rules to fit your | |
4647 | needs best. | |
4648 | ||
4649 | Demlo can address any of these recurring music library issues (and much more): | |
4650 | ||
4651 | @itemize | |
4652 | @item Fix the lack of folder structure. | |
4653 | @item Normalize tags, fix their case, chose which tags to keep and which to | |
4654 | discard. | |
4655 | @item Handle lossy and lossless audio differently. | |
4656 | @item Handle mp3 id3tags hell... | |
4657 | @item Handle multiple covers, whether embedded and/or external, resize covers, | |
4658 | discard bad quality ones. | |
4659 | @end itemize\n") | |
4660 | (license license:expat)))) | |
e42ba3da | 4661 | |
7fcc2f93 | 4662 | (define-public fmit |
4663 | (package | |
4664 | (name "fmit") | |
0ed0e3bf | 4665 | (version "1.2.13") |
7fcc2f93 | 4666 | (source (origin |
4667 | (method git-fetch) | |
4668 | (uri (git-reference | |
4669 | (url "https://github.com/gillesdegottex/fmit/") | |
4670 | (commit (string-append "v" version)))) | |
4671 | (file-name (git-file-name name version)) | |
4672 | (sha256 | |
4673 | (base32 | |
0ed0e3bf | 4674 | "1qyskam053pvlap1av80rgp12pzhr92rs88vqs6s0ia3ypnixcc6")))) |
7fcc2f93 | 4675 | (build-system gnu-build-system) |
4676 | (arguments | |
4677 | '(#:phases | |
4678 | (modify-phases %standard-phases | |
4679 | (delete 'configure) | |
4680 | (add-before 'build 'qmake | |
4681 | (lambda _ | |
4682 | (let ((out (assoc-ref %outputs "out"))) | |
4683 | (invoke "qmake" | |
4684 | "fmit.pro" | |
4685 | (string-append "PREFIX=" out) | |
4686 | (string-append "PREFIXSHORTCUT=" out) | |
4687 | "CONFIG+=acs_qt acs_alsa acs_jack acs_portaudio")))) | |
4688 | (add-after 'install 'wrap-executable | |
4689 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
4690 | (let ((out (assoc-ref outputs "out"))) | |
4691 | (wrap-program (string-append out "/bin/fmit") | |
4692 | `("QT_PLUGIN_PATH" ":" prefix | |
4693 | ,(map (lambda (label) | |
4694 | (string-append (assoc-ref inputs label) | |
4695 | "/lib/qt5/plugins")) | |
4696 | '("qtbase" "qtmultimedia" "qtsvg"))) | |
4697 | `("QML2_IMPORT_PATH" ":" prefix | |
4698 | ,(map (lambda (label) | |
4699 | (string-append (assoc-ref inputs label) | |
4700 | "/lib/qt5/qml")) | |
4701 | '("qtmultimedia")))) | |
4702 | #t)))))) | |
4703 | (inputs | |
4704 | `(("alsa-lib" ,alsa-lib) | |
4705 | ("fftw" ,fftw) | |
4706 | ("jack" ,jack-1) | |
4707 | ("portaudio" ,portaudio) | |
4708 | ("qtbase" ,qtbase) | |
4709 | ("qtmultimedia" ,qtmultimedia) | |
4710 | ("qtsvg" ,qtsvg))) | |
4711 | (native-inputs | |
f2d97d57 | 4712 | `(("gettext" ,gettext-minimal) |
7fcc2f93 | 4713 | ("hicolor-icon-theme" ,hicolor-icon-theme) |
4714 | ("itstool" ,itstool) | |
4715 | ("qttools" ,qttools))) | |
4716 | (synopsis "Musical instrument tuner") | |
4717 | (description "FMIT is a graphical utility for tuning musical instruments, | |
4718 | with error and volume history, and advanced features.") | |
4719 | (home-page "https://gillesdegottex.github.io/fmit/") | |
4720 | ;; Most of the code is under GPL2+, but some abstract or helper classes | |
4721 | ;; are under LGPL2.1. | |
4722 | (license (list license:gpl2+ license:lgpl2.1)))) | |
f5870246 RW |
4723 | |
4724 | (define-public mloop | |
4725 | (let ((commit "adebff98b0b4dc5872a03acb82e89c77cb29c127") | |
4726 | (revision "0")) | |
4727 | (package | |
4728 | (name "mloop") | |
4729 | (version (git-version "0.0.1" revision commit)) | |
4730 | (source (origin | |
4731 | (method git-fetch) | |
4732 | (uri (git-reference | |
4733 | (url "http://git.fuzzle.org/mloop") | |
4734 | (commit commit))) | |
4735 | (file-name (git-file-name name version)) | |
4736 | (sha256 | |
4737 | (base32 | |
4738 | "175gxvg5slq0bllcx1c381rjlq3xpxww8c3kpiw5i2kfr4m52myz")))) | |
4739 | (build-system waf-build-system) | |
4740 | (arguments | |
4741 | `(#:python ,python-2 | |
4742 | #:tests? #f)) ; no "check" target | |
4743 | (inputs | |
4744 | `(("jack" ,jack-1) | |
4745 | ("ncurses" ,ncurses))) | |
4746 | (native-inputs | |
4747 | `(("pkg-config" ,pkg-config))) | |
4748 | (home-page "https://fuzzle.org/~petern/mloop.html") | |
4749 | (synopsis "Live MIDI looper") | |
4750 | (description "mloop is a live MIDI looping system, using jack-midi. | |
4751 | Loops are recorded, optionally with beat quantization, and can then be played | |
4752 | back, either once or looping. A 'note cache' system is implemented to | |
4753 | remember which notes are pressed and their velocities. This allows for a loop | |
4754 | to start off with the currently pressed notes, making seamless loops much | |
4755 | easier to perform. Features include: | |
4756 | ||
4757 | @itemize | |
4758 | @item Quantisation; end a loop on a beat exactly. | |
4759 | @item Delayed recording; wait for a MIDI event before starting a loop record. | |
4760 | @item Adjust tempo; Playback speed of loops can be adjusted on the fly. | |
4761 | @end itemize\n") | |
4762 | (license license:gpl2)))) | |
0163b900 EB |
4763 | |
4764 | (define-public pragha | |
4765 | (package | |
4766 | (name "pragha") | |
4767 | (version "1.3.4") | |
4768 | (source (origin | |
4769 | (method url-fetch) | |
4770 | (uri (string-append "https://github.com/pragha-music-player/pragha/" | |
4771 | "releases/download/v" version "/pragha-" version | |
4772 | ".tar.bz2")) | |
4773 | (sha256 | |
4774 | (base32 | |
4775 | "19kbhq99bkimx3aqrdzln0vlr4slkpx6kq66j731jvqyq76nlkp5")))) | |
4776 | (build-system glib-or-gtk-build-system) | |
4777 | (native-inputs | |
4778 | `(("intltool" ,intltool) | |
4779 | ("pkg-config" ,pkg-config))) | |
4780 | (inputs | |
4781 | `(("glib" ,glib) | |
4782 | ("grilo" ,grilo) | |
4783 | ("gstreamer" ,gstreamer) | |
4784 | ("gst-plugins-base" ,gst-plugins-base) | |
4785 | ("gst-plugins-good" ,gst-plugins-good) | |
4786 | ("gtk+" ,gtk+) | |
4787 | ("libcddb" ,libcddb) | |
4788 | ("libcdio" ,libcdio) | |
4789 | ("libcdio-paranoia" ,libcdio-paranoia) | |
4790 | ("libgudev" ,libgudev) | |
4791 | ("libnotify" ,libnotify) | |
4792 | ("libpeas" ,libpeas) | |
4793 | ("libsoup" ,libsoup) | |
4794 | ("sqlite" ,sqlite) | |
4795 | ("taglib" ,taglib))) | |
4796 | (arguments | |
4797 | `(#:phases | |
4798 | (modify-phases %standard-phases | |
4799 | (add-after 'install 'wrap-program | |
4800 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
4801 | (let ((out (assoc-ref outputs "out")) | |
4802 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))) | |
4803 | (wrap-program (string-append out "/bin/pragha") | |
4804 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))) | |
4805 | #t)))))) | |
4806 | (home-page "https://pragha-music-player.github.io") | |
4807 | (synopsis "Music player") | |
4808 | (description "Pragha is a lightweight music player based on Gtk and | |
4809 | sqlite. It is constructed to be fast, light, and simultaneously tries to be | |
4810 | complete without obstructing your daily work.") | |
4811 | (license license:gpl3+))) | |
1c463524 DW |
4812 | |
4813 | (define-public playerctl | |
4814 | (package | |
4815 | (name "playerctl") | |
4816 | (version "2.0.2") | |
4817 | (source (origin | |
4818 | (method git-fetch) | |
4819 | (uri (git-reference | |
b0e7b699 | 4820 | (url "https://github.com/altdesktop/playerctl") |
1c463524 DW |
4821 | (commit (string-append "v" version)))) |
4822 | (file-name (git-file-name name version)) | |
4823 | (sha256 | |
4824 | (base32 | |
4825 | "1f3njnpd52djx3dmhh9a8p5a67f0jmr1gbk98icflr2q91149gjz")))) | |
4826 | (build-system meson-build-system) | |
4827 | (arguments | |
4828 | `(#:configure-flags '("-Dintrospection=false" "-Dgtk-doc=false"))) | |
4829 | (inputs `(("python-pygobject" ,python-pygobject))) | |
4830 | (native-inputs | |
4831 | `(("glib:bin" ,glib "bin") | |
4832 | ("pkg-config" ,pkg-config))) | |
4833 | (synopsis "Control MPRIS-supporting media player applications") | |
4834 | (description | |
4835 | "Playerctl is a command-line utility and library for controlling media | |
4836 | players that implement the MPRIS D-Bus Interface Specification. Playerctl | |
4837 | makes it easy to bind player actions, such as play and pause, to media keys. | |
4838 | You can also get metadata about the playing track such as the artist and title | |
4839 | for integration into status line generators or other command-line tools.") | |
4840 | (home-page "https://github.com/altdesktop/playerctl") | |
4841 | (license license:lgpl3+))) | |
50c5215c AT |
4842 | |
4843 | (define-public artyfx | |
4844 | (package | |
4845 | (name "artyfx") | |
4846 | (version "1.3") | |
4847 | (source (origin | |
4848 | (method git-fetch) | |
4849 | (uri (git-reference | |
4850 | (url | |
4851 | "https://github.com/openAVproductions/openAV-ArtyFX.git") | |
4852 | (commit (string-append "release-" version)))) | |
4853 | (file-name (git-file-name name version)) | |
4854 | (sha256 | |
4855 | (base32 | |
4856 | "012hcy1mxl7gs2lipfcqp5x0xv1azb9hjrwf0h59yyxnzx96h7c9")))) | |
4857 | (build-system cmake-build-system) | |
4858 | (arguments | |
4859 | `(#:tests? #f ; no tests included | |
4860 | #:phases | |
4861 | (modify-phases %standard-phases | |
4862 | (add-after 'unpack 'remove-architecture-specific-flags | |
4863 | (lambda _ | |
4864 | (substitute* "CMakeLists.txt" | |
4865 | (("-msse2 -mfpmath=sse") "")) | |
4866 | #t))))) | |
4867 | (inputs | |
4868 | `(("cairo" ,cairo) | |
4869 | ("libsndfile" ,libsndfile))) | |
4870 | (native-inputs | |
4871 | `(("pkg-config" ,pkg-config) | |
4872 | ("lv2" ,lv2))) | |
4873 | (home-page "http://openavproductions.com/artyfx/") | |
4874 | (synopsis "Audio effect LV2 plugin bundle") | |
4875 | (description "ArtyFX is an LV2 plugin bundle of artistic real-time audio | |
4876 | effects. It contains a bitcrusher, delay, distortion, equalizer, compressor, | |
4877 | and reverb.") | |
4878 | (license license:gpl2+))) | |
5182fbe0 | 4879 | |
3c0d165a AT |
4880 | (define-public lsp-plugins |
4881 | (package | |
4882 | (name "lsp-plugins") | |
eb683ebb | 4883 | (version "1.1.22") |
3c0d165a AT |
4884 | (source |
4885 | (origin | |
4886 | (method git-fetch) | |
4887 | (uri (git-reference | |
b0e7b699 | 4888 | (url "https://github.com/sadko4u/lsp-plugins") |
3c0d165a AT |
4889 | (commit (string-append "lsp-plugins-" version)))) |
4890 | (file-name (git-file-name name version)) | |
4891 | (sha256 | |
eb683ebb | 4892 | (base32 "0s0i0kf5nqxxywckg03fds1w7696ly60rnlljzqvp7qfgzps1r6c")))) |
3c0d165a AT |
4893 | (build-system gnu-build-system) |
4894 | (arguments | |
4895 | `(#:make-flags | |
4896 | (list | |
1ca44ae3 | 4897 | (string-append "CC=" ,(cc-for-target)) |
3c0d165a AT |
4898 | "BUILD_MODULES=\"lv2 ladspa jack\"" "VST_UI=0" |
4899 | (string-append "PREFIX=" (assoc-ref %outputs "out")) | |
4900 | (string-append "ETC_PATH=" (assoc-ref %outputs "out") "/etc")) | |
4901 | #:phases | |
4902 | (modify-phases %standard-phases | |
4903 | (delete 'configure)) ; no configure | |
4904 | #:test-target "test")) | |
4905 | (inputs | |
4906 | `(("cairo", cairo) | |
4907 | ("hicolor-icon-theme", hicolor-icon-theme) | |
4908 | ("jack", jack-1) | |
4909 | ("ladspa", ladspa) | |
4910 | ("libsndfile", libsndfile) | |
4911 | ("lv2", lv2) | |
4912 | ("mesa", mesa))) | |
4913 | (native-inputs | |
4914 | `(("pkg-config", pkg-config))) | |
4915 | (synopsis "Audio plugin collection") | |
4916 | (description "LSP (Linux Studio Plugins) is a collection of audio | |
4917 | plugins available as LADSPA/LV2 plugins and as standalone JACK | |
4918 | applications.") | |
4919 | (home-page "https://lsp-plug.in/") | |
4920 | (license license:lgpl3))) | |
4921 | ||
5182fbe0 AT |
4922 | (define-public sherlock-lv2 |
4923 | (package | |
4924 | (name "sherlock-lv2") | |
4925 | (version "0.20.0") | |
4926 | (source | |
4927 | (origin | |
4928 | (method url-fetch) | |
4929 | (uri (string-append | |
4930 | "https://git.open-music-kontrollers.ch/lv2/" | |
4931 | "sherlock.lv2/snapshot/sherlock.lv2-" | |
4932 | version ".tar.xz")) | |
4933 | (sha256 | |
4934 | (base32 | |
4935 | "1c5xajpss9h8lbyx160bbzg8va50n2d74qwnxig9sf468rzmha1y")))) | |
4936 | (build-system meson-build-system) | |
4937 | (inputs | |
4938 | `(("libx11" ,libx11) | |
4939 | ("mesa" ,mesa) | |
4940 | ("sratom" ,sratom))) | |
4941 | (native-inputs | |
4942 | `(("flex" ,flex) | |
4943 | ("pkg-config" ,pkg-config))) | |
4944 | (synopsis "Investigative LV2 plugin bundle") | |
4945 | (description "The Sherlock plugin bundle contains LV2 plugins for | |
4946 | visualizing LV2 atom, MIDI and OSC events. They can be used for monitoring | |
4947 | and debugging of event signal flows inside plugin graphs.") | |
4948 | (home-page "https://open-music-kontrollers.ch/lv2/sherlock/") | |
4949 | (license license:artistic2.0))) | |
fe06a6ee | 4950 | |
ce1cd434 AT |
4951 | (define-public spectacle-analyzer |
4952 | (package | |
4953 | (name "spectacle-analyzer") | |
4954 | (version "1.0") | |
4955 | (source | |
4956 | (origin | |
4957 | (method git-fetch) | |
4958 | (uri (git-reference | |
b0e7b699 | 4959 | (url "https://github.com/jpcima/spectacle") |
ce1cd434 AT |
4960 | (commit (string-append "v" version)) |
4961 | ;; Bundles a specific commit of the DISTRHO plugin framework. | |
4962 | (recursive? #t))) | |
4963 | (file-name (git-file-name name version)) | |
4964 | (sha256 | |
4965 | (base32 | |
4966 | "0xiqa6z8g68lcvnwhws4j7c4py35r9d20cirrili7ycyp3a6149a")))) | |
4967 | (build-system gnu-build-system) | |
4968 | (arguments | |
4969 | `(#:tests? #f ; no check target | |
4970 | #:make-flags | |
4971 | (list "CC=gcc" | |
4972 | (string-append "PREFIX=" (assoc-ref %outputs "out"))) | |
4973 | #:phases | |
4974 | (modify-phases %standard-phases | |
4975 | (delete 'configure)))) | |
4976 | (native-inputs | |
4977 | `(("pkg-config" ,pkg-config) | |
4978 | ("xxd" ,xxd))) | |
4979 | (inputs | |
4980 | `(("cairo", cairo) | |
4981 | ("fftw", fftw) | |
4982 | ("fftwf", fftwf) | |
4983 | ("jack", jack-1) | |
4984 | ("lv2", lv2) | |
4985 | ("mesa", mesa))) | |
4986 | (synopsis "Realtime graphical spectrum analyzer") | |
4987 | (description "Spectacle is a real-time spectral analyzer using the | |
4988 | short-time Fourier transform, available as LV2 audio plugin and JACK client.") | |
4989 | (home-page "https://github.com/jpcima/spectacle") | |
4990 | ;; The project is licensed under the ISC license, and files in | |
4991 | ;; sources/plugin carry the Expat license. | |
4992 | (license (list license:isc license:expat)))) | |
4993 | ||
fe06a6ee AT |
4994 | (define-public x42-plugins |
4995 | (package | |
4996 | (name "x42-plugins") | |
41dc70f4 | 4997 | (version "20191215") |
fe06a6ee AT |
4998 | (source |
4999 | (origin | |
5000 | (method url-fetch) | |
5001 | (uri | |
5002 | (string-append "http://gareus.org/misc/x42-plugins/x42-plugins-" | |
5003 | version ".tar.xz")) | |
5004 | (sha256 | |
41dc70f4 | 5005 | (base32 "1mwfvhsvc0qgjyiwd8pmmam1mav43lmv39fljhmj9yri558v5g1c")))) |
fe06a6ee AT |
5006 | (build-system gnu-build-system) |
5007 | (arguments | |
5008 | `(#:tests? #f ; no "check" target | |
5009 | #:make-flags | |
5010 | (list (string-append "PREFIX=" (assoc-ref %outputs "out")) | |
5011 | "LIBZITACONVOLVER=-lzita-convolver" | |
5012 | (string-append "FONTFILE=" | |
5013 | (assoc-ref %build-inputs "font-dejavu") | |
5014 | "/share/fonts/truetype/DejaVuSans-Bold.ttf")) | |
5015 | #:phases | |
5016 | (modify-phases %standard-phases | |
5017 | (add-before 'build 'set-CC-variable | |
5018 | (lambda _ | |
5019 | (setenv "CC" "gcc") | |
5020 | #t)) | |
5021 | (delete 'configure)))) | |
5022 | (inputs | |
5023 | `(("cairo" ,cairo) | |
5024 | ("fftwf" ,fftwf) | |
5025 | ("ftgl" ,ftgl) | |
5026 | ("glib" ,glib) | |
5027 | ("glu" ,glu) | |
5028 | ("hicolor-icon-theme" ,hicolor-icon-theme) | |
5029 | ("jack" ,jack-1) | |
5030 | ("libltc" ,libltc) | |
5031 | ("libsamplerate" ,libsamplerate) | |
5032 | ("libx11" ,libx11) | |
5033 | ("pango" ,pango) | |
5034 | ("zita-convolver" ,zita-convolver))) | |
5035 | (native-inputs | |
5036 | `(("help2man" ,help2man) | |
5037 | ("liblo" ,liblo) | |
5038 | ("lv2" ,lv2) | |
5039 | ("font-dejavu" ,font-dejavu) | |
5040 | ("pkg-config" ,pkg-config))) | |
5041 | (synopsis "Collection of LV2/JACK audio/MIDI processing plugins") | |
5042 | (description "x42-plugins is a collection of over 80 cross-platform LV2 | |
5043 | audio and MIDI plugins that can also run as standalone JACK applications.") | |
5044 | (home-page "https://x42-plugins.com/x42/") | |
5045 | (license license:gpl2+))) | |
9a00130a AT |
5046 | |
5047 | (define-public zam-plugins | |
5048 | (package | |
5049 | (name "zam-plugins") | |
a69b59e1 | 5050 | (version "3.12") |
9a00130a AT |
5051 | (source |
5052 | (origin | |
5053 | (method git-fetch) | |
5054 | (uri | |
5055 | (git-reference | |
b0e7b699 | 5056 | (url "https://github.com/zamaudio/zam-plugins") |
9a00130a AT |
5057 | (commit version) |
5058 | ;; Recursive to fetch the DISTRHO plugin framework. This | |
5059 | ;; framework is intended to be included in the sources | |
5060 | ;; and not to be used as a library. | |
5061 | (recursive? #t))) | |
5062 | (file-name (git-file-name name version)) | |
5063 | (sha256 | |
a69b59e1 | 5064 | (base32 "0icsbarc9azcp0kjjydmiqn401v60jmf16zdcp4040q8g7bpfmfa")))) |
9a00130a AT |
5065 | (build-system gnu-build-system) |
5066 | (arguments | |
5067 | `(#:tests? #f ;no "check" target | |
5068 | #:make-flags | |
5069 | (list (string-append "PREFIX=" (assoc-ref %outputs "out")) | |
5070 | "HAVE_ZITA_CONVOLVER=true") | |
5071 | #:phases | |
5072 | (modify-phases %standard-phases | |
5073 | (add-before 'build 'set-CC-variable | |
5074 | (lambda _ | |
5075 | (setenv "CC" "gcc") #t)) | |
5076 | (delete 'configure)))) | |
5077 | (inputs | |
5078 | `(("fftwf" ,fftwf) | |
5079 | ("jack" ,jack-1) ;for the standalone JACK application | |
5080 | ("liblo" ,liblo) | |
5081 | ("libsamplerate" ,libsamplerate) | |
5082 | ("mesa" ,mesa) | |
5083 | ("zita-convolver" ,zita-convolver))) | |
5084 | (native-inputs | |
5085 | `(("ladspa" ,ladspa) | |
5086 | ("lv2" ,lv2) | |
5087 | ("pkg-config" ,pkg-config))) | |
5088 | (synopsis "Collection of audio processing plugins") | |
5089 | (description | |
5090 | "Zam plugins is a collection of audio processing plugins in the LADSPA, | |
5091 | LV2 and VST2 formats, as well as standalone JACK versions. The collection | |
5092 | includes ZaMaximX2, ZamAutoSat, ZamComp, ZamCompX2, ZamEQ2, ZamGEQ31, | |
5093 | ZamHeadX2, ZamPhono, ZamGate, ZamGateX2, ZamTube, ZamDelay, ZamDynamicEQ, | |
5094 | ZaMultiComp, ZaMultiCompX2 and ZamSynth.") | |
5095 | (home-page "http://www.zamaudio.com/?p=976") | |
5096 | (license license:gpl2+))) | |
2ac65b9c AT |
5097 | |
5098 | (define-public geonkick | |
5099 | (package | |
5100 | (name "geonkick") | |
50c5b682 | 5101 | (version "1.10.0") |
2ac65b9c AT |
5102 | (source |
5103 | (origin | |
2f491b88 MB |
5104 | (method git-fetch) |
5105 | (uri (git-reference | |
5106 | (url "https://gitlab.com/geontime/geonkick.git") | |
5107 | (commit (string-append "v" version)))) | |
5108 | (file-name (git-file-name name version)) | |
2ac65b9c AT |
5109 | (sha256 |
5110 | (base32 | |
50c5b682 | 5111 | "1a59wnm4035kjhs66hihlkiv45p3ffb2yaj1awvyyi5f0lds5zvh")))) |
2ac65b9c AT |
5112 | (build-system cmake-build-system) |
5113 | (arguments | |
5114 | `(#:tests? #f ;no tests included | |
5115 | #:configure-flags | |
5116 | (list (string-append "-DGKICK_REDKITE_SDK_PATH=" | |
5117 | (assoc-ref %build-inputs "redkite")) | |
5118 | (string-append "-DCMAKE_INSTALL_PREFIX=" | |
5119 | (assoc-ref %outputs "out"))))) | |
5120 | (inputs | |
5121 | `(("cairo" ,cairo) | |
5122 | ("hicolor-icon-theme" ,hicolor-icon-theme) | |
5123 | ("jack" ,jack-1) ;for the standalone JACK application | |
5124 | ("libsndfile" ,libsndfile) | |
5125 | ("libx11" ,libx11) | |
5126 | ("redkite" ,redkite) | |
5127 | ("rapidjson" ,rapidjson))) | |
5128 | (native-inputs | |
5129 | `(("lv2" ,lv2) | |
5130 | ("pkg-config" ,pkg-config) | |
5131 | ("sord" ,sord))) | |
5132 | (synopsis "Percussion synthesizer") | |
5133 | (description "Geonkick is a synthesizer that can synthesize elements | |
5134 | of percussion such as kicks, snares, hit-hats, shakers, claps and sticks. | |
5135 | It can also play and mix samples.") | |
5136 | (home-page "https://gitlab.com/geontime/geonkick") | |
5137 | (license license:gpl3+))) | |
5b1bf92e AT |
5138 | |
5139 | (define-public dpf-plugins | |
5140 | (package | |
5141 | (name "dpf-plugins") | |
5142 | (version "1.3") | |
5143 | (source | |
5144 | (origin | |
5145 | (method git-fetch) | |
5146 | (uri | |
5147 | (git-reference | |
b0e7b699 | 5148 | (url "https://github.com/DISTRHO/DPF-Plugins") |
5b1bf92e AT |
5149 | (commit (string-append "v" version)))) |
5150 | (file-name (git-file-name name version)) | |
5151 | (sha256 | |
5152 | (base32 | |
5153 | "1hsfmpv3kvpiwk8nfw9xpaipzy0n27i83y2v1yr93lznwm5rqrbs")))) | |
5154 | (build-system gnu-build-system) | |
5155 | (arguments | |
5156 | `(#:tests? #f ; no "check" target | |
5157 | #:make-flags | |
5158 | (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) | |
5159 | #:phases | |
5160 | (modify-phases %standard-phases | |
5161 | (add-before 'build 'set-CC-variable | |
5162 | (lambda _ (setenv "CC" "gcc") #t)) | |
5163 | (delete 'configure)))) | |
5164 | (inputs | |
5165 | `(("cairo" ,cairo) | |
5166 | ("liblo" ,liblo) ; for dssi plugins | |
5167 | ("jack" ,jack-1) ; for standalone applications | |
5168 | ("mesa" ,mesa))) | |
5169 | (native-inputs | |
5170 | `(("pkg-config" ,pkg-config) | |
5171 | ("dssi" ,dssi) | |
5172 | ("lv2" ,lv2))) | |
5173 | (home-page "https://github.com/DISTRHO/DPF-Plugins") | |
5174 | (synopsis "Audio plugin collection") | |
5175 | (description "Collection of audio plugins built with the DISTRHO Plugin | |
5176 | Framework (DPF) available in LADSPA, DSSI, LV2 and VST2 formats. This | |
5177 | package includes the following plugins: glBars, Kars, Max-Gen examples | |
5178 | (MaBitcrush, MaFreeverb, MaGigaverb, MaPitchshift), Mini-Series (3BandEQ, | |
5179 | 3BandSplitter, PingPongPan), ndc-Plugs (Amplitude Imposer, Cycle Shifter, | |
5180 | Soul Force), MVerb, Nekobi, and ProM.") | |
5181 | ;; This package consists of several plugins refactored to use the | |
5182 | ;; DISTHRO Plugin Framework (DPF). Different copyrights and licenses | |
5183 | ;; apply to different plugins. The root LICENSE file has a table with | |
5184 | ;; license information for each plugin and paths to each license | |
5185 | (license (list license:isc license:gpl3 license:lgpl3 license:expat license:gpl2)))) | |
bcf851bc AT |
5186 | |
5187 | (define-public avldrums-lv2 | |
5188 | (package | |
5189 | (name "avldrums-lv2") | |
aaa41b41 | 5190 | (version "0.4.1") |
bcf851bc AT |
5191 | (source |
5192 | (origin | |
5193 | (method git-fetch) | |
5194 | (uri (git-reference | |
b0e7b699 | 5195 | (url "https://github.com/x42/avldrums.lv2") |
bcf851bc AT |
5196 | (commit (string-append "v" version)) |
5197 | ;; This plugin expects the robtk submodule's source files to be | |
5198 | ;; there in order to build. | |
5199 | (recursive? #t))) | |
5200 | (file-name (git-file-name name version)) | |
5201 | (sha256 | |
aaa41b41 | 5202 | (base32 "1vwdp3d8qzd493qa99ddya7iql67bbfxmbcl8hk96lxif2lhmyws")))) |
bcf851bc AT |
5203 | (build-system gnu-build-system) |
5204 | (arguments | |
5205 | `(#:tests? #f ; no "check" target | |
5206 | #:make-flags | |
5207 | (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) | |
5208 | #:phases | |
5209 | (modify-phases %standard-phases | |
5210 | (add-before 'build 'set-CC-variable | |
5211 | (lambda _ | |
5212 | (setenv "CC" "gcc") #t)) | |
5213 | (delete 'configure)))) | |
5214 | (inputs | |
5215 | `(("cairo" ,cairo) | |
5216 | ("dssi" ,dssi) | |
5217 | ("glu" ,glu) | |
5218 | ("mesa" ,mesa) | |
5219 | ("pango" ,pango))) | |
5220 | (native-inputs | |
5221 | `(("pkg-config" ,pkg-config) | |
5222 | ("lv2" ,lv2))) | |
5223 | (home-page "https://x42-plugins.com/x42/x42-avldrums") | |
5224 | (synopsis "Drum sample player LV2 plugin dedicated to the AVLinux Drumkits") | |
5225 | (description "AVLdrums is a drum sample player LV2 plugin dedicated to Glen | |
5226 | MacArthur's AVLdrums. This plugin provides a convenient way to sequence and mix | |
5227 | MIDI drums and comes as two separate drumkits: Black Pearl and Red Zeppelin.") | |
5228 | (license license:gpl2+))) | |
7281c8fd AT |
5229 | |
5230 | (define-public helm | |
5231 | (package | |
5232 | (name "helm") | |
5233 | (version "0.9.0") | |
5234 | (source | |
5235 | (origin | |
5236 | (method git-fetch) | |
5237 | (uri | |
5238 | (git-reference | |
b0e7b699 | 5239 | (url "https://github.com/mtytel/helm") |
7281c8fd AT |
5240 | (commit (string-append "v" version)))) |
5241 | (file-name (git-file-name name version)) | |
5242 | (sha256 | |
5243 | (base32 | |
5244 | "17ys2vvhncx9i3ydg3xwgz1d3gqv4yr5mqi7vr0i0ca6nad6x3d4")))) | |
5245 | (build-system gnu-build-system) | |
5246 | (arguments | |
5247 | `(#:tests? #f ; no "check" target | |
5248 | #:make-flags | |
5249 | (list (string-append "DESTDIR=" (assoc-ref %outputs "out")) | |
5250 | "lv2" "standalone") | |
5251 | #:phases | |
5252 | (modify-phases %standard-phases | |
5253 | (add-after 'unpack 'include-pnglib-code-and-remove-usr-from-paths | |
5254 | (lambda _ | |
5255 | (substitute* "standalone/builds/linux/Makefile" | |
5256 | (("JUCE_INCLUDE_PNGLIB_CODE=0") | |
5257 | "JUCE_INCLUDE_PNGLIB_CODE=1")) | |
5258 | (substitute* "builds/linux/LV2/Makefile" | |
5259 | (("JUCE_INCLUDE_PNGLIB_CODE=0") | |
5260 | "JUCE_INCLUDE_PNGLIB_CODE=1")) | |
5261 | (substitute* "Makefile" | |
5262 | (("/usr") "")) | |
5263 | #t)) | |
5264 | (add-before 'reset-gzip-timestamps 'make-gz-files-writable | |
5265 | (lambda* (#:key outputs #:allow-other-keys) | |
5266 | (for-each make-file-writable | |
5267 | (find-files (string-append (assoc-ref outputs "out")) | |
5268 | ".*\\.gz$")) | |
5269 | #t)) | |
5270 | (delete 'configure)))) | |
5271 | (inputs | |
5272 | `(("alsa-lib" ,alsa-lib) | |
5273 | ("curl" ,curl) | |
5274 | ("freetype2" ,freetype) | |
5275 | ("hicolor-icon-theme" ,hicolor-icon-theme) | |
5276 | ("libxcursor" ,libxcursor) | |
5277 | ("libxinerama", libxinerama) | |
5278 | ("jack", jack-1) | |
5279 | ("mesa" ,mesa))) | |
5280 | (native-inputs | |
5281 | `(("pkg-config" ,pkg-config) | |
5282 | ("lv2", lv2))) | |
5283 | (home-page "https://tytel.org/helm/") | |
5284 | (synopsis "Polyphonic synth with lots of modulation") | |
5285 | (description "Helm is a cross-platform polyphonic synthesizer available standalone | |
5286 | and as an LV2 plugin.") | |
5287 | (license license:gpl3+))) | |
93f4511e AT |
5288 | |
5289 | (define-public zrythm | |
5290 | (package | |
5291 | (name "zrythm") | |
4f0f46e4 | 5292 | (version "0.8.333") |
93f4511e AT |
5293 | (source |
5294 | (origin | |
5295 | (method url-fetch) | |
5296 | (uri (string-append "https://www.zrythm.org/releases/zrythm-" | |
5297 | version ".tar.xz")) | |
5298 | (sha256 | |
5299 | (base32 | |
4f0f46e4 | 5300 | "0x2kxr5zz058jpy6k6ymj0fi2gqfcgrlv4qkwz9443hjy5345iwb")))) |
93f4511e AT |
5301 | (build-system meson-build-system) |
5302 | (arguments | |
5303 | `(#:glib-or-gtk? #t | |
5304 | #:configure-flags | |
5305 | `("-Denable_tests=true" "-Dmanpage=true" | |
6a428d45 AT |
5306 | "-Dinstall_dseg_font=false" "-Denable_ffmpeg=true") |
5307 | #:phases | |
5308 | (modify-phases %standard-phases | |
5309 | (add-after 'unpack 'patch-xdg-open | |
5310 | (lambda _ | |
5311 | (substitute* "src/utils/io.c" | |
5312 | (("OPEN_DIR_CMD") | |
5313 | (string-append "\"" (which "xdg-open") "\""))) | |
5314 | #t))))) | |
93f4511e AT |
5315 | (inputs |
5316 | `(("alsa-lib" ,alsa-lib) | |
5317 | ("jack" ,jack-1) | |
6616b22b AT |
5318 | ("font-dseg" ,font-dseg) |
5319 | ("ffmpeg" ,ffmpeg) | |
5320 | ("fftw" ,fftw) | |
5321 | ("fftwf" ,fftwf) | |
5322 | ("gettext" ,gettext-minimal) | |
5323 | ("glibc" ,glibc) | |
4f0f46e4 | 5324 | ("graphviz" ,graphviz) |
6616b22b | 5325 | ("gtk+" ,gtk+) |
4f0f46e4 | 5326 | ("gtksourceview" ,gtksourceview) |
37084435 | 5327 | ("guile" ,guile-2.2) |
6616b22b | 5328 | ("libcyaml" ,libcyaml) |
93f4511e AT |
5329 | ("libsamplerate" ,libsamplerate) |
5330 | ("libsndfile" ,libsndfile) | |
5331 | ("libyaml" ,libyaml) | |
6616b22b AT |
5332 | ("lilv" ,lilv) |
5333 | ("xdg-utils" ,xdg-utils) | |
5334 | ("rubberband" ,rubberband))) | |
93f4511e | 5335 | (native-inputs |
6616b22b AT |
5336 | `(("pkg-config" ,pkg-config) |
5337 | ("help2man" ,help2man) | |
93f4511e | 5338 | ("libaudec" ,libaudec) |
6616b22b | 5339 | ("lv2" ,lv2) |
93f4511e AT |
5340 | ("glib" ,glib "bin"))) ;for 'glib-compile-resources' |
5341 | (synopsis "Digital audio workstation focusing on usability") | |
5342 | (description "Zrythm is a digital audio workstation designed to be | |
5343 | featureful and easy to use. It offers unlimited automation options, LV2 | |
5344 | plugin support, JACK support and chord assistance.") | |
5345 | (home-page "https://www.zrythm.org") | |
5346 | (license license:agpl3+))) | |
70236bae AT |
5347 | |
5348 | (define-public dragonfly-reverb | |
5349 | (package | |
5350 | (name "dragonfly-reverb") | |
f2096c7a | 5351 | (version "3.0.0") |
70236bae AT |
5352 | (source |
5353 | (origin | |
5354 | (method git-fetch) | |
5355 | (uri | |
5356 | (git-reference | |
b0e7b699 | 5357 | (url "https://github.com/michaelwillis/dragonfly-reverb") |
70236bae AT |
5358 | (commit version) |
5359 | ;; Bundles a specific commit of the DISTRHO plugin framework. | |
5360 | (recursive? #t))) | |
5361 | (file-name (git-file-name name version)) | |
5362 | (sha256 | |
f2096c7a | 5363 | (base32 "1z2x33lzpd26dv1p29ca7vy8mjfzkfpin35iq46spwd9k3sqn1ja")))) |
70236bae AT |
5364 | (build-system gnu-build-system) |
5365 | (arguments | |
5366 | `(#:tests? #f ; no check target | |
5367 | #:make-flags (list "CC=gcc") | |
5368 | #:phases | |
5369 | (modify-phases %standard-phases | |
5370 | (delete 'configure) ;no configure target | |
5371 | (replace 'install ;no install target | |
5372 | (lambda* (#:key outputs #:allow-other-keys) | |
5373 | (let* ((out (assoc-ref outputs "out")) | |
5374 | (bin (string-append out "/bin")) | |
5375 | (lv2 (string-append out "/lib/lv2"))) | |
5376 | ;; Install LV2. | |
5377 | (for-each | |
5378 | (lambda (file) | |
5379 | (copy-recursively file | |
5380 | (string-append lv2 "/" (basename file)))) | |
5381 | (find-files "bin" "\\.lv2$" #:directories? #t)) | |
5382 | ;; Install executables. | |
ad020ee2 AT |
5383 | (for-each |
5384 | (lambda (file) | |
5385 | (install-file file bin)) | |
5386 | (find-files "bin" | |
5387 | (lambda (name stat) | |
5388 | (and | |
5389 | (equal? (dirname name) "bin") | |
5390 | (not (string-suffix? ".so" name)) | |
5391 | (not (string-suffix? ".lv2" name)))))) | |
70236bae AT |
5392 | #t)))))) |
5393 | (native-inputs | |
5394 | `(("pkg-config" ,pkg-config))) | |
5395 | (inputs | |
5396 | `(("jack" ,jack-1) | |
5397 | ("libx11" ,libx11) | |
5398 | ("mesa" ,mesa))) | |
5399 | (home-page "https://michaelwillis.github.io/dragonfly-reverb/") | |
5400 | (synopsis "Concert hall reverb and room reverb effects") | |
5401 | (description | |
5402 | "Dragonfly Reverb is a bundle of two free audio effects: a concert | |
5403 | hall reverb and a room reverb. Both are available as LV2 plugins as well | |
5404 | as JACK standalone applications.") | |
5405 | (license license:gpl3+))) | |
d3e7282e AT |
5406 | |
5407 | (define-public zlfo | |
5408 | (package | |
5409 | (name "zlfo") | |
5410 | (version "0.1.3") | |
5411 | (source | |
5412 | (origin | |
5413 | (method git-fetch) | |
5414 | (uri (git-reference | |
5415 | (url "https://git.zrythm.org/git/ZLFO") | |
5416 | (commit (string-append "v" version)))) | |
5417 | (file-name (git-file-name name version)) | |
5418 | (sha256 | |
5419 | (base32 | |
5420 | "0bm466ci5xyvxvq7l9p6xyh789lvk6i31b4zja1igqh13akbjnjz")))) | |
5421 | (build-system meson-build-system) | |
5422 | (inputs | |
5423 | `(("librsvg" ,librsvg) | |
5424 | ("lv2" ,lv2) | |
5425 | ("ztoolkit-rsvg" ,ztoolkit-rsvg))) | |
5426 | (native-inputs | |
5427 | `(("pkg-config" ,pkg-config))) | |
5428 | (synopsis "Low frequency oscillator plugin") | |
5429 | (description "ZLFO is a fully featured | |
5430 | @dfn{low frequency oscillator} (LFO) for @dfn{control voltage} (CV)-based | |
5431 | automation that comes as an LV2 plugin bundle with a custom UI.") | |
5432 | (home-page "https://git.zrythm.org/cgit/ZLFO/") | |
5433 | (license license:agpl3+))) | |
cedd56f2 AT |
5434 | |
5435 | (define-public vl1-emulator | |
5436 | (package | |
5437 | (name "vl1-emulator") | |
5438 | (version "1.1.0.0") | |
5439 | (source | |
5440 | (origin | |
5441 | (method git-fetch) | |
5442 | (uri (git-reference | |
b0e7b699 | 5443 | (url "https://github.com/linuxmao-org/VL1-emulator") |
cedd56f2 AT |
5444 | (commit (string-append "v" version)) |
5445 | ;; bundles a specific commit of the DISTRHO plugin framework | |
5446 | (recursive? #t))) | |
5447 | (file-name (git-file-name name version)) | |
5448 | (sha256 | |
5449 | (base32 | |
5450 | "1npc86vqma8gk1hawa0lii0r2xmnv846plyl1ci3bdswyrdk5chm")))) | |
5451 | (build-system gnu-build-system) | |
5452 | (arguments | |
5453 | `(#:tests? #f ;no check target | |
5454 | #:make-flags | |
5455 | (list (string-append "PREFIX=" (assoc-ref %outputs "out")) | |
5456 | "CC=gcc") | |
5457 | #:phases | |
5458 | (modify-phases %standard-phases | |
5459 | (delete 'configure)))) ;no configure target | |
5460 | (inputs | |
5461 | `(("cairo" ,cairo) | |
5462 | ("jack" ,jack-1) | |
5463 | ("mesa" ,mesa))) | |
5464 | (native-inputs | |
5465 | `(("pkg-config" ,pkg-config))) | |
5466 | (home-page "https://github.com/linuxmao-org/VL1-emulator") | |
5467 | (synopsis "Emulator of Casio VL-Tone VL1") | |
bce1e728 AT |
5468 | (description "The VL1-Emulator is an emulator of Casio VL-Tone VL1, |
5469 | based on source code by PolyValens, offered as an LV2 plugin and a | |
cedd56f2 AT |
5470 | standalone JACK application.") |
5471 | ;; Expat or CC0 | |
5472 | (license (list license:expat license:cc0)))) | |
bce1e728 AT |
5473 | |
5474 | (define-public regrader | |
5475 | (package | |
5476 | (inherit vl1-emulator) | |
5477 | (name "regrader") | |
5478 | (version "1.0.0") | |
5479 | (source | |
5480 | (origin | |
5481 | (method git-fetch) | |
5482 | (uri (git-reference | |
b0e7b699 | 5483 | (url "https://github.com/linuxmao-org/regrader") |
bce1e728 AT |
5484 | (commit (string-append "v" version)) |
5485 | ;; bundles a specific commit of the DISTRHO plugin framework | |
5486 | (recursive? #t))) | |
5487 | (file-name (git-file-name name version)) | |
5488 | (sha256 | |
5489 | (base32 | |
5490 | "0gl4d5lf2afqknz22jz7hh7029sc9v1xrz6nbz9dlv42bwc0cvl0")))) | |
5491 | (home-page "https://github.com/linuxmao-org/regrader") | |
5492 | (synopsis "Delay effect plugin") | |
5493 | (description | |
5494 | "Regrader is a delay effect where the repeats degrade in resolution. | |
5495 | This is an unofficial port of the Regrader plugin created by Igorski. It | |
5496 | is available as an LV2 plugin and a standalone JACK application.") | |
5497 | (license license:expat))) | |
65f61dcc AT |
5498 | |
5499 | (define-public fogpad | |
5500 | (package | |
5501 | (inherit vl1-emulator) | |
5502 | (name "fogpad") | |
5503 | (version "1.0.0") | |
5504 | (source | |
5505 | (origin | |
5506 | (method git-fetch) | |
5507 | (uri (git-reference | |
5508 | (url "https://github.com/linuxmao-org/fogpad") | |
5509 | (commit (string-append "v" version)) | |
5510 | ;; bundles a specific commit of the DISTRHO plugin framework | |
5511 | (recursive? #t))) | |
5512 | (file-name (git-file-name name version)) | |
5513 | (sha256 | |
5514 | (base32 | |
5515 | "1j1hbya2dsqpf22zkpi4kwz3dram9g1ndxzmgfwpmf3i4jd3csgb")))) | |
5516 | (home-page "https://github.com/linuxmao-org/fogpad") | |
5517 | (synopsis "Reverb effect plugin") | |
5518 | (description | |
5519 | "Fogpad is a reverb effect in which the reflections can be frozen, | |
5520 | filtered, pitch shifted and ultimately disintegrated. This is an unofficial | |
5521 | port of the Regrader plugin created by Igorski. It is available as an LV2 | |
5522 | plugin and a standalone JACK application.") | |
5523 | (license license:expat))) | |
2aaf7658 AT |
5524 | |
5525 | (define-public tap-lv2 | |
5526 | (let ((commit "cab6e0dfb2ce20e4ad34b067d1281ec0b193598a") | |
5527 | (revision "1")) | |
5528 | (package | |
5529 | (name "tap-lv2") | |
5530 | (version (git-version "0.0" revision commit)) | |
5531 | (source | |
5532 | (origin | |
5533 | (method git-fetch) | |
5534 | (uri (git-reference | |
b0e7b699 | 5535 | (url "https://github.com/moddevices/tap-lv2") |
2aaf7658 AT |
5536 | (commit commit))) |
5537 | (file-name (git-file-name name version)) | |
5538 | (sha256 | |
5539 | (base32 | |
5540 | "0q480djfqd9g8mzrggc4vl7yclrhdjqx563ghs8mvi2qq8liycw3")))) | |
5541 | (build-system gnu-build-system) | |
5542 | (arguments | |
5543 | `(#:tests? #f ; no check target | |
5544 | #:make-flags | |
5545 | (list "CC=gcc") | |
5546 | #:phases | |
5547 | (modify-phases %standard-phases | |
5548 | (delete 'configure) ; no configure | |
5549 | (replace 'install | |
5550 | (lambda _ | |
5551 | (invoke "make" | |
5552 | (string-append "INSTALL_PATH=" | |
5553 | (assoc-ref %outputs "out") | |
5554 | "/lib/lv2") | |
5555 | "install")))))) | |
5556 | (inputs | |
5557 | `(("lv2", lv2))) | |
5558 | (native-inputs | |
5559 | `(("pkg-config", pkg-config))) | |
5560 | (synopsis "Audio plugin collection") | |
5561 | (description "TAP (Tom's Audio Processing) plugins is a collection of | |
5562 | audio effect plugins originally released as LADSPA plugins. This package | |
5563 | offers an LV2 version ported by moddevices.") | |
5564 | (home-page "http://tap-plugins.sourceforge.net/") | |
5565 | (license license:gpl2)))) | |
59be2959 AT |
5566 | |
5567 | (define-public wolf-shaper | |
5568 | (package | |
5569 | (name "wolf-shaper") | |
5570 | (version "0.1.7") | |
5571 | (source | |
5572 | (origin | |
5573 | (method git-fetch) | |
5574 | (uri (git-reference | |
b0e7b699 | 5575 | (url "https://github.com/pdesaulniers/wolf-shaper") |
59be2959 AT |
5576 | (commit (string-append "v" version)) |
5577 | ;; Bundles a specific commit of the DISTRHO plugin framework. | |
5578 | (recursive? #t))) | |
5579 | (file-name (git-file-name name version)) | |
5580 | (sha256 | |
5581 | (base32 | |
5582 | "0lllgcbnnh1m95bp29hh17x170hl7170zizjrvy892qfkn36830d")))) | |
5583 | (build-system gnu-build-system) | |
5584 | (arguments | |
5585 | `(#:tests? #f ; no check target | |
5586 | #:make-flags (list "CC=gcc") | |
5587 | #:phases | |
5588 | (modify-phases %standard-phases | |
5589 | (delete 'configure) ;no configure target | |
5590 | (replace 'install ;no install target | |
5591 | (lambda* (#:key outputs #:allow-other-keys) | |
5592 | (let* ((out (assoc-ref outputs "out")) | |
5593 | (bin (string-append out "/bin")) | |
5594 | (lv2 (string-append out "/lib/lv2"))) | |
5595 | ;; Install LV2. | |
5596 | (for-each | |
5597 | (lambda (file) | |
5598 | (copy-recursively file | |
5599 | (string-append lv2 "/" (basename file)))) | |
5600 | (find-files "bin" "\\.lv2$" #:directories? #t)) | |
5601 | ;; Install executables. | |
5602 | (for-each | |
5603 | (lambda (file) | |
5604 | (install-file file bin)) | |
5605 | (find-files "bin" | |
5606 | (lambda (name stat) | |
5607 | (and | |
5608 | (equal? (dirname name) "bin") | |
5609 | (not (string-suffix? ".so" name)) | |
5610 | (not (string-suffix? ".lv2" name)))))) | |
5611 | #t)))))) | |
5612 | (native-inputs | |
5613 | `(("pkg-config" ,pkg-config))) | |
5614 | (inputs | |
5615 | `(("jack", jack-1) | |
5616 | ("lv2", lv2) | |
5617 | ("mesa", mesa))) | |
5618 | (synopsis "Waveshaper plugin") | |
5619 | (description "Wolf Shaper is a waveshaper plugin with a graph editor. | |
5620 | It is provided as an LV2 plugin and as a standalone Jack application.") | |
5621 | (home-page "https://pdesaulniers.github.io/wolf-shaper/") | |
5622 | (license license:gpl3))) | |
b90b7f16 AT |
5623 | |
5624 | (define-public wolf-spectrum | |
5625 | (package | |
5626 | (inherit wolf-shaper) | |
5627 | (name "wolf-spectrum") | |
5628 | (version "1.0.0") | |
5629 | (source | |
5630 | (origin | |
5631 | (method git-fetch) | |
5632 | (uri (git-reference | |
5633 | (url "https://github.com/pdesaulniers/wolf-spectrum") | |
5634 | (commit (string-append "v" version)) | |
5635 | ;; Bundles a specific commit of the DISTRHO plugin framework. | |
5636 | (recursive? #t))) | |
5637 | (file-name (git-file-name name version)) | |
5638 | (sha256 | |
5639 | (base32 | |
5640 | "17db1jlj7vb1xyvkdhhrsvdbwb7jqw6i4168cdvlj3yvn2ra8gpm")))) | |
5641 | (synopsis "2D spectrogram plugin") | |
5642 | (description "Wolf Spectrum is a real-time 2D spectrogram plugin. | |
5643 | It is provided as an LV2 plugin and as a standalone Jack application.") | |
5644 | (home-page "https://github.com/pdesaulniers/wolf-spectrum") | |
5645 | (license license:gpl3))) | |
d870fcfb AT |
5646 | |
5647 | (define-public shiru-lv2 | |
5648 | (let ((commit "08853f99140012234649e67e5647906fda74f6cc") | |
5649 | (revision "1")) | |
5650 | (package | |
5651 | (name "shiru-lv2") | |
5652 | (version (git-version "0.0" revision commit)) | |
5653 | (source | |
5654 | (origin | |
5655 | (method git-fetch) | |
5656 | (uri (git-reference | |
b0e7b699 | 5657 | (url "https://github.com/linuxmao-org/shiru-plugins") |
d870fcfb AT |
5658 | (commit commit) |
5659 | ;; Bundles a specific commit of the DISTRHO plugin framework. | |
5660 | (recursive? #t))) | |
5661 | (file-name (git-file-name name version)) | |
5662 | (sha256 | |
5663 | (base32 | |
5664 | "00rf6im3rhg98h60sgl1r2s37za5vr5h14pybwi07h8zbc8mi6fm")))) | |
5665 | (build-system gnu-build-system) | |
5666 | (arguments | |
5667 | `(#:tests? #f ; no check target | |
5668 | #:make-flags (list "CC=gcc") | |
5669 | #:phases | |
5670 | (modify-phases %standard-phases | |
5671 | (delete 'configure) ;no configure target | |
5672 | (replace 'install ;no install target | |
5673 | (lambda* (#:key outputs #:allow-other-keys) | |
5674 | (let* ((out (assoc-ref outputs "out")) | |
5675 | (bin (string-append out "/bin")) | |
5676 | (lv2 (string-append out "/lib/lv2"))) | |
5677 | ;; Install LV2. | |
5678 | (for-each | |
5679 | (lambda (file) | |
5680 | (copy-recursively file | |
5681 | (string-append lv2 "/" (basename file)))) | |
5682 | (find-files "bin" "\\.lv2$" #:directories? #t)) | |
5683 | ;; Install executables. | |
5684 | (for-each | |
5685 | (lambda (file) | |
5686 | (install-file file bin)) | |
5687 | (find-files "bin" | |
5688 | (lambda (name stat) | |
5689 | (and | |
5690 | (equal? (dirname name) "bin") | |
5691 | (not (string-suffix? ".so" name)) | |
5692 | (not (string-suffix? ".lv2" name)))))) | |
5693 | #t)))))) | |
5694 | (native-inputs | |
5695 | `(("pkg-config" ,pkg-config))) | |
5696 | (inputs | |
5697 | `(("cairo", cairo) | |
5698 | ("glu", glu) | |
5699 | ("jack", jack-1) | |
5700 | ("lv2", lv2) | |
5701 | ("mesa", mesa) | |
5702 | ("pango", pango))) | |
5703 | (synopsis "Audio plugin collection") | |
5704 | (description "Shiru plugins is a collection of audio plugins created | |
5705 | by Shiru, ported to LV2 by the Linux MAO project using the DISTRHO plugin | |
5706 | framework.") | |
5707 | (home-page "http://shiru.untergrund.net/software.shtml") | |
5708 | (license license:wtfpl2)))) |