;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2014 David Thompson <dthompson2@worcester.edu>
+;;; Copyright © 2014, 2015 David Thompson <dthompson2@worcester.edu>
;;; Copyright © 2014 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2014 Cyrill Schenkel <cyrill.schenkel@gmail.com>
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
#:use-module (guix build-system gnu)
#:use-module (gnu packages avahi)
#:use-module (gnu packages boost)
+ #:use-module (gnu packages icu4c)
#:use-module (gnu packages readline)
#:use-module (gnu packages compression)
#:use-module (gnu packages curl)
(define-public mpd
(package
(name "mpd")
- (version "0.18.8")
+ (version "0.19.9")
(source (origin
(method url-fetch)
(uri
(string-append "http://musicpd.org/download/mpd/"
(version-major+minor version)
- "/mpd-" version ".tar.gz"))
+ "/mpd-" version ".tar.xz"))
(sha256
(base32
- "1ryqh0xf76xv4mpwy1gjwy275ar4wmbzifa9ccjim9r7lk2hgp5v"))))
+ "0vzj365s4j0pw5w37lfhx3dmpkdp85driravsvx8rlrw0lii91a7"))))
(build-system gnu-build-system)
(inputs `(("ao" ,ao)
("alsa-lib" ,alsa-lib)
("avahi" ,avahi)
+ ("boost" ,boost)
("curl" ,curl)
("ffmpeg" ,ffmpeg)
("flac" ,flac)
("glib" ,glib)
+ ("icu4c" ,icu4c)
("lame" ,lame)
("libid3tag" ,libid3tag)
("libmad" ,libmad)
(inputs `(("libmpdclient" ,libmpdclient)
("boost" ,boost)
("readline" ,readline)
- ("ncurses" ,ncurses)))
+ ("ncurses" ,ncurses)
+ ("taglib" ,taglib)))
(native-inputs
`(("pkg-config" ,pkg-config)
("automake" ,automake)
("libtool" ,libtool)))
(arguments
'(#:configure-flags
- '("BOOST_LIB_SUFFIX=")
+ '("BOOST_LIB_SUFFIX=" "--with-taglib")
#:phases
(alist-cons-after
'unpack 'autogen
sort playlists, and a local filesystem browser.")
(home-page "http://ncmpcpp.rybczak.net/")
(license license:gpl2+)))
+
+(define-public mpdscribble
+ (package
+ (name "mpdscribble")
+ (version "0.22")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://www.musicpd.org/download/mpdscribble/"
+ version "/mpdscribble-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0f0ybx380x2z2g1qvdndpvcrhkrgsfqckhz3ryydq2w3pl12v27z"))))
+ (build-system gnu-build-system)
+ (inputs `(("libmpdclient" ,libmpdclient)
+ ("curl" ,curl)
+ ("glib" ,glib)))
+ (native-inputs `(("pkg-config" ,pkg-config)))
+ (synopsis "MPD client for track scrobbling")
+ (description "mpdscribble is a Music Player Daemon client which submits
+information about tracks being played to a scrobbler, such as Libre.FM.")
+ ;; musicpd.org doesn't mention mpdscribble. It points users to this wiki
+ ;; instead.
+ (home-page "http://mpd.wikia.com/wiki/Client:Mpdscribble")
+ (license license:gpl2+)))