summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-11-18 19:04:12 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-11-28 00:12:38 +0100
commitc574fde8d5594dc355352d12ae29dc9e5f9295ed (patch)
tree6f0cbdbec15403e33e07dab5b81a7b9dc6a9dd3e
parent6a5eebcd2d98991f485e8c65b2172760476d5d3e (diff)
downloadkde-c574fde8d5594dc355352d12ae29dc9e5f9295ed.tar.gz
kde-c574fde8d5594dc355352d12ae29dc9e5f9295ed.tar.bz2
kde-c574fde8d5594dc355352d12ae29dc9e5f9295ed.zip
kde-frameworks/kauth: add 9999 [WIP: IUSE=policykit disabled)
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-frameworks/kauth/kauth-9999.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/kde-frameworks/kauth/kauth-9999.ebuild b/kde-frameworks/kauth/kauth-9999.ebuild
new file mode 100644
index 00000000000..d217db9a7df
--- /dev/null
+++ b/kde-frameworks/kauth/kauth-9999.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PVCUT=$(ver_cut 1-2)
+QTMIN=6.6.0
+inherit ecm frameworks.kde.org
+
+DESCRIPTION="Framework to let applications perform actions as a privileged user"
+
+LICENSE="LGPL-2.1+"
+KEYWORDS=""
+IUSE="+policykit"
+
+DEPEND="
+ >=dev-qt/qtbase-${QTMIN}:6[dbus,gui]
+ =kde-frameworks/kcoreaddons-${PVCUT}*:6
+ policykit? ( >=sys-auth/polkit-qt-0.113.0[qt6(-)] )
+"
+RDEPEND="${DEPEND}"
+BDEPEND=">=dev-qt/qttools-${QTMIN}:6[linguist]"
+# PDEPEND="policykit? ( kde-plasma/polkit-kde-agent )"
+
+CMAKE_SKIP_TESTS=(
+ # KAuthHelperTest test fails, bug 654842
+ KAuthHelperTest
+)
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package policykit PolkitQt6-1)
+ )
+
+ ecm_src_configure
+}