summaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-multimedia
diff options
context:
space:
mode:
authorPaul Barker <paul@paulbarker.me.uk>2013-06-22 13:28:38 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-06-27 18:52:24 +0200
commit673d4ee87d13db24edf0f25cd320516f111700b6 (patch)
treed72178310fb1902a48e7fa0d1a6ace971bf2f9b1 /meta-multimedia/recipes-multimedia
parent29c257312532f9f7ae0e3228cebc2888e1aefe1b (diff)
downloadmeta-openembedded-673d4ee87d13db24edf0f25cd320516f111700b6.tar.gz
mpd: replace ENTERPRISE_DISTRO with PACKAGECONFIG options
Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-multimedia')
-rw-r--r--meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bb b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bb
index a6b8898a4..6f2a912e4 100644
--- a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bb
+++ b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bb
@@ -3,8 +3,7 @@ LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 3LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
4HOMEPAGE ="http://sourceforge.net/projects/musicpd" 4HOMEPAGE ="http://sourceforge.net/projects/musicpd"
5 5
6DEPENDS = "alsa-lib libsamplerate0 libsndfile1 libvorbis libogg faad2 ffmpeg curl sqlite bzip2 pulseaudio \ 6DEPENDS = "alsa-lib libsamplerate0 libsndfile1 libvorbis libogg faad2 ffmpeg curl sqlite bzip2 pulseaudio"
7 ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad lame libid3tag', d)}"
8 7
9PR = "r4" 8PR = "r4"
10 9
@@ -21,6 +20,10 @@ inherit autotools useradd systemd
21EXTRA_OECONF = "enable_bzip2=yes" 20EXTRA_OECONF = "enable_bzip2=yes"
22EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" 21EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}"
23 22
23PACKAGECONFIG[mad] = "--enable-mad,--disable-mad,libmad"
24PACKAGECONFIG[id3tag] = "--enable-id3,--disable-id3,libid3tag"
25PACKAGECONFIG[lame] = "--enable-lame-encoder,--disable-lame-encoder,lame"
26
24do_install_append() { 27do_install_append() {
25 install -d ${D}/${localstatedir}/lib/mpd/music 28 install -d ${D}/${localstatedir}/lib/mpd/music
26 chmod 775 ${D}/${localstatedir}/lib/mpd/music 29 chmod 775 ${D}/${localstatedir}/lib/mpd/music