forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kde-frameworks/kauth: revision bump to add Qt subslot operator
Package-Manager: portage-2.3.0_rc1
- Loading branch information
1 parent
d2e60c5
commit 53815d0
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=6 | ||
|
||
VIRTUALX_REQUIRED="test" | ||
inherit kde5 | ||
|
||
DESCRIPTION="Framework to let applications perform actions as a privileged user" | ||
LICENSE="LGPL-2.1+" | ||
KEYWORDS="~amd64 ~arm ~x86" | ||
IUSE="nls +policykit" | ||
|
||
# drop qtgui subslot operator when QT_MINIMAL >= 5.7.0 | ||
RDEPEND=" | ||
$(add_frameworks_dep kcoreaddons) | ||
$(add_qt_dep qtdbus) | ||
$(add_qt_dep qtgui '' '' '5=') | ||
$(add_qt_dep qtwidgets) | ||
policykit? ( sys-auth/polkit-qt[qt5] ) | ||
" | ||
DEPEND="${RDEPEND} | ||
nls? ( $(add_qt_dep linguist-tools) ) | ||
" | ||
PDEPEND="policykit? ( kde-plasma/polkit-kde-agent )" | ||
|
||
src_configure() { | ||
local mycmakeargs=( | ||
$(cmake-utils_use_find_package policykit PolkitQt5-1) | ||
) | ||
|
||
kde5_src_configure | ||
} |