Commit 673d4ee8 authored by Paul Barker's avatar Paul Barker Committed by Martin Jansa

mpd: replace ENTERPRISE_DISTRO with PACKAGECONFIG options

Signed-off-by: default avatarPaul Barker <paul@paulbarker.me.uk>
Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
parent 29c25731
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment