gnu: All snippets report errors using exceptions, else return #t.
[jackhill/guix/guix.git] / gnu / packages / mp3.scm
CommitLineData
d464e725
AE
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
d5ff67f4 3;;; Copyright © 2014, 2015, 2017 Ludovic Courtès <ludo@gnu.org>
c0eac5a8 4;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
d1cd67af 5;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
35e65701 6;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
d1451fa0 7;;; Copyright © 2017 Pierre Langlois <pierre.langlois@gmx.com>
38b87a8a 8;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
d464e725
AE
9;;;
10;;; This file is part of GNU Guix.
11;;;
12;;; GNU Guix is free software; you can redistribute it and/or modify it
13;;; under the terms of the GNU General Public License as published by
14;;; the Free Software Foundation; either version 3 of the License, or (at
15;;; your option) any later version.
16;;;
17;;; GNU Guix is distributed in the hope that it will be useful, but
18;;; WITHOUT ANY WARRANTY; without even the implied warranty of
19;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20;;; GNU General Public License for more details.
21;;;
22;;; You should have received a copy of the GNU General Public License
23;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
24
25(define-module (gnu packages mp3)
b5b73a82 26 #:use-module ((guix licenses) #:prefix license:)
25352fe1 27 #:use-module (gnu packages)
d464e725 28 #:use-module (gnu packages autotools)
194782a8
MW
29 #:use-module (gnu packages base)
30 #:use-module (gnu packages gcc)
9518fde1 31 #:use-module (gnu packages boost)
25352fe1 32 #:use-module (gnu packages cdrom)
8cc9c0da 33 #:use-module (gnu packages compression)
54ff0b7d 34 #:use-module (gnu packages gettext)
25352fe1 35 #:use-module (gnu packages ghostscript)
68ff528c 36 #:use-module (gnu packages ncurses)
25352fe1
AE
37 #:use-module (gnu packages glib)
38 #:use-module (gnu packages gtk)
c23e9e48
AE
39 #:use-module (gnu packages pcre)
40 #:use-module (gnu packages pkg-config)
13ef3e99 41 #:use-module (gnu packages python)
54ff0b7d 42 #:use-module (gnu packages xiph)
1bdb591b 43 #:use-module (gnu packages pulseaudio)
a82bec4e 44 #:use-module (gnu packages linux) ;alsa-lib
9518fde1 45 #:use-module (gnu packages video) ;ffmpeg
d464e725
AE
46 #:use-module (guix packages)
47 #:use-module (guix download)
3d679ab1 48 #:use-module (guix utils)
086518dd 49 #:use-module (guix build-system gnu)
13ef3e99 50 #:use-module (guix build-system python)
086518dd 51 #:use-module (guix build-system cmake))
d464e725
AE
52
53(define-public libmad
54 (package
55 (name "libmad")
56 (version "0.15.1b")
57 (source (origin
58 (method url-fetch)
59 (uri (string-append "mirror://sourceforge/mad/libmad/"
60 version "/libmad-"
61 version ".tar.gz"))
62 (sha256
63 (base32
dd863f1f 64 "14460zhacxhswnzb36qfpd1f2wbk10qvksvm6wyq5hpvdgnw7ymv"))
fc1adab1
AK
65 (patches (search-patches "libmad-armv7-thumb-pt1.patch"
66 "libmad-armv7-thumb-pt2.patch"
67 "libmad-frame-length.patch"
68 "libmad-mips-newgcc.patch"))))
d464e725
AE
69 (build-system gnu-build-system)
70 (arguments
71 `(#:phases
dc1d3cde
KK
72 (modify-phases %standard-phases
73 (add-before 'configure 'remove-unsupported-gcc-flags
4f27a333
MB
74 (lambda _
75 ;; remove option that is not supported by gcc any more
76 (substitute* "configure" ((" -fforce-mem") ""))
77 #t)))))
35b9e423 78 (synopsis "MPEG audio decoder")
d464e725
AE
79 (description
80 "MAD (MPEG Audio Decoder) supports MPEG-1 and the MPEG-2 extension to
81lower sampling frequencies, as well as the de facto MPEG 2.5 format.
82All three audio layers — Layer I, Layer II, and Layer III (i.e. MP3) — are
83fully implemented.
84
85This package contains the library.")
86 (license license:gpl2+)
87 (home-page "http://www.underbit.com/products/mad/")))
88
8cc9c0da
AE
89(define-public libid3tag
90 (package
91 (name "libid3tag")
92 (version "0.15.1b")
93 (source (origin
94 (method url-fetch)
95 (uri (string-append "mirror://sourceforge/mad/libid3tag/"
96 version "/libid3tag-"
97 version ".tar.gz"))
98 (sha256
99 (base32
100 "0lb1w883dc46dajbdvnia5870brl5lvnlk7g7y58y9wpg5p4znk3"))))
101 (build-system gnu-build-system)
102 (inputs `(("zlib" ,zlib)))
35b9e423 103 (synopsis "Library for reading ID3 tags")
8cc9c0da 104 (description
35b9e423 105 "Libid3tag is a library for reading ID3 tags, both ID3v1 and the various
e881752c 106versions of ID3v2.")
8cc9c0da
AE
107 (license license:gpl2+)
108 (home-page "http://www.underbit.com/products/mad/")))
109
fbd84457
AE
110(define-public id3lib
111 (package
112 (name "id3lib")
113 (version "3.8.3")
114 (source (origin
115 (method url-fetch)
116 (uri (string-append "mirror://sourceforge/id3lib/id3lib/"
1f521b70 117 version "/id3lib-" version ".tar.gz"))
fbd84457
AE
118 (sha256
119 (base32
1f521b70 120 "0yfhqwk0w8q2hyv1jib1008jvzmwlpsxvc8qjllhna6p1hycqj97"))
35e65701
TD
121 (modules '((guix build utils)))
122 ;; Don't use bundled zlib
6cbee49d 123 (snippet '(begin (delete-file-recursively "zlib") #t))
1f521b70 124 (patches (search-patches "id3lib-CVE-2007-4460.patch"))))
fbd84457 125 (build-system gnu-build-system)
35e65701 126 (inputs `(("zlib" ,zlib)))
fbd84457
AE
127 (arguments
128 `(#:phases
dc1d3cde
KK
129 (modify-phases %standard-phases
130 (add-before 'configure 'apply-patches
131 ;; TODO: create a patch for origin instead?
132 (lambda _
133 (substitute* "configure"
134 (("iomanip.h") "")) ; drop check for unused header
135 ;; see http://www.linuxfromscratch.org/patches/downloads/id3lib/
136 (substitute* "include/id3/id3lib_strings.h"
137 (("include <string>") "include <cstring>\n#include <string>"))
138 (substitute* "include/id3/writers.h"
139 (("//\\#include <string.h>") "#include <cstring>"))
140 (substitute* "examples/test_io.cpp"
141 (("dami;") "dami;\nusing namespace std;"))
142 #t)))))
35b9e423 143 (synopsis "Library for reading, writing, and manipulating ID3v1 and ID3v2 tags")
fbd84457 144 (description
35b9e423
EB
145 "Id3lib is a cross-platform software development library for reading,
146writing, and manipulating ID3v1 and ID3v2 tags. It is an on-going project
fbd84457
AE
147whose primary goals are full compliance with the ID3v2 standard, portability
148across several platforms, and providing a powerful and feature-rich API with
149a highly stable and efficient implementation.")
150 (license license:lgpl2.0+)
151 (home-page "http://id3lib.sourceforge.net/")))
152
086518dd
LC
153(define-public taglib
154 (package
155 (name "taglib")
d1451fa0 156 (version "1.11.1")
086518dd
LC
157 (source (origin
158 (method url-fetch)
159 (uri (string-append "http://taglib.github.io/releases/taglib-"
160 version ".tar.gz"))
161 (sha256
162 (base32
d1451fa0 163 "0ssjcdjv4qf9liph5ry1kngam1y7zp8fzr9xv4wzzrma22kabldn"))))
086518dd 164 (build-system cmake-build-system)
d1451fa0
PL
165 (arguments
166 '(#:tests? #f ; Tests are not ran with BUILD_SHARED_LIBS on.
167 #:configure-flags (list "-DBUILD_SHARED_LIBS=ON")))
086518dd 168 (inputs `(("zlib" ,zlib)))
d1451fa0 169 (home-page "http://taglib.org")
086518dd
LC
170 (synopsis "Library to access audio file meta-data")
171 (description
172 "TagLib is a C++ library for reading and editing the meta-data of several
173popular audio formats. Currently it supports both ID3v1 and ID3v2 for MP3
174files, Ogg Vorbis comments and ID3 tags and Vorbis comments in FLAC, MPC,
175Speex, WavPack TrueAudio, WAV, AIFF, MP4 and ASF files.")
176
177 ;; Dual-licensed: user may choose between LGPLv2.1 or MPLv1.1.
178 (license (list license:lgpl2.1 license:mpl1.1))))
179
68ff528c
LC
180(define-public mp3info
181 (package
182 (name "mp3info")
183 (version "0.8.5a")
184 (source (origin
185 (method url-fetch)
186 (uri (string-append
f8f8897f
AV
187 "http://ibiblio.org"
188 "/pub/linux/apps/sound/mp3-utils/mp3info/mp3info-"
68ff528c
LC
189 version ".tgz"))
190 (sha256
191 (base32
192 "042f1czcs9n2sbqvg4rsvfwlqib2gk976mfa2kxlfjghx5laqf04"))
193 (modules '((guix build utils)))
194 (snippet
6cbee49d
MW
195 '(begin
196 (substitute* "Makefile"
197 (("/bin/rm") "rm")
198 (("/usr/bin/install") "install")
199 (("man/man1") "share/man/man1"))
200 #t))))
68ff528c
LC
201 (build-system gnu-build-system)
202 (outputs '("out" "gui")) ;GTK+ interface in "gui"
203 (arguments
dc1d3cde
KK
204 '(#:phases
205 (modify-phases %standard-phases
206 (replace 'configure
207 (lambda* (#:key outputs #:allow-other-keys)
208 (let ((out (assoc-ref outputs "out")))
209 (substitute* "Makefile"
210 (("prefix=.*")
211 (string-append "prefix := " out "\n"))))
212 #t))
213 (add-before 'install 'pre-install
214 (lambda* (#:key outputs #:allow-other-keys)
215 (let ((out (assoc-ref outputs "out")))
216 (mkdir-p (string-append out "/bin"))
217 (mkdir-p (string-append out "/share/man/man1")))
218 #t))
219 (add-after 'install 'post-install
220 (lambda* (#:key outputs #:allow-other-keys)
221 ;; Move the GTK+ interface to "gui".
222 (let ((out (assoc-ref outputs "out"))
223 (gui (assoc-ref outputs "gui")))
224 (mkdir-p (string-append gui "/bin"))
225 (rename-file (string-append out "/bin/gmp3info")
226 (string-append gui "/bin/gmp3info")))
227 #t)))
68ff528c
LC
228 #:tests? #f))
229 (native-inputs
230 `(("pkg-config" ,pkg-config)))
231 (inputs
232 `(("gtk+" ,gtk+-2)
233 ("ncurses" ,ncurses)))
234 (home-page "http://www.ibiblio.org/mp3info/")
235 (synopsis "MP3 technical info viewer and ID3 1.x tag editor")
236 (description
237 "MP3Info is a little utility used to read and modify the ID3 tags of MP3
e881752c 238files. MP3Info can also display various technical aspects of an MP3 file
68ff528c
LC
239including playing time, bit-rate, sampling frequency and other attributes in a
240pre-defined or user-specifiable output format.")
241 (license license:gpl2+)))
242
c23e9e48
AE
243(define-public libmp3splt
244 (package
245 (name "libmp3splt")
67a8298c 246 (version "0.9.2")
c23e9e48
AE
247 (source (origin
248 (method url-fetch)
249 (uri (string-append "mirror://sourceforge/mp3splt/libmp3splt/"
250 version "/libmp3splt-"
251 version ".tar.gz"))
252 (sha256
253 (base32
67a8298c 254 "1p1mn2hsmj5cp40fnc8g1yfvk72p8pjxi866gjdkgjsqrr7xdvih"))))
c23e9e48
AE
255 (build-system gnu-build-system)
256 (inputs `(("libid3tag" ,libid3tag)
257 ("libmad" ,libmad)
258 ("libogg" ,libogg)
3246cc91 259 ("libltdl" ,libltdl)
e881752c 260 ("libvorbis" ,libvorbis)
c23e9e48 261 ("pcre" ,pcre)))
c4c4cc05
JD
262 (native-inputs
263 `(("pkg-config" ,pkg-config)))
35b9e423 264 (synopsis "Library for splitting mp3 and ogg vorbis files")
c23e9e48
AE
265 (description
266 "Mp3splt is a utility to split mp3 and ogg vorbis files selecting a begin
35b9e423 267and an end time position, without decoding. For splitting an album, one may
e881752c 268select split points and file names manually or obtain them automatically from
35b9e423 269CDDB (internet or a local file) or from .cue files. The tool also supports
c23e9e48
AE
270automatic silence split, that can be used also to adjust cddb/cue splitpoints.
271
272This package contains the library.")
273 (license license:gpl2+)
274 (home-page "http://mp3splt.sourceforge.net/mp3splt_page/home.php")))
275
276(define-public mp3splt
277 (package
278 (name "mp3splt")
2041f901 279 (version "2.6.2")
c23e9e48
AE
280 (source (origin
281 (method url-fetch)
282 (uri (string-append "mirror://sourceforge/mp3splt/mp3splt/"
283 version "/mp3splt-"
284 version ".tar.gz"))
285 (sha256
286 (base32
2041f901 287 "1aiv20gypb6r84qabz8gblk8vi42cg3x333vk2pi3fyqvl82phry"))))
c23e9e48 288 (build-system gnu-build-system)
2041f901 289 (native-inputs `(("pkg-config" ,pkg-config)))
c23e9e48 290 (inputs `(("libmp3splt" ,libmp3splt)))
e881752c 291 (synopsis "Utility for splitting mp3 and ogg vorbis files")
c23e9e48
AE
292 (description
293 "Mp3splt is a utility to split mp3 and ogg vorbis files selecting a begin
35b9e423 294and an end time position, without decoding. For splitting an album, one may
e881752c 295select split points and file names manually or obtain them automatically from
35b9e423 296CDDB (internet or a local file) or from .cue files. The tool also supports
c23e9e48
AE
297automatic silence split, that can be used also to adjust cddb/cue splitpoints.
298
299This package contains the binary.")
300 (license license:gpl2+)
301 (home-page "http://mp3splt.sourceforge.net/mp3splt_page/home.php")))
302
1bdb591b
LC
303(define-public mpg123
304 (package
305 (name "mpg123")
38b87a8a 306 (version "1.25.8")
1bdb591b
LC
307 (source (origin
308 (method url-fetch)
d5ff67f4
LC
309 (uri (list (string-append "mirror://sourceforge/mpg123/mpg123/"
310 version "/mpg123-" version ".tar.bz2")
311 (string-append
312 "http://www.mpg123.org/download/mpg123-"
313 version ".tar.bz2")))
1bdb591b
LC
314 (sha256
315 (base32
38b87a8a 316 "16s9z1xc5kv1p90g42vsr9m4gq3dwjsmrj873x4i8601mvpm3nkr"))))
1bdb591b
LC
317 (build-system gnu-build-system)
318 (arguments '(#:configure-flags '("--with-default-audio=pulse")))
319 (native-inputs `(("pkg-config" ,pkg-config)))
320 (inputs `(("pulseaudio" ,pulseaudio)
321 ("alsa-lib" ,alsa-lib)))
53a416d6 322 (home-page "https://www.mpg123.org/")
1bdb591b
LC
323 (synopsis "Console MP3 player and decoder library")
324 (description
35b9e423 325 "Mpg123 is a real time MPEG 1.0/2.0/2.5 audio player/decoder for layers
1bdb591b
LC
3261,2 and 3 (MPEG 1.0 layer 3 aka MP3 most commonly tested). It comes with a
327command-line tool as well as a C library, libmpg123.")
328 (license license:lgpl2.1)))
329
0a56fadb
LC
330(define-public mpg321
331 (package
332 (name "mpg321")
5ed7f28d 333 (version "0.3.2")
0a56fadb
LC
334 (source (origin
335 (method url-fetch)
de67e922 336 (uri (string-append "mirror://sourceforge/mpg321/mpg321/"
0a56fadb
LC
337 version "/mpg321-" version ".tar.gz"))
338 (sha256
339 (base32
5ed7f28d 340 "0ki8mh76bbmdh77qsiw682dvi8y468yhbdabqwg05igmwc1wqvq5"))))
0a56fadb
LC
341 (build-system gnu-build-system)
342 (arguments '(#:configure-flags '("--disable-alsa")))
343 (inputs
344 `(("zlib" ,zlib)
345 ("libmad" ,libmad)
346 ("libid3tag" ,libid3tag)
347 ("libao" ,ao)))
348 (home-page "http://mpg321.sourceforge.net/")
349 (synopsis "Command-line MP3 player")
35b9e423 350 (description "Mpg321 is a command-line mp3 player. mpg321 is used for
0a56fadb
LC
351frontends, as an mp3 player and as an mp3 to wave file decoder (primarily for
352use with CD-recording software).")
353 (license license:gpl2)))
2ae92cbc
AE
354
355(define-public lame
356 (package
357 (name "lame")
3d679ab1 358 (version "3.100")
2ae92cbc
AE
359 (source (origin
360 (method url-fetch)
3d679ab1
MB
361 (uri (string-append "mirror://sourceforge/lame/lame/"
362 (version-major+minor version) "/lame-"
2ae92cbc
AE
363 version ".tar.gz"))
364 (sha256
365 (base32
3d679ab1 366 "07nsn5sy3a8xbmw1bidxnsj5fj6kg9ai04icmqw40ybkp353dznx"))))
2ae92cbc
AE
367 (build-system gnu-build-system)
368 (home-page "http://lame.sourceforge.net/")
369 (synopsis "MPEG Audio Layer III (MP3) encoder")
370 (description "LAME is a high quality MPEG Audio Layer III (MP3) encoder.")
371 (license license:lgpl2.0)))
25352fe1
AE
372
373(define-public ripperx
374 (package
375 (name "ripperx")
d0dfc066 376 (version "2.8.0")
25352fe1
AE
377 (source (origin
378 (method url-fetch)
379 (uri (string-append "mirror://sourceforge/ripperx/ripperx/"
d0dfc066
AE
380 version "/ripperx-"
381 version ".tar.bz2"))
25352fe1
AE
382 (sha256
383 (base32
d0dfc066 384 "1ss3c1a5hx6c99q1cryxg0jhbnbdj6ga9xyz0dzlz9qhzg5qswfs"))
fc1adab1 385 (patches (search-patches "ripperx-missing-file.patch"))))
25352fe1
AE
386 (build-system gnu-build-system)
387 (propagated-inputs
388 `(("gs-fonts" ,gs-fonts)
389 ("cdparanoia" ,cdparanoia)
390 ("flac" ,flac)
391 ("lame" ,lame)
392 ("vorbis-tools" ,vorbis-tools)))
393 (inputs
01eafd38 394 `(("glib" ,glib)
8b0275b6 395 ("gtk+" ,gtk+-2)
d0dfc066
AE
396 ("id3lib" ,id3lib)
397 ("taglib" ,taglib)))
c4c4cc05
JD
398 (native-inputs
399 `(("pkg-config" ,pkg-config)))
25352fe1
AE
400 (synopsis "GTK program to rip and encode CD audio tracks")
401 (description
402 "RipperX is a GTK program to rip CD audio tracks and encode them to the
35b9e423
EB
403Ogg, MP3, or FLAC formats. Its goal is to be easy to use, requiring only
404a few mouse clicks to convert an entire album. It supports CDDB lookups
25352fe1
AE
405for album and track information.")
406 (license license:gpl2)
3b3b60d0 407 (home-page "https://sourceforge.net/projects/ripperx/")))
8f0fd238
LC
408
409(define-public libmpcdec
410 (package
411 (name "libmpcdec")
412 (version "1.2.6")
413 (source (origin
414 (method url-fetch)
415 (uri (string-append
416 "http://files.musepack.net/source/libmpcdec-"
417 version ".tar.bz2"))
418 (sha256
419 (base32
420 "1a0jdyga1zfi4wgkg3905y6inghy3s4xfs5m4x7pal08m0llkmab"))))
421 (build-system gnu-build-system)
422 (synopsis "Decoding library for the Musepack audio format")
423 (description
424 "This library supports decoding of the Musepack (MPC) audio compression
425format.")
426 (license license:bsd-3)
427 (home-page "http://musepack.net")))
428
429(define-public mpc123
430 (package
431 (name "mpc123")
432 (version "0.2.4")
433 (source (origin
434 (method url-fetch)
d1cd67af
EF
435 (uri (list (string-append "mirror://sourceforge/mpc123/version%20"
436 version "/mpc123-" version ".tar.gz")
437 (string-append "mirror://debian/pool/main/m/" name
438 "/" name "_" version ".orig.tar.gz")))
8f0fd238
LC
439 (sha256
440 (base32
86d07a55 441 "0sf4pns0245009z6mbxpx7kqy4kwl69bc95wz9v23wgappsvxgy1"))
fc1adab1 442 (patches (search-patches "mpc123-initialize-ao.patch"))))
8f0fd238
LC
443 (build-system gnu-build-system)
444 (arguments
1a847b70
EF
445 '(#:phases
446 (modify-phases %standard-phases
447 (replace 'configure
448 (lambda _
449 (substitute* "Makefile"
450 (("CC[[:blank:]]*:=.*")
451 "CC := gcc\n"))))
452 (replace 'install
453 (lambda* (#:key outputs #:allow-other-keys)
454 (let* ((out (assoc-ref outputs "out"))
455 (bin (string-append out "/bin")))
1a847b70 456 (install-file "mpc123" bin)))))
8f0fd238 457 #:tests? #f))
8f0fd238 458 (native-inputs
b94a6ca0 459 `(("gettext" ,gettext-minimal)))
8f0fd238
LC
460 (inputs
461 `(("libao" ,ao)
462 ("libmpcdec" ,libmpcdec)))
d1cd67af 463 (home-page "https://github.com/bucciarati/mpc123")
8f0fd238
LC
464 (synopsis "Audio player for Musepack-formatted files")
465 (description
35b9e423 466 "Mpc123 is a command-line player for files in the Musepack audio
e881752c 467compression format (.mpc files).")
8f0fd238 468 (license license:gpl2+)))
13ef3e99
LF
469
470(define-public eyed3
471 (package
472 (name "eyed3")
33485fa9 473 (version "0.8")
13ef3e99
LF
474 (source (origin
475 (method url-fetch)
476 (uri (string-append
477 "http://eyed3.nicfit.net/releases/eyeD3-"
478 version ".tar.gz"))
479 (sha256
480 (base32
33485fa9 481 "1dcswb0f6w3b05s1v43pq8fmavkd5g88ysndn9160wlaa1v9n40h"))))
13ef3e99
LF
482 (build-system python-build-system)
483 (arguments
33485fa9
TD
484 `(#:tests? #f)) ; the required test data contains copyrighted material.
485 (propagated-inputs
486 `(("python-six" ,python-six)
487 ("python-grako" ,python-grako)))
13ef3e99
LF
488 (synopsis "MP3 tag ID3 metadata editor")
489 (description "eyeD3 is a Python tool for working with audio files,
490specifically mp3 files containing ID3 metadata (i.e. song info). It provides a
491command-line tool (eyeD3) and a Python library (import eyed3) that can be used
492to write your own applications or plugins that are callable from the
493command-line tool.")
494 (home-page "http://eyed3.nicfit.net/")
495 (license license:gpl2+)))
9518fde1
HG
496
497(define-public chromaprint
498 (package
499 (name "chromaprint")
1f577b46 500 (version "1.4.3")
9518fde1
HG
501 (source (origin
502 (method url-fetch)
503 (uri (string-append
1f577b46
TGR
504 "https://github.com/acoustid/chromaprint/releases/download/v"
505 version "/chromaprint-" version ".tar.gz"))
9518fde1 506 (sha256
3694a9b3 507 (base32
1f577b46 508 "10kz8lncal4s2rp2rqpgc6xyjp0jzcrihgkx7chf127vfs5n067a"))))
9518fde1
HG
509 (build-system cmake-build-system)
510 (arguments
511 `(#:tests? #f ; tests require googletest *sources*
512 ;;#:configure-flags '("-DBUILD_TESTS=ON") ; for building the tests
513 #:test-target "check"))
514 (inputs
515 ;; requires one of FFmpeg (prefered), FFTW3 or vDSP
516 ;; use the same ffmpeg version as for acoustid-fingerprinter
517 `(("ffmpeg" ,ffmpeg)
518 ("boots" ,boost)))
519 (home-page "https://acoustid.org/chromaprint")
520 (synopsis "Audio fingerprinting library")
521 (description "Chromaprint is a library for calculating audio
522fingerprints which are used by the Acoustid service. Its main purpose
523is to provide an accurate identifier for record tracks.")
524 (license license:lgpl2.1+)))