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