summaryrefslogtreecommitdiff
path: root/sys-auth/polkit-qt/polkit-qt-9999.ebuild
blob: 07c474cf46e10bfb4ad8c1e0e8a3d90560dc7df1 (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
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit cmake-utils git-r3

DESCRIPTION="PolicyKit Qt API wrapper library"
HOMEPAGE="https://api.kde.org/kdesupport-api/polkit-qt-1-apidocs/"
EGIT_REPO_URI=( "https://anongit.kde.org/polkit-qt-1" )

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS=""
IUSE="debug examples"

RDEPEND="
	dev-libs/glib:2
	dev-qt/qtcore:5
	dev-qt/qtdbus:5
	dev-qt/qtgui:5
	dev-qt/qtwidgets:5
	>=sys-auth/polkit-0.103
	examples? ( dev-qt/qtxml:5 )
"
DEPEND="${RDEPEND}"

DOCS=( AUTHORS README README.porting TODO )

src_configure() {
	local mycmakeargs=(
		-DBUILD_EXAMPLES=$(usex examples)
		-DUSE_QT4=OFF
		-DUSE_QT5=ON
	)

	cmake-utils_src_configure
}