# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit git cmake-utils DESCRIPTION="PolicyKit Qt4 API wrapper library." HOMEPAGE="http://kde.org/" EGIT_REPO_URI="git://git.kde.org/polkit-qt-1.git" LICENSE="LGPL-2" KEYWORDS="" SLOT="0" IUSE="debug examples" COMMON_DEPEND=" dev-libs/glib:2 >=sys-auth/polkit-0.96 x11-libs/qt-core x11-libs/qt-gui[dbus] " DEPEND="${COMMON_DEPEND} dev-util/automoc " RDEPEND="${COMMON_DEPEND} examples? ( !sys-auth/policykit-qt[examples] ) " DOCS=(AUTHORS README README.porting TODO) src_unpack() { git_src_unpack } src_configure() { mycmakeargs=( $(cmake-utils_use_build examples) ) cmake-utils_src_configure }