# Template file for 'aqemu'
pkgname=aqemu
version=0.8.1
distfiles="${SOURCEFORGE_SITE}/aqemu/aqemu-$version.tar.bz2"
build_style=custom-install
short_desc="GUI to QEMU and KVM emulators, written in Qt4"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=0fab894e5f49f688122ad15065bbdf278def1425a5d43ad2d64a21caf8dec41a
long_desc="
 AQEMU is GUI to QEMU and KVM emulators, written in Qt4. The program has
 user-friendly interface and allows to set up the majority of QEMU and KVM
 options."

Add_dependency run libgcc
Add_dependency run glibc
Add_dependency run libstdc++
Add_dependency run qt

Add_dependency build cmake
Add_dependency build qt-devel

Add_dependency full qemu
Add_dependency full desktop-file-utils

do_build()
{
	mkdir -p ${wrksrc}/build && cd ${wrksrc}/build
        cmake	-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DWITHOUT_EMBEDDED_DISPLAY=True ..
        make ${makejobs}
}

do_install()
{
        cd ${wrksrc}/build
        make DESTDIR=${DESTDIR} install
}
