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