Commit | Line | Data |
---|---|---|
1b6826d3 | 1 | ;;; GNU Guix --- Functional package management for GNU |
658212eb | 2 | ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org> |
6ec95a00 | 3 | ;;; Copyright © 2015, 2016, 2017, 2018, 2019 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> |
6ff5e9ba | 6 | ;;; Copyright © 2016, 2017 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> |
47956fa0 | 11 | ;;; Copyright © 2017 ng0 <ng0@n0.is> |
a42619e5 | 12 | ;;; Copyright © 2017 Rodger Fox <thylakoid@openmailbox.org> |
8204ec8d | 13 | ;;; Copyright © 2017, 2018, 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr> |
d09e31bd | 14 | ;;; Copyright © 2017, 2018 Pierre Langlois <pierre.langlois@gmx.com> |
bc27eb3b | 15 | ;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net> |
4fa37ce2 | 16 | ;;; Copyright © 2017, 2018, 2019 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> |
b0c2c5ab | 20 | ;;; Copyright © 2018 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> |
1b6826d3 RW |
23 | ;;; |
24 | ;;; This file is part of GNU Guix. | |
25 | ;;; | |
26 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
27 | ;;; under the terms of the GNU General Public License as published by | |
28 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
29 | ;;; your option) any later version. | |
30 | ;;; | |
31 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
32 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
33 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
34 | ;;; GNU General Public License for more details. | |
35 | ;;; | |
36 | ;;; You should have received a copy of the GNU General Public License | |
37 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
38 | ||
39 | (define-module (gnu packages music) | |
40 | #:use-module (guix utils) | |
41 | #:use-module (guix packages) | |
42 | #:use-module (guix download) | |
8e80244a | 43 | #:use-module (guix git-download) |
1b6826d3 RW |
44 | #:use-module ((guix licenses) #:prefix license:) |
45 | #:use-module (guix build-system gnu) | |
f467c352 | 46 | #:use-module (guix build-system ant) |
8b9ec354 | 47 | #:use-module (guix build-system cmake) |
2394afa4 | 48 | #:use-module (guix build-system meson) |
b0c2c5ab | 49 | #:use-module (guix build-system perl) |
821664f1 | 50 | #:use-module (guix build-system python) |
bc27eb3b | 51 | #:use-module (guix build-system scons) |
58301682 | 52 | #:use-module (guix build-system glib-or-gtk) |
8e80244a | 53 | #:use-module (guix build-system waf) |
87d1b7b0 | 54 | #:use-module (guix build-system trivial) |
5703380b | 55 | #:use-module (guix build-system go) |
1b6826d3 | 56 | #:use-module (gnu packages) |
7f559045 | 57 | #:use-module (gnu packages admin) |
ddfddb0c | 58 | #:use-module (gnu packages algebra) |
91595624 | 59 | #:use-module (gnu packages apr) |
c267cc15 | 60 | #:use-module (gnu packages audio) |
2d0fd07b | 61 | #:use-module (gnu packages autotools) |
b7367762 | 62 | #:use-module (gnu packages backup) |
8b9ec354 | 63 | #:use-module (gnu packages base) ;libbdf |
7bac8196 | 64 | #:use-module (gnu packages bash) |
1b6826d3 | 65 | #:use-module (gnu packages bison) |
b7367762 | 66 | #:use-module (gnu packages boost) |
e8069d01 | 67 | #:use-module (gnu packages cdrom) |
8b9ec354 RW |
68 | #:use-module (gnu packages code) |
69 | #:use-module (gnu packages check) | |
a7a7186c | 70 | #:use-module (gnu packages cmake) |
8b9ec354 | 71 | #:use-module (gnu packages compression) |
d20b7384 | 72 | #:use-module (gnu packages crypto) |
aa0edd3f | 73 | #:use-module (gnu packages curl) |
13416a10 | 74 | #:use-module (gnu packages cyrus-sasl) |
d20b7384 | 75 | #:use-module (gnu packages datastructures) |
1b6826d3 | 76 | #:use-module (gnu packages docbook) |
99828fa7 | 77 | #:use-module (gnu packages documentation) |
91595624 | 78 | #:use-module (gnu packages emacs) |
13416a10 | 79 | #:use-module (gnu packages file) |
1b6826d3 | 80 | #:use-module (gnu packages flex) |
8e80244a | 81 | #:use-module (gnu packages fltk) |
1b6826d3 RW |
82 | #:use-module (gnu packages fonts) |
83 | #:use-module (gnu packages fontutils) | |
3bf429af | 84 | #:use-module (gnu packages freedesktop) |
72385c34 | 85 | #:use-module (gnu packages game-development) |
6260d1a8 | 86 | #:use-module (gnu packages gcc) |
aa0edd3f | 87 | #:use-module (gnu packages gnupg) |
1b6826d3 RW |
88 | #:use-module (gnu packages gettext) |
89 | #:use-module (gnu packages ghostscript) | |
ec8da0e2 | 90 | #:use-module (gnu packages gl) |
8e80244a | 91 | #:use-module (gnu packages glib) |
c267cc15 | 92 | #:use-module (gnu packages gnome) |
a9f847ad | 93 | #:use-module (gnu packages gpodder) |
770305f4 | 94 | #:use-module (gnu packages graphics) |
d20b7384 | 95 | #:use-module (gnu packages gstreamer) |
1b6826d3 RW |
96 | #:use-module (gnu packages gtk) |
97 | #:use-module (gnu packages guile) | |
7f559045 | 98 | #:use-module (gnu packages haskell) |
c267cc15 | 99 | #:use-module (gnu packages image) |
1b6826d3 | 100 | #:use-module (gnu packages imagemagick) |
6260d1a8 | 101 | #:use-module (gnu packages java) |
91595624 | 102 | #:use-module (gnu packages libffi) |
d20b7384 | 103 | #:use-module (gnu packages libusb) |
7bac8196 LF |
104 | #:use-module (gnu packages linux) ; for alsa-utils |
105 | #:use-module (gnu packages lirc) | |
91595624 | 106 | #:use-module (gnu packages llvm) |
c267cc15 RW |
107 | #:use-module (gnu packages man) |
108 | #:use-module (gnu packages mp3) | |
3bf429af | 109 | #:use-module (gnu packages mpd) |
e8069d01 | 110 | #:use-module (gnu packages ncurses) |
1b6826d3 | 111 | #:use-module (gnu packages netpbm) |
91595624 | 112 | #:use-module (gnu packages pcre) |
821664f1 | 113 | #:use-module (gnu packages pdf) |
1b6826d3 | 114 | #:use-module (gnu packages perl) |
b2961dda | 115 | #:use-module (gnu packages perl-web) |
1b6826d3 | 116 | #:use-module (gnu packages pkg-config) |
d20b7384 | 117 | #:use-module (gnu packages protobuf) |
d231bb35 | 118 | #:use-module (gnu packages pulseaudio) ;libsndfile |
1b6826d3 | 119 | #:use-module (gnu packages python) |
1b2f753d | 120 | #:use-module (gnu packages python-web) |
44d10b1f | 121 | #:use-module (gnu packages python-xyz) |
8b9ec354 | 122 | #:use-module (gnu packages qt) |
d231bb35 | 123 | #:use-module (gnu packages rdf) |
c493679f | 124 | #:use-module (gnu packages readline) |
1b6826d3 | 125 | #:use-module (gnu packages rsync) |
21d18113 | 126 | #:use-module (gnu packages sdl) |
cd0322a3 | 127 | #:use-module (gnu packages sqlite) |
2d0fd07b | 128 | #:use-module (gnu packages tcl) |
1b6826d3 | 129 | #:use-module (gnu packages texinfo) |
8f9ac901 | 130 | #:use-module (gnu packages tex) |
13416a10 | 131 | #:use-module (gnu packages tls) |
1ea29aa0 | 132 | #:use-module (gnu packages version-control) |
e8069d01 | 133 | #:use-module (gnu packages video) |
8b9ec354 | 134 | #:use-module (gnu packages web) |
c30a66de | 135 | #:use-module (gnu packages wxwidgets) |
c267cc15 | 136 | #:use-module (gnu packages xml) |
ddfddb0c | 137 | #:use-module (gnu packages xorg) |
c267cc15 | 138 | #:use-module (gnu packages xiph) |
5703380b PN |
139 | #:use-module (gnu packages golang) |
140 | #:use-module (gnu packages lua) | |
2d0fd07b | 141 | #:use-module ((srfi srfi-1) #:select (last))) |
1b6826d3 | 142 | |
c30a66de RW |
143 | (define-public aria-maestosa |
144 | (package | |
145 | (name "aria-maestosa") | |
0a151351 | 146 | (version "1.4.13") |
c30a66de RW |
147 | (source (origin |
148 | (method url-fetch) | |
149 | (uri (string-append "mirror://sourceforge/ariamaestosa/ariamaestosa/" | |
150 | version "/AriaSrc-" version ".tar.bz2")) | |
151 | (sha256 | |
152 | (base32 | |
0a151351 | 153 | "1cs3z6frx2ch7rm5ammx9p0rxcjrbj1vq14hvcbimpaw39rdsn3d")))) |
30812446 | 154 | (build-system scons-build-system) |
c30a66de RW |
155 | (arguments |
156 | `(#:tests? #f ;no tests | |
20e42d1e DM |
157 | #:scons-flags |
158 | (list (string-append "prefix=" (assoc-ref %outputs "out"))) | |
30812446 | 159 | #:scons ,scons-python2 |
c30a66de | 160 | #:phases |
c30a66de RW |
161 | (modify-phases %standard-phases |
162 | (delete 'configure) | |
163 | (add-after 'unpack 'scons-propagate-environment | |
164 | (lambda _ | |
165 | ;; By design, SCons does not, by default, propagate | |
166 | ;; environment variables to subprocesses. See: | |
167 | ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969> | |
168 | ;; Here, we modify the SConstruct file to arrange for | |
169 | ;; environment variables to be propagated. | |
170 | (substitute* "SConstruct" | |
171 | (("env = Environment\\(\\)") | |
172 | "env = Environment(ENV=os.environ)") | |
173 | ;; Scons errors out when copying subdirectories from Resources, | |
174 | ;; so we move them instead. | |
175 | (("Copy") "Move") | |
176 | ;; We move the "score" and "Documentation" directories at once, | |
177 | ;; so we have to ignore files contained therein. | |
178 | (("if \".svn\" in file" line) | |
179 | (string-append line | |
180 | " or \"score/\" in file" | |
181 | " or \"Documentation/\" in file"))) | |
182 | #t)) | |
30812446 | 183 | (add-after 'install 'fix-directory-permissions |
c30a66de RW |
184 | (lambda* (#:key outputs #:allow-other-keys) |
185 | (let ((out (assoc-ref outputs "out"))) | |
30812446 DM |
186 | (chmod (string-append out "/share/Aria/Documentation") #o555) |
187 | (chmod (string-append out "/share/Aria/score") #o555) | |
188 | #t)))))) | |
c30a66de RW |
189 | (inputs |
190 | `(("wxwidgets" ,wxwidgets) | |
191 | ("glib" ,glib) | |
192 | ("alsa-lib" ,alsa-lib))) | |
193 | (native-inputs | |
30812446 | 194 | `(("pkg-config" ,pkg-config))) |
c30a66de RW |
195 | (home-page "http://ariamaestosa.sourceforge.net/") |
196 | (synopsis "MIDI sequencer and editor") | |
197 | (description | |
198 | "Aria Maestosa is a MIDI sequencer and editor. It lets you compose, edit | |
199 | and play MIDI files with a few clicks in a user-friendly interface offering | |
200 | score, keyboard, guitar, drum and controller views.") | |
201 | (license license:gpl3+))) | |
202 | ||
d20b7384 PL |
203 | ;; We don't use the latest release because it depends on Qt4. Instead we |
204 | ;; download the sources from the tip of the "qt5" branch. | |
205 | (define-public clementine | |
8a6d16b8 PL |
206 | (let ((commit "4619a4c1ab3b17b13d4b2327ad477912917eaf36") |
207 | (revision "2")) | |
d20b7384 PL |
208 | (package |
209 | (name "clementine") | |
8a6d16b8 | 210 | (version (git-version "1.3.1" revision commit)) |
d20b7384 PL |
211 | (source (origin |
212 | (method git-fetch) | |
213 | (uri (git-reference | |
214 | (url "https://github.com/clementine-player/Clementine.git") | |
215 | (commit commit))) | |
8a6d16b8 | 216 | (file-name (git-file-name name version)) |
d20b7384 PL |
217 | (sha256 |
218 | (base32 | |
8a6d16b8 | 219 | "1hximk3q0p8nw8is5w7215xgkb7k4flnfyr0pdz9svfwvcm05w1i")) |
d20b7384 PL |
220 | (modules '((guix build utils))) |
221 | (snippet | |
6cbee49d MW |
222 | '(begin |
223 | (for-each | |
d20b7384 PL |
224 | (lambda (dir) |
225 | (delete-file-recursively | |
6cbee49d | 226 | (string-append "3rdparty/" dir))) |
d20b7384 | 227 | (list |
6cbee49d MW |
228 | ;; TODO: The following dependencies are still bundled: |
229 | ;; - "qxt": Appears to be unmaintained upstream. | |
230 | ;; - "qsqlite" | |
231 | ;; - "qtsingleapplication" | |
232 | ;; - "qocoa" | |
233 | ;; - "qtiocompressor" | |
234 | ;; - "gmock": The tests crash when using our googletest | |
235 | ;; package instead of the bundled gmock. | |
236 | "SPMediaKeyTap" | |
237 | "fancytabwidget" | |
238 | "google-breakpad" | |
239 | "libmygpo-qt" | |
240 | "libmygpo-qt5" | |
241 | "libprojectm" | |
242 | "qtwin" | |
243 | "sha2" ;; Replaced by openssl. | |
244 | "taglib" | |
245 | "tinysvcmdns")) | |
246 | #t)) | |
af414f34 | 247 | (patches (search-patches "clementine-use-openssl.patch" |
7bcc3405 PL |
248 | "clementine-remove-crypto++-dependency.patch" |
249 | "clementine-fix-sqlite.patch")))) | |
d20b7384 PL |
250 | (build-system cmake-build-system) |
251 | (arguments | |
252 | '(#:test-target "clementine_test" | |
253 | #:configure-flags | |
af414f34 PL |
254 | (list ;; Requires unpackaged "projectm" |
255 | "-DENABLE_VISUALISATIONS=OFF" | |
256 | ;; Otherwise it may try to download a non-free library at run-time. | |
257 | ;; TODO In an origin snippet, remove the code that performs the | |
258 | ;; download. | |
259 | "-DHAVE_SPOTIFY_DOWNLOADER=FALSE" | |
260 | "-DUSE_SYSTEM_SHA2=TRUE") | |
d20b7384 PL |
261 | #:phases |
262 | (modify-phases %standard-phases | |
263 | (add-after 'install 'wrap-program | |
264 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
265 | (let ((out (assoc-ref outputs "out")) | |
266 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))) | |
267 | (wrap-program (string-append out "/bin/clementine") | |
268 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))) | |
269 | #t)))))) | |
270 | (native-inputs | |
271 | `(("gettext" ,gettext-minimal) | |
272 | ("pkg-config" ,pkg-config) | |
273 | ("qtlinguist" ,qttools))) | |
274 | (inputs | |
275 | `(("boost" ,boost) | |
276 | ("chromaprint" ,chromaprint) | |
d20b7384 PL |
277 | ("fftw" ,fftw) |
278 | ("glib" ,glib) | |
279 | ("glu" ,glu) | |
280 | ("gstreamer" ,gstreamer) | |
281 | ("gst-plugins-base" ,gst-plugins-base) | |
8473f802 LF |
282 | ("gst-plugins-good" ,gst-plugins-good) |
283 | ("gst-libav" ,gst-libav) | |
d20b7384 PL |
284 | ("libcdio" ,libcdio) |
285 | ("libmygpo-qt" ,libmygpo-qt) | |
d20b7384 PL |
286 | ;; TODO: Package libgpod. |
287 | ("libmtp" ,libmtp) | |
288 | ("libxml2" ,libxml2) | |
289 | ("openssl" ,openssl) | |
290 | ("protobuf" ,protobuf) | |
291 | ("pulseaudio" ,pulseaudio) | |
292 | ("qtbase" ,qtbase) | |
293 | ("qtx11extras" ,qtx11extras) | |
f09e8abc | 294 | ("sqlite" ,sqlite-with-column-metadata) |
d20b7384 PL |
295 | ("sparsehash" ,sparsehash) |
296 | ("taglib" ,taglib))) | |
88491097 | 297 | (home-page "https://clementine-player.org") |
d20b7384 PL |
298 | (synopsis "Music player and library organizer") |
299 | (description "Clementine is a multiplatform music player. It is inspired | |
300 | by Amarok 1.4, focusing on a fast and easy-to-use interface for searching and | |
301 | playing your music.") | |
302 | (license (list | |
303 | ;; clementine and qtiocompressor are under GPLv3. | |
304 | license:gpl3+ | |
305 | ;; gmock is under BSD-3. | |
306 | license:bsd-3 | |
307 | ;; qxt is under CPL1.0. | |
308 | license:cpl1.0 | |
309 | ;; qsqlite and qtsingleapplication are under LGPL2.1+. | |
310 | license:lgpl2.1+ | |
311 | ;; qocoa is under MIT and CC by-sa for the icons. | |
312 | license:cc-by-sa3.0))))) | |
313 | ||
e8069d01 PW |
314 | (define-public cmus |
315 | (package | |
316 | (name "cmus") | |
317 | (version "2.7.1") | |
318 | (source (origin | |
4e829468 RW |
319 | (method git-fetch) |
320 | (uri (git-reference | |
321 | (url "https://github.com/cmus/cmus.git") | |
322 | (commit (string-append "v" version)))) | |
323 | (file-name (git-file-name name version)) | |
e8069d01 PW |
324 | (sha256 |
325 | (base32 | |
4e829468 | 326 | "0xd96py21bl869qlv1353zw7xsgq6v5s8szr0ldr63zj5fgc2ps5")))) |
e8069d01 PW |
327 | (build-system gnu-build-system) |
328 | (arguments | |
329 | `(#:tests? #f ; cmus does not include tests | |
330 | #:phases | |
331 | (modify-phases %standard-phases | |
ec618c20 RW |
332 | (replace 'configure |
333 | (lambda* (#:key outputs #:allow-other-keys) | |
334 | (let ((out (assoc-ref outputs "out"))) | |
335 | ;; It's an idiosyncratic configure script that doesn't | |
336 | ;; understand --prefix=..; it wants prefix=.. instead. | |
337 | (invoke "./configure" | |
338 | (string-append "prefix=" out)) | |
339 | #t)))))) | |
e8069d01 PW |
340 | ;; TODO: cmus optionally supports the following formats, which haven't yet |
341 | ;; been added to Guix: | |
342 | ;; | |
343 | ;; - Roar, libroar | |
344 | ;; | |
345 | ;; - DISCID_LIBS, apparently different from cd-discid which is included in | |
346 | ;; Guix. See <http://sourceforge.net/projects/discid/> | |
347 | (native-inputs | |
348 | `(("pkg-config" ,pkg-config))) | |
349 | (inputs | |
350 | `(("alsa-lib" ,alsa-lib) | |
351 | ("ao" ,ao) | |
352 | ("ffmpeg" ,ffmpeg) | |
353 | ("flac" ,flac) | |
354 | ("jack" ,jack-1) | |
355 | ("libcddb" ,libcddb) | |
356 | ("libcdio-paranoia" ,libcdio-paranoia) | |
357 | ("libcue" ,libcue) | |
358 | ("libmad" ,libmad) | |
359 | ("libmodplug" ,libmodplug) | |
360 | ("libmpcdec" ,libmpcdec) | |
361 | ("libsamplerate" ,libsamplerate) | |
362 | ("libvorbis" ,libvorbis) | |
363 | ("ncurses" ,ncurses) | |
364 | ("opusfile" ,opusfile) | |
365 | ("pulseaudio" ,pulseaudio) | |
366 | ("wavpack" ,wavpack))) | |
367 | (home-page "https://cmus.github.io/") | |
368 | (synopsis "Small console music player") | |
369 | (description "Cmus is a small and fast console music player. It supports | |
370 | many input formats and provides a customisable Vi-style user interface.") | |
371 | (license license:gpl2+))) | |
372 | ||
edd1652e KK |
373 | (define-public denemo |
374 | (package | |
375 | (name "denemo") | |
6ff5e9ba | 376 | (version "2.1") |
edd1652e KK |
377 | (source (origin |
378 | (method url-fetch) | |
379 | (uri (string-append "mirror://gnu/denemo/denemo-" | |
380 | version ".tar.gz")) | |
381 | (sha256 | |
382 | (base32 | |
6ff5e9ba | 383 | "0hggf8c4xcrjcxd5m00r788r7jg7g8ff54w2idfaqpj5j2ix3299")))) |
edd1652e KK |
384 | (build-system gnu-build-system) |
385 | (arguments | |
386 | `(#:phases | |
387 | (modify-phases %standard-phases | |
388 | (replace 'check | |
389 | ;; Denemo's documentation says to use this command to run its | |
390 | ;; testsuite. | |
391 | (lambda _ | |
f6181921 | 392 | (invoke "make" "-C" "tests" "check"))) |
b43ec33b KK |
393 | (add-before 'build 'set-lilypond |
394 | ;; This phase sets the default path for lilypond to its current | |
395 | ;; location in the store. | |
396 | (lambda* (#:key inputs #:allow-other-keys) | |
397 | (let* ((lilypond (string-append (assoc-ref inputs "lilypond") | |
398 | "/bin/lilypond"))) | |
399 | (substitute* "src/core/prefops.c" | |
400 | (("g_string_new \\(\"lilypond\"\\);") | |
401 | (string-append "g_string_new (\"" | |
402 | lilypond | |
403 | "\");")))) | |
404 | #t)) | |
edd1652e KK |
405 | (add-after 'install 'correct-filename |
406 | ;; "graft-derivation/shallow" from the (guix grafts) module runs in | |
407 | ;; the C locale, expecting file names to be ASCII encoded. This | |
408 | ;; phase renames a filename with a Unicode character in it to meet | |
409 | ;; the aforementioned condition. | |
410 | (lambda* (#:key outputs #:allow-other-keys) | |
411 | (let* ((out (assoc-ref outputs "out"))) | |
412 | (chdir (string-append | |
413 | out | |
414 | "/share/denemo/templates/instruments/woodwind")) | |
415 | (rename-file "Clarinet in B♭.denemo" | |
416 | "Clarinet in Bb.denemo")) | |
417 | #t))))) | |
418 | (native-inputs | |
f6181921 | 419 | `(("glib:bin" ,glib "bin") ; for gtester |
edd1652e KK |
420 | ("pkg-config" ,pkg-config))) |
421 | (inputs | |
422 | `(("alsa-lib" ,alsa-lib) | |
423 | ("aubio" ,aubio) | |
424 | ("evince" ,evince) | |
425 | ("fftw" ,fftw) | |
426 | ("fluidsynth" ,fluidsynth) | |
427 | ("glib" ,glib) | |
428 | ("gtk+" ,gtk+) | |
429 | ("gtk-doc" ,gtk-doc) | |
6bf79532 | 430 | ("gtksourceview" ,gtksourceview-3) |
edd1652e KK |
431 | ("guile" ,guile-2.0) |
432 | ("intltool" ,intltool) | |
433 | ("librsvg" ,librsvg) | |
434 | ("libsndfile" ,libsndfile) | |
435 | ("libtool" ,libtool) | |
436 | ("libxml2" ,libxml2) | |
c695fb76 | 437 | ("lilypond" ,lilypond) |
edd1652e KK |
438 | ("portaudio" ,portaudio) |
439 | ("portmidi" ,portmidi) | |
440 | ("rubberband" ,rubberband))) | |
edd1652e KK |
441 | (synopsis "Graphical music notation, front-end to GNU Lilypond") |
442 | (description | |
443 | "GNU Denemo is a music notation editor that provides a convenient | |
444 | interface to the powerful music engraving program Lilypond. Music can be | |
445 | typed in using the computer keyboard, played in using a MIDI keyboard, or | |
446 | even input via a microphone connected to the sound card. The final product | |
447 | is publication-quality music notation that is continuously generated in the | |
448 | background while you work.") | |
449 | (home-page "http://www.denemo.org") | |
450 | (license license:gpl3+))) | |
451 | ||
72385c34 KK |
452 | (define-public dumb |
453 | (package | |
454 | (name "dumb") | |
455 | (version "2.0.3") | |
456 | (source | |
457 | (origin | |
458 | (method git-fetch) | |
459 | (uri (git-reference | |
460 | (url "https://github.com/kode54/dumb.git") | |
461 | (commit version))) | |
462 | (sha256 | |
463 | (base32 "1cnq6rb14d4yllr0yi32p9jmcig8avs3f43bvdjrx4r1mpawspi6")) | |
464 | (file-name (git-file-name name version)))) | |
465 | (build-system cmake-build-system) | |
466 | (arguments | |
467 | '(#:tests? #f ; no check target | |
468 | #:configure-flags | |
469 | (list "-DBUILD_SHARED_LIBS=ON" | |
470 | "-DBUILD_EXAMPLES=OFF"))) | |
471 | (home-page "https://github.com/kode54/dumb") | |
472 | (synopsis "Module audio renderer library") | |
473 | (description | |
474 | "DUMB is a tracker library with support for IT, XM, S3M and MOD files. It | |
475 | targets maximum accuracy to the original formats, with low-pass resonant filters | |
476 | for the IT files, accurate timing and pitching, and three resampling quality | |
477 | settings (aliasing, linear interpolation and cubic interpolation).") | |
478 | ;; The DUMB license is a bit peculiar. | |
479 | ;; Clause 8 states that clauses 4, 5 and 6 are null and void, leaving only | |
480 | ;; the first three clauses for genuine consideration. | |
481 | ;; Clauses 1, 2 and 3 are analogous to clauses 1, 2 and 3 of the zlib | |
482 | ;; license, a known free software license. | |
483 | ;; Therefore, the DUMB license may be considered a free software license. | |
484 | (license (license:fsf-free "file://LICENSE")))) | |
485 | ||
d61dcb1b KK |
486 | (define-public dumb-allegro4 |
487 | (package | |
488 | (inherit dumb) | |
489 | (name "dumb-allegro4") | |
490 | (arguments | |
491 | (substitute-keyword-arguments (package-arguments dumb) | |
492 | ((#:configure-flags flags) | |
493 | `(cons "-DBUILD_ALLEGRO4=ON" ,flags)))) | |
494 | (inputs | |
495 | `(("allegro" ,allegro-4))))) | |
496 | ||
d231bb35 RW |
497 | (define-public hydrogen |
498 | (package | |
499 | (name "hydrogen") | |
80808d67 | 500 | (version "1.0.0-beta1") |
d231bb35 | 501 | (source (origin |
80808d67 RW |
502 | (method git-fetch) |
503 | (uri (git-reference | |
504 | (url "https://github.com/hydrogen-music/hydrogen.git") | |
505 | (commit version))) | |
506 | (file-name (string-append name "-" version "-checkout")) | |
d231bb35 RW |
507 | (sha256 |
508 | (base32 | |
80808d67 | 509 | "0nv83l70j5bjz2wd6n3a8cq3bmgrvdvg6g2hjhc1g5h6xnbqsh9x")))) |
b7367762 | 510 | (build-system cmake-build-system) |
d231bb35 | 511 | (arguments |
80808d67 RW |
512 | `(#:test-target "tests" |
513 | #:phases | |
514 | (modify-phases %standard-phases | |
515 | (add-after 'unpack 'fix-data-directory | |
516 | (lambda* (#:key outputs #:allow-other-keys) | |
517 | (substitute* "CMakeLists.txt" | |
518 | (("/usr/share/pixmaps") | |
519 | (string-append (assoc-ref outputs "out") | |
520 | "/share/pixmaps"))) | |
521 | #t))))) | |
d231bb35 | 522 | (native-inputs |
b7367762 | 523 | `(("cppunit" ,cppunit) |
d231bb35 RW |
524 | ("pkg-config" ,pkg-config))) |
525 | (inputs | |
b7367762 | 526 | `(("alsa-lib" ,alsa-lib) |
d231bb35 | 527 | ("jack" ,jack-1) |
b7367762 | 528 | ;; ("ladspa" ,ladspa) ; cannot find during configure |
d231bb35 | 529 | ("lash" ,lash) |
b7367762 EF |
530 | ("libarchive" ,libarchive) |
531 | ("libsndfile" ,libsndfile) | |
532 | ("libtar" ,libtar) | |
533 | ("lrdf" ,lrdf) | |
80808d67 RW |
534 | ("qtbase" ,qtbase) |
535 | ("qtxmlpatterns" ,qtxmlpatterns) | |
b7367762 | 536 | ("zlib" ,zlib))) |
d231bb35 RW |
537 | (home-page "http://www.hydrogen-music.org") |
538 | (synopsis "Drum machine") | |
539 | (description | |
540 | "Hydrogen is an advanced drum machine for GNU/Linux. Its main goal is to | |
541 | enable professional yet simple and intuitive pattern-based drum programming.") | |
542 | (license license:gpl2+))) | |
543 | ||
58301682 PL |
544 | (define-public easytag |
545 | (package | |
546 | (name "easytag") | |
547 | (version "2.4.3") | |
548 | (source (origin | |
549 | (method url-fetch) | |
550 | (uri (string-append "mirror://gnome/sources/easytag/2.4/easytag-" | |
551 | version ".tar.xz")) | |
552 | (sha256 | |
553 | (base32 | |
554 | "1mbxnqrw1fwcgraa1bgik25vdzvf97vma5pzknbwbqq5ly9fwlgw")))) | |
555 | (build-system glib-or-gtk-build-system) | |
556 | (native-inputs | |
557 | `(("desktop-file-utils" ,desktop-file-utils) | |
558 | ("glib" ,glib "bin") | |
559 | ("intltool" ,intltool) | |
560 | ("itstool" ,itstool) | |
561 | ("pkg-config" ,pkg-config) | |
562 | ("xmllint" ,libxml2))) | |
563 | (inputs | |
564 | `(("flac" ,flac) | |
565 | ("gtk+" ,gtk+) | |
566 | ("id3lib" ,id3lib) | |
567 | ("libid3tag" ,libid3tag) | |
568 | ("libvorbis" ,libvorbis) | |
569 | ("opusfile" ,opusfile) | |
570 | ("speex" ,speex) | |
571 | ("taglib" ,taglib) | |
572 | ("wavpack" ,wavpack) | |
573 | ("yelp" ,yelp))) | |
574 | (arguments | |
575 | '(#:phases | |
576 | (modify-phases %standard-phases | |
577 | (add-before 'configure 'configure-libid3tag | |
578 | (lambda* (#:key inputs #:allow-other-keys) | |
579 | ;; libid3tag does not provide a .pc file and EasyTAG's configure | |
580 | ;; script healivy relies on pkg-config. Providing a temporary | |
581 | ;; local .pc file is easier than patching the configure script. | |
582 | (let* ((libid3tag (assoc-ref inputs "libid3tag"))) | |
583 | (mkdir-p "pkgconfig") | |
584 | (with-output-to-file | |
585 | "pkgconfig/id3tag.pc" | |
586 | (lambda _ | |
587 | (format #t | |
588 | "prefix=~@*~a~@ | |
589 | libdir=${prefix}/lib~@ | |
590 | includedir=${prefix}/include~@ | |
591 | Libs: -L${libdir} -lid3tag -lz~@ | |
592 | Cflags: -I${includedir}~%" | |
593 | libid3tag))) | |
594 | (setenv "PKG_CONFIG_PATH" | |
595 | (string-append (getenv "PKG_CONFIG_PATH") | |
596 | ":" (getcwd) "/pkgconfig"))))) | |
597 | (add-after 'unpack 'patch-makefile | |
598 | (lambda _ | |
599 | (substitute* "Makefile.in" | |
600 | ;; The Makefile generates a test-desktop-file-validate.sh | |
601 | ;; script with /bin/sh hard-coded. | |
602 | (("/bin/sh") (which "sh")) | |
603 | ;; Don't create 'icon-theme.cache'. | |
604 | (("gtk-update-icon-cache") "true"))))))) | |
605 | (home-page "https://wiki.gnome.org/Apps/EasyTAG") | |
606 | (synopsis "Simple application for viewing and editing tags in audio files") | |
607 | (description | |
608 | "EasyTAG is an application for viewing and editing tags in audio files. | |
609 | It supports MP3, MP2, MP4/AAC, FLAC, Ogg Opus, Ogg Speex, Ogg Vorbis, | |
610 | MusePack, Monkey's Audio, and WavPack files.") | |
611 | (license license:gpl2+))) | |
612 | ||
91595624 RW |
613 | (define-public extempore |
614 | (package | |
615 | (name "extempore") | |
616 | (version "0.7.0") | |
617 | (source (origin | |
8b0f6917 RW |
618 | (method git-fetch) |
619 | (uri (git-reference | |
620 | (url "https://github.com/digego/extempore.git") | |
621 | (commit version))) | |
91595624 RW |
622 | (sha256 |
623 | (base32 | |
8b0f6917 RW |
624 | "12fsp7zkfxb9kykwq46l88kcbbici9arczrrsl4qn87m6vm5349l")) |
625 | (file-name (string-append name "-" version "-checkout")))) | |
91595624 RW |
626 | (build-system cmake-build-system) |
627 | (arguments | |
628 | `(;; The default target also includes ahead-of-time compilation of the | |
629 | ;; standard libraries. However, during the "install" phase this would | |
630 | ;; happen *again* for unknown reasons. Hence we only build the | |
631 | ;; extempore executable during the build phase. | |
632 | #:make-flags '("extempore") | |
633 | #:configure-flags '("-DJACK=ON" | |
634 | ;; We want to distribute. | |
635 | "-DIN_TREE=OFF" | |
636 | ;; Don't download any dependencies. | |
637 | "-DBUILD_DEPS=OFF") | |
638 | #:modules ((ice-9 match) | |
639 | (guix build cmake-build-system) | |
640 | (guix build utils)) | |
641 | #:phases | |
642 | (modify-phases %standard-phases | |
643 | (add-after 'unpack 'patch-directories | |
644 | (lambda* (#:key outputs #:allow-other-keys) | |
645 | ;; Rewrite default path to runtime directory | |
646 | (substitute* "src/Extempore.cpp" | |
647 | (("runtimedir \\+= \"runtime\"") | |
648 | (string-append "runtimedir = \"" | |
649 | (assoc-ref outputs "out") | |
650 | "/lib/extempore/runtime\""))) | |
651 | (substitute* "extras/extempore.el" | |
652 | (("\\(runtime-directory \\(concat default-directory \"runtime\"\\)\\)") | |
653 | (string-append "(runtime-directory \"" | |
654 | (assoc-ref outputs "out") | |
655 | "/lib/extempore/runtime" | |
656 | "\")"))) | |
657 | #t)) | |
658 | (add-after 'unpack 'link-with-additional-libs | |
659 | (lambda _ | |
660 | ;; The executable must be linked with libffi and zlib. | |
661 | (substitute* "CMakeLists.txt" | |
662 | (("add_dependencies\\(aot_extended extended_deps\\)") "") | |
663 | (("target_link_libraries\\(extempore PRIVATE dl" line) | |
664 | (string-append line " ffi z"))) | |
665 | #t)) | |
666 | ;; FIXME: AOT compilation of the nanovg bindings fail with the error: | |
667 | ;; "Compiler Error could not bind _nvgLinearGradient" | |
668 | (add-after 'unpack 'disable-nanovg | |
669 | (lambda _ | |
670 | (substitute* "CMakeLists.txt" | |
671 | (("aotcompile_lib\\(libs/external/nanovg.xtm.*") "")) | |
672 | #t)) | |
673 | ;; FIXME: All examples that are used as tests segfault for some | |
674 | ;; unknown reason. | |
675 | (add-after 'unpack 'disable-broken-tests | |
676 | (lambda _ | |
677 | (substitute* "CMakeLists.txt" | |
678 | (("extempore_add_example_as_test\\(.*") "")) | |
679 | #t)) | |
680 | (add-after 'unpack 'hardcode-external-lib-paths | |
681 | (lambda* (#:key inputs #:allow-other-keys) | |
682 | (use-modules (ice-9 match)) | |
683 | (for-each | |
684 | (match-lambda | |
685 | ((file-name lib pkg-name) | |
686 | (substitute* (string-append "libs/external/" file-name ".xtm") | |
687 | ((lib) (string-append (assoc-ref inputs pkg-name) | |
688 | "/lib/" lib))))) | |
689 | '(("assimp" "libassimp.so" "assimp") | |
690 | ("portmidi" "libportmidi.so" "portmidi") | |
691 | ("sndfile" "libsndfile.so" "libsndfile") | |
692 | ("fft" "libkiss_fft.so" "kiss-fft") | |
693 | ("stb_image" "libstb_image.so" "stb-image") | |
694 | ("nanovg" "libnanovg.so" "nanovg") | |
695 | ("glext" "libGL.so" "mesa") | |
696 | ("glfw3" "libglfw.so" "glfw") | |
697 | ("gl/glcore-directbind" "libGL.so" "mesa") | |
698 | ("gl/glcompat-directbind" "libGL.so" "mesa"))) | |
699 | #t)) | |
700 | (add-after 'unpack 'use-own-llvm | |
701 | (lambda* (#:key inputs #:allow-other-keys) | |
702 | (setenv "EXT_LLVM_DIR" (assoc-ref inputs "llvm")) | |
703 | ;; Our LLVM builds shared libraries, so Extempore should use | |
704 | ;; those. | |
705 | (substitute* "CMakeLists.txt" | |
706 | (("CMAKE_STATIC_LIBRARY") "CMAKE_SHARED_LIBRARY")) | |
707 | #t)) | |
708 | (add-after 'unpack 'fix-aot-compilation | |
709 | (lambda* (#:key outputs #:allow-other-keys) | |
710 | (substitute* "CMakeLists.txt" | |
711 | ;; EXT_SHARE_DIR does not exist before installation, so the | |
712 | ;; working directory should be the source directory instead. | |
713 | (("WORKING_DIRECTORY \\$\\{EXT_SHARE_DIR\\}") | |
714 | "WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}") | |
715 | ;; Extempore needs to be told where the runtime is to be found. | |
716 | ;; While we're at it we disable automatic tuning for a specific | |
717 | ;; CPU to make binary substitution possible. | |
718 | (("COMMAND extempore" prefix) | |
719 | (string-append prefix " --sharedir " (getcwd) | |
720 | " --mcpu=generic --attr=none"))) | |
721 | #t))))) | |
722 | (inputs | |
723 | `(("llvm" ,llvm-for-extempore) | |
724 | ("libffi" ,libffi) | |
725 | ("jack" ,jack-1) | |
726 | ("libsndfile" ,libsndfile) | |
727 | ("glfw" ,glfw) | |
728 | ("apr" ,apr) | |
729 | ("stb-image" ,stb-image-for-extempore) | |
730 | ("kiss-fft" ,kiss-fft-for-extempore) | |
731 | ("nanovg" ,nanovg-for-extempore) | |
732 | ("portmidi" ,portmidi-for-extempore) | |
733 | ("assimp" ,assimp) | |
734 | ("alsa-lib" ,alsa-lib) | |
735 | ("portaudio" ,portaudio) | |
736 | ("mesa" ,mesa) | |
737 | ("pcre" ,pcre) | |
738 | ("zlib" ,zlib))) | |
739 | (native-inputs | |
740 | `(("perl" ,perl) | |
741 | ("emacs" ,emacs-no-x))) | |
39162ee4 RW |
742 | ;; Extempore refuses to build on architectures other than x86_64 |
743 | (supported-systems '("x86_64-linux")) | |
95708ed8 | 744 | (home-page "http://digego.github.io/extempore/") |
91595624 RW |
745 | (synopsis "Programming environment for live coding of multimedia") |
746 | (description | |
747 | "Extempore is a programming language and runtime environment designed | |
748 | with live programming in mind. It supports interactive programming in a REPL | |
749 | style, compiling and binding code just-in-time. Although Extempore has its | |
750 | roots in 'live coding' of audiovisual media art, it is suitable for any task | |
751 | domain where dynamic run-time modifiability and good numerical performance are | |
752 | required. Extempore also has strong timing and concurrency semantics, which | |
753 | are helpful when working in problem spaces where timing is important (such as | |
754 | audio and video).") | |
755 | (license license:bsd-2))) | |
756 | ||
8c454dcd RW |
757 | (define-public klick |
758 | (package | |
759 | (name "klick") | |
760 | (version "0.12.2") | |
761 | (source (origin | |
762 | (method url-fetch) | |
763 | (uri (string-append "http://das.nasophon.de/download/klick-" | |
764 | version ".tar.gz")) | |
765 | (sha256 | |
766 | (base32 | |
767 | "0hmcaywnwzjci3pp4xpvbijnnwvibz7gf9xzcdjbdca910y5728j")))) | |
bc27eb3b | 768 | (build-system scons-build-system) |
8c454dcd | 769 | (arguments |
bc27eb3b | 770 | `(#:scons-flags (list (string-append "PREFIX=" %output)) |
ecc604ba | 771 | #:scons ,scons-python2 |
f00067db RW |
772 | #:tests? #f ; no "check" target |
773 | #:phases | |
774 | (modify-phases %standard-phases | |
775 | (add-after 'unpack 'replace-removed-scons-syntax | |
776 | (lambda _ | |
777 | (substitute* "SConstruct" | |
778 | (("BoolOption") "BoolVariable") | |
779 | (("PathOption") "PathVariable") | |
780 | (("Options") "Variables")) | |
781 | #t))))) | |
8c454dcd RW |
782 | (inputs |
783 | `(("boost" ,boost) | |
784 | ("jack" ,jack-1) | |
785 | ("libsndfile" ,libsndfile) | |
786 | ("libsamplerate" ,libsamplerate) | |
787 | ("liblo" ,liblo) | |
788 | ("rubberband" ,rubberband))) | |
789 | (native-inputs | |
bc27eb3b | 790 | `(("pkg-config" ,pkg-config))) |
8c454dcd RW |
791 | (home-page "http://das.nasophon.de/klick/") |
792 | (synopsis "Metronome for JACK") | |
793 | (description | |
794 | "klick is an advanced command-line based metronome for JACK. It allows | |
795 | you to define complex tempo maps for entire songs or performances.") | |
796 | (license license:gpl2+))) | |
797 | ||
048bfba1 RW |
798 | (define-public gtklick |
799 | (package | |
800 | (name "gtklick") | |
801 | (version "0.6.4") | |
802 | (source (origin | |
803 | (method url-fetch) | |
804 | (uri (string-append "http://das.nasophon.de/download/gtklick-" | |
805 | version ".tar.gz")) | |
806 | (sha256 | |
807 | (base32 | |
808 | "0dq1km6njnzsqdqyf6wzir9g733z0mc9vmxfg2383k3c2a2di6bp")))) | |
809 | (build-system python-build-system) | |
810 | (arguments | |
811 | `(#:tests? #f ; no tests | |
812 | #:python ,python-2 | |
813 | #:phases | |
814 | (modify-phases %standard-phases | |
815 | (add-before 'build 'add-sitedirs | |
816 | ;; .pth files are not automatically interpreted unless the | |
817 | ;; directories containing them are added as "sites". The directories | |
818 | ;; are then added to those in the PYTHONPATH. This is required for | |
819 | ;; the operation of pygtk. | |
820 | (lambda _ | |
821 | (substitute* "gtklick/gtklick.py" | |
822 | (("import pygtk") | |
823 | "import pygtk, site, sys | |
824 | for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)")))) | |
825 | (add-after 'unpack 'inject-store-path-to-klick | |
826 | (lambda* (#:key inputs #:allow-other-keys) | |
827 | (substitute* "gtklick/klick_backend.py" | |
828 | (("KLICK_PATH = 'klick'") | |
829 | (string-append "KLICK_PATH = '" | |
830 | (assoc-ref inputs "klick") | |
831 | "/bin/klick'"))) | |
832 | #t))))) | |
833 | (inputs | |
834 | `(("klick" ,klick) | |
835 | ("python2-pyliblo" ,python2-pyliblo) | |
836 | ("python2-pygtk" ,python2-pygtk))) | |
837 | (native-inputs | |
b94a6ca0 | 838 | `(("gettext" ,gettext-minimal))) |
048bfba1 RW |
839 | (home-page "http://das.nasophon.de/gtklick/") |
840 | (synopsis "Simple metronome with an easy-to-use graphical interface") | |
841 | (description | |
842 | "Gtklick is a simple metronome with an easy-to-use graphical user | |
843 | interface. It is implemented as a frontend to @code{klick}.") | |
844 | (license license:gpl2+))) | |
845 | ||
a3b10217 KK |
846 | (define-public libgme |
847 | (package | |
848 | (name "libgme") | |
21f5f351 | 849 | (version "0.6.2") |
a3b10217 KK |
850 | (source (origin |
851 | (method url-fetch) | |
852 | (uri (string-append "https://bitbucket.org/mpyne/game-music-emu/" | |
853 | "downloads/game-music-emu-" version | |
21f5f351 | 854 | ".tar.xz")) |
a3b10217 KK |
855 | (sha256 |
856 | (base32 | |
21f5f351 | 857 | "0hkkmxbaas2sirlb5i4r10mgbbiaapjx8pazifabwba23m3wnijh")))) |
a3b10217 KK |
858 | (build-system cmake-build-system) |
859 | (arguments | |
860 | '(#:tests? #f)) ; no check target | |
21f5f351 KK |
861 | (native-inputs |
862 | `(;; Use gcc-4.9 to work around an internal compiler error that happens | |
863 | ;; when using gcc-5.5.0. FIXME: Try removing this when the default | |
864 | ;; compiler is no longer gcc-5.5.0. | |
865 | ("gcc" ,gcc-4.9))) | |
a3b10217 KK |
866 | (home-page "https://bitbucket.org/mpyne/game-music-emu") |
867 | (synopsis "Video game music file playback library") | |
868 | (description | |
869 | "Game-music-emu is a collection of video game music file emulators that | |
870 | support the following formats and systems: | |
871 | @table @code | |
872 | @item AY | |
873 | ZX Spectrum/Asmtrad CPC | |
874 | @item GBS | |
875 | Nintendo Game Boy | |
876 | @item GYM | |
877 | Sega Genesis/Mega Drive | |
878 | @item HES | |
879 | NEC TurboGrafx-16/PC Engine | |
880 | @item KSS | |
881 | MSX Home Computer/other Z80 systems (doesn't support FM sound) | |
882 | @item NSF/NSFE | |
883 | Nintendo NES/Famicom (with VRC 6, Namco 106, and FME-7 sound) | |
884 | @item SAP | |
885 | Atari systems using POKEY sound chip | |
886 | @item SPC | |
887 | Super Nintendo/Super Famicom | |
888 | @item VGM/VGZ | |
889 | Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC Micro | |
890 | @end table") | |
891 | (license (list license:lgpl2.1+ | |
892 | ;; demo and player directories are under the Expat license | |
893 | license:expat)))) | |
894 | ||
1b6826d3 RW |
895 | (define-public lilypond |
896 | (package | |
897 | (name "lilypond") | |
85f075a0 | 898 | (version "2.19.80") |
1b6826d3 RW |
899 | (source (origin |
900 | (method url-fetch) | |
901 | (uri (string-append | |
902 | "http://download.linuxaudio.org/lilypond/sources/v" | |
903 | (version-major+minor version) "/" | |
904 | name "-" version ".tar.gz")) | |
905 | (sha256 | |
906 | (base32 | |
85f075a0 | 907 | "0lql4q946gna2pl1g409mmmsvn2qvnq2z5cihrkfhk7plcqdny9n")))) |
1b6826d3 RW |
908 | (build-system gnu-build-system) |
909 | (arguments | |
127b04d7 | 910 | `(#:tests? #f ; out-test/collated-files.html fails |
1b6826d3 | 911 | #:out-of-source? #t |
409be57b | 912 | #:make-flags '("conf=www") ;to generate images for info manuals |
127b04d7 | 913 | #:configure-flags |
409be57b RW |
914 | (list "CONFIGURATION=www" |
915 | (string-append "--with-texgyre-dir=" | |
127b04d7 RW |
916 | (assoc-ref %build-inputs "font-tex-gyre") |
917 | "/share/fonts/opentype/")) | |
1b6826d3 | 918 | #:phases |
a8bc747a | 919 | (modify-phases %standard-phases |
9cc823f5 RW |
920 | (add-after 'unpack 'use-texlive-union |
921 | (lambda _ | |
922 | ;; FIXME: fonts are not found and have to be generated in HOME. | |
923 | (setenv "HOME" "/tmp") | |
924 | ;; The test for the "lh" package fails, even though it is among | |
925 | ;; the inputs. | |
926 | (substitute* "configure" | |
927 | (("TEX_FIKPARM=.*") "TEX_FIKPARM=found\n")) | |
928 | #t)) | |
409be57b RW |
929 | (add-after 'unpack 'fix-path-references |
930 | (lambda _ | |
a8bc747a RW |
931 | (substitute* "scm/backend-library.scm" |
932 | (("\\(search-executable '\\(\"gs\"\\)\\)") | |
409be57b RW |
933 | (string-append "\"" (which "gs") "\"")) |
934 | (("\"/bin/sh\"") | |
935 | (string-append "\"" (which "sh") "\""))) | |
a8bc747a RW |
936 | #t)) |
937 | (add-before 'configure 'prepare-configuration | |
938 | (lambda _ | |
939 | (substitute* "configure" | |
7affb2c1 RW |
940 | (("SHELL=/bin/sh") "SHELL=sh") |
941 | ;; When checking the fontforge version do not consider the | |
942 | ;; version string that's part of the directory. | |
31ec5228 EF |
943 | (("head -n") "tail -n") |
944 | ;; Also allow for SOURCE_DATE_EPOCH = 0 in fontforge. | |
945 | (("20110222") "19700101")) | |
409be57b RW |
946 | (setenv "out" "www") |
947 | (setenv "conf" "www") | |
948 | #t)) | |
949 | (add-after 'install 'install-info | |
950 | (lambda _ | |
88659738 RW |
951 | (invoke "make" |
952 | "-j" (number->string (parallel-job-count)) | |
953 | "conf=www" "install-info") | |
954 | #t))))) | |
1b6826d3 RW |
955 | (inputs |
956 | `(("guile" ,guile-1.8) | |
957 | ("font-dejavu" ,font-dejavu) | |
127b04d7 | 958 | ("font-tex-gyre" ,font-tex-gyre) |
1b6826d3 RW |
959 | ("fontconfig" ,fontconfig) |
960 | ("freetype" ,freetype) | |
fb0b9ff1 | 961 | ("ghostscript" ,ghostscript) |
1b6826d3 RW |
962 | ("pango" ,pango) |
963 | ("python" ,python-2))) | |
964 | (native-inputs | |
965 | `(("bison" ,bison) | |
966 | ("perl" ,perl) | |
967 | ("flex" ,flex) | |
968 | ("fontforge" ,fontforge) | |
969 | ("dblatex" ,dblatex) | |
b94a6ca0 | 970 | ("gettext" ,gettext-minimal) |
1b6826d3 RW |
971 | ("imagemagick" ,imagemagick) |
972 | ("netpbm" ,netpbm) ;for pngtopnm | |
9cc823f5 RW |
973 | ("texlive" ,(texlive-union (list texlive-metapost |
974 | texlive-generic-epsf | |
975 | texlive-latex-lh | |
976 | texlive-latex-cyrillic))) | |
1b6826d3 RW |
977 | ("texinfo" ,texinfo) |
978 | ("texi2html" ,texi2html) | |
979 | ("rsync" ,rsync) | |
980 | ("pkg-config" ,pkg-config) | |
981 | ("zip" ,zip))) | |
982 | (home-page "http://www.lilypond.org/") | |
983 | (synopsis "Music typesetting") | |
984 | (description | |
985 | "GNU LilyPond is a music typesetter, which produces high-quality sheet | |
986 | music. Music is input in a text file containing control sequences which are | |
987 | interpreted by LilyPond to produce the final document. It is extendable with | |
988 | Guile.") | |
55ca5e80 LC |
989 | (license license:gpl3+) |
990 | ||
991 | ;; On armhf and mips64el, building the documentation sometimes leads to | |
992 | ;; more than an hour of silence, so double the max silent time. | |
993 | (properties `((max-silent-time . 7200))))) | |
c267cc15 | 994 | |
8e80244a RW |
995 | (define-public non-sequencer |
996 | ;; The latest tagged release is three years old and uses a custom build | |
1bbe7959 | 997 | ;; system, so we take the last commit. |
a6b5e1fb RW |
998 | (let ((commit "5ae43bb27c42387052a73e5ffc5d33efb9d946a9") |
999 | (revision "4")) | |
8e80244a RW |
1000 | (package |
1001 | (name "non-sequencer") | |
1bbe7959 | 1002 | (version (string-append "1.9.5-" revision "." (string-take commit 7))) |
8e80244a RW |
1003 | (source (origin |
1004 | (method git-fetch) | |
1005 | (uri (git-reference | |
1006 | (url "git://git.tuxfamily.org/gitroot/non/non.git") | |
1007 | (commit commit))) | |
1008 | (sha256 | |
1009 | (base32 | |
a6b5e1fb | 1010 | "1cljkkyi9dxqpqhx8y6l2ja4zjmlya26m26kqxml8gx08vyvddhx")) |
8e80244a RW |
1011 | (file-name (string-append name "-" version "-checkout")))) |
1012 | (build-system waf-build-system) | |
1013 | (arguments | |
1014 | `(#:tests? #f ;no "check" target | |
e591a4d6 RW |
1015 | #:configure-flags |
1016 | (list "--project=sequencer" | |
1017 | ;; Disable the use of SSE unless on x86_64. | |
1018 | ,@(if (not (string-prefix? "x86_64" (or (%current-target-system) | |
1019 | (%current-system)))) | |
1020 | '("--disable-sse") | |
1021 | '())) | |
d8c317df SB |
1022 | #:phases |
1023 | (modify-phases %standard-phases | |
1024 | (add-before | |
1025 | 'configure 'set-flags | |
1026 | (lambda _ | |
1027 | ;; Compile with C++11, required by libsigc++. | |
1028 | (setenv "CXXFLAGS" "-std=c++11") | |
1029 | #t))) | |
8e80244a RW |
1030 | #:python ,python-2)) |
1031 | (inputs | |
1032 | `(("jack" ,jack-1) | |
1033 | ("libsigc++" ,libsigc++) | |
1034 | ("liblo" ,liblo) | |
1035 | ("ntk" ,ntk))) | |
1036 | (native-inputs | |
1037 | `(("pkg-config" ,pkg-config))) | |
1038 | (home-page "http://non.tuxfamily.org/wiki/Non%20Sequencer") | |
1039 | (synopsis "Pattern-based MIDI sequencer") | |
1040 | (description | |
1041 | "The Non Sequencer is a powerful, lightweight, real-time, | |
1042 | pattern-based MIDI sequencer. It utilizes the JACK Audio Connection Kit for | |
1043 | MIDI I/O and the NTK GUI toolkit for its user interface. Everything in Non | |
1044 | Sequencer happens on-line, in real-time. Music can be composed live, while the | |
1045 | transport is rolling.") | |
1046 | (license license:gpl2+)))) | |
1047 | ||
ded69d6f RW |
1048 | (define-public non-session-manager |
1049 | (package (inherit non-sequencer) | |
1050 | (name "non-session-manager") | |
1051 | (arguments | |
1052 | (substitute-keyword-arguments (package-arguments non-sequencer) | |
1053 | ((#:configure-flags flags) | |
1054 | `(cons "--project=session-manager" | |
1055 | (delete "--project=sequencer" ,flags))))) | |
1056 | (inputs | |
1057 | `(("jack" ,jack-1) | |
1058 | ("liblo" ,liblo) | |
1059 | ("ntk" ,ntk))) | |
1060 | (native-inputs | |
1061 | `(("pkg-config" ,pkg-config))) | |
1062 | (home-page "http://non.tuxfamily.org/nsm/") | |
1063 | (synopsis "Audio session management") | |
1064 | (description | |
1065 | "The Non Session Manager is an API and an implementation for audio | |
1066 | session management. NSM clients use a well-specified OSC protocol to | |
1067 | communicate with the session management daemon.") | |
1068 | (license license:gpl2+))) | |
1069 | ||
46bb58b8 RW |
1070 | (define-public non-mixer |
1071 | (package (inherit non-sequencer) | |
1072 | (name "non-mixer") | |
1073 | (arguments | |
1074 | (substitute-keyword-arguments (package-arguments non-sequencer) | |
1075 | ((#:configure-flags flags) | |
1076 | `(cons "--project=mixer" | |
1077 | (delete "--project=sequencer" ,flags))))) | |
1078 | (inputs | |
1079 | `(("jack" ,jack-1) | |
1080 | ("liblo" ,liblo) | |
1081 | ("ladspa" ,ladspa) | |
1082 | ("lrdf" ,lrdf) | |
1083 | ("ntk" ,ntk))) | |
1084 | (native-inputs | |
1085 | `(("pkg-config" ,pkg-config))) | |
1086 | (home-page "http://non.tuxfamily.org/wiki/Non%20Mixer") | |
1087 | (synopsis "Modular digital audio mixer") | |
1088 | (description | |
1089 | "The Non Mixer is a powerful, reliable and fast modular digital audio | |
1090 | mixer. It utilizes JACK for inter-application audio I/O and the NTK GUI | |
1091 | toolkit for a fast and lightweight user interface. Non Mixer can be used | |
1092 | alone or in concert with Non Timeline and Non Sequencer to form a complete | |
1093 | studio.") | |
1094 | (license license:gpl2+))) | |
1095 | ||
4511e0db RW |
1096 | (define-public non-timeline |
1097 | (package (inherit non-sequencer) | |
1098 | (name "non-timeline") | |
1099 | (arguments | |
1100 | (substitute-keyword-arguments (package-arguments non-sequencer) | |
1101 | ((#:configure-flags flags) | |
1102 | `(cons "--project=timeline" | |
1103 | (delete "--project=sequencer" ,flags))))) | |
1104 | (inputs | |
1105 | `(("jack" ,jack-1) | |
1106 | ("liblo" ,liblo) | |
1107 | ("libsndfile" ,libsndfile) | |
1108 | ("ntk" ,ntk))) | |
1109 | (native-inputs | |
1110 | `(("pkg-config" ,pkg-config))) | |
1111 | (home-page "http://non.tuxfamily.org/wiki/Non%20Timeline") | |
1112 | (synopsis "Modular digital audio timeline arranger") | |
1113 | (description | |
1114 | "The Non Timeline is a powerful, reliable and fast modular digital audio | |
1115 | timeline arranger. It utilizes JACK for inter-application audio I/O and the | |
1116 | NTK GUI toolkit for a fast and lightweight user interface. Non Timeline can | |
1117 | be used alone or in concert with Non Mixer and Non Sequencer to form a | |
1118 | complete studio.") | |
1119 | (license license:gpl2+))) | |
1120 | ||
c267cc15 RW |
1121 | (define-public solfege |
1122 | (package | |
1123 | (name "solfege") | |
1124 | (version "3.22.2") | |
1125 | (source (origin | |
1126 | (method url-fetch) | |
1127 | (uri (string-append | |
1128 | "mirror://gnu/solfege/solfege-" | |
1129 | version ".tar.xz")) | |
1130 | (sha256 | |
1131 | (base32 | |
1132 | "1w25rxdbj907nsx285k9nm480pvy12w3yknfh4n1dfv17cwy072i")))) | |
1133 | (build-system gnu-build-system) | |
1134 | (arguments | |
1135 | `(#:tests? #f ; xmllint attempts to download DTD | |
1136 | #:test-target "test" | |
1137 | #:phases | |
dc1d3cde KK |
1138 | (modify-phases %standard-phases |
1139 | (add-after 'unpack 'fix-configuration | |
1140 | (lambda* (#:key inputs #:allow-other-keys) | |
1141 | (substitute* "default.config" | |
20c65aa1 | 1142 | (("/usr/bin/aplay") "aplay") |
95e545a4 NG |
1143 | (("/usr/bin/timidity") "timidity") |
1144 | (("/usr/bin/mpg123") "mpg123") | |
1145 | (("/usr/bin/ogg123") "ogg123")) | |
dc1d3cde KK |
1146 | #t)) |
1147 | (add-before 'build 'patch-python-shebangs | |
1148 | (lambda _ | |
1149 | ;; Two python scripts begin with a Unicode BOM, so patch-shebang | |
1150 | ;; has no effect. | |
1151 | (substitute* '("solfege/parsetree.py" | |
1152 | "solfege/presetup.py") | |
1153 | (("#!/usr/bin/python") (string-append "#!" (which "python")))) | |
1154 | #t)) | |
1155 | (add-before 'build 'add-sitedirs | |
1156 | ;; .pth files are not automatically interpreted unless the | |
1157 | ;; directories containing them are added as "sites". The directories | |
1158 | ;; are then added to those in the PYTHONPATH. This is required for | |
1159 | ;; the operation of pygtk and pygobject. | |
1160 | (lambda _ | |
1161 | (substitute* "run-solfege.py" | |
1162 | (("import os") | |
1163 | "import os, site | |
1164 | for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)")) | |
1165 | #t)) | |
1166 | (add-before 'build 'adjust-config-file-prefix | |
c267cc15 RW |
1167 | (lambda* (#:key outputs #:allow-other-keys) |
1168 | (substitute* "run-solfege.py" | |
1169 | (("prefix = os.path.*$") | |
dc1d3cde KK |
1170 | (string-append "prefix = " (assoc-ref outputs "out")))) |
1171 | #t)) | |
1172 | (add-after 'install 'wrap-program | |
1173 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
1174 | ;; Make sure 'solfege' runs with the correct PYTHONPATH. | |
1175 | (let* ((out (assoc-ref outputs "out")) | |
1176 | (path (getenv "PYTHONPATH"))) | |
1177 | (wrap-program (string-append out "/bin/solfege") | |
1178 | `("PYTHONPATH" ":" prefix (,path)))) | |
1179 | #t))))) | |
c267cc15 RW |
1180 | (inputs |
1181 | `(("python" ,python-2) | |
1182 | ("pygtk" ,python2-pygtk) | |
b94a6ca0 | 1183 | ("gettext" ,gettext-minimal) |
c267cc15 | 1184 | ("gtk" ,gtk+) |
95e545a4 | 1185 | ("lilypond" ,lilypond))) |
c267cc15 RW |
1186 | (native-inputs |
1187 | `(("pkg-config" ,pkg-config) | |
1188 | ("txt2man" ,txt2man) | |
1189 | ("libxml2" ,libxml2) ; for tests | |
1190 | ("ghostscript" ,ghostscript) | |
c267cc15 RW |
1191 | ("texinfo" ,texinfo))) |
1192 | (home-page "https://www.gnu.org/software/solfege/") | |
1193 | (synopsis "Ear training") | |
1194 | (description | |
1195 | "GNU Solfege is a program for practicing musical ear-training. With it, | |
1196 | you can practice your recognition of various musical intervals and chords. It | |
1197 | features a statistics overview so you can monitor your progress across several | |
1198 | sessions. Solfege is also designed to be extensible so you can easily write | |
1199 | your own lessons.") | |
1200 | (license license:gpl3+))) | |
6260d1a8 | 1201 | |
8b9ec354 RW |
1202 | (define-public powertabeditor |
1203 | (package | |
1204 | (name "powertabeditor") | |
92a1cb92 | 1205 | (version "2.0.0-alpha10") |
8b9ec354 | 1206 | (source (origin |
1b12b572 RW |
1207 | (method git-fetch) |
1208 | (uri (git-reference | |
1209 | (url "https://github.com/powertab/powertabeditor.git") | |
1210 | (commit version))) | |
1211 | (file-name (git-file-name name version)) | |
8b9ec354 RW |
1212 | (sha256 |
1213 | (base32 | |
1b12b572 | 1214 | "1z4fhdp71ck9synr12rg1p6365xnypd8ih40c5icj4si36khvksk")) |
8b9ec354 RW |
1215 | (modules '((guix build utils))) |
1216 | (snippet | |
1217 | '(begin | |
1218 | ;; Remove bundled sources for external libraries | |
1219 | (delete-file-recursively "external") | |
40effef7 | 1220 | ;; Use only system libraries |
8b9ec354 | 1221 | (substitute* "CMakeLists.txt" |
40effef7 RW |
1222 | (("include\\( PTE_ThirdParty \\)") |
1223 | "\ | |
1224 | include(third_party/Qt) | |
1225 | include(third_party/boost) | |
1226 | add_library( Catch INTERFACE IMPORTED ) | |
1227 | add_library( rapidjson INTERFACE IMPORTED )")) | |
8b9ec354 RW |
1228 | #t)))) |
1229 | (build-system cmake-build-system) | |
1230 | (arguments | |
7e11d113 | 1231 | `(#:modules ((guix build cmake-build-system) |
8b9ec354 RW |
1232 | (guix build utils) |
1233 | (ice-9 match)) | |
1234 | #:configure-flags | |
1235 | ;; CMake appears to lose the RUNPATH for some reason, so it has to be | |
1236 | ;; explicitly set with CMAKE_INSTALL_RPATH. | |
7e11d113 | 1237 | (list "-DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE" |
7e11d113 | 1238 | (string-append "-DCMAKE_INSTALL_RPATH=" |
8b9ec354 RW |
1239 | (string-join (map (match-lambda |
1240 | ((name . directory) | |
1241 | (string-append directory "/lib"))) | |
40effef7 RW |
1242 | %build-inputs) ";")) |
1243 | "-DPTE_DATA_DIR=share/powertabeditor") | |
8b9ec354 RW |
1244 | #:phases |
1245 | (modify-phases %standard-phases | |
40effef7 RW |
1246 | (replace 'check |
1247 | (lambda _ | |
b1b82aed RW |
1248 | (invoke "bin/pte_tests" |
1249 | ;; FIXME: these tests fail | |
1250 | "exclude:Actions/EditStaff" | |
1251 | "exclude:Formats/PowerTabOldImport/MergeMultiBarRests" | |
1252 | "exclude:Score/ViewFilter/FilterRule" | |
1253 | "exclude:Score/ViewFilter/ViewFilter" | |
1254 | "exclude:Formats/PowerTabOldImport/Directions") | |
1255 | #t)) | |
04ba7a9d RW |
1256 | ;; FIXME: This bug has been fixed upstream, but no release has been |
1257 | ;; made yet. See https://github.com/powertab/powertabeditor/issues/257 | |
1258 | (add-after 'unpack 'fix-boost-bug | |
1259 | (lambda _ | |
1260 | (substitute* "source/score/voiceutils.cpp" | |
1261 | (("boost::rational<int> duration\\(4, pos.getDurationType\\(\\)\\);") | |
1262 | "boost::rational<int> duration(4, static_cast<int>(pos.getDurationType()));")) | |
1263 | #t)) | |
1e341fa5 RW |
1264 | ;; Fix build with Qt 5.11. |
1265 | (add-after 'unpack 'add-missing-headers | |
1266 | (lambda _ | |
1267 | (substitute* (find-files "source/dialogs/" "\\.h$") | |
1268 | (("#include <QDialog>" m) | |
1269 | (string-append m "\n#include <QButtonGroup>"))) | |
1270 | (substitute* "source/widgets/mixer/mixeritem.h" | |
1271 | (("#include <QWidget>" m) | |
1272 | (string-append m "\n#include <QStyle>"))) | |
1273 | (substitute* "source/widgets/playback/playbackwidget.h" | |
1274 | (("#include <QWidget>" m) | |
1275 | (string-append m "\n#include <QButtonGroup>\n#include <QAction>"))) | |
1276 | #t)) | |
40effef7 RW |
1277 | (add-before 'configure 'remove-third-party-libs |
1278 | (lambda* (#:key inputs #:allow-other-keys) | |
1279 | ;; Link with required static libraries, because we're not | |
1280 | ;; using the bundled version of withershins. | |
c3913fac | 1281 | ;; Also add pthread for fixing a linker error. |
40effef7 RW |
1282 | (substitute* "source/build/CMakeLists.txt" |
1283 | (("withershins" line) | |
1284 | (string-append line "\n" | |
1285 | (assoc-ref inputs "binutils") | |
1286 | "/lib/libbfd.a\n" | |
1287 | (assoc-ref inputs "libiberty") | |
1288 | "/lib/libiberty.a\n" | |
1289 | "dl\n" | |
c3913fac | 1290 | "pthread\n" |
40effef7 RW |
1291 | "z\n"))) |
1292 | #t))))) | |
8b9ec354 RW |
1293 | (inputs |
1294 | `(("boost" ,boost) | |
1295 | ("alsa-lib" ,alsa-lib) | |
0a0bfd68 | 1296 | ("qtbase" ,qtbase) |
8b9ec354 | 1297 | ("withershins" ,withershins) |
d6902798 | 1298 | ("libiberty" ,libiberty) ;for withershins |
8b9ec354 RW |
1299 | ("binutils" ,binutils) ;for -lbfd and -liberty (for withershins) |
1300 | ("timidity" ,timidity++) | |
1301 | ("pugixml" ,pugixml) | |
1302 | ("rtmidi" ,rtmidi) | |
1303 | ("rapidjson" ,rapidjson) | |
1304 | ("zlib" ,zlib))) | |
1305 | (native-inputs | |
1306 | `(("catch" ,catch-framework) | |
1307 | ("pkg-config" ,pkg-config))) | |
1308 | (home-page "http://powertabs.net") | |
1309 | (synopsis "Guitar tablature editor") | |
1310 | (description | |
1311 | "Power Tab Editor 2.0 is the successor to the famous original Power Tab | |
1312 | Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.") | |
1313 | (license license:gpl3+))) | |
1314 | ||
3d4b1bb9 RW |
1315 | (define-public jalv-select |
1316 | (package | |
1317 | (name "jalv-select") | |
eaace76c | 1318 | (version "0.8") |
3d4b1bb9 | 1319 | (source (origin |
ca364e7a RW |
1320 | (method git-fetch) |
1321 | (uri (git-reference | |
1322 | (url "https://github.com/brummer10/jalv_select.git") | |
1323 | (commit (string-append "V" version)))) | |
1324 | (file-name (git-file-name name version)) | |
3d4b1bb9 RW |
1325 | (sha256 |
1326 | (base32 | |
ca364e7a | 1327 | "0gqh768sbvn9ffyx1vqg9i57py9x9v4l65bk6wjsvgga4d7m83k1")))) |
3d4b1bb9 RW |
1328 | (build-system gnu-build-system) |
1329 | (arguments | |
1330 | `(#:make-flags | |
1331 | (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) | |
1332 | #:phases | |
1333 | (modify-phases %standard-phases | |
1334 | (delete 'configure) | |
1335 | (add-after 'unpack 'ignore-PATH | |
1336 | (lambda* (#:key inputs #:allow-other-keys) | |
1337 | (substitute* "jalv.select.cpp" | |
ad7f6e5f | 1338 | (("echo \\$PATH.*tr ':'.*xargs ls") |
3d4b1bb9 RW |
1339 | (string-append "ls -1 " (assoc-ref inputs "jalv") "/bin"))) |
1340 | (substitute* "jalv.select.h" | |
1341 | (("gtkmm.h") "gtkmm-2.4/gtkmm.h")) | |
ca364e7a RW |
1342 | #t)) |
1343 | (add-before 'reset-gzip-timestamps 'make-manpages-writable | |
1344 | (lambda* (#:key outputs #:allow-other-keys) | |
1345 | (for-each make-file-writable | |
1346 | (find-files (string-append (assoc-ref outputs "out") | |
1347 | "/share/man") | |
1348 | ".*\\.gz$")) | |
3d4b1bb9 RW |
1349 | #t))))) |
1350 | (inputs | |
1351 | `(("lilv" ,lilv) | |
1352 | ("lv2" ,lv2) | |
1353 | ("jalv" ,jalv) | |
1354 | ("gtkmm" ,gtkmm-2))) | |
1355 | (native-inputs | |
1356 | `(("pkg-config" ,pkg-config))) | |
1357 | (home-page "https://github.com/brummer10/jalv_select") | |
1358 | (synopsis "GUI to select LV2 plugins and run them with jalv") | |
1359 | (description | |
1360 | "The jalv.select package provides a graphical user interface allowing | |
1361 | users to select LV2 plugins and run them with jalv.") | |
1362 | (license license:public-domain))) | |
1363 | ||
b095e762 RW |
1364 | (define-public synthv1 |
1365 | (package | |
1366 | (name "synthv1") | |
e39c4800 | 1367 | (version "0.9.7") |
b095e762 RW |
1368 | (source (origin |
1369 | (method url-fetch) | |
1370 | (uri | |
de67e922 LF |
1371 | (string-append "mirror://sourceforge/synthv1/synthv1/" version |
1372 | "/synthv1-" version ".tar.gz")) | |
b095e762 RW |
1373 | (sha256 |
1374 | (base32 | |
e39c4800 | 1375 | "0i70wm430fvksi3g985farrkhgb7mwhi7j06dl66cdj1n12jzzk7")))) |
b095e762 | 1376 | (build-system gnu-build-system) |
69008d73 | 1377 | (arguments |
69b4d248 | 1378 | `(#:tests? #f ; there are no tests |
69008d73 DC |
1379 | #:configure-flags |
1380 | '("CXXFLAGS=-std=gnu++11"))) | |
b095e762 RW |
1381 | (inputs |
1382 | `(("jack" ,jack-1) | |
1383 | ("lv2" ,lv2) | |
1384 | ("alsa-lib" ,alsa-lib) | |
b45aa39b | 1385 | ("non-session-manager" ,non-session-manager) |
b095e762 | 1386 | ("liblo" ,liblo) |
e5f2afdb EF |
1387 | ("qtbase" ,qtbase) |
1388 | ("qttools" ,qttools))) | |
b45aa39b RW |
1389 | (native-inputs |
1390 | `(("pkg-config" ,pkg-config))) | |
9459216a | 1391 | (home-page "https://synthv1.sourceforge.io") |
b095e762 RW |
1392 | (synopsis "Polyphonic subtractive synthesizer") |
1393 | (description | |
1394 | "Synthv1 is an old-school subtractive polyphonic synthesizer with four | |
1395 | oscillators and stereo effects.") | |
1396 | (license license:gpl2+))) | |
2bb00612 | 1397 | |
cf9af706 RW |
1398 | (define-public drumkv1 |
1399 | (package | |
1400 | (name "drumkv1") | |
e4ea33cb | 1401 | (version "0.9.7") |
cf9af706 RW |
1402 | (source (origin |
1403 | (method url-fetch) | |
1404 | (uri | |
1405 | (string-append "mirror://sourceforge/drumkv1/drumkv1/" version | |
1406 | "/drumkv1-" version ".tar.gz")) | |
1407 | (sha256 | |
1408 | (base32 | |
e4ea33cb | 1409 | "1361dqdasrc98q9hcjdwsjx6agfimwnay430887fryi3pslkyd81")))) |
cf9af706 RW |
1410 | (build-system gnu-build-system) |
1411 | (arguments | |
c95f9f09 | 1412 | `(#:tests? #f ; there are no tests |
cf9af706 RW |
1413 | #:configure-flags |
1414 | '("CXXFLAGS=-std=gnu++11"))) | |
1415 | (inputs | |
1416 | `(("jack" ,jack-1) | |
1417 | ("lv2" ,lv2) | |
1418 | ("libsndfile" ,libsndfile) | |
1419 | ("alsa-lib" ,alsa-lib) | |
41e2a731 | 1420 | ("non-session-manager" ,non-session-manager) |
cf9af706 RW |
1421 | ("liblo" ,liblo) |
1422 | ("qtbase" ,qtbase))) | |
1423 | (native-inputs | |
1424 | `(("pkg-config" ,pkg-config) | |
1425 | ("qttools" ,qttools))) | |
9459216a | 1426 | (home-page "https://drumkv1.sourceforge.io") |
cf9af706 RW |
1427 | (synopsis "Drum-kit sampler synthesizer with stereo effects") |
1428 | (description | |
1429 | "Drumkv1 is an old-school drum-kit sampler synthesizer with stereo | |
1430 | effects.") | |
1431 | (license license:gpl2+))) | |
1432 | ||
18675264 RW |
1433 | (define-public samplv1 |
1434 | (package | |
1435 | (name "samplv1") | |
b19392f4 | 1436 | (version "0.9.7") |
18675264 RW |
1437 | (source (origin |
1438 | (method url-fetch) | |
1439 | (uri | |
1440 | (string-append "mirror://sourceforge/samplv1/samplv1/" version | |
1441 | "/samplv1-" version ".tar.gz")) | |
1442 | (sha256 | |
1443 | (base32 | |
b19392f4 | 1444 | "1vgmcjccpgqqlmmwfg6m91nph81p2xaxydjx82n4l1yrr9lidn9h")))) |
18675264 RW |
1445 | (build-system gnu-build-system) |
1446 | (arguments | |
29618d67 | 1447 | `(#:tests? #f ; there are no tests |
18675264 RW |
1448 | #:configure-flags |
1449 | '("CXXFLAGS=-std=gnu++11"))) | |
1450 | (inputs | |
1451 | `(("jack" ,jack-1) | |
1452 | ("lv2" ,lv2) | |
1453 | ("libsndfile" ,libsndfile) | |
1454 | ("alsa-lib" ,alsa-lib) | |
92b70c6f | 1455 | ("non-session-manager" ,non-session-manager) |
18675264 RW |
1456 | ("liblo" ,liblo) |
1457 | ("qtbase" ,qtbase))) | |
1458 | (native-inputs | |
1459 | `(("pkg-config" ,pkg-config) | |
1460 | ("qttools" ,qttools))) | |
9459216a | 1461 | (home-page "https://samplv1.sourceforge.io") |
18675264 RW |
1462 | (synopsis "Polyphonic sampler synthesizer with stereo effects") |
1463 | (description | |
1464 | "Samplv1 is an old-school polyphonic sampler synthesizer with stereo | |
1465 | effects.") | |
1466 | (license license:gpl2+))) | |
1467 | ||
2702e12e RW |
1468 | (define-public padthv1 |
1469 | (package | |
1470 | (name "padthv1") | |
cda12aa9 | 1471 | (version "0.9.7") |
2702e12e RW |
1472 | (source (origin |
1473 | (method url-fetch) | |
1474 | (uri | |
1475 | (string-append "mirror://sourceforge/padthv1/padthv1/" version | |
1476 | "/padthv1-" version ".tar.gz")) | |
1477 | (sha256 | |
1478 | (base32 | |
cda12aa9 | 1479 | "1jd4bf6a1ipvg4yhb3xf3maqg68bx97ic9l57djmkirlrkh2a3wp")))) |
2702e12e RW |
1480 | (build-system gnu-build-system) |
1481 | (arguments | |
2c59066f | 1482 | `(#:tests? #f ; there are no tests |
2702e12e RW |
1483 | #:configure-flags |
1484 | '("CXXFLAGS=-std=gnu++11"))) | |
1485 | (inputs | |
1486 | `(("jack" ,jack-1) | |
1487 | ("lv2" ,lv2) | |
1488 | ("alsa-lib" ,alsa-lib) | |
1489 | ("non-session-manager" ,non-session-manager) | |
1490 | ("liblo" ,liblo) | |
1491 | ("fftw" ,fftw) | |
1492 | ("qtbase" ,qtbase))) | |
1493 | (native-inputs | |
1494 | `(("pkg-config" ,pkg-config) | |
1495 | ("qttools" ,qttools))) | |
9459216a | 1496 | (home-page "https://padthv1.sourceforge.io") |
2702e12e RW |
1497 | (synopsis "Polyphonic additive synthesizer") |
1498 | (description | |
1499 | "Padthv1 is an old-school polyphonic additive synthesizer with stereo | |
1500 | effects. Padthv1 is based on the PADsynth algorithm by Paul Nasca, as a | |
1501 | special variant of additive synthesis.") | |
1502 | (license license:gpl2+))) | |
1503 | ||
2bb00612 RW |
1504 | (define-public amsynth |
1505 | (package | |
1506 | (name "amsynth") | |
7e0befd4 | 1507 | (version "1.7.1") |
2bb00612 RW |
1508 | (source |
1509 | (origin | |
1510 | (method url-fetch) | |
1511 | (uri (string-append "https://github.com/amsynth/amsynth/releases/" | |
1512 | "download/release-" version | |
1513 | "/amsynth-" version ".tar.bz2")) | |
1514 | (sha256 | |
1515 | (base32 | |
7e0befd4 | 1516 | "1882pfcmf3rqg3vd4qflzkppcv158d748i603spqjbxqi8z7x7w0")))) |
2bb00612 RW |
1517 | (build-system gnu-build-system) |
1518 | (arguments | |
1519 | `(#:phases | |
1520 | (modify-phases %standard-phases | |
1521 | (add-before 'configure 'set-flags | |
1522 | (lambda _ | |
1523 | ;; Compile with C++11, required by gtkmm. | |
1524 | (setenv "CXXFLAGS" "-std=c++11") | |
1525 | #t))))) | |
1526 | (inputs | |
1527 | `(("alsa-lib" ,alsa-lib) | |
1528 | ("jack" ,jack-1) | |
1529 | ("lv2" ,lv2) | |
7175f4c2 | 1530 | ("lash" ,lash) |
2bb00612 RW |
1531 | ("libsndfile" ,libsndfile) |
1532 | ("gtk+" ,gtk+-2) | |
1533 | ("gtkmm" ,gtkmm-2))) | |
1534 | (native-inputs | |
7e0befd4 RW |
1535 | `(("pkg-config" ,pkg-config) |
1536 | ("intltool" ,intltool))) | |
2bb00612 RW |
1537 | (home-page "http://amsynth.github.io") |
1538 | (synopsis "Analog modeling synthesizer") | |
1539 | (description | |
1540 | "amsynth is an easy-to-use software synthesizer with a classic | |
1541 | subtractive synthesizer topology. Its features include: dual | |
1542 | oscillators (sine, saw, square, noise) with hard sync; 12 and 24 dB/oct | |
1543 | resonant filters (low-pass, high-pass, band-pass, notch); mono, poly, legato | |
1544 | keyboard modes; dual ADSR envelope generators for filter and amplitude; LFO | |
1545 | which can modulate the oscillators, filter, and amplitude; distortion and | |
1546 | reverb effects.") | |
1547 | (license license:gpl2+))) | |
b095e762 | 1548 | |
ec8da0e2 RW |
1549 | (define-public setbfree |
1550 | (package | |
1551 | (name "setbfree") | |
d7caf8b8 | 1552 | (version "0.8.8") |
ec8da0e2 | 1553 | (source (origin |
e0674840 TGR |
1554 | (method git-fetch) |
1555 | (uri (git-reference | |
1556 | (url "https://github.com/pantherb/setBfree") | |
1557 | (commit (string-append "v" version)))) | |
1558 | (file-name (git-file-name name version)) | |
ec8da0e2 RW |
1559 | (sha256 |
1560 | (base32 | |
d7caf8b8 | 1561 | "15dr1nyj69wc9jnjq5z8ril90a3c0mcrii4zjyz0z3h7dhia3382")))) |
ec8da0e2 RW |
1562 | (build-system gnu-build-system) |
1563 | (arguments | |
d7caf8b8 | 1564 | `(#:tests? #f ; no "check" target |
ec8da0e2 RW |
1565 | #:make-flags |
1566 | (list (string-append "PREFIX=" (assoc-ref %outputs "out")) | |
1567 | (string-append "FONTFILE=" | |
1568 | (assoc-ref %build-inputs "font-bitstream-vera") | |
b42d4508 RW |
1569 | "/share/fonts/truetype/VeraBd.ttf") |
1570 | ;; Disable unsupported optimization flags on non-x86 | |
1571 | ,@(let ((system (or (%current-target-system) | |
1572 | (%current-system)))) | |
1573 | (if (or (string-prefix? "x86_64" system) | |
1574 | (string-prefix? "i686" system)) | |
1575 | '() | |
1576 | '("OPTIMIZATIONS=-ffast-math -fomit-frame-pointer -O3")))) | |
ec8da0e2 RW |
1577 | #:phases |
1578 | (modify-phases %standard-phases | |
1579 | (add-before 'build 'set-CC-variable | |
d7caf8b8 | 1580 | (lambda _ (setenv "CC" "gcc") #t)) |
ec8da0e2 RW |
1581 | (delete 'configure)))) |
1582 | (inputs | |
1583 | `(("jack" ,jack-1) | |
1584 | ("lv2" ,lv2) | |
1585 | ("zita-convolver" ,zita-convolver) | |
1586 | ("glu" ,glu) | |
1587 | ("ftgl" ,ftgl) | |
1588 | ("font-bitstream-vera" ,font-bitstream-vera))) | |
1589 | (native-inputs | |
1590 | `(("help2man" ,help2man) | |
1591 | ("pkg-config" ,pkg-config))) | |
1592 | (home-page "http://setbfree.org") | |
1593 | (synopsis "Tonewheel organ") | |
1594 | (description | |
1595 | "setBfree is a MIDI-controlled, software synthesizer designed to imitate | |
1596 | the sound and properties of the electromechanical organs and sound | |
1597 | modification devices that brought world-wide fame to the names and products of | |
1598 | Laurens Hammond and Don Leslie.") | |
1599 | (license license:gpl2+))) | |
1600 | ||
770305f4 RW |
1601 | (define-public beast |
1602 | (package | |
1603 | (name "beast") | |
1604 | (version "0.10.0") | |
1605 | (source (origin | |
1606 | (method url-fetch) | |
1607 | (uri (string-append "https://testbit.eu/pub/dists/beast/beast-" | |
1608 | version ".tar.xz")) | |
1609 | (sha256 | |
1610 | (base32 | |
1611 | "1jzzmfwssklzw8fvvil04n8csc0zm99fnd9p2xa7c0xchg37lvhn")))) | |
1612 | (build-system gnu-build-system) | |
844f4f6e EF |
1613 | (arguments |
1614 | '(#:parallel-build? #f)) ; Race conditions cause build failures | |
770305f4 RW |
1615 | (inputs |
1616 | `(("rapicorn" ,rapicorn) | |
1617 | ("guile" ,guile-1.8) | |
1618 | ("python" ,python-2) | |
770305f4 RW |
1619 | ("libgnomecanvas" ,libgnomecanvas) |
1620 | ("libogg" ,libogg) | |
1621 | ("libmad" ,libmad) | |
1622 | ("flac" ,flac) | |
1623 | ("alsa-lib" ,alsa-lib) | |
1624 | ("libvorbis" ,libvorbis) | |
b94a6ca0 | 1625 | ("gettext" ,gettext-minimal))) |
770305f4 RW |
1626 | (native-inputs |
1627 | `(("pkg-config" ,pkg-config) | |
1628 | ("glib:bin" ,glib "bin") | |
f2516de2 | 1629 | ("cython" ,python2-cython) |
770305f4 RW |
1630 | ("perl" ,perl) |
1631 | ("perl-xml-parser" ,perl-xml-parser))) | |
1632 | (home-page "https://testbit.eu/wiki/Beast_Home") | |
1633 | (synopsis "Music composition and modular synthesis environment") | |
1634 | (description | |
1635 | "Beast is a music composition and modular synthesis application. It | |
1636 | supports a wide range of standards in the field, such as MIDI, various audio | |
1637 | file formats and LADSPA modules. It allows for multitrack editing, real-time | |
1638 | synthesis, 32bit audio rendering, precise timing down to sample granularity, | |
1639 | on-demand and partial loading of wave files, on the fly decoding, stereo | |
1640 | mixing, FFT scopes, MIDI automation and full scriptability in Scheme.") | |
1641 | (license license:gpl3+))) | |
1642 | ||
96250294 RW |
1643 | (define-public bristol |
1644 | (package | |
1645 | (name "bristol") | |
1646 | (version "0.60.11") | |
1647 | (source (origin | |
1648 | (method url-fetch) | |
1649 | (uri (string-append "mirror://sourceforge/bristol/bristol/" | |
1650 | (version-major+minor version) | |
1651 | "/bristol-" version ".tar.gz")) | |
1652 | (sha256 | |
1653 | (base32 | |
1654 | "1fi2m4gmvxdi260821y09lxsimq82yv4k5bbgk3kyc3x1nyhn7vx")))) | |
1655 | (build-system gnu-build-system) | |
18ef998b RW |
1656 | (arguments |
1657 | `(#:phases | |
1658 | (modify-phases %standard-phases | |
1659 | (add-after 'unpack 'remove-sse-flags | |
1660 | (lambda* (#:key system #:allow-other-keys) | |
1661 | (when (not (or (string-prefix? "x86_64" system) | |
1662 | (string-prefix? "i686" system))) | |
1663 | (substitute* "bristol/Makefile.in" | |
1664 | (("-msse -mfpmath=sse") ""))) | |
73124d34 | 1665 | #t)) |
bd0c6231 RW |
1666 | ;; alsa-lib 1.1.x no longer provides iatomic.h. That's okay because |
1667 | ;; bristol actually doesn't use it. | |
1668 | (add-after 'unpack 'do-not-use-alsa-iatomic | |
1669 | (lambda _ | |
1670 | (substitute* "libbristolaudio/audioEngineJack.c" | |
1671 | (("#include <alsa/iatomic.h>") "")) | |
1672 | #t)) | |
73124d34 RW |
1673 | ;; We know that Bristol has been linked with JACK and we don't have |
1674 | ;; ldd, so we can just skip this check. | |
1675 | (add-after 'unpack 'do-not-grep-for-jack | |
1676 | (lambda _ | |
1677 | (substitute* "bin/startBristol.in" | |
1678 | (("ldd `which bristol` | grep jack") "echo guix")) | |
18ef998b | 1679 | #t))))) |
96250294 RW |
1680 | (inputs |
1681 | `(("alsa-lib" ,alsa-lib) | |
1682 | ("jack" ,jack-1) | |
1683 | ("liblo" ,liblo) | |
1684 | ("libx11" ,libx11))) | |
1685 | (native-inputs | |
1686 | `(("pkg-config" ,pkg-config))) | |
1687 | (home-page "http://bristol.sourceforge.net/") | |
1688 | (synopsis "Synthesizer emulator") | |
1689 | (description | |
36a4366d | 1690 | "Bristol is an emulation package for a number of different @code{classic} |
96250294 RW |
1691 | synthesizers including additive and subtractive and a few organs. The |
1692 | application consists of the engine, which is called bristol, and its own GUI | |
1693 | library called brighton that represents all the emulations. There are | |
1694 | currently more than twenty different emulations; each does sound different | |
1695 | although the author maintains that the quality and accuracy of each emulation | |
1696 | is subjective.") | |
1697 | (license license:gpl3+))) | |
1698 | ||
6260d1a8 RW |
1699 | (define-public tuxguitar |
1700 | (package | |
1701 | (name "tuxguitar") | |
a0a7e425 | 1702 | (version "1.5.2") |
6260d1a8 RW |
1703 | (source (origin |
1704 | (method url-fetch) | |
1705 | (uri (string-append | |
1706 | "mirror://sourceforge/tuxguitar/TuxGuitar/TuxGuitar-" | |
f467c352 | 1707 | version "/tuxguitar-" version "-src.tar.gz")) |
6260d1a8 RW |
1708 | (sha256 |
1709 | (base32 | |
a0a7e425 | 1710 | "10arfpgm2pw7mn922klklzn05lw5ifqx070shdrar81afmkfbbd9")))) |
f467c352 | 1711 | (build-system ant-build-system) |
6260d1a8 | 1712 | (arguments |
f467c352 | 1713 | `(#:build-target "build" |
40f372af | 1714 | #:jdk ,icedtea-8 |
a0a7e425 | 1715 | #:tests? #f ; no tests |
6260d1a8 | 1716 | #:phases |
5f1c9498 | 1717 | (modify-phases %standard-phases |
f467c352 RW |
1718 | (add-after 'unpack 'enter-dir |
1719 | (lambda _ (chdir "TuxGuitar-lib") #t)) | |
750e54ec | 1720 | (add-after 'build 'build-libraries |
f467c352 | 1721 | (lambda* (#:key inputs outputs #:allow-other-keys) |
750e54ec RW |
1722 | (let* ((initial-classpath (getenv "CLASSPATH")) |
1723 | (build-dir (lambda (dir) | |
1724 | (chdir "..") | |
1725 | (setenv "CLASSPATH" | |
1726 | (string-join (cons initial-classpath | |
1727 | (find-files (getcwd) "\\.jar$")) | |
1728 | ":")) | |
1729 | (chdir dir) | |
1730 | (if (file-exists? "build.xml") | |
1731 | ((assoc-ref %standard-phases 'build) | |
1732 | #:build-target "build") | |
1733 | (begin | |
a0a7e425 | 1734 | ;; Generate default build.xml. |
750e54ec RW |
1735 | ((@@ (guix build ant-build-system) default-build.xml) |
1736 | (string-append (string-downcase dir) ".jar") | |
1737 | (string-append (assoc-ref outputs "out") | |
1738 | "/share/java")) | |
1739 | ((assoc-ref %standard-phases 'build))))))) | |
1740 | (map build-dir '("TuxGuitar-editor-utils" | |
1741 | "TuxGuitar-ui-toolkit" | |
1742 | "TuxGuitar-ui-toolkit-swt" | |
1743 | "TuxGuitar-awt-graphics"))))) | |
1744 | (add-after 'build-libraries 'build-application | |
f467c352 RW |
1745 | (lambda _ |
1746 | (chdir "../TuxGuitar") | |
1747 | ((assoc-ref %standard-phases 'build) | |
1748 | #:build-target "build"))) | |
1749 | (replace 'install | |
1750 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
1751 | (let* ((out (assoc-ref outputs "out")) | |
1752 | (bin (string-append out "/bin")) | |
1753 | (share (string-append out "/share")) | |
1754 | (lib (string-append share "/java")) | |
1755 | (swt (assoc-ref inputs "java-swt"))) | |
1756 | (mkdir-p bin) | |
a0a7e425 | 1757 | ;; Install all jars. |
f467c352 RW |
1758 | (for-each (lambda (file) |
1759 | (install-file file lib)) | |
1760 | (find-files ".." "\\.jar$")) | |
750e54ec | 1761 | |
a0a7e425 | 1762 | ;; Install all resources. |
750e54ec RW |
1763 | (copy-recursively "share" share) |
1764 | ||
a0a7e425 | 1765 | ;; Create wrapper. |
f467c352 RW |
1766 | (call-with-output-file (string-append bin "/tuxguitar") |
1767 | (lambda (port) | |
1768 | (let ((classpath (string-join (append (find-files lib "\\.jar$") | |
1769 | (find-files swt "\\.jar$")) | |
1770 | ":"))) | |
1771 | (format | |
1772 | port | |
1773 | (string-append "#!/bin/sh\n" | |
1774 | (which "java") | |
1775 | " -cp " classpath | |
1776 | " -Dtuxguitar.home.path=" out | |
1777 | " -Dtuxguitar.share.path=" out "/share" | |
1778 | " -Dswt.library.path=" swt "/lib" | |
1779 | " org.herac.tuxguitar.app.TGMainSingleton" | |
1780 | " \"$1\" \"$2\""))))) | |
1781 | (chmod (string-append bin "/tuxguitar") #o555) | |
1782 | #t)))))) | |
6260d1a8 | 1783 | (inputs |
1ad15c16 | 1784 | `(("java-swt" ,java-swt))) |
d4eae3f7 | 1785 | (home-page "http://tuxguitar.com.ar/") |
6260d1a8 RW |
1786 | (synopsis "Multitrack tablature editor and player") |
1787 | (description | |
1788 | "TuxGuitar is a guitar tablature editor with player support through midi. | |
1789 | It can display scores and multitrack tabs. TuxGuitar provides various | |
1790 | additional features, including autoscrolling while playing, note duration | |
1791 | management, bend/slide/vibrato/hammer-on/pull-off effects, support for | |
1792 | tuplets, time signature management, tempo management, gp3/gp4/gp5 import and | |
1793 | export.") | |
1794 | (license license:lgpl2.1+))) | |
2d0fd07b RW |
1795 | |
1796 | (define-public pd | |
1797 | (package | |
1798 | (name "pd") | |
96808b39 | 1799 | (version "0.49-0") |
2d0fd07b RW |
1800 | (source (origin |
1801 | (method url-fetch) | |
1802 | (uri | |
037bf4f4 RW |
1803 | (string-append "http://msp.ucsd.edu/Software/pd-" |
1804 | version ".src.tar.gz")) | |
2d0fd07b RW |
1805 | (sha256 |
1806 | (base32 | |
96808b39 | 1807 | "18rzqbpgnnvyslap7k0ly87aw1bbxkb0rk5agpr423ibs9slxq6j")))) |
2d0fd07b RW |
1808 | (build-system gnu-build-system) |
1809 | (arguments | |
1810 | `(#:tests? #f ; no "check" target | |
96808b39 SB |
1811 | #:configure-flags |
1812 | (list | |
1813 | "--enable-jack" | |
1814 | (string-append "--with-wish=" (string-append | |
1815 | (assoc-ref %build-inputs "tk") | |
1816 | "/bin/wish8.6"))) | |
2d0fd07b RW |
1817 | #:phases |
1818 | (modify-phases %standard-phases | |
96808b39 | 1819 | (add-before 'configure 'fix-with-path |
4712cbb0 | 1820 | (lambda _ |
4712cbb0 RW |
1821 | (substitute* "tcl/pd-gui.tcl" |
1822 | (("exec wish ") (string-append "exec " (which "wish8.6") " "))) | |
9ab90ead | 1823 | #t))))) |
2d0fd07b RW |
1824 | (native-inputs |
1825 | `(("autoconf" ,autoconf) | |
1826 | ("automake" ,automake) | |
1827 | ("libtool" ,libtool) | |
b94a6ca0 | 1828 | ("gettext" ,gettext-minimal) |
2d0fd07b RW |
1829 | ("pkg-config" ,pkg-config))) |
1830 | (inputs | |
1831 | `(("tk" ,tk) | |
1832 | ("alsa-lib" ,alsa-lib) | |
1833 | ("jack" ,jack-1))) | |
1834 | (home-page "http://puredata.info") | |
1835 | (synopsis "Visual programming language for artistic performances") | |
1836 | (description | |
1837 | "Pure Data (aka Pd) is a visual programming language. Pd enables | |
1838 | musicians, visual artists, performers, researchers, and developers to create | |
1839 | software graphically, without writing lines of code. Pd is used to process | |
1840 | and generate sound, video, 2D/3D graphics, and interface sensors, input | |
1841 | devices, and MIDI. Pd can easily work over local and remote networks to | |
1842 | integrate wearable technology, motor systems, lighting rigs, and other | |
1843 | equipment. Pd is suitable for learning basic multimedia processing and visual | |
1844 | programming methods as well as for realizing complex systems for large-scale | |
1845 | projects.") | |
1846 | (license license:bsd-3))) | |
821664f1 | 1847 | |
6826f1e1 SB |
1848 | (define-public libpd |
1849 | (package | |
1850 | (name "libpd") | |
1851 | (version "0.11.0") | |
1852 | (source (origin | |
1853 | (method git-fetch) | |
1854 | (uri (git-reference | |
1855 | (url "https://github.com/libpd/libpd.git") | |
1856 | (commit version) | |
1857 | (recursive? #t))) ; for the 'pure-data' submodule | |
1858 | (file-name (string-append name "-" version "-checkout")) | |
1859 | (sha256 | |
1860 | (base32 | |
1861 | "1bcg1d9iyf9n37hwwphmih0c8rd1xcqykil5z1cax6xfs76552nk")))) | |
1862 | (build-system gnu-build-system) | |
1863 | (arguments | |
1864 | '(#:tests? #f ; no tests | |
1865 | #:make-flags '("CC=gcc") | |
1866 | #:phases | |
1867 | (modify-phases %standard-phases | |
1868 | (delete 'configure) ; no configure script | |
1869 | (replace 'install | |
1870 | (lambda* (#:key outputs #:allow-other-keys) | |
1871 | (let ((out (assoc-ref outputs "out"))) | |
1872 | (invoke "make" "install" | |
1873 | (string-append "prefix=" out) | |
1874 | ;; XXX: Fix the last 2 lines of 'install' target. | |
1875 | "LIBPD_IMPLIB=NO" | |
1876 | "LIBPD_DEF=NO"))))))) | |
1877 | (home-page "http://libpd.cc/") | |
1878 | (synopsis "Pure Data as an embeddable audio synthesis library") | |
1879 | (description | |
1880 | "Libpd provides Pure Data as an embeddable audio synthesis library. Its | |
1881 | main purpose is to liberate raw audio rendering from audio and MIDI drivers.") | |
1882 | (license license:bsd-3))) | |
1883 | ||
aacb52fb RW |
1884 | (define-public portmidi |
1885 | (package | |
1886 | (name "portmidi") | |
1887 | (version "217") | |
1888 | (source (origin | |
1889 | (method url-fetch) | |
1890 | (uri (string-append "mirror://sourceforge/portmedia/portmidi/" | |
1891 | version "/portmidi-src-" version ".zip")) | |
1892 | (sha256 | |
1893 | (base32 | |
1894 | "03rfsk7z6rdahq2ihy5k13qjzgx757f75yqka88v3gc0pn9ais88")) | |
1895 | (patches (list (search-patch "portmidi-modular-build.patch"))))) | |
1896 | (build-system cmake-build-system) | |
1897 | (arguments | |
3def739d TGR |
1898 | `(#:tests? #f ; tests cannot be linked |
1899 | #:build-type "Release" ; needed to have PMALSA set | |
aacb52fb RW |
1900 | #:configure-flags |
1901 | (list "-DPORTMIDI_ENABLE_JAVA=Off" | |
a374d9c9 NG |
1902 | "-DPORTMIDI_ENABLE_TEST=Off") ; tests fail linking |
1903 | #:phases | |
1904 | (modify-phases %standard-phases | |
1905 | ;; Some packages, e.g., MuseScore, expect "libporttime.so" instead of | |
1906 | ;; "libportmidi.so". Distributions get away with it by creating an | |
1907 | ;; appropriate symlink. | |
1908 | (add-after 'install 'add-porttime | |
1909 | (lambda* (#:key outputs #:allow-other-keys) | |
1910 | (let* ((out (assoc-ref outputs "out")) | |
1911 | (lib (string-append out "/lib"))) | |
1912 | (with-directory-excursion lib | |
1913 | (symlink "libportmidi.so" "libporttime.so"))) | |
1914 | #t))))) | |
aacb52fb RW |
1915 | (inputs |
1916 | `(("alsa-lib" ,alsa-lib))) | |
1917 | (native-inputs | |
1918 | `(("unzip" ,unzip))) | |
1919 | (home-page "http://portmedia.sourceforge.net/portmidi/") | |
1920 | (synopsis "Library for MIDI I/O") | |
1921 | (description | |
1922 | "PortMidi is a library supporting real-time input and output of MIDI data | |
1923 | using a system-independent interface.") | |
1924 | (license license:expat))) | |
f65d59fc | 1925 | |
38098bf7 RW |
1926 | (define-public portmidi-for-extempore |
1927 | (package (inherit portmidi) | |
1928 | (name "portmidi-for-extempore") | |
1929 | (version "217") | |
1930 | (source (origin | |
57906fad RW |
1931 | (method git-fetch) |
1932 | (uri (git-reference | |
1933 | (url "https://github.com/extemporelang/portmidi.git") | |
1934 | (commit version))) | |
1935 | (file-name (git-file-name name version)) | |
38098bf7 RW |
1936 | (sha256 |
1937 | (base32 | |
57906fad | 1938 | "1inriyrjf7xx2b7r54x0vmf9ngyqgr7g5060c22bwkbsgg53apzv")))) |
38098bf7 RW |
1939 | (build-system cmake-build-system) |
1940 | (arguments `(#:tests? #f)) ; no tests | |
1941 | (native-inputs '()) | |
39162ee4 RW |
1942 | ;; Extempore refuses to build on architectures other than x86_64 |
1943 | (supported-systems '("x86_64-linux")) | |
38098bf7 RW |
1944 | (home-page "https://github.com/extemporelang/portmidi/"))) |
1945 | ||
f65d59fc RW |
1946 | (define-public python-pyportmidi |
1947 | (package | |
1948 | (name "python-pyportmidi") | |
1949 | (version (package-version portmidi)) | |
1950 | (source (package-source portmidi)) | |
1951 | (build-system python-build-system) | |
1952 | (arguments | |
1953 | `(#:tests? #f ; no tests included | |
1954 | #:phases | |
1955 | (modify-phases %standard-phases | |
1956 | (add-after 'unpack 'enter-dir | |
1957 | (lambda _ (chdir "pm_python") #t)) | |
1958 | (add-after 'enter-dir 'fix-setup.py | |
1959 | (lambda _ | |
1960 | (substitute* "setup.py" | |
1961 | ;; Use Python 3 syntax | |
1962 | (("print (\".*\")" _ text) | |
1963 | (string-append "print(" text ")\n")) | |
1964 | ;; TODO.txt and CHANGES.txt don't exist | |
1965 | (("CHANGES =.*") "CHANGES = \"\"\n") | |
1966 | (("TODO =.*") "TODO = \"\"\n")) | |
1967 | #t))))) | |
1968 | (inputs | |
1969 | `(("portmidi" ,portmidi) | |
f2516de2 | 1970 | ("alsa-lib" ,alsa-lib))) |
f65d59fc | 1971 | (native-inputs |
f2516de2 HG |
1972 | `(("python-cython" ,python-cython) |
1973 | ("unzip" ,unzip))) | |
f65d59fc RW |
1974 | (home-page "http://portmedia.sourceforge.net/portmidi/") |
1975 | (synopsis "Python bindings to PortMidi") | |
1976 | (description | |
1977 | "This package provides Python bindings to the PortMidi library.") | |
1978 | (license license:expat))) | |
aacb52fb | 1979 | |
821664f1 RW |
1980 | (define-public frescobaldi |
1981 | (package | |
1982 | (name "frescobaldi") | |
e40335b2 | 1983 | (version "3.0.0") |
821664f1 RW |
1984 | (source (origin |
1985 | (method url-fetch) | |
1986 | (uri (string-append | |
1987 | "https://github.com/wbsoft/frescobaldi/releases/download/v" | |
1988 | version "/frescobaldi-" version ".tar.gz")) | |
1989 | (sha256 | |
1990 | (base32 | |
e40335b2 | 1991 | "15cqhbjbjikr7ljgiq56bz2gxrr38j8p0f78p2vhyzydaviy9a2z")))) |
821664f1 | 1992 | (build-system python-build-system) |
a19a6d3a | 1993 | (arguments `(#:tests? #f)) ; no tests included |
821664f1 RW |
1994 | (inputs |
1995 | `(("lilypond" ,lilypond) | |
6855b347 | 1996 | ("portmidi" ,portmidi) |
e40335b2 | 1997 | ("python-pyqt" ,python-pyqt) |
821664f1 | 1998 | ("python-ly" ,python-ly) |
6855b347 | 1999 | ("python-pyportmidi" ,python-pyportmidi) |
821664f1 | 2000 | ("poppler" ,poppler) |
e40335b2 | 2001 | ("python-poppler-qt5" ,python-poppler-qt5) |
821664f1 RW |
2002 | ("python-sip" ,python-sip))) |
2003 | (home-page "http://www.frescobaldi.org/") | |
2004 | (synopsis "LilyPond sheet music text editor") | |
2005 | (description | |
2006 | "Frescobaldi is a LilyPond sheet music text editor with syntax | |
2007 | highlighting and automatic completion. Among other things, it can render | |
2008 | scores next to the source, can capture input from MIDI or read MusicXML and | |
2009 | ABC files, has a MIDI player for proof-listening, and includes a documentation | |
2010 | browser.") | |
2011 | (license license:gpl2+))) | |
ddfddb0c | 2012 | |
bf76d780 RW |
2013 | (define-public drumstick |
2014 | (package | |
2015 | (name "drumstick") | |
d7495560 | 2016 | (version "1.1.2") |
bf76d780 RW |
2017 | (source (origin |
2018 | (method url-fetch) | |
2019 | (uri (string-append "mirror://sourceforge/drumstick/" | |
2020 | version "/drumstick-" version ".tar.bz2")) | |
2021 | (sha256 | |
2022 | (base32 | |
d7495560 | 2023 | "0kljqyqj7s1i2z52i24x7ail1bywn6dcxxfbad5c59drm8wv94bp")))) |
bf76d780 RW |
2024 | (build-system cmake-build-system) |
2025 | (arguments | |
7adaf5b5 | 2026 | `(#:tests? #f ; no test target |
bf76d780 RW |
2027 | #:configure-flags '("-DLIB_SUFFIX=") |
2028 | #:phases | |
2029 | (modify-phases %standard-phases | |
2030 | (add-before 'configure 'fix-docbook | |
2031 | (lambda* (#:key inputs #:allow-other-keys) | |
2032 | (substitute* "cmake_admin/CreateManpages.cmake" | |
2033 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
2034 | (string-append (assoc-ref inputs "docbook-xsl") | |
2035 | "/xml/xsl/docbook-xsl-" | |
2036 | ,(package-version docbook-xsl) | |
2037 | "/manpages/docbook.xsl"))) | |
2038 | #t))))) | |
2039 | (inputs | |
ca1cab82 EF |
2040 | `(("qtbase" ,qtbase) |
2041 | ("qtsvg" ,qtsvg) | |
7adaf5b5 | 2042 | ("alsa-lib" ,alsa-lib))) |
bf76d780 RW |
2043 | (native-inputs |
2044 | `(("pkg-config" ,pkg-config) | |
7adaf5b5 | 2045 | ("libxslt" ,libxslt) ; for xsltproc |
bf76d780 RW |
2046 | ("docbook-xsl" ,docbook-xsl) |
2047 | ("doxygen" ,doxygen))) | |
2048 | (home-page "http://drumstick.sourceforge.net/") | |
2049 | (synopsis "C++ MIDI library") | |
2050 | (description | |
2051 | "Drumstick is a set of MIDI libraries using C++/Qt5 idioms and style. It | |
2052 | includes a C++ wrapper around the ALSA library sequencer interface. A | |
2053 | complementary library provides classes for processing SMF (Standard MIDI | |
2054 | files: .MID/.KAR), Cakewalk (.WRK), and Overture (.OVE) file formats. A | |
2055 | multiplatform realtime MIDI I/O library is also provided with various output | |
2056 | backends, including ALSA, OSS, Network and FluidSynth.") | |
2057 | (license license:gpl2+))) | |
2058 | ||
ddfddb0c RW |
2059 | (define-public zynaddsubfx |
2060 | (package | |
2061 | (name "zynaddsubfx") | |
5f88d81f | 2062 | (version "3.0.5") |
ddfddb0c RW |
2063 | (source (origin |
2064 | (method url-fetch) | |
2065 | (uri (string-append | |
2066 | "mirror://sourceforge/zynaddsubfx/zynaddsubfx/" | |
138e7697 | 2067 | version "/zynaddsubfx-" version ".tar.bz2")) |
ddfddb0c RW |
2068 | (sha256 |
2069 | (base32 | |
5f88d81f | 2070 | "0qwzg14h043rmyf9jqdylxhyfy4sl0vsr0gjql51wjhid0i34ivl")))) |
ddfddb0c | 2071 | (build-system cmake-build-system) |
00dfc97c RW |
2072 | (arguments |
2073 | `(#:phases | |
2074 | (modify-phases %standard-phases | |
2075 | ;; Move SSE compiler optimization flags from generic target to | |
2076 | ;; athlon64 and core2 targets, because otherwise the build would fail | |
2077 | ;; on non-Intel machines. | |
2078 | (add-after 'unpack 'remove-sse-flags-from-generic-target | |
2079 | (lambda _ | |
2080 | (substitute* "src/CMakeLists.txt" | |
2081 | (("-msse -msse2 -mfpmath=sse") "") | |
2082 | (("-march=(athlon64|core2)" flag) | |
2083 | (string-append flag " -msse -msse2 -mfpmath=sse"))) | |
2084 | #t))))) | |
ddfddb0c RW |
2085 | (inputs |
2086 | `(("liblo" ,liblo) | |
2087 | ("ntk" ,ntk) | |
1ea7969f | 2088 | ("mesa" ,mesa) |
ddfddb0c RW |
2089 | ("alsa-lib" ,alsa-lib) |
2090 | ("jack" ,jack-1) | |
2091 | ("fftw" ,fftw) | |
2092 | ("minixml" ,minixml) | |
2093 | ("libxpm" ,libxpm) | |
2094 | ("zlib" ,zlib))) | |
2095 | (native-inputs | |
2096 | `(("pkg-config" ,pkg-config))) | |
2097 | (home-page "http://zynaddsubfx.sf.net/") | |
2098 | (synopsis "Software synthesizer") | |
2099 | (description | |
2100 | "ZynAddSubFX is a feature heavy realtime software synthesizer. It offers | |
2101 | three synthesizer engines, multitimbral and polyphonic synths, microtonal | |
2102 | capabilities, custom envelopes, effects, etc.") | |
2103 | (license license:gpl2))) | |
c493679f RW |
2104 | |
2105 | (define-public yoshimi | |
2106 | (package | |
2107 | (name "yoshimi") | |
d935f69b | 2108 | (version "1.5.10.2") |
c493679f RW |
2109 | (source (origin |
2110 | (method url-fetch) | |
2111 | (uri (string-append "mirror://sourceforge/yoshimi/" | |
2112 | (version-major+minor version) | |
2113 | "/yoshimi-" version ".tar.bz2")) | |
2114 | (sha256 | |
2115 | (base32 | |
d935f69b | 2116 | "1rr99qkq80s8l2iv3x4ccxan07m15dvmd5s9b10386bfjbwbya01")))) |
c493679f RW |
2117 | (build-system cmake-build-system) |
2118 | (arguments | |
2119 | `(#:tests? #f ; there are no tests | |
2120 | #:configure-flags | |
2121 | (list (string-append "-DCMAKE_INSTALL_DATAROOTDIR=" | |
2122 | (assoc-ref %outputs "out") "/share")) | |
2123 | #:phases | |
2124 | (modify-phases %standard-phases | |
2125 | (add-before 'configure 'enter-dir | |
2126 | (lambda _ (chdir "src") #t)) | |
2127 | ;; Move SSE compiler optimization flags from generic target to | |
2128 | ;; athlon64 and core2 targets, because otherwise the build would fail | |
2129 | ;; on non-Intel machines. | |
2130 | (add-after 'unpack 'remove-sse-flags-from-generic-target | |
2131 | (lambda _ | |
2132 | (substitute* "src/CMakeLists.txt" | |
2133 | (("-msse -msse2 -mfpmath=sse") "") | |
2134 | (("-march=(athlon64|core2)" flag) | |
2135 | (string-append flag " -msse -msse2 -mfpmath=sse"))) | |
5edc8682 | 2136 | #t))))) |
c493679f RW |
2137 | (inputs |
2138 | `(("boost" ,boost) | |
2139 | ("fftwf" ,fftwf) | |
2140 | ("alsa-lib" ,alsa-lib) | |
2141 | ("jack" ,jack-1) | |
2142 | ("fontconfig" ,fontconfig) | |
2143 | ("minixml" ,minixml) | |
2144 | ("mesa" ,mesa) | |
2145 | ("fltk" ,fltk) | |
2146 | ("lv2" ,lv2) | |
2147 | ("readline" ,readline) | |
2148 | ("ncurses" ,ncurses) | |
2149 | ("cairo" ,cairo) | |
2150 | ("zlib" ,zlib))) | |
2151 | (native-inputs | |
2152 | `(("pkg-config" ,pkg-config))) | |
2153 | (home-page "http://yoshimi.sourceforge.net/") | |
2154 | (synopsis "Multi-paradigm software synthesizer") | |
2155 | (description | |
edfa2eee | 2156 | "Yoshimi is a fork of ZynAddSubFX, a feature-heavy real-time software |
c493679f RW |
2157 | synthesizer. It offers three synthesizer engines, multitimbral and polyphonic |
2158 | synths, microtonal capabilities, custom envelopes, effects, etc. Yoshimi | |
2159 | improves on support for JACK features, such as JACK MIDI.") | |
2160 | (license license:gpl2))) | |
658212eb | 2161 | |
e87cb754 RW |
2162 | (define-public libgig |
2163 | (package | |
2164 | (name "libgig") | |
38146797 | 2165 | (version "4.1.0") |
e87cb754 RW |
2166 | (source (origin |
2167 | (method url-fetch) | |
2168 | (uri (string-append "http://download.linuxsampler.org/packages/" | |
2169 | "libgig-" version ".tar.bz2")) | |
2170 | (sha256 | |
2171 | (base32 | |
38146797 | 2172 | "02xx6bqxzgkvrawwnzrnxx1ypk244q4kpwfd58266f9ji8kq18h6")))) |
e87cb754 RW |
2173 | (build-system gnu-build-system) |
2174 | (inputs | |
2175 | `(("libuuid" ,util-linux) | |
2176 | ("libsndfile" ,libsndfile))) | |
2177 | (native-inputs | |
2178 | `(("pkg-config" ,pkg-config))) | |
2179 | (home-page "http://linuxsampler.org/libgig/") | |
2180 | (synopsis "C++ library for working with Gigasampler (.gig) files") | |
2181 | (description | |
2182 | "Libgig is a C++ library for loading, modifying existing and creating new | |
2183 | Gigasampler (.gig) files and DLS (Downloadable Sounds) Level 1/2 files, KORG | |
2184 | sample based instruments (.KSF and .KMP files), SoundFont v2 (.sf2) files and | |
2185 | AKAI sampler data. The package includes a couple of command line tools based | |
2186 | on the library.") | |
2187 | ;; The library and tools are released under the GPL, except the AKAI | |
2188 | ;; classes which are released under the LGPL. | |
2189 | (license (list license:gpl2+ license:lgpl2.1+)))) | |
2190 | ||
a9f55bf2 RW |
2191 | (define-public jack-keyboard |
2192 | (package | |
2193 | (name "jack-keyboard") | |
2194 | (version "2.5") | |
2195 | (source | |
2196 | (origin | |
2197 | (method url-fetch) | |
2198 | (uri (string-append "mirror://sourceforge/jack-keyboard/jack-keyboard/" | |
2199 | version "/jack-keyboard-" version ".tar.gz")) | |
2200 | (sha256 | |
2201 | (base32 | |
2202 | "0mzmg8aavybcfdlq2yd9d0vscqd6is5p6jzrgfpfm5j3xdcvh2s3")))) | |
2203 | (build-system gnu-build-system) | |
2204 | (inputs | |
2205 | `(("jack" ,jack-1) | |
2206 | ("lash" ,lash) | |
2207 | ("gtk+" ,gtk+-2))) | |
2208 | (native-inputs | |
2209 | `(("pkg-config" ,pkg-config))) | |
2210 | (home-page "http://jack-keyboard.sourceforge.net/") | |
2211 | (synopsis "Virtual MIDI keyboard") | |
2212 | (description "Jack-keyboard is a virtual MIDI keyboard, a program that | |
2213 | allows you to send JACK MIDI events (i.e. play) using your PC keyboard.") | |
2214 | (license license:bsd-2))) | |
2215 | ||
39b33584 RW |
2216 | (define-public jack-capture |
2217 | (package | |
2218 | (name "jack-capture") | |
2219 | (version "0.9.73") | |
2220 | (source (origin | |
2221 | (method git-fetch) | |
2222 | (uri (git-reference | |
2223 | (url "https://github.com/kmatheussen/jack_capture.git") | |
2224 | (commit version))) | |
2225 | (file-name (string-append name "-" version "-checkout")) | |
2226 | (sha256 | |
2227 | (base32 | |
2228 | "0jcqky96q8xgya6wqv1p8pj9fkf2wh7ynl67ah7x5bn3basgfclf")))) | |
2229 | (build-system gnu-build-system) | |
2230 | (arguments | |
2231 | `(#:make-flags | |
2232 | (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) | |
2233 | #:tests? #f ; there are none | |
2234 | #:phases | |
2235 | (modify-phases %standard-phases | |
2236 | (delete 'configure)))) | |
2237 | (native-inputs | |
2238 | `(("pkg-config" ,pkg-config) | |
2239 | ("which" ,which))) | |
2240 | (inputs | |
2241 | `(("gtk+" ,gtk+-2) | |
2242 | ("jack" ,jack-1) | |
2243 | ("libogg" ,libogg) | |
2244 | ("liblo" ,liblo) | |
2245 | ("lame" ,lame) | |
2246 | ("libsndfile" ,libsndfile))) | |
2247 | (home-page "https://github.com/kmatheussen/jack_capture") | |
2248 | (synopsis "Program for recording sound files with JACK") | |
2249 | (description "This is a program for recording sound files with JACK. It | |
2250 | can connect to any JACK port and record the output into a stereo WAV file.") | |
2251 | (license license:gpl2+))) | |
2252 | ||
658212eb LF |
2253 | (define-public cursynth |
2254 | (package | |
2255 | (name "cursynth") | |
2256 | (version "1.5") | |
2257 | (source | |
2258 | (origin | |
2259 | (method url-fetch) | |
2260 | (uri (string-append "mirror://gnu/cursynth/cursynth-" | |
2261 | version ".tar.gz")) | |
2262 | (sha256 | |
2263 | (base32 "1dhphsya41rv8z6yqcv9l6fwbslsds4zh1y56zizi39nd996d40v")) | |
fc1adab1 | 2264 | (patches (search-patches "cursynth-wave-rand.patch")))) |
658212eb LF |
2265 | (build-system gnu-build-system) |
2266 | (native-inputs `(("pkg-config" ,pkg-config))) | |
2267 | ;; TODO: See https://github.com/iyoko/cursynth/issues/4 which currently | |
2268 | ;; prevents us from using pulseaudio | |
2269 | (inputs `(("ncurses" ,ncurses) | |
2270 | ("alsa" ,alsa-lib))) | |
6fd52309 | 2271 | (home-page "https://www.gnu.org/software/cursynth/") |
658212eb LF |
2272 | (synopsis "Polyphonic and MIDI subtractive music synthesizer using curses") |
2273 | (description "GNU cursynth is a polyphonic synthesizer that runs | |
2274 | graphically in the terminal. It is built on a full-featured subtractive | |
2275 | synthesis engine. Notes and parameter changes may be entered via MIDI or the | |
2276 | computer's keyboard.") | |
2277 | (license license:gpl3+))) | |
a763ce7d | 2278 | |
13edf1b9 RW |
2279 | (define-public aj-snapshot |
2280 | (package | |
2281 | (name "aj-snapshot") | |
bc03fe69 | 2282 | (version "0.9.9") |
13edf1b9 RW |
2283 | (source (origin |
2284 | (method url-fetch) | |
2285 | (uri (string-append "mirror://sourceforge/aj-snapshot/" | |
2286 | "aj-snapshot-" version ".tar.bz2")) | |
2287 | (sha256 | |
2288 | (base32 | |
bc03fe69 | 2289 | "0z8wd5yvxdmw1h1rj6km9h01xd4xmp4d86gczlix7hsc7zrf0wil")))) |
13edf1b9 RW |
2290 | (build-system gnu-build-system) |
2291 | (inputs | |
2292 | `(("minixml" ,minixml) | |
2293 | ("jack" ,jack-1) | |
2294 | ("alsa-lib" ,alsa-lib))) | |
2295 | (native-inputs | |
2296 | `(("pkg-config" ,pkg-config))) | |
2297 | (home-page "http://aj-snapshot.sourceforge.net/") | |
2298 | (synopsis "Snapshot connections between ALSA and JACK clients") | |
2299 | (description "Aj-snapshot is a small program that can be used to make | |
2300 | snapshots of the connections made between JACK and/or ALSA clients. Because | |
2301 | JACK can provide both audio and MIDI support to programs, aj-snapshot can | |
2302 | store both types of connections for JACK. ALSA, on the other hand, only | |
2303 | provides routing facilities for MIDI clients. Aj-snapshot is meant to be used | |
2304 | from the command line.") | |
2305 | (license license:gpl3+))) | |
2306 | ||
a763ce7d RW |
2307 | (define-public qtractor |
2308 | (package | |
2309 | (name "qtractor") | |
95bf4508 | 2310 | (version "0.9.6") |
a763ce7d RW |
2311 | (source (origin |
2312 | (method url-fetch) | |
2313 | (uri (string-append "http://downloads.sourceforge.net/qtractor/" | |
2314 | "qtractor-" version ".tar.gz")) | |
2315 | (sha256 | |
2316 | (base32 | |
95bf4508 | 2317 | "06sa4wl8zr0k8dnjiil0gjwnhrkq95h50xv56ih1y8jgyzxchaxp")))) |
a763ce7d | 2318 | (build-system gnu-build-system) |
42639cc9 | 2319 | (arguments |
d56eee86 | 2320 | `(#:tests? #f)) ; no "check" target |
a763ce7d | 2321 | (inputs |
523544d3 RW |
2322 | `(("qt" ,qtbase) |
2323 | ("qtx11extras" ,qtx11extras) | |
a763ce7d RW |
2324 | ("alsa-lib" ,alsa-lib) |
2325 | ("jack" ,jack-1) | |
2326 | ("libsndfile" ,libsndfile) | |
2327 | ("ladspa" ,ladspa) | |
2328 | ("lv2" ,lv2) | |
2329 | ("lilv" ,lilv) | |
2330 | ("suil" ,suil) | |
2331 | ("libsamplerate" ,libsamplerate) | |
2332 | ("libvorbis" ,libvorbis) | |
2333 | ("libmad" ,libmad) | |
2334 | ("rubberband" ,rubberband) | |
2335 | ("liblo" ,liblo) | |
2336 | ("zlib" ,zlib))) | |
2337 | (native-inputs | |
523544d3 RW |
2338 | `(("pkg-config" ,pkg-config) |
2339 | ("qttools" ,qttools))) | |
8071bbbc | 2340 | (home-page "http://qtractor.org/") |
a763ce7d RW |
2341 | (synopsis "Audio/MIDI multi-track sequencer") |
2342 | (description | |
2343 | "Qtractor is an Audio/MIDI multi-track sequencer application. It uses | |
2344 | JACK for audio and ALSA sequencer for MIDI as multimedia infrastructures and | |
2345 | follows a traditional multi-track tape recorder control paradigm.") | |
2346 | (license license:gpl2+))) | |
aa0edd3f | 2347 | |
849c3d03 | 2348 | (define-public ams-lv2 |
e029d90f BH |
2349 | ;; Version 1.2.1 built with Python 3.7 raises an error in the waf-script. |
2350 | ;; Therefore, we take two more commmits than 1.2.1 that introduce an updated | |
2351 | ;; waf-script and fix one error. | |
2352 | (let ((commit "377d166db54a787b48979171c5652d2eb4f1bbb5") | |
2353 | (revision "1")) | |
2354 | (package | |
2355 | (name "ams-lv2") | |
2356 | (version (git-version "1.2.1" revision commit)) | |
2357 | (source | |
2358 | (origin | |
2359 | (method git-fetch) | |
2360 | (uri (git-reference | |
2361 | (url "https://github.com/blablack/ams-lv2.git") | |
2362 | (commit commit))) | |
2363 | (file-name (git-file-name name version)) | |
2364 | (sha256 | |
2365 | (base32 | |
2366 | "1ndgxcxjxwidg7436k0nb5clxkyi878k1j999sbbd1gk2fm0kcqm")))) | |
2367 | (build-system waf-build-system) | |
2368 | (arguments | |
2369 | `(#:phases | |
2370 | (modify-phases %standard-phases | |
2371 | (add-after 'unpack 'remove-sse-flags | |
2372 | (lambda* (#:key system #:allow-other-keys) | |
6cbb2c87 BH |
2373 | (unless (or (string-prefix? "x86_64" system) |
2374 | (string-prefix? "i686" system)) | |
e029d90f | 2375 | (substitute* "wscript" |
6cbb2c87 BH |
2376 | (("'-msse', '-mfpmath=sse', ") ""))) |
2377 | #t))) | |
e029d90f BH |
2378 | #:tests? #f)) ; no tests |
2379 | (inputs | |
2380 | `(("lv2" ,lv2) | |
2381 | ("lvtk" ,lvtk) | |
2382 | ("gtkmm" ,gtkmm-2) | |
2383 | ("gtk" ,gtk+-2) | |
2384 | ("cairo" ,cairo) | |
2385 | ("fftw" ,fftw))) | |
2386 | (native-inputs | |
2387 | `(("pkg-config" ,pkg-config))) | |
2388 | (home-page "https://objectivewave.wordpress.com/ams-lv2/") | |
2389 | (synopsis "Port of Alsa Modular Synth internal modules into LV2") | |
2390 | (description "This set of LV2 plugins is a port of the internal modules | |
849c3d03 RW |
2391 | found in Alsa Modular Synth. These plugins are used to create modular |
2392 | synthesizers and contain: VCO, VCF, VCA, LFO, slew limiter, envelopes, sample | |
2393 | and hold, etc.") | |
e029d90f | 2394 | (license license:gpl2)))) |
849c3d03 | 2395 | |
aed023ff RW |
2396 | (define-public gxtuner |
2397 | (package | |
2398 | (name "gxtuner") | |
f5e0ff0f | 2399 | (version "2.4") |
aed023ff | 2400 | (source (origin |
bed4eb37 RW |
2401 | (method git-fetch) |
2402 | (uri (git-reference | |
2403 | (url "https://github.com/brummer10/gxtuner.git") | |
2404 | (commit (string-append "v" version)))) | |
2405 | (file-name (git-file-name name version)) | |
aed023ff RW |
2406 | (sha256 |
2407 | (base32 | |
bed4eb37 | 2408 | "1fxd2akan2njlr7fpkh84830783qhh1gg7yakswqk5dd466dcn96")))) |
aed023ff RW |
2409 | (build-system gnu-build-system) |
2410 | (arguments | |
2411 | `(#:make-flags | |
2412 | (list (string-append "PREFIX=" (assoc-ref %outputs "out")) | |
2413 | (string-append "INCLUDE_L_DIR=" | |
2414 | (assoc-ref %build-inputs "zita-resampler") | |
2415 | "/include/")) | |
2416 | #:phases | |
2417 | (modify-phases %standard-phases | |
2418 | (delete 'configure)))) | |
2419 | (inputs | |
f5e0ff0f | 2420 | `(("gtk+" ,gtk+) |
aed023ff RW |
2421 | ("jack" ,jack-1) |
2422 | ("fftwf" ,fftwf) | |
2423 | ("cairo" ,cairo) | |
2424 | ("zita-resampler" ,zita-resampler))) | |
2425 | (native-inputs | |
2426 | `(("pkg-config" ,pkg-config))) | |
2427 | (home-page "https://github.com/brummer10/gxtuner") | |
2428 | (synopsis "Guitar tuner") | |
2429 | (description "GXtuner is a simple guitar tuner for JACK with an | |
2430 | analogue-like user interface.") | |
2431 | (license license:gpl2+))) | |
2432 | ||
c2c9e748 | 2433 | (define-public mod-host |
9f1ac4fa | 2434 | ;; The last release was in 2014 but since then hundreds of commits have |
c2c9e748 | 2435 | ;; been made. |
9f1ac4fa RW |
2436 | (let ((commit "1726ad06b11323da7e1aaed690ff8aef91f702b5") |
2437 | (revision "3")) | |
c2c9e748 RW |
2438 | (package |
2439 | (name "mod-host") | |
2440 | (version (string-append "0.10.6-" revision "." (string-take commit 9))) | |
2441 | (source (origin | |
2442 | (method git-fetch) | |
2443 | (uri (git-reference | |
2444 | (url "https://github.com/moddevices/mod-host") | |
2445 | (commit commit))) | |
2446 | (sha256 | |
2447 | (base32 | |
9f1ac4fa | 2448 | "1nrd37c35w6z6ldczgrwmmd9hx1n3zyvcjcgb3mi4cygqdanvspv")) |
c2c9e748 RW |
2449 | (file-name (string-append name "-" version "-checkout")))) |
2450 | (build-system gnu-build-system) | |
2451 | (arguments | |
2452 | `(#:tests? #f ; no tests included | |
2453 | #:make-flags | |
2454 | (list (string-append "PREFIX=" (assoc-ref %outputs "out")) | |
2455 | "CC=gcc") | |
2456 | #:phases | |
2457 | (modify-phases %standard-phases | |
2458 | (delete 'configure) | |
2459 | (add-after 'unpack 'fix-jack-installation-directory | |
2460 | (lambda _ | |
2461 | ;; Do not attempt to install files to output of "jack" package. | |
2462 | (substitute* "Makefile" | |
2463 | (("\\$\\(shell pkg-config --variable=libdir jack\\)") | |
2464 | "lib")) | |
2465 | #t))))) | |
2466 | (inputs | |
2467 | `(("lilv" ,lilv) | |
c96cb01a DC |
2468 | ("fftw" ,fftw) |
2469 | ("fftwf" ,fftwf) | |
c2c9e748 RW |
2470 | ("lv2" ,lv2) |
2471 | ("jack" ,jack-1) | |
2472 | ("readline" ,readline))) | |
2473 | (native-inputs | |
2474 | `(("pkg-config" ,pkg-config) | |
2475 | ("python" ,python-2))) | |
2476 | (home-page "https://github.com/moddevices/mod-host") | |
2477 | (synopsis "LV2 host for Jack controllable via socket or command line") | |
2478 | (description "mod-host is an LV2 plugin host for JACK, controllable via | |
2479 | socket or command line.") | |
2480 | (license license:gpl3+)))) | |
2481 | ||
19d93ef5 SR |
2482 | (define-public curseradio |
2483 | (let ((commit "1bd4bd0faeec675e0647bac9a100b526cba19f8d") | |
2484 | (revision "1")) | |
2485 | (package | |
2486 | (name "curseradio") | |
2487 | (version (git-version "0" revision commit)) | |
2488 | (source (origin | |
2489 | (method git-fetch) | |
2490 | (uri (git-reference | |
2491 | (url "https://github.com/chronitis/curseradio.git") | |
2492 | (commit commit))) | |
2493 | (file-name (git-file-name name version)) | |
2494 | (sha256 | |
2495 | (base32 | |
2496 | "11bf0jnj8h2fxhpdp498189r4s6b47vy4wripv0z4nx7lxajl88i")))) | |
2497 | (build-system python-build-system) | |
2498 | (propagated-inputs | |
2499 | `(("python-lxml" ,python-lxml) | |
2500 | ("python-requests" ,python-requests) | |
2501 | ("python-pyxdg" ,python-pyxdg) | |
2502 | ("mpv" ,mpv))) | |
2503 | (home-page "https://github.com/chronitis/curseradio") | |
2504 | (synopsis "Command-line Internet radio player") | |
2505 | (description "Curseradio is a Curses-based radio player that uses a | |
2506 | tune-in sender list from @url{http://opml.radiotime.com}.") | |
2507 | (license license:expat)))) | |
2508 | ||
aa0edd3f AM |
2509 | (define-public pianobar |
2510 | (package | |
2511 | (name "pianobar") | |
3999b664 | 2512 | (version "2016.06.02") |
aa0edd3f | 2513 | (source (origin |
1410e178 RW |
2514 | (method git-fetch) |
2515 | (uri (git-reference | |
2516 | (url "https://github.com/PromyLOPh/pianobar.git") | |
2517 | (commit version))) | |
2518 | (file-name (git-file-name name version)) | |
aa0edd3f AM |
2519 | (sha256 |
2520 | (base32 | |
1410e178 | 2521 | "058fbdxp7n35hxwy3b8slfy4pb4n63cb173vfmywqa06wh1dv6f6")))) |
aa0edd3f AM |
2522 | (build-system gnu-build-system) |
2523 | (arguments | |
2524 | `(#:tests? #f ; no tests | |
2525 | #:make-flags (list "CC=gcc" "CFLAGS=-std=c99" | |
2526 | (string-append "PREFIX=" %output)) | |
2527 | #:phases (modify-phases %standard-phases | |
2528 | (delete 'configure)))) | |
2529 | (inputs | |
2530 | `(("ao" ,ao) | |
2531 | ("curl" ,curl) | |
2532 | ("libgcrypt" ,libgcrypt) | |
2533 | ("json-c" ,json-c) | |
bb5c508c | 2534 | ("ffmpeg" ,ffmpeg-3.4))) |
aa0edd3f AM |
2535 | (native-inputs |
2536 | `(("pkg-config" ,pkg-config))) | |
2537 | (home-page "http://6xq.net/projects/pianobar/") | |
2538 | (synopsis "Console-based pandora.com player") | |
2539 | (description "pianobar is a console-based music player for the | |
2540 | personalized online radio pandora.com. It has configurable keys for playing | |
2541 | and managing stations, can be controlled remotely via fifo, and can run | |
2542 | event-based scripts for scrobbling, notifications, etc.") | |
2543 | (license license:expat))) | |
3f7a182d | 2544 | |
1deab8cb CB |
2545 | (define-public picard |
2546 | (package | |
2547 | (name "picard") | |
b421e915 | 2548 | (version "2.1.3") |
1deab8cb CB |
2549 | (source (origin |
2550 | (method url-fetch) | |
2551 | (uri (string-append | |
2552 | "https://musicbrainz.osuosl.org/pub/musicbrainz/" | |
2553 | "picard/picard-" version ".tar.gz")) | |
2554 | (sha256 | |
2555 | (base32 | |
b421e915 | 2556 | "19w5k3bf4886gdycxjds9nkjvir0gwy2r5cqkz0lbls4ikk4y14f")))) |
1deab8cb CB |
2557 | (build-system python-build-system) |
2558 | (arguments | |
251448f7 TGR |
2559 | '(#:use-setuptools? #f |
2560 | #:configure-flags | |
2561 | (list "--root=/") | |
2562 | #:phases | |
1deab8cb CB |
2563 | (modify-phases %standard-phases |
2564 | (add-after 'unpack 'patch-source | |
2565 | (lambda* (#:key inputs #:allow-other-keys) | |
2566 | (substitute* "picard/const/__init__.py" | |
2567 | (("pyfpcalc") | |
2568 | (string-append | |
2569 | "pyfpcalc', '" | |
e247244e TGR |
2570 | (assoc-ref inputs "chromaprint") "/bin/fpcalc"))) |
2571 | #t))))) | |
1deab8cb CB |
2572 | (native-inputs |
2573 | `(("gettext" ,gettext-minimal))) | |
2574 | (inputs | |
2575 | `(("chromaprint" ,chromaprint) | |
2576 | ("python-pyqt" ,python-pyqt) | |
2577 | ("python-mutagen" ,python-mutagen))) | |
2578 | (home-page "https://picard.musicbrainz.org/") | |
2579 | (synopsis "Graphical music tagging application") | |
2580 | (description | |
2581 | "MusicBrainz Picard is a music tagging application, supporting multiple | |
2582 | formats, looking up tracks through metadata and audio fingerprints.") | |
2583 | (license license:gpl2+))) | |
2584 | ||
3f7a182d LF |
2585 | (define-public python-mutagen |
2586 | (package | |
2587 | (name "python-mutagen") | |
e39aae4f | 2588 | (version "1.38") |
3f7a182d LF |
2589 | (source (origin |
2590 | (method url-fetch) | |
2591 | (uri (pypi-uri "mutagen" version)) | |
2592 | (sha256 | |
2593 | (base32 | |
e39aae4f | 2594 | "0rl7sxn1rcjl48fwga3dqf9f6pzspsny4ngxyf6pp337mrq0z693")))) |
3f7a182d | 2595 | (build-system python-build-system) |
4228a79e LF |
2596 | (native-inputs |
2597 | `(("python-pytest" ,python-pytest))) | |
3f7a182d LF |
2598 | (home-page "https://bitbucket.org/lazka/mutagen") |
2599 | (synopsis "Read and write audio tags") | |
2600 | (description "Mutagen is a Python module to handle audio metadata. It | |
2601 | supports ASF, FLAC, M4A, Monkey’s Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg | |
2602 | Theora, Ogg Vorbis, True Audio, WavPack and OptimFROG audio files. All versions | |
2603 | of ID3v2 are supported, and all standard ID3v2.4 frames are parsed. It can read | |
2604 | Xing headers to accurately calculate the bitrate and length of MP3s. ID3 and | |
2605 | APEv2 tags can be edited regardless of audio format. It can also manipulate Ogg | |
2606 | streams on an individual packet/page level.") | |
2607 | (license license:gpl2))) ; "later version" never mentioned | |
2608 | ||
2609 | (define-public python2-mutagen | |
2610 | (package-with-python2 python-mutagen)) | |
8975de88 LF |
2611 | |
2612 | (define-public python-musicbrainzngs | |
2613 | (package | |
2614 | (name "python-musicbrainzngs") | |
daedf34d | 2615 | (version "0.6") |
8975de88 LF |
2616 | (source (origin |
2617 | (method url-fetch) | |
2618 | (uri (pypi-uri "musicbrainzngs" version)) | |
2619 | (sha256 | |
2620 | (base32 | |
daedf34d | 2621 | "1dddarpjawryll2wss65xq3v9q8ln8dan7984l5dxzqx88d2dvr8")))) |
8975de88 | 2622 | (build-system python-build-system) |
daedf34d LF |
2623 | (arguments |
2624 | '(;; The tests fail suffer from race conditions: | |
2625 | ;; https://github.com/alastair/python-musicbrainzngs/issues/211 | |
2626 | #:tests? #f)) | |
8975de88 LF |
2627 | (home-page "https://python-musicbrainzngs.readthedocs.org/") |
2628 | (synopsis "Python bindings for MusicBrainz NGS webservice") | |
2629 | (description "Musicbrainzngs implements Python bindings of the MusicBrainz | |
2630 | web service. This library can be used to retrieve music metadata from the | |
2631 | MusicBrainz database.") | |
2632 | ;; 'musicbrainzngs/compat.py' is ISC licensed. | |
2633 | (license (list license:bsd-2 license:isc)))) | |
2634 | ||
2635 | (define-public python2-musicbrainzngs | |
2636 | (package-with-python2 python-musicbrainzngs)) | |
e8fee648 | 2637 | |
07c82daa GH |
2638 | (define-public python-isrcsubmit |
2639 | (package | |
2640 | (name "python-isrcsubmit") | |
2641 | (version "2.0.1") | |
2642 | (source | |
2643 | (origin | |
2644 | (method url-fetch) | |
2645 | (uri (pypi-uri "isrcsubmit" version)) | |
2646 | (sha256 | |
2647 | (base32 | |
2648 | "0jh4cni8qhri6dh83cmp0i0m0384vv0vznlygv49wj9xzh1d99qv")))) | |
2649 | (build-system python-build-system) | |
2650 | (propagated-inputs | |
2651 | `(("python-discid" ,python-discid) | |
2652 | ("python-musicbrainzngs" ,python-musicbrainzngs))) | |
2653 | (home-page "https://github.com/JonnyJD/musicbrainz-isrcsubmit") | |
2654 | (synopsis "Submit ISRCs from CDs to MusicBrainz") | |
2655 | (description "@code{isrcsubmit} is a tool to extract @dfn{International | |
2656 | Standard Recording Code} (ISRCs) from audio CDs and submit them to | |
2657 | @url{https://musicbrainz.org/, MusicBrainz}.") | |
2658 | (license license:gpl3+))) | |
2659 | ||
a2eab422 | 2660 | (define-public python2-pyechonest |
e8fee648 | 2661 | (package |
a2eab422 | 2662 | (name "python2-pyechonest") |
e8fee648 LF |
2663 | (version "9.0.0") |
2664 | (source (origin | |
2665 | (method url-fetch) | |
2666 | (uri (pypi-uri "pyechonest" version)) | |
2667 | (sha256 | |
2668 | (base32 | |
2669 | "1584nira3rkiman9dm81kdshihmkj21s8navndz2l8spnjwb790x")))) | |
2670 | (build-system python-build-system) | |
a2eab422 LF |
2671 | (arguments |
2672 | `(;; Python 3 is not supported: | |
2673 | ;; https://github.com/echonest/pyechonest/issues/42 | |
2674 | #:python ,python-2)) | |
e8fee648 LF |
2675 | (home-page "https://github.com/echonest/pyechonest") |
2676 | (synopsis "Python interface to The Echo Nest APIs") | |
d3e3468f LF |
2677 | (description "Pyechonest is a Python library for the Echo Nest API. With |
2678 | Pyechonest you have Python access to the entire set of API methods including: | |
e8fee648 LF |
2679 | |
2680 | @enumerate | |
2681 | @item artist - search for artists by name, description, or attribute, and get | |
2682 | back detailed information about any artist including audio, similar artists, | |
2683 | blogs, familiarity, hotttnesss, news, reviews, urls and video. | |
2684 | @item song - search songs by artist, title, description, or attribute (tempo, | |
2685 | duration, etc) and get detailed information back about each song, such as | |
2686 | hotttnesss, audio_summary, or tracks. | |
2687 | @item track - upload a track to the Echo Nest and receive summary information | |
2688 | about the track including key, duration, mode, tempo, time signature along with | |
2689 | detailed track info including timbre, pitch, rhythm and loudness information. | |
2690 | @end enumerate\n") | |
a2eab422 | 2691 | (license license:bsd-3))) |
acd7351f LF |
2692 | |
2693 | (define-public python-pylast | |
2694 | (package | |
2695 | (name "python-pylast") | |
653f2b92 | 2696 | (version "2.0.0") |
acd7351f LF |
2697 | (source (origin |
2698 | (method url-fetch) | |
2699 | (uri (pypi-uri "pylast" version)) | |
2700 | (sha256 | |
2701 | (base32 | |
653f2b92 | 2702 | "0r9h7g8i8l2mgqjwkda3v6prfbkb2im5kap1az9ppmhjm9i4jkcf")))) |
acd7351f | 2703 | (build-system python-build-system) |
653f2b92 RW |
2704 | ;; Tests require network access. See |
2705 | ;; https://github.com/pylast/pylast/issues/105 | |
2706 | (arguments '(#:tests? #f)) | |
acd7351f LF |
2707 | (native-inputs |
2708 | `(("python-coverage" ,python-coverage) | |
653f2b92 | 2709 | ("python-pycodestyle" ,python-pycodestyle) |
acd7351f LF |
2710 | ("python-mock" ,python-mock) |
2711 | ("python-pep8" ,python-pep8) | |
2712 | ("python-pytest" ,python-pytest) | |
653f2b92 | 2713 | ("python-flaky" ,python-flaky) |
acd7351f LF |
2714 | ("python-pyflakes" ,python-pyflakes) |
2715 | ("python-pyyaml" ,python-pyyaml))) | |
2716 | (propagated-inputs | |
2717 | `(("python-six" ,python-six))) | |
2718 | (home-page "https://github.com/pylast/pylast") | |
2719 | (synopsis "Python interface to Last.fm and Libre.fm") | |
2720 | (description "A Python interface to Last.fm and other API-compatible | |
2721 | websites such as Libre.fm.") | |
5c31f4aa | 2722 | (license license:asl2.0))) |
acd7351f LF |
2723 | |
2724 | (define-public python2-pylast | |
5c31f4aa | 2725 | (package-with-python2 python-pylast)) |
3bf429af | 2726 | |
b0dea60c SR |
2727 | (define-public instantmusic |
2728 | (let ((commit "300891d09c703525215fa5a116b9294af1c923c8") | |
2729 | (revision "1")) | |
2730 | (package | |
2731 | (name "instantmusic") | |
2732 | (version (git-version "1.0" revision commit)) | |
2733 | (source (origin | |
2734 | (method git-fetch) | |
2735 | (uri (git-reference | |
2736 | (url "https://github.com/yask123/Instant-Music-Downloader.git") | |
2737 | (commit commit))) | |
2738 | (file-name (git-file-name name version)) | |
2739 | (sha256 | |
2740 | (base32 | |
2741 | "0j7qivaa04bpdz3anmgci5833dgiyfqqwq9fdrpl9m68b34gl773")))) | |
2742 | (build-system python-build-system) | |
2743 | (propagated-inputs | |
2744 | `(("python-requests" ,python-requests) | |
c695fb76 | 2745 | ("eyed3" ,eyed3) |
b0dea60c SR |
2746 | ("python-beautifulsoup4" ,python-beautifulsoup4) |
2747 | ("youtube-dl" ,youtube-dl))) | |
2748 | (arguments | |
2749 | '(#:modules ((guix build python-build-system) | |
2750 | (guix build utils) | |
2751 | (srfi srfi-26)) | |
2752 | #:phases (modify-phases %standard-phases | |
2753 | (add-before 'build 'change-directory | |
2754 | (lambda _ | |
2755 | (chdir "instantmusic-0.1") #t)) | |
2756 | (add-before 'check 'fix-file-permissions | |
2757 | (lambda _ | |
2758 | ;; Fix some read-only files that would cause a build failure | |
2759 | (for-each (cut chmod <> #o644) | |
2760 | (find-files "instantmusic.egg-info" | |
2761 | "PKG-INFO|.*\\.txt")) | |
2762 | #t))))) | |
2763 | (home-page "http://iyask.me/Instant-Music-Downloader/") | |
2764 | (synopsis "Command-line program to download a song from YouTube") | |
2765 | (description "InstantMusic downloads a song from YouTube in MP3 format. | |
2766 | Songs can be searched by artist, name or even by a part of the song text.") | |
2767 | (license license:expat)))) | |
2768 | ||
3bf429af LF |
2769 | (define-public beets |
2770 | (package | |
2771 | (name "beets") | |
191c439e | 2772 | (version "1.4.7") |
3bf429af LF |
2773 | (source (origin |
2774 | (method url-fetch) | |
23319ed6 | 2775 | (uri (pypi-uri "beets" version)) |
c05c1910 | 2776 | (patches (search-patches "beets-python-3.7-fix.patch")) |
3bf429af LF |
2777 | (sha256 |
2778 | (base32 | |
191c439e | 2779 | "0w3gz69s9gf5ih69d4sddgh7ndj7658m621bp742zldvjakdncrs")))) |
3bf429af LF |
2780 | (build-system python-build-system) |
2781 | (arguments | |
0d48ff81 | 2782 | `(#:phases |
3bf429af LF |
2783 | (modify-phases %standard-phases |
2784 | (add-after 'unpack 'set-HOME | |
46fce968 TGR |
2785 | (lambda _ |
2786 | (setenv "HOME" (string-append (getcwd) "/tmp")) | |
2787 | #t)) | |
aa007978 DM |
2788 | (add-after 'unpack 'make-python3.7-compatible |
2789 | (lambda _ | |
2790 | ;; See <https://github.com/beetbox/beets/issues/2978>. | |
2791 | (substitute* "beets/autotag/hooks.py" | |
2792 | (("re\\._pattern_type") "re.Pattern")) | |
2793 | #t)) | |
36c2c8c8 | 2794 | (replace 'check |
46fce968 TGR |
2795 | (lambda _ |
2796 | (invoke "nosetests" "-v")))))) | |
3bf429af | 2797 | (native-inputs |
0d48ff81 LF |
2798 | `(("python-beautifulsoup4" ,python-beautifulsoup4) |
2799 | ("python-flask" ,python-flask) | |
2800 | ("python-mock" ,python-mock) | |
2801 | ("python-mpd2" ,python-mpd2) | |
2802 | ("python-nose" ,python-nose) | |
2803 | ("python-pathlib" ,python-pathlib) | |
2804 | ("python-pyxdg" ,python-pyxdg) | |
2805 | ("python-pylast" ,python-pylast) | |
2806 | ("python-rarfile" ,python-rarfile) | |
2807 | ("python-responses" ,python-responses))) | |
3bf429af | 2808 | ;; TODO: Install optional plugins and dependencies. |
b3470031 | 2809 | (inputs |
0d48ff81 | 2810 | `(("python-discogs-client" ,python-discogs-client) |
0d48ff81 LF |
2811 | ("python-jellyfish" ,python-jellyfish) |
2812 | ("python-munkres" ,python-munkres) | |
2813 | ("python-musicbrainzngs" ,python-musicbrainzngs) | |
2814 | ("python-mutagen" ,python-mutagen) | |
2815 | ("python-pyyaml" ,python-pyyaml) | |
2816 | ("python-unidecode" ,python-unidecode))) | |
3bf429af LF |
2817 | (home-page "http://beets.io") |
2818 | (synopsis "Music organizer") | |
2819 | (description "The purpose of beets is to get your music collection right | |
2820 | once and for all. It catalogs your collection, automatically improving its | |
2821 | metadata as it goes using the MusicBrainz database. Then it provides a variety | |
2822 | of tools for manipulating and accessing your music.") | |
2823 | (license license:expat))) | |
21d18113 KY |
2824 | |
2825 | (define-public milkytracker | |
2826 | (package | |
2827 | (name "milkytracker") | |
b7e2fcf0 | 2828 | (version "1.02.00") |
21d18113 | 2829 | (source (origin |
caa39e56 RW |
2830 | (method git-fetch) |
2831 | (uri (git-reference | |
2832 | (url "https://github.com/milkytracker/MilkyTracker.git") | |
2833 | (commit (string-append "v" version)))) | |
2834 | (file-name (git-file-name name version)) | |
21d18113 KY |
2835 | (sha256 |
2836 | (base32 | |
caa39e56 | 2837 | "05a6d7l98k9i82dwrgi855dnccm3f2lkb144gi244vhk1156n0ca")) |
e3b2e943 KK |
2838 | (modules '((guix build utils))) |
2839 | ;; Remove non-FSDG compliant sample songs. | |
2840 | (snippet | |
2841 | '(begin | |
2842 | (delete-file-recursively "resources/music") | |
2843 | (substitute* "CMakeLists.txt" | |
6cbee49d MW |
2844 | (("add_subdirectory\\(resources/music\\)") "")) |
2845 | #t)))) | |
e3b2e943 | 2846 | (build-system cmake-build-system) |
21d18113 | 2847 | (arguments |
7f2f8345 KK |
2848 | '(#:tests? #f ; no check target |
2849 | ;; This flag ensures that MilkyTracker links with the JACK library. | |
2850 | #:configure-flags '("-DCMAKE_CXX_FLAGS=-ljack"))) | |
21d18113 KY |
2851 | (inputs |
2852 | `(("alsa-lib" ,alsa-lib) | |
ba259bad | 2853 | ("lhasa" ,lhasa) |
21d18113 | 2854 | ("jack" ,jack-1) |
f1618a0f | 2855 | ("rtmidi" ,rtmidi) |
e3b2e943 | 2856 | ("sdl" ,sdl2) |
f1618a0f KK |
2857 | ("zlib" ,zlib) |
2858 | ("zziplib" ,zziplib))) | |
21d18113 KY |
2859 | (native-inputs |
2860 | `(("pkg-config" ,pkg-config))) | |
2861 | (synopsis "Music tracker for working with .MOD/.XM module files") | |
2862 | (description "MilkyTracker is a music application for creating .MOD and .XM | |
2863 | module files. It attempts to recreate the module replay and user experience of | |
2864 | the popular DOS program Fasttracker II, with special playback modes available | |
2865 | for improved Amiga ProTracker 2/3 compatibility.") | |
1b35fea1 | 2866 | (home-page "http://milkytracker.titandemo.org/") |
21d18113 KY |
2867 | ;; 'src/milkyplay' is under Modified BSD, the rest is under GPL3 or later. |
2868 | (license (list license:bsd-3 license:gpl3+)))) | |
13416a10 | 2869 | |
89bcf3fc KK |
2870 | (define-public schismtracker |
2871 | (package | |
2872 | (name "schismtracker") | |
a8b567f9 | 2873 | (version "20181223") |
89bcf3fc | 2874 | (source (origin |
3b9e9415 RW |
2875 | (method git-fetch) |
2876 | (uri (git-reference | |
2877 | (url "https://github.com/schismtracker/schismtracker.git") | |
2878 | (commit version))) | |
2879 | (file-name (git-file-name name version)) | |
89bcf3fc KK |
2880 | (sha256 |
2881 | (base32 | |
a8b567f9 | 2882 | "18k5j10zq39y2q294avdmar87x93k57wqmq8bpz562hdqki2mz1l")) |
89bcf3fc KK |
2883 | (modules '((guix build utils))) |
2884 | (snippet | |
2885 | ;; Remove use of __DATE__ and __TIME__ for reproducibility. | |
6cbee49d MW |
2886 | `(begin |
2887 | (substitute* "schism/version.c" | |
2888 | (("Schism Tracker built %s %s.*$") | |
2889 | (string-append "Schism Tracker version " ,version "\");"))) | |
2890 | #t)))) | |
89bcf3fc KK |
2891 | (build-system gnu-build-system) |
2892 | (arguments | |
2893 | `(#:phases | |
2894 | (modify-phases %standard-phases | |
89bcf3fc KK |
2895 | (add-before 'configure 'link-libm |
2896 | (lambda _ (setenv "LIBS" "-lm") #t))))) | |
2897 | (native-inputs | |
2898 | `(("autoconf" ,autoconf) | |
2899 | ("automake" ,automake) | |
2900 | ("python" ,python))) | |
2901 | (inputs | |
2902 | `(("alsa-lib" ,alsa-lib) ; for asound dependency | |
2903 | ("libx11" ,libx11) | |
2904 | ("libxext" ,libxext) | |
2905 | ("sdl" ,sdl))) | |
2906 | (home-page "http://schismtracker.org") | |
2907 | (synopsis "Oldschool sample-based music composition tool") | |
2908 | (description | |
2909 | "Schism Tracker is a reimplementation of Impulse Tracker, a program used to | |
2910 | create high quality music without the requirements of specialized, expensive | |
2911 | equipment, and with a unique \"finger feel\" that is difficult to replicate in | |
2912 | part. The player is based on a highly modified version of the ModPlug engine, | |
2913 | with a number of bugfixes and changes to improve IT playback.") | |
2914 | (license license:gpl2+))) | |
2915 | ||
5beecc32 RW |
2916 | (define-public sooperlooper |
2917 | (package | |
2918 | (name "sooperlooper") | |
2919 | (version "1.7.3") | |
2920 | (source (origin | |
2921 | (method url-fetch) | |
2922 | (uri (string-append "http://essej.net/sooperlooper/sooperlooper-" | |
2923 | version ".tar.gz")) | |
2924 | (sha256 | |
2925 | (base32 | |
2926 | "0n2gdxw1fx8nxxnpzf4sj0kp6k6zi1yq59cbz6qqzcnsnpnvszbs")) | |
2927 | (patches (search-patches "sooperlooper-build-with-wx-30.patch")))) | |
2928 | (build-system gnu-build-system) | |
2929 | (arguments | |
2930 | `(#:make-flags (list "CXXFLAGS=-std=gnu++11") | |
2931 | #:phases | |
2932 | (modify-phases %standard-phases | |
2933 | (add-after 'unpack 'add-sigc++-includes | |
2934 | (lambda* (#:key inputs #:allow-other-keys) | |
2935 | (let ((sig (assoc-ref inputs "libsigc++")) | |
2936 | (xml (assoc-ref inputs "libxml2")) | |
2937 | (cwd (getcwd))) | |
2938 | (setenv "CPATH" | |
2939 | (string-append sig "/include/sigc++-2.0:" | |
2940 | sig "/lib/sigc++-2.0/include:" | |
2941 | xml "/include/libxml2/:" | |
2942 | cwd "/libs/pbd:" | |
2943 | cwd "/libs/midi++"))) | |
2944 | (substitute* '("src/control_osc.hpp" | |
2945 | "src/gui/app_frame.hpp" | |
2946 | "src/gui/config_panel.hpp" | |
2947 | "src/gui/keys_panel.hpp" | |
2948 | "src/gui/latency_panel.hpp" | |
2949 | "src/gui/main_panel.hpp" | |
2950 | "src/gui/midi_bind_panel.hpp" | |
2951 | "src/gui/prefs_dialog.hpp") | |
2952 | (("sigc\\+\\+/object.h") | |
2953 | "sigc++/sigc++.h")) | |
2954 | (substitute* '("src/engine.cpp" | |
2955 | "src/gui/latency_panel.cpp" | |
2956 | "src/gui/looper_panel.cpp" | |
2957 | "src/gui/main_panel.cpp") | |
2958 | (("(\\(| )bind " _ pre) | |
2959 | (string-append pre "sigc::bind "))) | |
2960 | #t)) | |
2961 | (add-after 'unpack 'fix-xpm-warnings | |
2962 | (lambda _ | |
2963 | (substitute* (find-files "." "\\.xpm$") | |
2964 | (("static char") "static const char")) | |
2965 | #t))))) | |
2966 | (inputs | |
2967 | `(("jack" ,jack-1) | |
2968 | ("alsa-lib" ,alsa-lib) | |
2969 | ("wxwidgets" ,wxwidgets-gtk2) | |
2970 | ("libsndfile" ,libsndfile) | |
2971 | ("libsamplerate" ,libsamplerate) | |
2972 | ("liblo" ,liblo) | |
2973 | ("rubberband" ,rubberband) | |
2974 | ("libxml2" ,libxml2) | |
2975 | ("libsigc++" ,libsigc++) | |
2976 | ("ncurses" ,ncurses))) | |
2977 | (native-inputs | |
2978 | `(("pkg-config" ,pkg-config))) | |
2979 | (home-page "http://essej.net/sooperlooper/") | |
2980 | (synopsis "Live looping sampler") | |
2981 | (description | |
2982 | "SooperLooper is a live looping sampler capable of immediate loop | |
2983 | recording, overdubbing, multiplying, reversing and more. It allows for | |
2984 | multiple simultaneous multi-channel loops limited only by your computer's | |
2985 | available memory.") | |
2986 | (license license:gpl2+))) | |
2987 | ||
13416a10 KY |
2988 | (define-public moc |
2989 | (package | |
2990 | (name "moc") | |
2fbc004f | 2991 | (version "2.5.2") |
13416a10 KY |
2992 | (source (origin |
2993 | (method url-fetch) | |
2994 | (uri (string-append "http://ftp.daper.net/pub/soft/" | |
2995 | name "/stable/" | |
2996 | name "-" version ".tar.bz2")) | |
2997 | (sha256 | |
2998 | (base32 | |
2784b35f | 2999 | "026v977kwb0wbmlmf6mnik328plxg8wykfx9ryvqhirac0aq39pk")))) |
13416a10 KY |
3000 | (build-system gnu-build-system) |
3001 | (inputs | |
3002 | `(("alsa-lib" ,alsa-lib) | |
3003 | ("curl" ,curl) | |
3004 | ("faad2" ,faad2) | |
bb5c508c | 3005 | ("ffmpeg" ,ffmpeg-3.4) |
13416a10 KY |
3006 | ("file" ,file) |
3007 | ("jack" ,jack-1) | |
3008 | ("libid3tag" ,libid3tag) | |
3009 | ("libltdl" ,libltdl) | |
3010 | ("libmodplug" ,libmodplug) | |
3011 | ("libmpcdec" ,libmpcdec) | |
3012 | ("libmad" ,libmad) | |
6beaa5a0 MM |
3013 | ("libogg" ,libogg) |
3014 | ("libvorbis" ,libvorbis) | |
13416a10 KY |
3015 | ("ncurses" ,ncurses) |
3016 | ("openssl" ,openssl) | |
3017 | ("sasl" ,cyrus-sasl) | |
3018 | ("speex" ,speex) | |
3019 | ("taglib" ,taglib) | |
3020 | ("wavpack" ,wavpack) | |
3021 | ("zlib" ,zlib))) | |
3022 | (native-inputs | |
3023 | `(("pkg-config" ,pkg-config))) | |
3024 | (synopsis "Console audio player designed to be powerful and easy to use") | |
3025 | (description | |
3026 | "Music on Console is a console audio player that supports many file | |
3027 | formats, including most audio formats recognized by FFMpeg.") | |
3028 | (home-page "http://moc.daper.net") | |
3029 | (license license:gpl2+))) | |
6d3ef286 JF |
3030 | |
3031 | (define-public midicsv | |
3032 | (package | |
3033 | (name "midicsv") | |
3034 | (version "1.1") | |
3035 | (source (origin | |
3036 | (method url-fetch) | |
3037 | (uri (string-append "http://www.fourmilab.ch/webtools/midicsv/" | |
3038 | name "-" version ".tar.gz")) | |
3039 | (sha256 | |
3040 | (base32 | |
3041 | "1vvhk2nf9ilfw0wchmxy8l13hbw9cnpz079nsx5srsy4nnd78nkw")))) | |
3042 | (build-system gnu-build-system) | |
3043 | (arguments | |
3044 | `(#:phases (modify-phases %standard-phases (delete 'configure)) | |
3045 | #:make-flags (list "CC=gcc" (string-append "INSTALL_DEST=" %output)))) | |
3046 | (synopsis "Convert MIDI files to and from CSV") | |
3047 | (description | |
3048 | "Midicsv reads a standard MIDI file and decodes it into a comma-separated | |
3049 | value file (CSV), which preserves all the information in the MIDI file. The | |
3050 | ASCII CSV file may be loaded into a spreadsheet or database application, or | |
3051 | processed by a program to transform the MIDI data (for example, to key | |
3052 | transpose a composition or extract a track from a multi-track sequence). A | |
3053 | CSV file in the format created by midicsv may be converted back into a | |
3054 | standard MIDI file with the csvmidi program.") | |
3055 | (home-page "http://www.fourmilab.ch/webtools/midicsv/") | |
3056 | (license license:public-domain))) | |
49604680 RW |
3057 | |
3058 | (define-public gx-guvnor-lv2 | |
35f909d4 RW |
3059 | (package |
3060 | (name "gx-guvnor-lv2") | |
3061 | (version "0.1") | |
3062 | (source (origin | |
6ac8c78c RW |
3063 | (method git-fetch) |
3064 | (uri (git-reference | |
3065 | (url "https://github.com/brummer10/GxGuvnor.lv2.git") | |
3066 | (commit (string-append "v" version)))) | |
3067 | (file-name (string-append name "-" version "-checkout")) | |
35f909d4 RW |
3068 | (sha256 |
3069 | (base32 | |
6ac8c78c | 3070 | "1wa5070j40p7f0b3kr259pzm99xb6cf2badr2capayjvgayd6gnm")))) |
35f909d4 RW |
3071 | (build-system gnu-build-system) |
3072 | (arguments | |
3073 | `(;; The check target is used only to output a warning. | |
3074 | #:tests? #f | |
3075 | #:make-flags | |
3076 | (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))) | |
3077 | #:phases | |
3078 | (modify-phases %standard-phases | |
3079 | (replace 'configure | |
3080 | (lambda _ | |
3081 | (substitute* "Makefile" | |
6ac8c78c RW |
3082 | (("INSTALL_DIR = .*") "INSTALL_DIR=/lib/lv2\n") |
3083 | (("install : all") "install :")) | |
35f909d4 RW |
3084 | #t))))) |
3085 | (inputs | |
3086 | `(("lv2" ,lv2))) | |
3087 | (home-page "https://github.com/brummer10/GxGuvnor.lv2") | |
3088 | (synopsis "Overdrive/distortion pedal simulation") | |
3089 | (description "This package provides the LV2 plugin \"GxGuvnor\", a | |
49604680 | 3090 | simulation of an overdrive or distortion pedal for guitars.") |
35f909d4 | 3091 | ;; The LICENSE file says GPLv3 but the license headers in the files say |
4b359532 RW |
3092 | ;; GPLv2 or later. The whole project is released under GPLv3 or later |
3093 | ;; according to https://github.com/brummer10/GxGuvnor.lv2/issues/1 | |
3094 | (license license:gpl3+))) | |
85ae347e RW |
3095 | |
3096 | (define-public gx-vbass-preamp-lv2 | |
1b74b126 RW |
3097 | (let ((commit "eb999b0ca0ef4da40a59e458a9ab6e7042b96c99") |
3098 | (revision "2")) | |
85ae347e RW |
3099 | (package (inherit gx-guvnor-lv2) |
3100 | (name "gx-vbass-preamp-lv2") | |
3101 | (version (string-append "0-" revision "." (string-take commit 9))) | |
3102 | (source (origin | |
3103 | (method git-fetch) | |
3104 | (uri (git-reference | |
3105 | (url "https://github.com/brummer10/GxVBassPreAmp.lv2") | |
3106 | (commit commit))) | |
3107 | (sha256 | |
3108 | (base32 | |
1b74b126 | 3109 | "0firap073ldw4nrykkd7jvyyj0jbl1nslxyzjj4kswazp99x7d9h")) |
85ae347e | 3110 | (file-name (string-append name "-" version "-checkout")))) |
1b74b126 RW |
3111 | (inputs |
3112 | `(("lv2" ,lv2) | |
3113 | ("gtk+" ,gtk+-2))) | |
3114 | (native-inputs | |
3115 | `(("pkg-config" ,pkg-config))) | |
85ae347e RW |
3116 | (home-page "https://github.com/brummer10/GxVBassPreAmp.lv2") |
3117 | (synopsis "Simulation of the Vox Venue Bass 100 Pre Amp Section") | |
3118 | (description "This package provides the LV2 plugin \"GxVBassPreAmp\", a | |
3119 | pre-amplifier simulation modelled after the 1984 Vox Venue Bass 100 Pre Amp | |
3120 | Section.")))) | |
cdc7a021 RW |
3121 | |
3122 | (define-public gx-overdriver-lv2 | |
3123 | (let ((commit "ed71801987449414bf3adaa0dbfac68e8775f1ce") | |
3124 | (revision "1")) | |
1b74b126 | 3125 | (package (inherit gx-guvnor-lv2) |
cdc7a021 RW |
3126 | (name "gx-overdriver-lv2") |
3127 | (version (string-append "0-" revision "." (string-take commit 9))) | |
3128 | (source (origin | |
3129 | (method git-fetch) | |
3130 | (uri (git-reference | |
3131 | (url "https://github.com/brummer10/GxOverDriver.lv2") | |
3132 | (commit commit))) | |
3133 | (sha256 | |
3134 | (base32 | |
3135 | "13j614jh525fbkby79nnzwj0z1ac0c9wclyn5pfqvkmx6a7j24r8")) | |
3136 | (file-name (string-append name "-" version "-checkout")))) | |
3137 | (home-page "https://github.com/brummer10/GxOverDriver.lv2") | |
3138 | (synopsis "Overdrive effect with level and tone control") | |
3139 | (description "This package provides the LV2 plugin \"GxOverDriver\", an | |
3140 | overdrive effect.")))) | |
4d95cd30 RW |
3141 | |
3142 | (define-public gx-tone-mender-lv2 | |
3143 | (let ((commit "b6780b4a3e4782b3ed0e5882d6788f178aed138f") | |
3144 | (revision "1")) | |
1b74b126 | 3145 | (package (inherit gx-guvnor-lv2) |
4d95cd30 RW |
3146 | (name "gx-tone-mender-lv2") |
3147 | (version (string-append "0-" revision "." (string-take commit 9))) | |
3148 | (source (origin | |
3149 | (method git-fetch) | |
3150 | (uri (git-reference | |
3151 | (url "https://github.com/brummer10/GxToneMender.lv2") | |
3152 | (commit commit))) | |
3153 | (sha256 | |
3154 | (base32 | |
3155 | "07qdcfsvv2vdnfnjh91pfgvjdcs5y91nvwfm8c0z8fp6b4bk7a9q")) | |
3156 | (file-name (string-append name "-" version "-checkout")))) | |
3157 | (home-page "https://github.com/brummer10/GxToneMender.lv2") | |
3158 | (synopsis "Clean boost with a 3-knob tonestack") | |
3159 | (description "This package provides the LV2 plugin \"GxToneMender\", a | |
3160 | clean boost effect with a 3-knob tonestack.")))) | |
4d4bfdc2 RW |
3161 | |
3162 | (define-public gx-push-pull-lv2 | |
3163 | (let ((commit "7f76ae2068498643ac8671ee0930b13ee3fd8eb5") | |
3164 | (revision "1")) | |
1b74b126 | 3165 | (package (inherit gx-guvnor-lv2) |
4d4bfdc2 RW |
3166 | (name "gx-push-pull-lv2") |
3167 | (version (string-append "0-" revision "." (string-take commit 9))) | |
3168 | (source (origin | |
3169 | (method git-fetch) | |
3170 | (uri (git-reference | |
3171 | (url "https://github.com/brummer10/GxPushPull.lv2") | |
3172 | (commit commit))) | |
3173 | (sha256 | |
3174 | (base32 | |
3175 | "12f5hwck2irph0gjbj8xy8jqcqdwb8l1hlwf29k0clz52h1jhb5q")) | |
3176 | (file-name (string-append name "-" version "-checkout")))) | |
3177 | (home-page "https://github.com/brummer10/GxPushPull.lv2") | |
3178 | (synopsis "Octave up push pull transistor fuzz simulation") | |
3179 | (description "This package provides the LV2 plugin \"GxPushPull\", a | |
3180 | simulation of a push pull transistor fuzz effect with added high octave.")))) | |
3eb1a964 RW |
3181 | |
3182 | (define-public gx-suppa-tone-bender-lv2 | |
f959991d RW |
3183 | (package (inherit gx-guvnor-lv2) |
3184 | (name "gx-suppa-tone-bender-lv2") | |
3185 | (version "0.1") | |
3186 | (source (origin | |
48b95a19 RW |
3187 | (method git-fetch) |
3188 | (uri (git-reference | |
3189 | (url "https://github.com/brummer10/GxSuppaToneBender.lv2.git") | |
3190 | (commit (string-append "v" version)))) | |
3191 | (file-name (string-append name "-" version "-checkout")) | |
f959991d RW |
3192 | (sha256 |
3193 | (base32 | |
48b95a19 | 3194 | "01x6bjmllkmvxfzc5xwdix7w021j26js71awv728cxsmkxgqw0zy")))) |
f959991d RW |
3195 | (home-page "https://github.com/brummer10/GxSuppaToneBender.lv2") |
3196 | (synopsis "Simulation of the Vox Suppa Tone Bender pedal") | |
3197 | (description "This package provides the LV2 plugin | |
3eb1a964 | 3198 | \"GxSuppaToneBender\", a simulation modelled after the Vox Suppa Tone Bender |
f959991d | 3199 | pedal."))) |
664f677f RW |
3200 | |
3201 | (define-public gx-saturator-lv2 | |
d9f65bd3 RW |
3202 | (let ((commit "605330f432c94b6eb3f8203cbe472befae959532") |
3203 | (revision "3")) | |
ad67ca3d | 3204 | (package (inherit gx-vbass-preamp-lv2) |
664f677f RW |
3205 | (name "gx-saturator-lv2") |
3206 | (version (string-append "0-" revision "." (string-take commit 9))) | |
3207 | (source (origin | |
3208 | (method git-fetch) | |
3209 | (uri (git-reference | |
3210 | (url "https://github.com/brummer10/GxSaturator.lv2") | |
3211 | (commit commit))) | |
3212 | (sha256 | |
3213 | (base32 | |
d9f65bd3 | 3214 | "1w4nvh0rmxrv3s3hmh4fs74f3hc0jn31v00j769j7v68mqr7kawy")) |
664f677f RW |
3215 | (file-name (string-append name "-" version "-checkout")))) |
3216 | (home-page "https://github.com/brummer10/GxSaturator.lv2") | |
3217 | (synopsis "Saturation effect") | |
3218 | (description "This package provides the LV2 plugin \"GxSaturator\", a | |
3219 | saturation effect.")))) | |
89412238 RW |
3220 | |
3221 | (define-public gx-hyperion-lv2 | |
4396e9b5 RW |
3222 | (package (inherit gx-guvnor-lv2) |
3223 | (name "gx-hyperion-lv2") | |
3224 | (version "0.1") | |
3225 | (source (origin | |
37519239 RW |
3226 | (method git-fetch) |
3227 | (uri (git-reference | |
3228 | (url "https://github.com/brummer10/GxHyperion.lv2.git") | |
3229 | (commit (string-append "v" version)))) | |
3230 | (file-name (string-append name "-" version "-checkout")) | |
4396e9b5 RW |
3231 | (sha256 |
3232 | (base32 | |
37519239 | 3233 | "1vx79s6s9if117y2g0ppdja2sv2wcny6xcfl3j1z4cipahnildxf")))) |
4396e9b5 RW |
3234 | (home-page "https://github.com/brummer10/GxHyperion.lv2") |
3235 | (synopsis "Simulation of the Hyperion Fuzz pedal") | |
3236 | (description "This package provides the LV2 plugin \"GxHyperion\", a | |
3237 | simulation of the Hyperion Fuzz pedal."))) | |
32536f00 RW |
3238 | |
3239 | (define-public gx-voodoo-fuzz-lv2 | |
cf44ebeb RW |
3240 | (package (inherit gx-guvnor-lv2) |
3241 | (name "gx-voodoo-fuzz-lv2") | |
3242 | (version "0.1") | |
3243 | (source (origin | |
d42c6613 RW |
3244 | (method git-fetch) |
3245 | (uri (git-reference | |
3246 | (url "https://github.com/brummer10/GxVoodoFuzz.lv2.git") | |
3247 | (commit (string-append "v" version)))) | |
3248 | (file-name (string-append name "-" version "-checkout")) | |
cf44ebeb RW |
3249 | (sha256 |
3250 | (base32 | |
d42c6613 | 3251 | "1v0scphivri1fk4hl20j13f92i48mnx1zsil4hgnadsmm4nsfw43")))) |
cf44ebeb RW |
3252 | (home-page "https://github.com/brummer10/GxVoodoFuzz.lv2") |
3253 | (synopsis "Fuzz effect modelled after the Voodoo Lab SuperFuzz") | |
3254 | (description "This package provides the LV2 plugin \"GxVoodooFuzz\", a | |
32536f00 RW |
3255 | simulation modelled after the Voodoo Lab SuperFuzz pedal. It's basically a |
3256 | Bosstone circuit, followed by the tone control of the FoxToneMachine in | |
cf44ebeb | 3257 | parallel with a DarkBooster, followed by a volume control."))) |
29f63222 RW |
3258 | |
3259 | (define-public gx-super-fuzz-lv2 | |
34a3ecfe RW |
3260 | (package (inherit gx-guvnor-lv2) |
3261 | (name "gx-super-fuzz-lv2") | |
3262 | (version "0.1") | |
3263 | (source (origin | |
5057535f RW |
3264 | (method git-fetch) |
3265 | (uri (git-reference | |
3266 | (url "https://github.com/brummer10/GxSuperFuzz.lv2.git") | |
3267 | (commit (string-append "v" version)))) | |
3268 | (file-name (string-append name "-" version "-checkout")) | |
34a3ecfe RW |
3269 | (sha256 |
3270 | (base32 | |
5057535f | 3271 | "1jlljd9hlgfflbiizq47lv1xbbgjyx3v835mf24zmh1q5zsw4np4")))) |
34a3ecfe RW |
3272 | (home-page "https://github.com/brummer10/GxSuperFuzz.lv2") |
3273 | (synopsis "Fuzz effect modelled after the UniVox SuperFuzz") | |
a6f39d7c | 3274 | (description "This package provides the LV2 plugin \"GxSuperFuzz\", an |
29f63222 | 3275 | analog simulation of the UniVox SuperFuzz pedal. In this simulation the trim |
d1e4ad1b | 3276 | pot, which is usually in the housing, is exposed as a control parameter. It |
34a3ecfe | 3277 | adjusts the amount of harmonics."))) |
40bffdfa RW |
3278 | |
3279 | (define-public gx-vintage-fuzz-master-lv2 | |
38050923 RW |
3280 | (package (inherit gx-guvnor-lv2) |
3281 | (name "gx-vintage-fuzz-master-lv2") | |
3282 | (version "0.1") | |
3283 | (source (origin | |
0febd673 RW |
3284 | (method git-fetch) |
3285 | (uri (git-reference | |
3286 | (url "https://github.com/brummer10/GxVintageFuzzMaster.lv2.git") | |
3287 | (commit (string-append "v" version)))) | |
3288 | (file-name (string-append name "-" version "-checkout")) | |
38050923 RW |
3289 | (sha256 |
3290 | (base32 | |
0febd673 | 3291 | "02jb211z8rw2qr5r1z5mdxlqgiw6cbc319xpqplvn6k21c59mskv")))) |
38050923 RW |
3292 | (home-page "https://github.com/brummer10/GxVintageFuzzMaster.lv2") |
3293 | (synopsis "Fuzz effect simulation of the vintage Fuzz Master") | |
3294 | (description "This package provides the LV2 plugin | |
3295 | \"GxVintageFuzzMaster\", a simulation of the vintage Fuzz Master pedal."))) | |
631f8175 RW |
3296 | |
3297 | (define-public gx-slow-gear-lv2 | |
d921a1f4 RW |
3298 | (let ((commit "5d37e775b0feef1d82feee94e2a7a2d7e57efe2d") |
3299 | (revision "3")) | |
ad67ca3d | 3300 | (package (inherit gx-vbass-preamp-lv2) |
631f8175 RW |
3301 | (name "gx-slow-gear-lv2") |
3302 | (version (string-append "0-" revision "." (string-take commit 9))) | |
3303 | (source (origin | |
3304 | (method git-fetch) | |
3305 | (uri (git-reference | |
3306 | (url "https://github.com/brummer10/GxSlowGear.lv2") | |
3307 | (commit commit))) | |
3308 | (sha256 | |
3309 | (base32 | |
d921a1f4 | 3310 | "141mz69zkhk3lm54bb6wgpnghb92zm1ig7fv07240cmhydqji1q1")) |
631f8175 RW |
3311 | (file-name (string-append name "-" version "-checkout")))) |
3312 | (home-page "https://github.com/brummer10/GxSlowGear.lv2") | |
3313 | (synopsis "Slow gear audio effect") | |
3314 | (description "This package provides the LV2 plugin \"GxSlowGear\", a | |
3315 | slow gear audio effect to produce volume swells.")))) | |
d75e8f5a RW |
3316 | |
3317 | (define-public gx-switchless-wah-lv2 | |
cfcef2c2 RW |
3318 | (let ((commit "7b08691203314612999f0ce2328cdc1161cd6665") |
3319 | (revision "2")) | |
1b74b126 | 3320 | (package (inherit gx-guvnor-lv2) |
d75e8f5a RW |
3321 | (name "gx-switchless-wah-lv2") |
3322 | (version (string-append "0-" revision "." (string-take commit 9))) | |
3323 | (source (origin | |
3324 | (method git-fetch) | |
3325 | (uri (git-reference | |
3326 | (url "https://github.com/brummer10/GxSwitchlessWah.lv2") | |
3327 | (commit commit))) | |
3328 | (sha256 | |
3329 | (base32 | |
cfcef2c2 | 3330 | "04jqfpncmrrqn34p21w4v9m2x5a5wsqwbm4f3byxvq4vcibwxzk2")) |
d75e8f5a RW |
3331 | (file-name (string-append name "-" version "-checkout")))) |
3332 | (home-page "https://github.com/brummer10/GxSwitchlessWah.lv2") | |
3333 | (synopsis "Wah emulation with switchless activation") | |
3334 | (description "This package provides the LV2 plugin \"GxSwitchlessWah\", | |
3335 | a simulation of an analog Wah pedal with switchless activation.")))) | |
84d53724 | 3336 | |
a734da86 RW |
3337 | (define-public rkrlv2 |
3338 | (let ((commit "d8c17d3c976107e5c012970276d7cf0aa059f15b") | |
3339 | (revision "1")) | |
3340 | (package | |
3341 | (name "rkrlv2") | |
3342 | (version (git-version "0" revision commit)) | |
3343 | (source (origin | |
3344 | (method git-fetch) | |
3345 | (uri (git-reference | |
3346 | (url "https://github.com/ssj71/rkrlv2.git") | |
3347 | (commit commit))) | |
3348 | (sha256 | |
3349 | (base32 | |
3350 | "035z068rlafb7ibgqf34ck2lm4fab8yzlx41qh061x2xi4hxkvp0")) | |
3351 | (file-name (git-file-name name version)))) | |
3352 | (build-system cmake-build-system) | |
3353 | (arguments '(#:tests? #f)) ; there are no tests | |
3354 | (inputs | |
3355 | `(("fftw" ,fftw) | |
3356 | ("libsamplerate" ,libsamplerate) | |
3357 | ("lv2" ,lv2))) | |
3358 | (native-inputs | |
3359 | `(("pkg-config" ,pkg-config))) | |
3360 | (home-page "https://github.com/ssj71/rkrlv2") | |
3361 | (synopsis "Rakarrack effects ported to LV2 plugins") | |
3362 | (description "This package provides the Rakarrack effects as LV2 | |
3363 | plugins. The ports are done such that hopefully when Rakarrack gets an active | |
3364 | maintainer these will get merged into the original project.") | |
3365 | (license license:gpl2)))) | |
3366 | ||
84d53724 | 3367 | (define-public mod-utilities |
fe049d21 RW |
3368 | (let ((commit "80ea3ea9f52fab7f191671f4810bf90fc955a046") |
3369 | (revision "2")) | |
84d53724 RW |
3370 | (package |
3371 | (name "mod-utilities") | |
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/moddevices/mod-utilities.git") | |
3377 | (commit commit))) | |
fe049d21 | 3378 | (file-name (string-append name "-" version "-checkout")) |
84d53724 RW |
3379 | (sha256 |
3380 | (base32 | |
fe049d21 | 3381 | "1v55zmzmlg0ka7341x5lsvb44amy17vk27s669ps1basd1bk5s5v")))) |
84d53724 RW |
3382 | (build-system gnu-build-system) |
3383 | (arguments | |
3384 | `(#:tests? #f ; there are no tests | |
3385 | #:make-flags | |
3386 | (list (string-append "INSTALL_PATH=" | |
3387 | (assoc-ref %outputs "out") | |
fe049d21 RW |
3388 | "/lib/lv2") |
3389 | (string-append "PREFIX=" (assoc-ref %outputs "out")) | |
3390 | "CC=gcc") | |
84d53724 RW |
3391 | #:phases |
3392 | (modify-phases %standard-phases | |
3393 | (delete 'configure)))) | |
3394 | (inputs | |
3395 | `(("lv2" ,lv2))) | |
3396 | (home-page "https://github.com/moddevices/mod-utilities") | |
3397 | (synopsis "LV2 utility plugins") | |
3398 | (description "This package provides LV2 audio utility plugins, such as | |
3399 | filters, crossovers, simple gain plugins without zipper noise, switch box | |
3400 | plugins, a switch trigger, a toggle switch, and a peakmeter.") | |
3401 | (license license:gpl2+)))) | |
d3db5efb | 3402 | |
951581a2 | 3403 | (define-public ingen |
19748414 RW |
3404 | (let ((commit "cc4a4db33f4d126a07a4a498e053c5fb9a883be3") |
3405 | (revision "2")) | |
951581a2 RW |
3406 | (package |
3407 | (name "ingen") | |
3408 | (version (string-append "0.0.0-" revision "." | |
3409 | (string-take commit 9))) | |
3410 | (source | |
3411 | (origin | |
3412 | (method git-fetch) | |
3413 | (uri (git-reference | |
0d0252e4 | 3414 | (url "https://git.drobilla.net/ingen.git") |
951581a2 RW |
3415 | (commit commit))) |
3416 | (file-name (string-append name "-" version "-checkout")) | |
3417 | (sha256 | |
3418 | (base32 | |
19748414 | 3419 | "1wg47vjw9djn99gbnsl2bcwj4xhdid61m4wrbn2nlp797flj91ic")))) |
951581a2 RW |
3420 | (build-system waf-build-system) |
3421 | (arguments | |
f9dcf79f RW |
3422 | `(#:python ,python-2 |
3423 | #:tests? #f ; no "check" target | |
951581a2 RW |
3424 | #:configure-flags (list "--no-webkit") |
3425 | #:phases | |
3426 | (modify-phases %standard-phases | |
3427 | (add-after 'unpack 'patch-wscript | |
3428 | (lambda* (#:key outputs #:allow-other-keys) | |
3429 | (let ((out (assoc-ref outputs "out"))) | |
3430 | (substitute* "wscript" | |
3431 | ;; FIXME: Our version of lv2specgen.py does not behave as | |
3432 | ;; expected. Maybe this requires a development version of | |
3433 | ;; LV2. | |
3434 | (("lv2specgen.py") "touch ingen.lv2/ingen.html; echo") | |
3435 | ;; Add libraries to RUNPATH. | |
3436 | (("^(.+)target.*= 'src/ingen/ingen'," line prefix) | |
3437 | (string-append prefix | |
3438 | "linkflags=[\"-Wl,-rpath=" | |
3439 | out "/lib" "\"]," line))) | |
3440 | (substitute* '("src/wscript" | |
3441 | "src/server/wscript") | |
3442 | ;; Add libraries to RUNPATH. | |
3443 | (("bld.env.PTHREAD_LINKFLAGS" line) | |
3444 | (string-append line | |
3445 | " + [\"-Wl,-rpath=" out "/lib" "\"]"))) | |
3446 | (substitute* "src/client/wscript" | |
3447 | ;; Add libraries to RUNPATH. | |
3448 | (("^(.+)target.*= 'ingen_client'," line prefix) | |
3449 | (string-append prefix | |
3450 | "linkflags=[\"-Wl,-rpath=" | |
3451 | out "/lib" "\"]," line))) | |
3452 | (substitute* "src/gui/wscript" | |
3453 | ;; Add libraries to RUNPATH. | |
3454 | (("^(.+)target.* = 'ingen_gui.*" line prefix) | |
3455 | (string-append prefix | |
3456 | "linkflags=[\"-Wl,-rpath=" | |
3457 | out "/lib" "\"]," line)))) | |
3458 | #t))))) | |
3459 | (inputs | |
3460 | `(("boost" ,boost) | |
3461 | ("python-rdflib" ,python-rdflib) | |
3462 | ("python" ,python) | |
3463 | ("jack" ,jack-1) | |
a2467954 | 3464 | ("lv2" ,lv2) |
951581a2 RW |
3465 | ("lilv" ,lilv) |
3466 | ("raul" ,raul-devel) | |
3467 | ("ganv" ,ganv-devel) | |
3468 | ("suil" ,suil) | |
3469 | ("serd" ,serd) | |
3470 | ("sord" ,sord) | |
3471 | ("sratom" ,sratom) | |
3472 | ("gtkmm" ,gtkmm-2))) | |
3473 | (native-inputs | |
3474 | `(("pkg-config" ,pkg-config) | |
3475 | ("python-pygments" ,python-pygments))) | |
0d0252e4 | 3476 | (home-page "https://drobilla.net/software/ingen") |
951581a2 RW |
3477 | (synopsis "Modular audio processing system") |
3478 | (description "Ingen is a modular audio processing system for JACK and | |
3479 | LV2 based systems. Ingen is built around LV2 technology and a strict | |
3480 | separation of engine from user interface. The engine is controlled | |
3481 | exclusively through a protocol, and can execute as a headless process, with an | |
3482 | in-process GUI, or as an LV2 plugin. The GUI can run as a program which | |
3483 | communicates over a Unix or TCP/IP socket, or as an embeddable LV2 GUI which | |
3484 | communicates via LV2 ports. Any saved Ingen graph can be loaded as an LV2 | |
3485 | plugin on any system where Ingen is installed. This allows users to visually | |
3486 | develop custom plugins for use in other applications without programming.") | |
3487 | (license license:agpl3+)))) | |
3488 | ||
b3410b44 RW |
3489 | (define-public qmidiarp |
3490 | (package | |
3491 | (name "qmidiarp") | |
b6313997 | 3492 | (version "0.6.5") |
b3410b44 RW |
3493 | (source (origin |
3494 | (method url-fetch) | |
3495 | (uri (string-append "mirror://sourceforge/qmidiarp/qmidiarp/" | |
3496 | version "/qmidiarp-" version ".tar.bz2")) | |
3497 | (sha256 | |
3498 | (base32 | |
b6313997 | 3499 | "043yh1p0rrbj1v840y27529m9260g55gvh1km8az4jxy7mns58r2")))) |
b3410b44 RW |
3500 | (build-system gnu-build-system) |
3501 | (arguments | |
3502 | `(#:configure-flags | |
3503 | (list "--enable-qt5" | |
3504 | "CXXFLAGS=-std=gnu++11"))) | |
3505 | (inputs | |
3506 | `(("qtbase" ,qtbase) | |
3507 | ("alsa-lib" ,alsa-lib) | |
3508 | ("jack" ,jack-1) | |
3509 | ("liblo" ,liblo) | |
3510 | ("lv2" ,lv2))) | |
3511 | (native-inputs | |
3512 | `(("pkg-config" ,pkg-config) | |
3513 | ("qttools" ,qttools))) | |
3514 | (home-page "http://qmidiarp.sourceforge.net/") | |
3515 | (synopsis "MIDI arpeggiator") | |
3516 | (description "QMidiArp is an advanced MIDI arpeggiator, programmable step | |
3517 | sequencer and LFO. It can hold any number of arpeggiator, sequencer, or LFO | |
3518 | modules running in parallel.") | |
3519 | (license license:gpl2+))) | |
3520 | ||
ff49437d RW |
3521 | (define-public qmidiroute |
3522 | (package | |
3523 | (name "qmidiroute") | |
3524 | (version "0.4.0") | |
3525 | (source (origin | |
3526 | (method url-fetch) | |
3527 | (uri (string-append "mirror://sourceforge/alsamodular/QMidiRoute/" | |
3528 | version "/qmidiroute-" version ".tar.bz2")) | |
3529 | (sha256 | |
3530 | (base32 | |
3531 | "19v1ppbglgl3z9v7xdqc0k33w71cqq8a7d6ihvfs7iz77dygrih9")))) | |
3532 | (build-system gnu-build-system) | |
3533 | (arguments | |
3534 | `(#:configure-flags | |
3535 | (list "--enable-qt5" | |
3536 | "CXXFLAGS=-std=gnu++11"))) | |
3537 | (inputs | |
3538 | `(("qtbase" ,qtbase) | |
3539 | ("alsa-lib" ,alsa-lib))) | |
3540 | (native-inputs | |
3541 | `(("pkg-config" ,pkg-config) | |
3542 | ("qttools" ,qttools))) | |
3543 | (home-page "http://alsamodular.sourceforge.net/") | |
3544 | (synopsis "MIDI event router and filter") | |
3545 | (description "QMidiRoute is a MIDI event router and filter. MIDI note, | |
3546 | control change, program change and pitch bend events are logged, and can be | |
3547 | filtered, redirected and transformed into other events according to MIDI maps | |
3548 | defined as tabs in the main control surface.") | |
3549 | (license license:gpl2+))) | |
3550 | ||
5a66e25c RW |
3551 | (define-public seq24 |
3552 | (package | |
3553 | (name "seq24") | |
3554 | (version "0.9.3") | |
3555 | (source (origin | |
3556 | (method url-fetch) | |
3557 | (uri (string-append "https://launchpad.net/seq24/trunk/" | |
3558 | version "/+download/seq24-" | |
3559 | version ".tar.bz2")) | |
3560 | (sha256 | |
3561 | (base32 | |
3562 | "12dphdhnvfk1k0vmagi1v2lhyxjyj1j3cz6ksjw0ydcvid1x8ap2")) | |
3563 | (patches (search-patches "seq24-rename-mutex.patch")))) | |
3564 | (build-system gnu-build-system) | |
3565 | (arguments | |
3566 | `(#:configure-flags | |
3567 | (list "CXXFLAGS=-std=gnu++11"))) | |
3568 | (inputs | |
3569 | `(("gtkmm" ,gtkmm-2) | |
3570 | ("alsa-lib" ,alsa-lib) | |
3571 | ("jack" ,jack-1) | |
3572 | ("lash" ,lash))) | |
3573 | (native-inputs | |
3574 | `(("pkg-config" ,pkg-config))) | |
3575 | (home-page "https://edge.launchpad.net/seq24/") | |
3576 | (synopsis "Real-time MIDI sequencer") | |
3577 | (description "Seq24 is a real-time MIDI sequencer. It was created to | |
3578 | provide a very simple interface for editing and playing MIDI loops.") | |
3579 | (license license:gpl2+))) | |
3580 | ||
d3db5efb LF |
3581 | (define-public python-discogs-client |
3582 | (package | |
3583 | (name "python-discogs-client") | |
3584 | (version "2.2.1") | |
3585 | (source (origin | |
3586 | (method url-fetch) | |
3587 | (uri (pypi-uri "discogs-client" version)) | |
3588 | (sha256 | |
3589 | (base32 | |
3590 | "053ld2psh0yj3z0kg6z5bn4y3cr562m727494n0ayhgzbkjbacly")))) | |
3591 | (build-system python-build-system) | |
3592 | (propagated-inputs | |
3593 | `(("python-oauthlib" ,python-oauthlib) | |
3594 | ("python-requests" ,python-requests))) | |
3595 | (native-inputs | |
3596 | `(("python-six" ,python-six))) | |
3597 | (home-page "https://github.com/discogs/discogs_client") | |
3598 | (synopsis "Official Python client for the Discogs API") | |
3599 | (description "This is the official Discogs API client for Python. It enables | |
3600 | you to query the Discogs database for information on artists, releases, labels, | |
3601 | users, Marketplace listings, and more. It also supports OAuth 1.0a | |
3602 | authorization, which allows you to change user data such as profile information, | |
3603 | collections and wantlists, inventory, and orders.") | |
80983df3 | 3604 | (license license:bsd-2))) |
d3db5efb LF |
3605 | |
3606 | (define-public python2-discogs-client | |
80983df3 | 3607 | (package-with-python2 python-discogs-client)) |
a4f05b46 | 3608 | |
3609 | (define-public libsmf | |
3610 | (package | |
3611 | (name "libsmf") | |
3612 | (version "1.3") | |
3613 | (source | |
3614 | (origin | |
3615 | (method url-fetch) | |
3616 | ;; SF download page says development moved, but the link it points to | |
3617 | ;; is gone (https://github.com/nilsgey/libsmf). Someone else adopted | |
3618 | ;; it but made no release so far (https://github.com/stump/libsmf). | |
3619 | (uri (string-append "mirror://sourceforge/libsmf/libsmf/" | |
3620 | version "/libsmf-" version ".tar.gz")) | |
3621 | (sha256 | |
3622 | (base32 | |
3623 | "16c0n40h0r56gzbh5ypxa4dwp296dan3jminml2qkb4lvqarym6k")))) | |
3624 | (build-system gnu-build-system) | |
3625 | (outputs '("out" | |
3626 | "static")) ; 88KiB of .a files | |
3627 | (arguments | |
3628 | `(#:phases | |
3629 | (modify-phases %standard-phases | |
3630 | (add-after 'install 'move-static-libraries | |
3631 | (lambda* (#:key outputs #:allow-other-keys) | |
3632 | ;; Move static libraries to the "static" output. | |
3633 | (let* ((out (assoc-ref outputs "out")) | |
3634 | (lib (string-append out "/lib")) | |
3635 | (static (assoc-ref outputs "static")) | |
3636 | (slib (string-append static "/lib"))) | |
3637 | (mkdir-p slib) | |
3638 | (for-each (lambda (file) | |
3639 | (install-file file slib) | |
3640 | (delete-file file)) | |
3641 | (find-files lib "\\.a$")) | |
3642 | #t)))))) | |
3643 | (inputs | |
3644 | `(("readline" ,readline) | |
3645 | ("glib" ,glib))) | |
3646 | (native-inputs | |
3647 | `(("doxygen" ,doxygen) | |
3648 | ("pkg-config" ,pkg-config))) | |
3649 | (home-page "http://libsmf.sourceforge.net/") | |
3650 | (synopsis "Standard MIDI File format library") | |
3651 | (description | |
3652 | "LibSMF is a C library for handling SMF (\"*.mid\") files. It transparently handles | |
3653 | conversions between time and pulses, tempo map handling and more. The only dependencies | |
3654 | are a C compiler and glib. Full API documentation and examples are included.") | |
3655 | (license license:bsd-2))) | |
a42619e5 RF |
3656 | |
3657 | (define-public lmms | |
3658 | (package | |
3659 | (name "lmms") | |
3660 | (version "1.1.3") | |
3661 | (source | |
3662 | (origin | |
3a0592ae RW |
3663 | (method git-fetch) |
3664 | (uri (git-reference | |
3665 | (url "https://github.com/LMMS/lmms.git") | |
3666 | (commit (string-append "v" version)))) | |
3667 | (file-name (git-file-name name version)) | |
a42619e5 RF |
3668 | (sha256 |
3669 | (base32 | |
3a0592ae | 3670 | "03hhymc6d73fa3wbcqb7rm1l03zkw605k5i9kvkvjmv488bqh3pd")))) |
a42619e5 RF |
3671 | (build-system cmake-build-system) |
3672 | (arguments | |
3673 | `(#:tests? #f ; no tests | |
3674 | #:phases | |
3675 | (modify-phases %standard-phases | |
ab2ccf4c KK |
3676 | (add-before 'configure 'set-ldflags |
3677 | (lambda* (#:key outputs #:allow-other-keys) | |
3678 | (setenv "LDFLAGS" | |
3679 | (string-append | |
3680 | "-Wl,-rpath=\"" | |
3681 | (assoc-ref outputs "out") "/lib/lmms" | |
3682 | ":" | |
3683 | (assoc-ref outputs "out") "/lib/lmms/ladspa" | |
3684 | "\"")) | |
3685 | #t)) | |
3686 | (add-before 'configure 'remove-Werror | |
3687 | (lambda _ | |
3688 | (substitute* "CMakeLists.txt" | |
3689 | (("SET\\(WERROR_FLAGS \"\\$\\{WERROR_FLAGS\\} -Werror") | |
3690 | "SET(WERROR_FLAGS \"${WERROR_FLAGS}")) | |
3691 | #t)) | |
3692 | (add-before 'reset-gzip-timestamps 'make-manpages-writable | |
3693 | (lambda* (#:key outputs #:allow-other-keys) | |
3694 | (map (lambda (file) | |
3695 | (make-file-writable file)) | |
3696 | (find-files (string-append (assoc-ref outputs "out") | |
3697 | "/share/man") | |
3698 | ".*\\.gz$")) | |
3699 | #t))))) | |
a42619e5 RF |
3700 | (native-inputs |
3701 | `(("pkg-config" ,pkg-config))) | |
3702 | (inputs | |
3703 | `(("sdl" ,sdl) | |
3704 | ("qt" ,qt-4) | |
3705 | ("fltk" ,fltk) | |
3706 | ("libogg" ,libogg) | |
3707 | ("libsamplerate" ,libsamplerate) | |
9b6dc31b | 3708 | ("fluidsynth" ,fluidsynth-1) ;XXX: try using 2.x when updating |
a42619e5 RF |
3709 | ("libvorbis" ,libvorbis) |
3710 | ("alsa-lib" ,alsa-lib) | |
3711 | ("portaudio" ,portaudio) | |
3712 | ("ladspa" ,ladspa) | |
3713 | ("libsndfile1" ,libsndfile) | |
3714 | ("libxft" ,libxft) | |
3715 | ("freetype2" ,freetype) | |
3716 | ("fftw3f" ,fftwf))) | |
3717 | (home-page "https://lmms.io/") | |
3718 | (synopsis "Music composition tool") | |
3719 | (description "LMMS is a digital audio workstation. It includes tools for sequencing | |
3720 | melodies and beats and for mixing and arranging songs. LMMS includes instruments based on | |
3721 | audio samples and various soft sythesizers. It can receive input from a MIDI keyboard.") | |
3722 | (license license:gpl2+))) | |
a7a7186c NG |
3723 | |
3724 | (define-public musescore | |
3725 | (package | |
3726 | (name "musescore") | |
a269c894 | 3727 | (version "3.0.5") |
a7a7186c | 3728 | (source (origin |
545ceac8 NG |
3729 | (method git-fetch) |
3730 | (uri (git-reference | |
3731 | (url "https://github.com/musescore/MuseScore.git") | |
3732 | (commit (string-append "v" version)))) | |
3733 | (file-name (git-file-name name version)) | |
a7a7186c NG |
3734 | (sha256 |
3735 | (base32 | |
a269c894 | 3736 | "1inf6zdyh6yspjv1i7g6rw9wn90vki1s2qgilkp0j4aphayj4mic")) |
a7a7186c NG |
3737 | (modules '((guix build utils))) |
3738 | (snippet | |
3739 | ;; Un-bundle OpenSSL and remove unused libraries. | |
3740 | '(begin | |
3741 | (substitute* "thirdparty/kQOAuth/CMakeLists.txt" | |
3742 | (("-I \\$\\{PROJECT_SOURCE_DIR\\}/thirdparty/openssl/include ") | |
3743 | "")) | |
3744 | (substitute* "thirdparty/kQOAuth/kqoauthutils.cpp" | |
3745 | (("#include <openssl/.*") "")) | |
3746 | (for-each delete-file-recursively | |
3747 | '("thirdparty/freetype" | |
3748 | "thirdparty/openssl" | |
3749 | "thirdparty/portmidi")) | |
8d611ef0 | 3750 | #t)))) |
11d44d0b | 3751 | (build-system cmake-build-system) |
a7a7186c | 3752 | (arguments |
11d44d0b | 3753 | `(#:configure-flags |
8d611ef0 | 3754 | `("-DBUILD_CRASH_REPORTER=OFF" |
11d44d0b | 3755 | "-DBUILD_WEBENGINE=OFF" |
8d611ef0 NG |
3756 | "-DDOWNLOAD_SOUNDFONT=OFF" |
3757 | "-DUSE_SYSTEM_FREETYPE=ON") | |
11d44d0b NG |
3758 | ;; There are tests, but no simple target to run. The command used to |
3759 | ;; run them is: | |
a7a7186c NG |
3760 | ;; |
3761 | ;; make debug && sudo make installdebug && cd \ | |
3762 | ;; build.debug/mtest && make && ctest | |
3763 | ;; | |
3764 | ;; Basically, it requires to start a whole new build process. | |
3765 | ;; So we simply skip them. | |
11d44d0b | 3766 | #:tests? #f)) |
a7a7186c NG |
3767 | (inputs |
3768 | `(("alsa-lib" ,alsa-lib) | |
3769 | ("freetype" ,freetype) | |
3770 | ("gtk+-bin" ,gtk+ "bin") ;for gtk-update-icon-cache | |
3771 | ("jack" ,jack-1) | |
3772 | ("lame" ,lame) | |
3773 | ("libogg" ,libogg) | |
3774 | ("libsndfile" ,libsndfile) | |
3775 | ("libvorbis" ,libvorbis) | |
3776 | ("portaudio" ,portaudio) | |
b3891a25 | 3777 | ("portmidi" ,portmidi) |
a7a7186c NG |
3778 | ("pulseaudio" ,pulseaudio) |
3779 | ("qtbase" ,qtbase) | |
3780 | ("qtdeclarative" ,qtdeclarative) | |
3781 | ("qtscript" ,qtscript) | |
3782 | ("qtsvg" ,qtsvg) | |
a7a7186c NG |
3783 | ("qtxmlpatterns" ,qtxmlpatterns))) |
3784 | (native-inputs | |
11d44d0b | 3785 | `(("pkg-config" ,pkg-config) |
a7a7186c NG |
3786 | ("qttools" ,qttools))) |
3787 | (synopsis "Music composition and notation software") | |
3788 | (description "MuseScore is a music score typesetter. Its main purpose is | |
3789 | the creation of high-quality engraved musical scores in a WYSIWYG environment. | |
3790 | ||
3791 | It supports unlimited staves, linked parts and part extraction, tablature, | |
3792 | MIDI input, percussion notation, cross-staff beaming, automatic transposition, | |
3793 | lyrics (multiple verses), fretboard diagrams, and in general everything | |
3794 | commonly used in sheet music. Style options and style sheets to change the | |
3795 | appearance and layout are provided. | |
3796 | ||
3797 | MuseScore can also play back scores through the built-in sequencer and SoundFont | |
3798 | sample library.") | |
3799 | (home-page "https://musescore.org") | |
3800 | (license license:gpl2))) | |
2434f5ce | 3801 | |
43188faf RW |
3802 | (define-public muse-sequencer |
3803 | (package | |
3804 | (name "muse-sequencer") | |
3805 | (version "3.0.0") | |
3806 | (source (origin | |
3807 | (method git-fetch) | |
3808 | (uri (git-reference | |
3809 | (url "https://github.com/muse-sequencer/muse.git") | |
3810 | (commit (string-append "muse_" | |
3811 | (string-map (lambda (c) | |
3812 | (if (char=? c #\.) | |
3813 | #\_ c)) version))))) | |
3814 | (file-name (string-append name "-" version "-checkout")) | |
3815 | (sha256 | |
3816 | (base32 | |
3817 | "1nninz8qyqlxxjdnrm79y3gr3056pga9l2fsqh674jd3cjvafya3")))) | |
3818 | (build-system cmake-build-system) | |
3819 | (arguments | |
3820 | `(#:tests? #f ; there is no test target | |
3821 | #:configure-flags | |
3822 | (list "-DENABLE_LV2_SUPPLIED=OFF" | |
3823 | "-DENABLE_RTAUDIO=OFF" ; FIXME: not packaged | |
3824 | "-DENABLE_INSTPATCH=OFF" ; FIXME: not packaged | |
3825 | "-DENABLE_VST_NATIVE=OFF") | |
3826 | #:phases | |
3827 | (modify-phases %standard-phases | |
3828 | (add-after 'unpack 'chdir | |
3829 | (lambda _ (chdir "muse3")))))) | |
3830 | (inputs | |
3831 | `(("alsa-lib" ,alsa-lib) | |
3832 | ("lash" ,lash) | |
3833 | ("jack" ,jack-1) | |
3834 | ("liblo" ,liblo) | |
3835 | ("dssi" ,dssi) | |
3836 | ("ladspa" ,ladspa) | |
3837 | ("lv2" ,lv2) | |
3838 | ("lilv" ,lilv) | |
3839 | ("sord" ,sord) | |
3840 | ("libsndfile" ,libsndfile) | |
3841 | ("libsamplerate" ,libsamplerate) | |
3842 | ("fluidsynth" ,fluidsynth) | |
3843 | ("pcre" ,pcre) | |
3844 | ("qtbase" ,qtbase) | |
3845 | ("qtsvg" ,qtsvg))) | |
3846 | (native-inputs | |
3847 | `(("pkg-config" ,pkg-config) | |
3848 | ("qttools" ,qttools))) | |
3849 | (home-page "http://muse-sequencer.org") | |
3850 | (synopsis "MIDI/Audio sequencer") | |
3851 | (description "MusE is a MIDI/Audio sequencer with recording and editing | |
3852 | capabilities. Its audio sequencer supports the LADSPA, DSSI, and LV2 audio | |
3853 | plugin formats; the MIDI sequencer provides a piano roll, a drum editor, a | |
3854 | list view, and a score editor. MusE aims to be a complete multitrack virtual | |
3855 | studio.") | |
3856 | (license license:gpl2+))) | |
3857 | ||
2434f5ce DM |
3858 | (define-public dssi |
3859 | (package | |
3860 | (name "dssi") | |
3861 | (version "1.1.1") | |
3862 | (source (origin | |
3863 | (method url-fetch) | |
3864 | (uri (string-append | |
3865 | "mirror://sourceforge/dssi/dssi/" version | |
3866 | "/dssi-" version ".tar.gz")) | |
3867 | (sha256 | |
3868 | (base32 | |
3869 | "0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j")))) | |
3870 | (build-system gnu-build-system) | |
3871 | (inputs | |
3872 | `(("alsa-lib" ,alsa-lib) | |
0e78801a | 3873 | ("jack" ,jack-1) |
2434f5ce DM |
3874 | ("ladspa" ,ladspa) |
3875 | ("libsamplerate" ,libsamplerate) | |
3876 | ("libsndfile" ,libsndfile) | |
3877 | ("liblo" ,liblo))) | |
3878 | (native-inputs | |
3879 | `(("pkg-config" ,pkg-config))) | |
3880 | (synopsis "Audio plugin API for soft synths and effects") | |
3881 | (description "DSSI is a plugin API for software instruments with user | |
3882 | interfaces, permitting them to be hosted in-process by audio applications. | |
3883 | It is intended to be simple, GUI-toolkit-agnostic, and slightly biased | |
3884 | towards familiarity with MIDI. The DSSI distribution package contains | |
3885 | a JACK/ALSA-sequencer reference host and some plugins as well as the | |
3886 | specification and header.") | |
3887 | (home-page "http://dssi.sourceforge.net/") | |
3888 | ;; The DSSI interface is LGPL2.1+, some tests and examples are GPL2+. | |
3889 | ;; The vast majority of examples are in the public domain. | |
3890 | (license (list license:lgpl2.1+ license:gpl2+)))) | |
9bc38f28 DM |
3891 | |
3892 | (define-public rosegarden | |
3893 | (package | |
3894 | (name "rosegarden") | |
0d5101c3 | 3895 | (version "18.12") |
9bc38f28 DM |
3896 | (source (origin |
3897 | (method url-fetch) | |
3898 | (uri (string-append | |
3899 | "mirror://sourceforge/rosegarden/rosegarden/" | |
3900 | version "/rosegarden-" version ".tar.bz2")) | |
3901 | (sha256 | |
3902 | (base32 | |
0d5101c3 | 3903 | "15i9fm0vkn3wsgahaxqi1j5zs0wc0j3wdwml0x49084gk2p328vb")))) |
9bc38f28 DM |
3904 | (build-system cmake-build-system) |
3905 | (arguments | |
0d5101c3 | 3906 | `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release") |
9bc38f28 DM |
3907 | #:phases |
3908 | (modify-phases %standard-phases | |
3909 | (add-after 'unpack 'patch-tests | |
3910 | (lambda _ | |
3911 | (substitute* "CMakeLists.txt" | |
3912 | (("BUILD_TESTING OFF") "BUILD_TESTING ON") | |
3913 | ;; Make tests work. | |
3914 | ((" -fvisibility=hidden") "")) | |
3915 | #t)) | |
3916 | (add-after 'unpack 'fix-references | |
3917 | (lambda* (#:key inputs #:allow-other-keys) | |
3918 | (substitute* "src/gui/general/ProjectPackager.cpp" | |
3919 | (("\"flac\\>") | |
3920 | (string-append "\"" (assoc-ref inputs "flac") "/bin/flac")) | |
3921 | (("\"wavpack\\>") | |
3922 | (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wavpack")) | |
3923 | (("\"wvunpack\\>") | |
3924 | (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wvunpack")) | |
3925 | (("\"bash\\>") | |
3926 | (string-append "\"" (assoc-ref inputs "bash") "/bin/bash")) | |
3927 | (("\"tar\\>") | |
3928 | (string-append "\"" (assoc-ref inputs "tar") "/bin/tar"))) | |
3929 | (substitute* "src/gui/general/LilyPondProcessor.cpp" | |
3930 | (("\"convert-ly\\>") | |
3931 | (string-append "\"" (assoc-ref inputs "lilypond") "/bin/convert-ly")) | |
3932 | (("\"lilypond\\>") | |
3933 | (string-append "\"" (assoc-ref inputs "lilypond") "/bin/lilypond"))) | |
3934 | #t)) | |
3935 | (add-after 'unpack 'make-reproducible | |
3936 | (lambda _ | |
3937 | ;; Prevent Last-Modified from being written. | |
3938 | ;; The "*.qm" files that are used in locale.qrc would have a new | |
3939 | ;; mtime otherwise that is written into qrc_locale.cpp in the | |
3940 | ;; end - except when we disable it. | |
3941 | (substitute* "src/CMakeLists.txt" | |
3942 | (("COMMAND [$][{]QT_RCC_EXECUTABLE[}]") | |
3943 | "COMMAND ${QT_RCC_EXECUTABLE} --format-version 1") | |
3944 | ;; Extraneous. | |
3945 | ;(("qt5_add_resources[(]rg_SOURCES ../data/data.qrc[)]") | |
3946 | ; "qt5_add_resources(rg_SOURCES ../data/data.qrc OPTIONS --format-version 1)") | |
3947 | ) | |
3948 | ;; Make hashtable traversal order predicable. | |
3949 | (setenv "QT_RCC_TEST" "1") ; important | |
3950 | #t)) | |
3951 | (add-before 'check 'prepare-check | |
3952 | (lambda _ | |
3953 | (setenv "QT_QPA_PLATFORM" "offscreen") | |
3954 | ;; Tests create files in $HOME/.local/share/rosegarden . | |
3955 | (mkdir-p "/tmp/foo") | |
3956 | (setenv "HOME" "/tmp/foo") | |
9bf98520 | 3957 | (setenv "XDG_RUNTIME_DIR" "/tmp/foo") |
9bc38f28 DM |
3958 | #t))))) |
3959 | (inputs | |
3960 | `(("alsa-lib" ,alsa-lib) | |
3961 | ("bash" ,bash) | |
3962 | ("dssi" ,dssi) | |
3963 | ("flac" ,flac) | |
3964 | ("fftwf" ,fftwf) | |
b94f250e | 3965 | ("jack" ,jack-1) |
9bc38f28 DM |
3966 | ("ladspa" ,ladspa) |
3967 | ("liblo" ,liblo) | |
3968 | ("libsamplerate" ,libsamplerate) | |
3969 | ("lilypond" ,lilypond) | |
3970 | ("lrdf" ,lrdf) | |
3971 | ("qtbase" ,qtbase) | |
3972 | ("tar" ,tar) | |
3973 | ("lirc" ,lirc) | |
3974 | ("wavpack" ,wavpack) | |
3975 | ("zlib" ,zlib))) | |
3976 | (native-inputs | |
3977 | `(("pkg-config" ,pkg-config) | |
3978 | ("qtlinguist" ,qttools))) | |
3979 | (synopsis "Music composition and editing environment based around a MIDI | |
3980 | sequencer") | |
3981 | (description "Rosegarden is a music composition and editing environment | |
3982 | based around a MIDI sequencer that features a rich understanding of music | |
3983 | notation and includes basic support for digital audio.") | |
9bf98520 | 3984 | (home-page "https://www.rosegardenmusic.com/") |
9bc38f28 | 3985 | (license license:gpl2))) |
30655652 | 3986 | |
643817e4 | 3987 | (define-public patchmatrix |
2394afa4 RW |
3988 | ;; There have been no releases for more than a year. |
3989 | (let ((commit "a0b0b1e791f4574d5abd059cfe1819c71e8b18d5") | |
3990 | (revision "1")) | |
3991 | (package | |
3992 | (name "patchmatrix") | |
3993 | (version (git-version "0.12.0" revision commit)) | |
3994 | (source (origin | |
3995 | (method git-fetch) | |
3996 | (uri (git-reference | |
3997 | (url "https://github.com/OpenMusicKontrollers/patchmatrix.git") | |
3998 | (commit commit))) | |
3999 | (file-name (string-append "patchmatrix-" version "-checkout")) | |
4000 | (sha256 | |
4001 | (base32 | |
4002 | "0pph4ra7aci3rbpqvvr564pi16vxrk448bmvp8985cd9lbjlrp3m")))) | |
4003 | (build-system meson-build-system) | |
4004 | (arguments | |
4005 | '(#:tests? #f ; no test target | |
4006 | #:phases | |
4007 | (modify-phases %standard-phases | |
4008 | (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable | |
4009 | (lambda* (#:key outputs #:allow-other-keys) | |
4010 | (map make-file-writable | |
4011 | (find-files (assoc-ref outputs "out") ".*\\.gz$")) | |
4012 | #t))))) | |
4013 | (inputs | |
4014 | `(("jack" ,jack-1) | |
4015 | ("lv2" ,lv2) | |
4016 | ("mesa" ,mesa))) | |
4017 | (native-inputs | |
4018 | `(("pkg-config" ,pkg-config))) | |
4019 | (home-page "https://github.com/OpenMusicKontrollers/patchmatrix") | |
4020 | (synopsis "Simple JACK patch bay") | |
4021 | (description "PatchMatrix is a patch bay for the JACK audio connection | |
643817e4 RW |
4022 | kit. It provides a patch bay in flow matrix style for audio, MIDI, CV, and |
4023 | OSC connections.") | |
2394afa4 | 4024 | (license license:artistic2.0)))) |
643817e4 | 4025 | |
30655652 RW |
4026 | (define-public sorcer |
4027 | (package | |
4028 | (name "sorcer") | |
4029 | (version "1.1.3") | |
4030 | (source (origin | |
4031 | (method url-fetch) | |
4032 | (uri (string-append "https://github.com/openAVproductions/" | |
4033 | "openAV-Sorcer/archive/release-" | |
4034 | version ".tar.gz")) | |
4035 | (file-name (string-append name "-" version ".tar.gz")) | |
4036 | (sha256 | |
4037 | (base32 | |
4038 | "07iyqj28wm0xc4arrq893bm12xjpz65db7ynrlmf6w8krg8wjmd0")))) | |
4039 | (build-system cmake-build-system) | |
4040 | (arguments | |
4041 | `(#:tests? #f ; no tests included | |
4042 | #:phases | |
4043 | (modify-phases %standard-phases | |
e5af1f4a EF |
4044 | (add-after 'unpack 'remove-architecture-specific-flags |
4045 | (lambda _ | |
4046 | (substitute* "CMakeLists.txt" | |
4047 | (("-msse2 -mfpmath=sse") "")) | |
4048 | #t)) | |
30655652 RW |
4049 | (add-after 'unpack 'build-faust-sources |
4050 | (lambda* (#:key inputs #:allow-other-keys) | |
4051 | (with-directory-excursion "faust" | |
4052 | (delete-file "main.cpp") | |
d7e24652 RW |
4053 | (invoke "faust" "-i" |
4054 | "-a" "lv2synth.cpp" | |
4055 | "-o" "main.cpp" "main.dsp"))))))) | |
30655652 RW |
4056 | (inputs |
4057 | `(("boost" ,boost) | |
4058 | ("lv2" ,lv2) | |
4059 | ("ntk" ,ntk))) | |
4060 | (native-inputs | |
4061 | `(("faust" ,faust) | |
4062 | ("pkg-config" ,pkg-config))) | |
4063 | (home-page "http://openavproductions.com/sorcer/") | |
4064 | (synopsis "Wavetable LV2 plugin synth") | |
4065 | (description "Sorcer is a wavetable LV2 plugin synthesizer, targeted at | |
4066 | the electronic or dubstep genre.") | |
4067 | (license license:gpl3+))) | |
60b7ed9c | 4068 | |
f7ce2134 RW |
4069 | (define-public sonivox-eas |
4070 | (package | |
4071 | (name "sonivox-eas") | |
4072 | (version "1.1.0") | |
4073 | (source (origin | |
4074 | (method git-fetch) | |
4075 | (uri (git-reference | |
4076 | (url "https://github.com/pedrolcl/Linux-SonivoxEas.git") | |
4077 | (commit (string-append "v" version)))) | |
4078 | (file-name (string-append name "-" version "-checkout")) | |
4079 | (sha256 | |
4080 | (base32 | |
4081 | "0l9gs00p5g4k4qy6i7nv1mfi2n2wnsycwjrgrh9hxzam4irf2mw2")))) | |
4082 | (build-system cmake-build-system) | |
4083 | (arguments '(#:tests? #f)) ; there are no tests | |
4084 | (inputs | |
4085 | `(("alsa-lib" ,alsa-lib) | |
4086 | ("drumstick" ,drumstick) | |
4087 | ("pulseaudio" ,pulseaudio) | |
4088 | ("qtbase" ,qtbase))) | |
4089 | (native-inputs | |
4090 | `(("pkg-config" ,pkg-config))) | |
4091 | (home-page "https://github.com/pedrolcl/Linux-SonivoxEas") | |
4092 | (synopsis "MIDI synthesizer library") | |
4093 | (description "This project is a real time General MIDI synthesizer based | |
4094 | on the Sonivox EAS Synthesizer by Google. It does not need external | |
4095 | soundfonts, using embedded samples instead.") | |
4096 | ;; Sonivox is released under the ASL2.0; the rest of the code is under | |
4097 | ;; GPLv2+. | |
4098 | (license (list license:gpl2+ license:asl2.0)))) | |
92b36e3a RW |
4099 | |
4100 | (define-public whysynth | |
4101 | (package | |
4102 | (name "whysynth") | |
4103 | (version "20170701") | |
4104 | (source (origin | |
4105 | (method url-fetch) | |
4106 | (uri (string-append "http://smbolton.com/whysynth/whysynth-" | |
4107 | version ".tar.bz2")) | |
4108 | (sha256 | |
4109 | (base32 | |
4110 | "02qbn0hbvn1iym4zxv35b201blg31yjpgh71h8db0j5zls2xc0m6")))) | |
4111 | (build-system gnu-build-system) | |
4112 | (inputs | |
4113 | `(("dssi" ,dssi) | |
4114 | ("liblo" ,liblo) | |
4115 | ("fftwf" ,fftwf) | |
4116 | ("gtk+" ,gtk+-2) | |
4117 | ("ladspa" ,ladspa) | |
4118 | ("alsa-lib" ,alsa-lib))) | |
4119 | (native-inputs | |
4120 | `(("pkg-config" ,pkg-config))) | |
4121 | (home-page "http://smbolton.com/whysynth.html") | |
4122 | (synopsis "DSSI software synthesizer") | |
4123 | (description "WhySynth is a versatile softsynth which operates as a plugin | |
4124 | for the DSSI Soft Synth Interface. A brief list of features: | |
4125 | ||
4126 | @enumerate | |
4127 | @item 4 oscillators, 2 filters, 3 LFOs, and 5 envelope generators per voice. | |
4128 | @item 11 oscillator modes: minBLEP, wavecycle, chorused wavecycle, | |
4129 | asynchronous granular, three FM modes, waveshaper, noise, PADsynth, and phase | |
4130 | distortion. | |
4131 | @item 10 filter modes. | |
4132 | @item flexible modulation and mixdown options, plus effects. | |
4133 | @end enumerate | |
4134 | ") | |
4135 | (license license:gpl2+))) | |
6b445c57 | 4136 | |
4137 | (define-public libdiscid | |
4138 | (package | |
4139 | (name "libdiscid") | |
4140 | (version "0.6.2") | |
4141 | (source | |
4142 | (origin | |
4143 | (method url-fetch) | |
4144 | (uri (string-append | |
4145 | "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/libdiscid-" | |
4146 | version ".tar.gz")) | |
4147 | (sha256 | |
4148 | (base32 | |
4149 | "1f9irlj3dpb5gyfdnb1m4skbjvx4d4hwiz2152f83m0d9jn47r7r")))) | |
4150 | (arguments `(#:test-target "check")) | |
4151 | (build-system cmake-build-system) | |
4152 | (home-page "https://musicbrainz.org/doc/libdiscid") | |
4153 | (synopsis "Disc id reader library") | |
4154 | (description "libdiscid is a C library for creating MusicBrainz and freedb | |
4155 | disc IDs from audio CDs. It reads a CD's table of contents (TOC) and generates | |
4156 | an identifier which can be used to lookup the CD at MusicBrainz. Additionally, | |
4157 | it provides a submission URL for adding the disc ID to the database and gathers | |
4158 | ISRCs and the MCN (=UPC/EAN) from disc.") | |
4159 | (license license:lgpl2.1+))) | |
1ea29aa0 | 4160 | |
1331a6c0 GH |
4161 | (define-public python-discid |
4162 | (package | |
4163 | (name "python-discid") | |
4164 | (version "1.1.1") | |
4165 | (source | |
4166 | (origin | |
4167 | (method url-fetch) | |
4168 | (uri (pypi-uri "discid" version)) | |
4169 | (sha256 | |
4170 | (base32 | |
4171 | "1fgp67nhqlbvhhwrcxq5avil7alpzw4s4579hlyvxzbphdnbz8vq")))) | |
4172 | (build-system python-build-system) | |
4173 | (inputs | |
4174 | `(("libdiscid" ,libdiscid))) | |
4175 | (arguments | |
4176 | `(#:phases | |
4177 | (modify-phases %standard-phases | |
4178 | (add-before 'build 'set-libdiscid | |
4179 | ;; Set path of libdiscid | |
4180 | (lambda* (#:key inputs #:allow-other-keys) | |
4181 | (let ((discid (assoc-ref inputs "libdiscid"))) | |
4182 | (substitute* "discid/libdiscid.py" | |
4183 | (("lib_name = (.*)$" all name) | |
4184 | (string-append "lib_name = \"" discid | |
4185 | "/lib/libdiscid.so.0\"\n"))) | |
4186 | #t)))))) | |
4187 | (home-page "https://python-discid.readthedocs.io/") | |
4188 | (synopsis "Python bindings for Libdiscid") | |
4189 | (description | |
4190 | "This package provides Python bindings for the Libdiscid library. The | |
4191 | main purpose is the calculation of @url{https://musicbrainz.org/doc/Disc%20ID, | |
4192 | Disc IDs} for use with the MusicBrainz database. Additionally the disc | |
4193 | @dfn{Media Catalog Number} (MCN) and track @dfn{International Standard | |
4194 | Recording Code} (ISRC) can be extracted.}") | |
4195 | (license license:lgpl3+))) | |
4196 | ||
1ea29aa0 | 4197 | (define-public libmusicbrainz |
4198 | (package | |
4199 | (name "libmusicbrainz") | |
4200 | (version "5.1.0") | |
4201 | (source | |
4202 | (origin | |
4203 | (method url-fetch) | |
4204 | (uri (string-append | |
4205 | "https://github.com/metabrainz/libmusicbrainz/releases/download/release-" | |
4206 | version "/libmusicbrainz-" version ".tar.gz")) | |
4207 | (sha256 | |
4208 | (base32 | |
8c71a52c | 4209 | "0ikb9igyyk28jm34raxfzkw2qyn4nzzwsymdyprp7cmvi6g2ajb7")))) |
1ea29aa0 | 4210 | (build-system cmake-build-system) |
69cb939e RW |
4211 | (arguments |
4212 | `(#:phases | |
4213 | (modify-phases %standard-phases | |
4214 | (replace 'check | |
4215 | (lambda _ | |
4216 | ;; requires network connections | |
4217 | ;; (invoke "tests/mbtest") | |
4218 | (invoke "tests/ctest") | |
4219 | #t))))) | |
1ea29aa0 | 4220 | (inputs `(("neon" ,neon) |
4221 | ("libxml2" ,libxml2))) | |
4222 | (native-inputs `(("pkg-config" ,pkg-config))) | |
4223 | (home-page "https://musicbrainz.org/doc/libmusicbrainz") | |
4224 | (synopsis "MusicBrainz client library") | |
4225 | (description "The MusicBrainz Client Library (libmusicbrainz), also known as | |
4226 | mb_client, is a development library geared towards developers who wish to add | |
4227 | MusicBrainz lookup capabilities to their applications.") | |
4228 | (license license:lgpl2.1+))) | |
87d1b7b0 | 4229 | |
b0c2c5ab LC |
4230 | (define-public perl-musicbrainz-discid |
4231 | (package | |
4232 | (name "perl-musicbrainz-discid") | |
4233 | (version "0.04") | |
4234 | (source (origin | |
4235 | (method url-fetch) | |
4236 | (uri (string-append | |
4237 | "mirror://cpan/authors/id/N/NJ/NJH/MusicBrainz-DiscID-" | |
4238 | version ".tar.gz")) | |
4239 | (sha256 | |
4240 | (base32 | |
4241 | "1i4qk1qfcmxdibqkyfjrrjdq2zk42vjcz590qgiyc47fi9p6xx1j")))) | |
4242 | (build-system perl-build-system) | |
4243 | (native-inputs `(("pkg-config" ,pkg-config) | |
4244 | ("which" ,which))) | |
4245 | (inputs `(("libdiscid" ,libdiscid))) | |
4246 | (home-page "https://metacpan.org/release/MusicBrainz-DiscID") | |
4247 | (synopsis "Perl interface to the MusicBrainz libdiscid library") | |
4248 | (description | |
4249 | "The @code{MusicBrainz::DiscID} module is a Perl interface to the | |
4250 | MusicBrainz libdiscid library, allowing you to manipulate digital audio | |
4251 | compact disc (CDDA) identifiers.") | |
4252 | (license license:gpl2))) | |
4253 | ||
b2961dda LC |
4254 | (define-public perl-webservice-musicbrainz |
4255 | (package | |
4256 | (name "perl-webservice-musicbrainz") | |
b0842a8e | 4257 | (version "1.0.5") |
b2961dda LC |
4258 | (source (origin |
4259 | (method url-fetch) | |
4260 | (uri (string-append | |
4261 | "mirror://cpan/authors/id/B/BF/BFAIST/WebService-MusicBrainz-" | |
4262 | version ".tar.gz")) | |
4263 | (sha256 | |
4264 | (base32 | |
b0842a8e | 4265 | "16chs1l58cf000d5kalkyph3p31ci73p1rlyx98mfv10d2cq6fsj")))) |
b2961dda LC |
4266 | (build-system perl-build-system) |
4267 | (arguments | |
4268 | ;; Tests try to connect to http://musicbrainz.org. | |
4269 | '(#:tests? #f)) | |
4270 | (native-inputs | |
4271 | `(("perl-module-build" ,perl-module-build))) | |
4272 | (propagated-inputs | |
4273 | `(("perl-mojolicious" ,perl-mojolicious))) | |
4274 | (home-page "https://metacpan.org/release/WebService-MusicBrainz") | |
4275 | (synopsis "Web service API to the MusicBrainz database") | |
4276 | (description | |
4277 | "This module searches the MusicBrainz database through their web service | |
4278 | at @code{musicbrainz.org}.") | |
4279 | (license license:perl-license))) | |
4280 | ||
87d1b7b0 PN |
4281 | (define-public clyrics |
4282 | (package | |
4283 | (name "clyrics") | |
7f56f107 | 4284 | (version "0.11") |
87d1b7b0 PN |
4285 | (source |
4286 | (origin | |
234a1825 RW |
4287 | (method git-fetch) |
4288 | (uri (git-reference | |
4289 | (url "https://github.com/trizen/clyrics.git") | |
4290 | (commit version))) | |
4291 | (file-name (git-file-name name version)) | |
87d1b7b0 PN |
4292 | (sha256 |
4293 | (base32 | |
7f56f107 | 4294 | "0vfjy555achgi5zwa34x4q7r692nc6bq4jx518a5w4m7k5fvm71j")))) |
87d1b7b0 | 4295 | (build-system trivial-build-system) |
87d1b7b0 | 4296 | (inputs |
7f56f107 | 4297 | `(("bash" ,bash) ; for the wrapped program |
87d1b7b0 PN |
4298 | ("perl" ,perl) |
4299 | ("perl-www-mechanize" ,perl-www-mechanize) | |
4300 | ("perl-lwp-protocol-https" ,perl-lwp-protocol-https) | |
4301 | ;; Required or else LWP will fail with "GET https://www.google.com/ ==> | |
4302 | ;; 500 Can't verify SSL peers without knowing which Certificate | |
4303 | ;; Authorities to trust". | |
4304 | ("perl-mozilla-ca" ,perl-mozilla-ca))) | |
4305 | (arguments | |
4306 | `(#:modules ((guix build utils)) | |
4307 | #:builder (begin | |
4308 | (use-modules (guix build utils) | |
4309 | (ice-9 match) | |
4310 | (srfi srfi-26)) | |
4311 | (let* ((source (assoc-ref %build-inputs "source")) | |
87d1b7b0 PN |
4312 | (output (assoc-ref %outputs "out"))) |
4313 | (setenv "PATH" | |
4314 | (string-append | |
87d1b7b0 PN |
4315 | (assoc-ref %build-inputs "bash") "/bin" ":" |
4316 | (assoc-ref %build-inputs "perl") "/bin" ":")) | |
234a1825 | 4317 | (copy-recursively source (getcwd)) |
87d1b7b0 PN |
4318 | (patch-shebang "clyrics") |
4319 | (substitute* "clyrics" | |
4320 | (("/usr/share") output)) | |
4321 | (install-file "clyrics" (string-append output "/bin")) | |
4322 | (wrap-program (string-append output "/bin/clyrics") | |
4323 | `("PERL5LIB" ":" = | |
4324 | ,(delete | |
4325 | "" | |
4326 | (map (match-lambda | |
7f56f107 TGR |
4327 | (((? (cut string-prefix? "perl-" <>) name) . dir) |
4328 | (string-append dir "/lib/perl5/site_perl")) | |
4329 | (_ "")) | |
87d1b7b0 PN |
4330 | %build-inputs)))) |
4331 | (copy-recursively "plugins" (string-append output "/clyrics")) | |
4332 | #t)))) | |
4333 | (home-page "https://github.com/trizen/clyrics") | |
4334 | (synopsis "Extensible lyrics fetcher") | |
4335 | (description | |
4336 | "Clyrics is an extensible command-line tool to fetch the lyrics of songs. | |
4337 | It can be used in daemon mode along with the Music-on-Console (MOC) and cmus | |
4338 | console music players.") | |
4339 | (license license:gpl3+))) | |
5703380b PN |
4340 | |
4341 | (define-public demlo | |
4342 | (let ((commit "fe9ec4c8ac2fa995ec18e6ac86d50d46df06ec01") | |
4343 | (revision "0")) | |
4344 | (package | |
4345 | (name "demlo") | |
4346 | (version (git-version "3.8" revision commit)) | |
4347 | (source | |
4348 | (origin | |
4349 | (method git-fetch) | |
4350 | (uri (git-reference | |
4351 | (url | |
4352 | "https://gitlab.com/ambrevar/demlo") | |
4353 | (commit commit))) | |
4354 | (file-name (git-file-name name version)) | |
4355 | (sha256 | |
4356 | (base32 | |
4357 | "1afkbqhzn6da7zaf5ab7dvyqj1izqhzprwfb4hw448fllda9bdvk")))) | |
4358 | (build-system go-build-system) | |
4359 | (native-inputs | |
4360 | `(("lua" ,lua) | |
4361 | ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty) | |
4362 | ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable) | |
4363 | ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua) | |
4364 | ("go-gitlab-com-ambrevar-damerau" ,go-gitlab-com-ambrevar-damerau) | |
4365 | ("go-gitlab-com-ambrevar-golua-unicode" ,go-gitlab-com-ambrevar-golua-unicode) | |
4366 | ("go-github-com-mgutz-ansi" ,go-github-com-mgutz-ansi) | |
4367 | ("go-github-com-michiwend-gomusicbrainz" ,go-github-com-michiwend-gomusicbrainz) | |
4368 | ("go-github-com-stevedonovan-luar" ,go-github-com-stevedonovan-luar) | |
4369 | ("go-github-com-wtolson-go-taglib" ,go-github-com-wtolson-go-taglib) | |
4370 | ("go-github-com-yookoala-realpath" ,go-github-com-yookoala-realpath))) | |
4371 | (inputs | |
4372 | `(("chromaprint" ,chromaprint) | |
4373 | ("ffmpeg" ,ffmpeg))) | |
4374 | (arguments | |
4375 | `(#:import-path "gitlab.com/ambrevar/demlo" | |
4376 | #:phases | |
4377 | (modify-phases %standard-phases | |
4378 | (add-after 'install 'wrap-program | |
4379 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
4380 | (let ((out (assoc-ref outputs "out")) | |
4381 | (ffmpeg (assoc-ref inputs "ffmpeg")) | |
4382 | (chromaprint (assoc-ref inputs "chromaprint"))) | |
4383 | (wrap-program (string-append out "/bin/demlo") | |
4384 | `("XDG_DATA_DIRS" ":" prefix (,out)) | |
4385 | `("PATH" ":" prefix | |
4386 | ,(map (lambda (dir) | |
4387 | (string-append dir "/bin:" | |
4388 | dir "/sbin")) | |
4389 | (list ffmpeg chromaprint)))) | |
4390 | #t))) | |
e3900a4d | 4391 | (add-after 'install 'install-scripts |
5703380b PN |
4392 | (lambda* (#:key outputs #:allow-other-keys) |
4393 | (let* ((out (assoc-ref outputs "out")) | |
4394 | (root (string-append out "/src/gitlab.com/ambrevar/demlo")) | |
4395 | (xdg-data-dirs (string-append out "/demlo"))) | |
4396 | (copy-recursively (string-append root "/actions") | |
4397 | (string-append xdg-data-dirs "/actions")) | |
4398 | (copy-recursively (string-append root "/scripts") | |
4399 | (string-append xdg-data-dirs "/scripts")) | |
4400 | (install-file (string-append root "/config.lua") xdg-data-dirs) | |
4401 | ;; TODO: Test fish completion. | |
4402 | (install-file (string-append root "/completion/demlo.fish") | |
4403 | (string-append out "/share/fish/vendor_completions.d")) | |
4404 | #t)))))) | |
4405 | (home-page "https://gitlab.com/ambrevar/demlo") | |
4406 | (synopsis "Dynamic and extensible music library organizer") | |
4407 | (description "Demlo is a music library organizer. It can encode, fix | |
4408 | case, change folder hierarchy according to tags or file properties, tag from | |
4409 | an online database, copy covers while ignoring duplicates or those below a | |
4410 | quality threshold, and much more. It makes it possible to manage your | |
4411 | libraries uniformly and dynamically. You can write your own rules to fit your | |
4412 | needs best. | |
4413 | ||
4414 | Demlo can address any of these recurring music library issues (and much more): | |
4415 | ||
4416 | @itemize | |
4417 | @item Fix the lack of folder structure. | |
4418 | @item Normalize tags, fix their case, chose which tags to keep and which to | |
4419 | discard. | |
4420 | @item Handle lossy and lossless audio differently. | |
4421 | @item Handle mp3 id3tags hell... | |
4422 | @item Handle multiple covers, whether embedded and/or external, resize covers, | |
4423 | discard bad quality ones. | |
4424 | @end itemize\n") | |
4425 | (license license:expat)))) | |
e42ba3da LF |
4426 | |
4427 | (define-public lpd8editor | |
4428 | (package | |
4429 | (name "lpd8editor") | |
4430 | (version "0.0.12") | |
4431 | (source (origin | |
4432 | (method git-fetch) | |
4433 | (uri (git-reference | |
4434 | (url "https://github.com/charlesfleche/lpd8editor.git") | |
4435 | (commit (string-append "v" version)))) | |
4436 | (file-name (git-file-name name version)) | |
4437 | (sha256 | |
4438 | (base32 | |
4439 | "1v3fz8h1zs7kkl80faah79pp6yqwz0j7bkv3dbmh2hp42zbfiz1q")))) | |
4440 | (build-system gnu-build-system) | |
4441 | (arguments | |
4442 | '(#:phases | |
4443 | (modify-phases %standard-phases | |
4444 | (add-after 'unpack 'setenv | |
4445 | (lambda _ | |
4446 | (setenv "INSTALL_PREFIX" | |
4447 | (assoc-ref %outputs "out")))) | |
4448 | (delete 'configure) ; no configure script | |
4449 | (add-before 'build 'qmake | |
4450 | (lambda _ (invoke "qmake")))))) | |
4451 | (native-inputs | |
4452 | `(("pkg-config" ,pkg-config))) | |
4453 | (inputs | |
4454 | `(("alsa" ,alsa-lib) | |
4455 | ("qtbase" ,qtbase) | |
4456 | ("qtsvg" ,qtsvg))) | |
4457 | (synopsis "Graphical editor for the Akai LPD8 MIDI controller") | |
4458 | (description "lpd8editor is a graphical patch editor for the Akai LPD8 MIDI | |
4459 | controller.") | |
4460 | (home-page "https://github.com/charlesfleche/lpd8editor") | |
4461 | (license license:expat))) |