diff options
Diffstat (limited to 'gnu/packages/mp3.scm')
-rw-r--r-- | gnu/packages/mp3.scm | 38 |
1 files changed, 34 insertions, 4 deletions
diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm index 73a9a23efd..ceef896a13 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) @@ -287,14 +289,14 @@ This package contains the binary.") (define-public mpg123 (package (name "mpg123") - (version "1.22.4") + (version "1.23.8") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/mpg123/mpg123/" version "/mpg123-" version ".tar.bz2")) (sha256 (base32 - "1lj0xv0b6sgqsbhx10dg60cnzgz98i76gxy51kqh11hka0pf0sah")))) + "13ngfzk84k4ks7ymanmq8f6707yrybra5h0mk3ir6mdnxk4068yy")))) (build-system gnu-build-system) (arguments '(#:configure-flags '("--with-default-audio=pulse"))) (native-inputs `(("pkg-config" ,pkg-config))) @@ -311,14 +313,14 @@ command-line tool as well as a C library, libmpg123.") (define-public mpg321 (package (name "mpg321") - (version "0.3.1") + (version "0.3.2") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/mpg321/mpg321/" version "/mpg321-" version ".tar.gz")) (sha256 (base32 - "0yamsqvj15nsxxnjs9mgyslzx7krgsfk3q1hk3g6l8w9bbbj770b")))) + "0ki8mh76bbmdh77qsiw682dvi8y468yhbdabqwg05igmwc1wqvq5")))) (build-system gnu-build-system) (arguments '(#:configure-flags '("--disable-alsa"))) (inputs @@ -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+))) |