* [PATCH] Add mpc, the mpd client
@ 2015-02-28 17:24 Paul van der Walt
2015-02-28 19:01 ` David Thompson
0 siblings, 1 reply; 2+ messages in thread
From: Paul van der Walt @ 2015-02-28 17:24 UTC (permalink / raw)
To: Guix-devel
[-- Attachment #1: Type: text/plain, Size: 122 bytes --]
Hello,
Here's mpc, packaged as mpd-mpc, since mpc, Andreas' library, has
already squatted the name 'mpc' :p
Unhello,
p.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-mpd-mpc-Add-mpc-the-client-for-mpd.patch --]
[-- Type: text/x-diff, Size: 1679 bytes --]
From 20110c1b5d4761b26910d8958d150ced68c1c60a Mon Sep 17 00:00:00 2001
From: Paul van der Walt <paul@denknerd.org>
Date: Sat, 28 Feb 2015 18:22:03 +0100
Subject: [PATCH] gnu: mpd-mpc: Add mpc, the client for mpd.
* gnu/packages/mpd.scm (mpd-mpc): Add mpc, the command-line client for mpd.
---
gnu/packages/mpd.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index 550e75d..8e798ee 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -45,6 +45,7 @@
#:use-module (gnu packages xiph)
#:export (libmpdclient
mpd
+ mpd-mpc
ncmpc
ncmpcpp))
@@ -130,6 +131,28 @@ protocol.")
(home-page "http://www.musicpd.org/")
(license license:gpl2)))
+(define mpd-mpc
+ (package
+ (name "mpd-mpc")
+ (version "0.26")
+ (source (origin
+ (method url-fetch)
+ (uri
+ (string-append "http://www.musicpd.org/download/mpc/"
+ (car (string-split version #\.))
+ "/mpc-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0hp2qv6w2v902dhrmck5hg32s1ai6xiv9n61a3n6prfcfdqmywr0"))))
+ (build-system gnu-build-system)
+ (inputs `(("libmpdclient" ,libmpdclient)))
+ (native-inputs `(("pkg-config" ,pkg-config)))
+ (synopsis "Music Player Daemon client")
+ (description "MPC is a minimalist command line interface to MPD, the music
+player daemon.")
+ (home-page "http://www.musicpd.org/clients/mpc/")
+ (license license:gpl2)))
+
(define ncmpc
(package
(name "ncmpc")
--
2.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Add mpc, the mpd client
2015-02-28 17:24 [PATCH] Add mpc, the mpd client Paul van der Walt
@ 2015-02-28 19:01 ` David Thompson
0 siblings, 0 replies; 2+ messages in thread
From: David Thompson @ 2015-02-28 19:01 UTC (permalink / raw)
To: Paul van der Walt, Guix-devel
Paul van der Walt <paul@denknerd.org> writes:
> Here's mpc, packaged as mpd-mpc, since mpc, Andreas' library, has
> already squatted the name 'mpc' :p
Pushed, thanks! I adjusted the commit message to follow our usual
style:
gnu: Add mpd-mpc.
* gnu/packages/mpd.scm (mpd-mpc): New variable.
--
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-28 19:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-28 17:24 [PATCH] Add mpc, the mpd client Paul van der Walt
2015-02-28 19:01 ` David Thompson
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.