From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ee0-x230.google.com ([2a00:1450:4013:c00::230]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VFl02-0000kC-Ti for ptxdist@pengutronix.de; Sat, 31 Aug 2013 15:14:03 +0200 Received: by mail-ee0-f48.google.com with SMTP id l10so1404305eei.7 for ; Sat, 31 Aug 2013 06:13:53 -0700 (PDT) Date: Sat, 31 Aug 2013 15:17:53 +0200 From: Alexander Aring Message-ID: <20130831131751.GA4884@x61s.8.8.8.8> References: <1377953841-2263-1-git-send-email-s.hauer@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1377953841-2263-1-git-send-email-s.hauer@pengutronix.de> Subject: Re: [ptxdist] [PATCH] Add Music Player Daemon (MPD) support Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi Sascha, cool. MPD is one of my favorites music player! On Sat, Aug 31, 2013 at 02:57:21PM +0200, Sascha Hauer wrote: > Signed-off-by: Sascha Hauer > --- > rules/mpd.in | 55 ++++++++++++++++++++++++++ > rules/mpd.make | 121 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 176 insertions(+) > create mode 100644 rules/mpd.in > create mode 100644 rules/mpd.make > > diff --git a/rules/mpd.in b/rules/mpd.in > new file mode 100644 > index 0000000..24d63fb > --- /dev/null > +++ b/rules/mpd.in > @@ -0,0 +1,55 @@ > +## SECTION=multimedia_sound > + > +menuconfig MPD > + tristate > + prompt "Music Player Daemon (MPD) " > + select ALSA_LIB if MPD_ALSA > + select LIBID3TAG if MPD_ID3 > + select LIBMAD if MPD_MAD > + select MPG123 if MPD_MPG123 > + select LIBOGG if MPD_VORBIS > + select LIBVORBIS if MPD_VORBIS > + select FLAC if MPD_FLAC > + select LIBCURL if MPD_CURL > + select SQLITE if MPD_SQLITE > + help > + Music Player Daemon (MPD) is a flexible, powerful, server-side > + application for playing music. Through plugins and libraries it > + can play a variety of sound files while being controlled by its > + network protocol. ... > +# @$(call touch) > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/mpd.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, mpd) > + @$(call install_fixup, mpd,PRIORITY,optional) > + @$(call install_fixup, mpd,SECTION,base) > + @$(call install_fixup, mpd,AUTHOR,"Sascha Hauer ") > + @$(call install_fixup, mpd,DESCRIPTION,missing) > + > + @$(call install_copy, mpd, 0, 0, 0755, $(MPD_DIR)/src/mpd, /usr/bin/mpd) > + Maybe we should add to install the mpdconf.example from doc directory to /etc/mpd.conf. Without the conf mpd doesn't start and it's simple to modify it and put it into the projectroot directory. - Alex -- ptxdist mailing list ptxdist@pengutronix.de