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