DESCRIPTION = "Gizmo Daemon"
HOMEPAGE = "http://gizmod.sourceforge.net"
LICENSE = "GPLv2"
MAINTAINER = "Justin Patrin <papercrane@reversefold.com>"
SECTION = "console/multimedia"
DEPENDS = "python virtual/libx11 xf86vidmodeproto"
SRC_URI = "${SOURCEFORGE_MIRROR}/gizmod/gizmod-${PV}.tar.bz2 \
           file://disable-xmms.patch;patch=1 \
           file://fix-python-configure.patch;patch=1 \
           file://disable-bmp.patch;patch=1"

PR = "r0"

inherit autotools

EXTRA_OECONF = "--disable-xmms --disable-bmp --disable-xosd"

#do_configure_prepend() {
#    sed -i 's/TARGET_SYS/${TARGET_SYS}/' ${S}/configure.ac
#}

FILES_${PN} += "${datadir}/gizmo/scripts ${datadir}/gizmo/plugins/*.so ${datadir}/gizmo/plugins/*.so.*"
FILES_${PN}-dev += "${datadir}/gizmo/plugins/*.a ${datadir}/gizmo/plugins/*.la"
FILES_${PN}-dbg += "${datadir}/gizmo/plugins/.debug"