diff options
author | Paul Barker <paul@paulbarker.me.uk> | 2013-06-22 13:28:38 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-06-27 18:52:24 +0200 |
commit | 673d4ee87d13db24edf0f25cd320516f111700b6 (patch) | |
tree | d72178310fb1902a48e7fa0d1a6ace971bf2f9b1 /meta-multimedia/recipes-multimedia | |
parent | 29c257312532f9f7ae0e3228cebc2888e1aefe1b (diff) | |
download | meta-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.bb | 7 |
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" | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
4 | HOMEPAGE ="http://sourceforge.net/projects/musicpd" | 4 | HOMEPAGE ="http://sourceforge.net/projects/musicpd" |
5 | 5 | ||
6 | DEPENDS = "alsa-lib libsamplerate0 libsndfile1 libvorbis libogg faad2 ffmpeg curl sqlite bzip2 pulseaudio \ | 6 | DEPENDS = "alsa-lib libsamplerate0 libsndfile1 libvorbis libogg faad2 ffmpeg curl sqlite bzip2 pulseaudio" |
7 | ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad lame libid3tag', d)}" | ||
8 | 7 | ||
9 | PR = "r4" | 8 | PR = "r4" |
10 | 9 | ||
@@ -21,6 +20,10 @@ inherit autotools useradd systemd | |||
21 | EXTRA_OECONF = "enable_bzip2=yes" | 20 | EXTRA_OECONF = "enable_bzip2=yes" |
22 | EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" | 21 | EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" |
23 | 22 | ||
23 | PACKAGECONFIG[mad] = "--enable-mad,--disable-mad,libmad" | ||
24 | PACKAGECONFIG[id3tag] = "--enable-id3,--disable-id3,libid3tag" | ||
25 | PACKAGECONFIG[lame] = "--enable-lame-encoder,--disable-lame-encoder,lame" | ||
26 | |||
24 | do_install_append() { | 27 | do_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 |