1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2014 David Thompson <dthompson2@worcester.edu>
3 ;;; Copyright © 2014 Andreas Enge <andreas@enge.fr>
5 ;;; This file is part of GNU Guix.
7 ;;; GNU Guix is free software; you can redistribute it and/or modify it
8 ;;; under the terms of the GNU General Public License as published by
9 ;;; the Free Software Foundation; either version 3 of the License, or (at
10 ;;; your option) any later version.
12 ;;; GNU Guix is distributed in the hope that it will be useful, but
13 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;;; GNU General Public License for more details.
17 ;;; You should have received a copy of the GNU General Public License
18 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20 (define-module (gnu packages mpd)
21 #:use-module (srfi srfi-1)
22 #:use-module (gnu packages)
23 #:use-module ((guix licenses) #:prefix license:)
24 #:use-module (guix packages)
25 #:use-module (guix download)
26 #:use-module (guix build-system gnu)
27 #:use-module (gnu packages avahi)
28 #:use-module (gnu packages compression)
29 #:use-module (gnu packages curl)
30 #:use-module (gnu packages doxygen)
31 #:use-module (gnu packages glib)
32 #:use-module (gnu packages linux)
33 #:use-module (gnu packages mp3)
34 #:use-module (gnu packages ncurses)
35 #:use-module (gnu packages pkg-config)
36 #:use-module (gnu packages pulseaudio)
37 #:use-module (gnu packages sqlite)
38 #:use-module (gnu packages video)
39 #:use-module (gnu packages xiph)
40 #:export (libmpdclient
51 (string-append "http://musicpd.org/download/libmpdclient/"
52 (car (string-split version #\.))
53 "/libmpdclient-" version ".tar.gz"))
56 "0csb9r3nlmbwpiryixjr5k33x3zqd61xjhwmlps3a6prck1n1xw2"))))
57 (build-system gnu-build-system)
58 (native-inputs `(("doxygen" ,doxygen)))
59 (synopsis "Music Player Daemon client library")
60 (description "A stable, documented, asynchronous API library for
61 interfacing MPD in the C, C++ & Objective C languages.")
62 (home-page "http://www.musicpd.org/libs/libmpdclient/")
63 (license license:bsd-3)))
72 (string-append "http://musicpd.org/download/mpd/"
73 (string-join (take (string-split
75 "/mpd-" version ".tar.gz"))
78 "1ryqh0xf76xv4mpwy1gjwy275ar4wmbzifa9ccjim9r7lk2hgp5v"))))
79 (build-system gnu-build-system)
81 ("alsa-lib" ,alsa-lib)
88 ("libid3tag" ,libid3tag)
90 ("libmpdclient" ,libmpdclient)
91 ("libsamplerate" ,libsamplerate)
92 ("libsndfile" ,libsndfile)
93 ("libvorbis" ,libvorbis)
95 ("pkg-config" ,pkg-config)
96 ("pulseaudio" ,pulseaudio)
99 ;; Missing optional inputs:
119 (synopsis "Music Player Daemon")
120 (description "Music Player Daemon (MPD) is a flexible, powerful,
121 server-side application for playing music. Through plugins and libraries it
122 can play a variety of sound files while being controlled by its network
124 (home-page "http://www.musicpd.org/")
125 (license license:gpl2)))
134 (string-append "http://musicpd.org/download/ncmpc/"
135 (car (string-split version #\.))
136 "/ncmpc-" version ".tar.gz"))
139 "1gpy6rr0awl6xgkswmr8rdvqfkrz83rmwk441c00a9d4z3zb1a16"))))
140 (build-system gnu-build-system)
141 (inputs `(("glib" ,glib)
142 ("libmpdclient" ,libmpdclient)
143 ("ncurses" ,ncurses)))
144 (native-inputs `(("pkg-config" ,pkg-config)))
145 (synopsis "A curses Music Player Daemon client")
146 (description "ncmpc is a fully featured MPD client, which runs in a
147 terminal using ncurses.")
148 (home-page "http://www.musicpd.org/clients/ncmpc/")
149 (license license:gpl2)))