From: Paul Barker Date: Sat, 22 Jun 2013 13:28:38 +0000 (+0000) Subject: mpd: replace ENTERPRISE_DISTRO with PACKAGECONFIG options X-Git-Tag: rev_ivi_2015_02_04~3055 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e713763f2a63b5e4614ab558607ffbdc9b413fe3;p=scm%2Fbb%2Ftizen-distro.git mpd: replace ENTERPRISE_DISTRO with PACKAGECONFIG options (From meta-openembedded rev: 673d4ee87d13db24edf0f25cd320516f111700b6) Signed-off-by: Paul Barker Signed-off-by: Martin Jansa Signed-off-by: Patrick Ohly --- diff --git a/meta-openembedded/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bb b/meta-openembedded/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bb index a6b8898..6f2a912 100644 --- a/meta-openembedded/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bb +++ b/meta-openembedded/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bb @@ -3,8 +3,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" HOMEPAGE ="http://sourceforge.net/projects/musicpd" -DEPENDS = "alsa-lib libsamplerate0 libsndfile1 libvorbis libogg faad2 ffmpeg curl sqlite bzip2 pulseaudio \ - ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad lame libid3tag', d)}" +DEPENDS = "alsa-lib libsamplerate0 libsndfile1 libvorbis libogg faad2 ffmpeg curl sqlite bzip2 pulseaudio" PR = "r4" @@ -21,6 +20,10 @@ 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