diff options
author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2016-10-20 09:20:51 +0200 |
---|---|---|
committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2016-10-20 09:55:19 +0200 |
commit | 9518fde1a18bedc445f36b07657cef278a0b977b (patch) | |
tree | 3820fc7be2c827e9a5ee1c5fe1e1083f7b2f139d /gnu | |
parent | 4644644ace2ab64a07c075fe587c29abd3bb376a (diff) | |
download | guix-9518fde1a18bedc445f36b07657cef278a0b977b.tar guix-9518fde1a18bedc445f36b07657cef278a0b977b.tar.gz |
gnu: Add chromaprint.
* gnu/packages/mp3.scm (chromaprint): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/mp3.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm index 37407cdc17..8b7f753848 100644 --- a/gnu/packages/mp3.scm +++ b/gnu/packages/mp3.scm @@ -25,6 +25,7 @@ #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages gcc) + #:use-module (gnu packages boost) #:use-module (gnu packages cdrom) #:use-module (gnu packages compression) #:use-module (gnu packages gettext) @@ -38,6 +39,7 @@ #:use-module (gnu packages xiph) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages linux) ;alsa-lib + #:use-module (gnu packages video) ;ffmpeg #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) @@ -482,3 +484,31 @@ to write your own applications or plugins that are callable from the command-line tool.") (home-page "http://eyed3.nicfit.net/") (license license:gpl2+))) + +(define-public chromaprint + (package + (name "chromaprint") + (version "1.3.2") + (source (origin + (method url-fetch) + (uri (string-append + "https://bitbucket.org/acoustid/chromaprint/downloads/" + "chromaprint-" version ".tar.gz")) + (sha256 + (base32 "0lln8dh33gslb9cbmd1hcv33pr6jxdwipd8m8gbsyhksiq6r1by3")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; tests require googletest *sources* + ;;#:configure-flags '("-DBUILD_TESTS=ON") ; for building the tests + #:test-target "check")) + (inputs + ;; requires one of FFmpeg (prefered), FFTW3 or vDSP + ;; use the same ffmpeg version as for acoustid-fingerprinter + `(("ffmpeg" ,ffmpeg) + ("boots" ,boost))) + (home-page "https://acoustid.org/chromaprint") + (synopsis "Audio fingerprinting library") + (description "Chromaprint is a library for calculating audio +fingerprints which are used by the Acoustid service. Its main purpose +is to provide an accurate identifier for record tracks.") + (license license:lgpl2.1+))) |