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