aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-12-15 23:29:19 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-12-15 23:29:19 +0100
commit04c8f8003cab067581c5a85428af3ef3ff46ac1f (patch)
tree4ea0c24da62cdb528f9a9f8402367d55c644eaf8 /kde-plasma/libksysguard
parentkde-plasma/milou: Update dependencies (diff)
downloadkde-04c8f8003cab067581c5a85428af3ef3ff46ac1f.tar.gz
kde-04c8f8003cab067581c5a85428af3ef3ff46ac1f.tar.bz2
kde-04c8f8003cab067581c5a85428af3ef3ff46ac1f.zip
kde-plasma/libksysguard: Add IUSE X
Upstream commit 0da59aaffa1f21976090142cea869e72550f582c Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/libksysguard')
-rw-r--r--kde-plasma/libksysguard/libksysguard-9999.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/kde-plasma/libksysguard/libksysguard-9999.ebuild b/kde-plasma/libksysguard/libksysguard-9999.ebuild
index 6ad180d6e5..ce233f7cc5 100644
--- a/kde-plasma/libksysguard/libksysguard-9999.ebuild
+++ b/kde-plasma/libksysguard/libksysguard-9999.ebuild
@@ -14,7 +14,7 @@ DESCRIPTION="Task management and system monitoring library"
LICENSE="LGPL-2+"
SLOT="6/9"
KEYWORDS=""
-IUSE="webengine"
+IUSE="webengine X"
# kde-frameworks/kwindowsystem[X]: Unconditional use of KX11Extras
RDEPEND="
@@ -38,16 +38,18 @@ RDEPEND="
net-libs/libpcap
sys-apps/lm-sensors:=
sys-libs/zlib
- x11-libs/libX11
- x11-libs/libXres
webengine? (
>=dev-qt/qtwebchannel-${QTMIN}:6
>=dev-qt/qtwebengine-${QTMIN}:6
)
+ X? (
+ x11-libs/libX11
+ x11-libs/libXres
+ )
"
DEPEND="${RDEPEND}
>=kde-frameworks/kiconthemes-${KFMIN}:6
- x11-base/xorg-proto
+ X? ( x11-base/xorg-proto )
"
BDEPEND="sys-libs/libcap"
@@ -58,6 +60,7 @@ src_configure() {
local mycmakeargs=(
$(cmake_use_find_package webengine Qt6WebChannel)
$(cmake_use_find_package webengine Qt6WebEngineWidgets)
+ -DWITH_X11=$(usex X)
)
ecm_src_configure