diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm index a1b427271d..550e75d43f 100644 --- a/gnu/packages/mpd.scm +++ b/gnu/packages/mpd.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2014 Andreas Enge ;;; Copyright © 2014 Cyrill Schenkel ;;; Copyright © 2014 Ian Denhardt +;;; Copyright © 2015 Paul van der Walt ;;; ;;; This file is part of GNU Guix. ;;; @@ -27,6 +28,8 @@ #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (gnu packages avahi) + #:use-module (gnu packages boost) + #:use-module (gnu packages readline) #:use-module (gnu packages compression) #:use-module (gnu packages curl) #:use-module (gnu packages doxygen) @@ -35,6 +38,7 @@ #:use-module (gnu packages mp3) #:use-module (gnu packages ncurses) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages autotools) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages databases) #:use-module (gnu packages video) @@ -153,7 +157,7 @@ terminal using ncurses.") (define ncmpcpp (package (name "ncmpcpp") - (version "0.5.10") + (version "0.6.2") (source (origin (method url-fetch) (uri @@ -161,11 +165,27 @@ terminal using ncurses.") version ".tar.bz2")) (sha256 (base32 - "1a54g6dary1rirrny9fd0hpxpyyffypni3mpbdpvmjnrl9v56vgz")))) + "1mrd6m6ph0fscxp9x96ipxh6ai7w0n1miapcfqrqfy058qx5zbck")))) (build-system gnu-build-system) (inputs `(("libmpdclient" ,libmpdclient) + ("boost" ,boost) + ("readline" ,readline) ("ncurses" ,ncurses))) - (native-inputs `(("pkg-config" ,pkg-config))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("automake" ,automake) + ("autoconf" ,autoconf) + ("libtool" ,libtool))) + (arguments + '(#:configure-flags + '("BOOST_LIB_SUFFIX=") + #:phases + (alist-cons-after + 'unpack 'autogen + (lambda _ + (setenv "NOCONFIGURE" "true") + (zero? (system* "sh" "autogen.sh"))) + %standard-phases))) (synopsis "Featureful ncurses based MPD client inspired by ncmpc") (description "Ncmpcpp is an mpd client with a UI very similar to ncmpc, but it provides new useful features such as support for regular expressions