You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-auth/polkit-qt/polkit-qt-0.99.0.ebuild

43 lines
918 B

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit-qt/polkit-qt-0.99.0.ebuild,v 1.7 2011/07/13 13:40:15 xarthisius Exp $
EAPI="3"
MY_P="${P/qt/qt-1}"
inherit cmake-utils
DESCRIPTION="PolicyKit Qt4 API wrapper library."
HOMEPAGE="http://kde.org/"
SRC_URI="mirror://kde/stable/apps/KDE4.x/admin/${MY_P}.tar.bz2"
LICENSE="LGPL-2"
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~x86-fbsd"
SLOT="0"
IUSE="debug examples"
COMMON_DEPEND="
dev-libs/glib:2
>=sys-auth/polkit-0.99
x11-libs/qt-core[glib]
x11-libs/qt-gui[dbus,glib]
"
DEPEND="${COMMON_DEPEND}
dev-util/automoc
"
RDEPEND="${COMMON_DEPEND}
examples? ( !sys-auth/policykit-qt[examples] )
"
DOCS=(AUTHORS README README.porting TODO)
S="${WORKDIR}/${MY_P}"
src_configure() {
mycmakeargs=(
$(cmake-utils_use_build examples)
)
cmake-utils_src_configure
}