# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-emulation/aqemu/aqemu-0.8.1.ebuild,v 1.3 2011/09/04 17:36:42 phajdan.jr Exp $ EAPI="2" inherit cmake-utils DESCRIPTION="Graphical interface for QEMU and KVM emulators. Using Qt4." HOMEPAGE="http://sourceforge.net/projects/aqemu" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" IUSE="kvm vnc" DEPEND="${RDEPEND}" RDEPEND="kvm? ( app-emulation/qemu-kvm ) !kvm? ( >=app-emulation/qemu-0.9.0 ) vnc? ( net-libs/libvncserver ) x11-libs/qt-gui:4 x11-libs/qt-test:4 x11-libs/qt-xmlpatterns:4" DOCS="AUTHORS CHANGELOG README TODO" src_configure() { local mycmakeargs=" -DCMAKE_VERBOSE_MAKEFILE=OFF" if use vnc; then mycmakeargs+=" -DWITHOUT_EMBEDDED_DISPLAY=OFF " else mycmakeargs+=" -DWITHOUT_EMBEDDED_DISPLAY=ON " fi cmake-utils_src_configure }