1 DESCRIPTION = "Music Player Daemon (mpd)"
2 HOMEPAGE = "http://www.musicpd.org"
3 SECTION = "console/multimedia"
5 DEPENDS = "libvorbis libogg libao zlib libmikmod flac audiofile virtual/libiconv faad2 pulseaudio \
6 ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad libid3tag', d)}"
7 PV = "0.12.1+svn${SRCDATE}"
10 SRC_URI = "svn://svn.musicpd.org/mpd;module=trunk;proto=https \
12 # file://save-volume-state.patch;patch=1"
13 S = "${WORKDIR}/trunk"
15 inherit autotools update-rc.d
16 INITSCRIPT_NAME = "mpd"
18 # Setting --enable-mpd-{mad,id3tag} causes local caches of the libraries to
19 # be built, instead we use the OE built versions which should be installed
20 # in staging - remove the --with and replace with --enable to use the local
25 --with-id3tag-libraries=${STAGING_LIBDIR} \
26 --with-id3tag-includes=${STAGING_INCDIR} \
27 --with-mad-libraries=${STAGING_LIBDIR} \
28 --with-mad-includes=${STAGING_INCDIR} \
29 --with-faad-libraries=${STAGING_LIBDIR} \
30 --with-faad-includes=${STAGING_INCDIR} \
36 do_compile_prepend() {
37 find -name Makefile | xargs sed -i 's~-I/usr/include~-I${STAGING_INCDIR}~g'