Subject: [PATCH 2/6] gnu: Add libechonest.

From: Pierre Langlois <[email-masked]>
Date: Sat, 18 Feb 2017 18:00:52 +0000

* gnu/packages/music.scm (libechonest): New variable.
---
 gnu/packages/music.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index ce874ac43..84c537d86 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2016 John J. Foerch <[email-masked]>
 ;;; Copyright © 2016 Alex Griffin <[email-masked]>
 ;;; Copyright © 2017 ng0 <[email-masked]>
+;;; Copyright © 2017 Pierre Langlois <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2050,6 +2051,32 @@ detailed track info including timbre, pitch, rhythm and loudness information.
 @end enumerate\n")
     (license license:bsd-3)))
 
+(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 "6895a77a46c9bd4e009ae08515bd91dc3cfbf548")))
+              (file-name (string-append name "-" version "-checkout"))
+              (sha256
+               (base32
+                 "0xbavf9f355dl1d3qv59x4ryypqrdanh9xdvw2d0q66l008crdkq"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:tests? #f)) ; Tests require Internet access
+    (inputs
+      `(("qt" ,qt-4)
+        ("qjson" ,qjson)))
+    (home-page "https://projects.kde.org/projects/playground/libs/libechonest")
+    (synopsis "C++/Qt classes to interface with The Echo Nest API")
+    (description "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)))
+
 (define-public python-pylast
   (package
     (name "python-pylast")
-- 
2.11.1