DESCRIPTION = "A SID Player for the Qt/Embedded based Palmtop Environments"
SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
DEPENDS = "libsidplay"

SRC_URI = "http://sidplayer.sourceforge.net/sidplayer.tar.gz \
           file://${FILESDIR}/use-external-libsidplay.patch;patch=1 \
           file://${FILESDIR}/gcc3.patch;patch=1 \
	   file://${FILESDIR}/gcc34.patch;patch=1"
S = "${WORKDIR}/sidplayer"

EXTRA_QMAKEVARS_PRE = "QMAKE_INCDIR=${STAGING_INCDIR}/sidplay"

inherit palmtop

do_install() {
        install -d ${D}/${palmtopdir}/bin \
        	   ${D}/${palmtopdir}/apps/Applications \
        	   ${D}/${palmtopdir}/pics
	cp -a ../apps ../bin ../pics ${D}/${palmtopdir}/        
}