Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-multimedia][PATCH] updated mpd to current upstream stable
Date: Mon, 17 Mar 2014 01:40:23 +0100	[thread overview]
Message-ID: <20140317004023.GE3725@jama> (raw)
In-Reply-To: <CAOLEWZVyVyLOt9H6U0ZXEyUidpAYcL6m=O2omDnXreCuhQjBMw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 4797 bytes --]

On Sun, Mar 16, 2014 at 05:24:20PM -0700, Stephen Arnold wrote:
> Not sure I understand; there should be only a new 0.18.8 recipe file in the
> commit.  I have an updated one with a more standard message body,
> signed-off-by, etc.  I'll resend a v2 in a minute, so please be specific if
> something looks funky.  Thanks, Steve

git rm meta-multimedia/recipes-multimedia/musicpd/mpd_0.18.4.bb

git commit --amend

> 
> 
> On Sun, Mar 16, 2014 at 5:02 PM, Martin Jansa <martin.jansa@gmail.com>wrote:
> 
> > On Sun, Mar 16, 2014 at 03:48:58PM -0700, stephen.arnold42 wrote:
> > > ---
> > >  .../recipes-multimedia/musicpd/mpd_0.18.8.bb       | 59
> > ++++++++++++++++++++++
> >
> > Can you please remove 0.18.4 in the same commit and resend with -M?
> >
> > Thanks
> >
> > >  1 file changed, 59 insertions(+)
> > >  create mode 100644 meta-multimedia/recipes-multimedia/musicpd/
> > mpd_0.18.8.bb
> > >
> > > diff --git a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.18.8.bbb/meta-multimedia/recipes-multimedia/musicpd/
> > mpd_0.18.8.bb
> > > new file mode 100644
> > > index 0000000..b6882af
> > > --- /dev/null
> > > +++ b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.18.8.bb
> > > @@ -0,0 +1,59 @@
> > > +SUMMARY = "Music Player Daemon"
> > > +LICENSE = "GPLv2"
> > > +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
> > > +HOMEPAGE ="http://www.musicpd.org"
> > > +
> > > +DEPENDS = "alsa-lib libsamplerate0 libsndfile1 libvorbis libogg faad2
> > ffmpeg curl sqlite bzip2 pulseaudio"
> > > +
> > > +SRC_URI = " \
> > > +    http://www.musicpd.org/download/${PN}/stable/${P}.tar.xz \
> > > +    file://mpd.conf.in \
> > > +"
> > > +
> > > +SRC_URI[md5sum] = "7bbe1caf5abe404dc985ca4f44984b1f"
> > > +SRC_URI[sha256sum] =
> > "5366378e548fb77996cc33b0e15165ddd84f1e496bdd04616bd593aecdc26450"
> > > +
> > > +inherit autotools useradd systemd
> > > +
> > > +EXTRA_OECONF = "enable_bzip2=yes"
> > > +EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd',
> > '--with-systemdsystemunitdir=${systemd_unitdir}/system/',
> > '--without-systemdsystemunitdir', d)}"
> > > +
> > > +PACKAGECONFIG[mad] = "--enable-mad,--disable-mad,libmad"
> > > +PACKAGECONFIG[id3tag] = "--enable-id3,--disable-id3,libid3tag"
> > > +PACKAGECONFIG[lame] =
> > "--enable-lame-encoder,--disable-lame-encoder,lame"
> > > +
> > > +do_install_append() {
> > > +    install -d ${D}/${localstatedir}/lib/mpd/music
> > > +    chmod 775 ${D}/${localstatedir}/lib/mpd/music
> > > +    install -d ${D}/${localstatedir}/lib/mpd/playlists
> > > +    chown -R mpd ${D}/${localstatedir}/lib/mpd
> > > +    chown mpd:mpd ${D}/${localstatedir}/lib/mpd/music
> > > +
> > > +    install -d ${D}/${sysconfdir}
> > > +    install -m 644 ${WORKDIR}/mpd.conf.in ${D}/${sysconfdir}/mpd.conf
> > > +    sed -i \
> > > +        -e 's|%music_directory%|${localstatedir}/lib/mpd/music|' \
> > > +        -e 's|%playlist_directory%|${localstatedir}/lib/mpd/playlists|'
> > \
> > > +        -e 's|%db_file%|${localstatedir}/lib/mpd/mpd.db|' \
> > > +        -e 's|%log_file%|${localstatedir}/log/mpd.log|' \
> > > +        -e 's|%state_file%|${localstatedir}/lib/mpd/state|' \
> > > +        ${D}/${sysconfdir}/mpd.conf
> > > +
> > > +    if [ -e ${D}/${systemd_unitdir}/system/mpd.service ] ; then
> > > +        sed -i \
> > > +            's|^ExecStart=.*|ExecStart=${bindir}/mpd --no-daemon|' \
> > > +            ${D}/${systemd_unitdir}/system/mpd.service
> > > +    fi
> > > +}
> > > +
> > > +RPROVIDES_${PN} += "${PN}-systemd"
> > > +RREPLACES_${PN} += "${PN}-systemd"
> > > +RCONFLICTS_${PN} += "${PN}-systemd"
> > > +SYSTEMD_SERVICE_${PN} = "mpd.service"
> > > +
> > > +USERADD_PACKAGES = "${PN}"
> > > +USERADD_PARAM_${PN} = " \
> > > +    --system --no-create-home \
> > > +    --home ${localstatedir}/lib/mpd \
> > > +    --groups audio \
> > > +    --user-group mpd"
> > > --
> > > 1.8.5.3
> > >
> > > --
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
> > --
> > Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com
> >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
> >
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

      reply	other threads:[~2014-03-17  0:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-16 22:48 [meta-multimedia][PATCH] updated mpd to current upstream stable stephen.arnold42
2014-03-16 22:48 ` [meta-xfce][PATCH] Fixed libxfce4ui recipe - updated depends, set SRCREV to 4.10.0 tag, added missing inherit and pre-config task stephen.arnold42
2014-03-17  6:40   ` Khem Raj
2014-03-17  0:02 ` [meta-multimedia][PATCH] updated mpd to current upstream stable Martin Jansa
2014-03-17  0:24   ` Stephen Arnold
2014-03-17  0:40     ` Martin Jansa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140317004023.GE3725@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox