diff options
-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 |