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://use-external-libsidplay.patch;patch=1 \
           file://gcc3.patch;patch=1 \
	   file://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}/        
}