blob: 45cbf2902f9c435a9da09be4c680e624e8d66d3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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
}
|