summaryrefslogtreecommitdiff
path: root/sys-auth/polkit-qt/polkit-qt-0.95.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/polkit-qt/polkit-qt-0.95.1.ebuild')
-rw-r--r--sys-auth/polkit-qt/polkit-qt-0.95.1.ebuild55
1 files changed, 55 insertions, 0 deletions
diff --git a/sys-auth/polkit-qt/polkit-qt-0.95.1.ebuild b/sys-auth/polkit-qt/polkit-qt-0.95.1.ebuild
new file mode 100644
index 00000000000..91081a442cf
--- /dev/null
+++ b/sys-auth/polkit-qt/polkit-qt-0.95.1.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 cmake-utils
+
+MY_P="${P/qt/qt-1}"
+
+DESCRIPTION="PolicyKit Qt4 API wrapper library."
+HOMEPAGE="http://kde.org/"
+SRC_URI="mirror://kde/stable/polkit-qt-1/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2"
+KEYWORDS="~amd64 ~x86"
+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"
+
+S="${WORKDIR}/${MY_P}"
+
+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
+}