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