summaryrefslogtreecommitdiff
path: root/kde-frameworks/polkit-qt/polkit-qt-9999.ebuild
blob: 3d3af4d3a1359e46953dbe22d7664079dc0613b7 (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

KMNAME="polkit-qt-1"
inherit kde5

DESCRIPTION="PolicyKit Qt5 API wrapper library"
HOMEPAGE="http://www.kde.org/"

LICENSE="LGPL-2"
KEYWORDS=""
IUSE="examples"

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

DOCS=( AUTHORS README README.porting TODO )

src_configure() {
	local mycmakeargs=(
		-DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
		-DBUILD_EXAMPLES=$(usex examples)
		-DUSE_QT5=on
	)

	kde5_src_configure
}