From 60b7ed9cb86e0990f6b94a2a9db24b3275070104 Mon Sep 17 00:00:00 2001 From: Pierre Langlois Date: Sat, 18 Feb 2017 18:00:52 +0000 Subject: [PATCH] gnu: Add libechonest. * gnu/packages/music.scm (libechonest): New variable. Co-authored-by: Ricardo Wurmus --- gnu/packages/music.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 6aca39cedd..2fd38362c2 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2017 ng0 ;;; Copyright © 2017 Rodger Fox ;;; Copyright © 2017 Nicolas Goaziou +;;; Copyright © 2017 Pierre Langlois ;;; ;;; This file is part of GNU Guix. ;;; @@ -3334,3 +3335,30 @@ (define-public sorcer (description "Sorcer is a wavetable LV2 plugin synthesizer, targeted at the electronic or dubstep genre.") (license license:gpl3+))) + +(define-public libechonest + (package + (name "libechonest") + (version "2.3.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "git://anongit.kde.org/libechonest.git") + (commit version))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0xbavf9f355dl1d3qv59x4ryypqrdanh9xdvw2d0q66l008crdkq")))) + (build-system cmake-build-system) + (arguments + '(#:tests? #f ; Tests require Internet access + #:configure-flags '("-DBUILD_WITH_QT4=OFF"))) + (inputs + `(("qtbase" ,qtbase) + ("qjson" ,qjson))) + (home-page "https://projects.kde.org/projects/playground/libs/libechonest") + (synopsis "C++/Qt classes to interface with The Echo Nest API") + (description "@code{libechonest} is a collection of C++/Qt classes +designed to make a developer's life easy when trying to use the APIs provided +by The Echo Nest.") + (license license:gpl2+)))