summaryrefslogtreecommitdiff
path: root/sys-auth/polkit-qt/polkit-qt-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/polkit-qt/polkit-qt-9999.ebuild')
-rw-r--r--sys-auth/polkit-qt/polkit-qt-9999.ebuild55
1 files changed, 55 insertions, 0 deletions
diff --git a/sys-auth/polkit-qt/polkit-qt-9999.ebuild b/sys-auth/polkit-qt/polkit-qt-9999.ebuild
new file mode 100644
index 00000000000..45cbf2902f9
--- /dev/null
+++ b/sys-auth/polkit-qt/polkit-qt-9999.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit subversion cmake-utils
+
+DESCRIPTION="PolicyKit Qt4 API wrapper library."
+HOMEPAGE="http://kde.org/"
+ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/kdereview/polkit-qt-1"
+
+LICENSE="LGPL-2"
+KEYWORDS=""
+SLOT="0"
+IUSE="debug doc examples"
+
+RDEPEND="
+ >=sys-auth/polkit-0.95
+ x11-libs/qt-gui[dbus]
+"
+DEPEND="${RDEPEND}
+ kde-base/automoc
+ doc? ( app-doc/doxygen )
+"
+
+DOCS="AUTHORS README README.porting TODO"
+
+src_unpack() {
+ subversion_src_unpack
+}
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_build examples)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+
+ if use doc; then
+ doxygen Doxyfile || die "doxygen failed"
+ fi
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ if use doc; then
+ dohtml -r "${S}/html/" || die "dohtml failed"
+ fi
+}