diff options
author | Szombathelyi György <gyurco@freemail.hu> | 2016-07-04 21:20:24 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-07-29 11:00:54 +0200 |
commit | a1647eaab8ed9a7b3b6c19314e0dc034ee48581e (patch) | |
tree | e746e44b9e0ee4576766518307d745c375d2593b | |
parent | 273be2ecc2dd4402dd44a8d377892ab2e83f60b3 (diff) | |
download | meta-openembedded-contrib-a1647eaab8ed9a7b3b6c19314e0dc034ee48581e.tar.gz |
Mpd: use libsystemd
Mpd tries to find and link to libsystemd-daemon by default,
but there's only libsystemd in OpenEmbedded. Fixing this makes
socket activation work.
Signed-off-by: Gyorgy Szombathelyi <gyurco@freemail.hu>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.15.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.15.bb b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.15.bb index caba589c5c..5c574c173c 100644 --- a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.15.bb +++ b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.15.bb @@ -22,6 +22,10 @@ PACKAGECONFIG[id3tag] = "--enable-id3,--disable-id3,libid3tag" PACKAGECONFIG[lame] = "--enable-lame-encoder,--disable-lame-encoder,lame" PACKAGECONFIG[smb] = "--enable-smbclient,--disable-smbclient,samba" +do_configure_prepend() { + sed -i -e 's|libsystemd-daemon|libsystemd|' ${S}/configure.ac +} + do_install_append() { install -d ${D}/${localstatedir}/lib/mpd/music chmod 775 ${D}/${localstatedir}/lib/mpd/music |