1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2014 David Thompson <dthompson2@worcester.edu>
3 ;;; Copyright © 2014 Andreas Enge <andreas@enge.fr>
4 ;;; Copyright © 2014 Cyrill Schenkel <cyrill.schenkel@gmail.com>
5 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
7 ;;; This file is part of GNU Guix.
9 ;;; GNU Guix is free software; you can redistribute it and/or modify it
10 ;;; under the terms of the GNU General Public License as published by
11 ;;; the Free Software Foundation; either version 3 of the License, or (at
12 ;;; your option) any later version.
14 ;;; GNU Guix is distributed in the hope that it will be useful, but
15 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 ;;; GNU General Public License for more details.
19 ;;; You should have received a copy of the GNU General Public License
20 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
22 (define-module (gnu packages mpd)
23 #:use-module (gnu packages)
24 #:use-module ((guix licenses) #:prefix license:)
25 #:use-module (guix packages)
26 #:use-module (guix download)
27 #:use-module (guix utils)
28 #:use-module (guix build-system gnu)
29 #:use-module (gnu packages avahi)
30 #:use-module (gnu packages compression)
31 #:use-module (gnu packages curl)
32 #:use-module (gnu packages doxygen)
33 #:use-module (gnu packages glib)
34 #:use-module (gnu packages linux)
35 #:use-module (gnu packages mp3)
36 #:use-module (gnu packages ncurses)
37 #:use-module (gnu packages pkg-config)
38 #:use-module (gnu packages pulseaudio)
39 #:use-module (gnu packages databases)
40 #:use-module (gnu packages video)
41 #:use-module (gnu packages xiph)
42 #:export (libmpdclient
54 (string-append "http://musicpd.org/download/libmpdclient/"
55 (car (string-split version #\.))
56 "/libmpdclient-" version ".tar.gz"))
59 "0csb9r3nlmbwpiryixjr5k33x3zqd61xjhwmlps3a6prck1n1xw2"))))
60 (build-system gnu-build-system)
61 (native-inputs `(("doxygen" ,doxygen)))
62 (synopsis "Music Player Daemon client library")
63 (description "A stable, documented, asynchronous API library for
64 interfacing MPD in the C, C++ & Objective C languages.")
65 (home-page "http://www.musicpd.org/libs/libmpdclient/")
66 (license license:bsd-3)))
75 (string-append "http://musicpd.org/download/mpd/"
76 (version-major+minor version)
77 "/mpd-" version ".tar.gz"))
80 "1ryqh0xf76xv4mpwy1gjwy275ar4wmbzifa9ccjim9r7lk2hgp5v"))))
81 (build-system gnu-build-system)
83 ("alsa-lib" ,alsa-lib)
90 ("libid3tag" ,libid3tag)
92 ("libmpdclient" ,libmpdclient)
93 ("libsamplerate" ,libsamplerate)
94 ("libsndfile" ,libsndfile)
95 ("libvorbis" ,libvorbis)
97 ("pkg-config" ,pkg-config)
98 ("pulseaudio" ,pulseaudio)
101 ;; Missing optional inputs:
121 (synopsis "Music Player Daemon")
122 (description "Music Player Daemon (MPD) is a flexible, powerful,
123 server-side application for playing music. Through plugins and libraries it
124 can play a variety of sound files while being controlled by its network
126 (home-page "http://www.musicpd.org/")
127 (license license:gpl2)))
136 (string-append "http://musicpd.org/download/ncmpc/"
137 (car (string-split version #\.))
138 "/ncmpc-" version ".tar.gz"))
141 "1gpy6rr0awl6xgkswmr8rdvqfkrz83rmwk441c00a9d4z3zb1a16"))))
142 (build-system gnu-build-system)
143 (inputs `(("glib" ,glib)
144 ("libmpdclient" ,libmpdclient)
145 ("ncurses" ,ncurses)))
146 (native-inputs `(("pkg-config" ,pkg-config)))
147 (synopsis "Curses Music Player Daemon client")
148 (description "ncmpc is a fully featured MPD client, which runs in a
149 terminal using ncurses.")
150 (home-page "http://www.musicpd.org/clients/ncmpc/")
151 (license license:gpl2)))
160 (string-append "http://ncmpcpp.rybczak.net/stable/ncmpcpp-"
164 "1a54g6dary1rirrny9fd0hpxpyyffypni3mpbdpvmjnrl9v56vgz"))))
165 (build-system gnu-build-system)
166 (inputs `(("libmpdclient" ,libmpdclient)
167 ("ncurses" ,ncurses)))
168 (native-inputs `(("pkg-config" ,pkg-config)))
169 (synopsis "Featureful ncurses based MPD client inspired by ncmpc")
170 (description "Ncmpcpp is an mpd client with a UI very similar to ncmpc,
171 but it provides new useful features such as support for regular expressions
172 for library searches, extended song format, items filtering, the ability to
173 sort playlists, and a local filesystem browser.")
174 (home-page "http://ncmpcpp.rybczak.net/")
175 (license license:gpl2+)))