diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-08-05 12:18:50 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-08-05 16:55:19 +0200 |
commit | 9fa5923fa27c279ce4bc32312500aea04f1b2fb3 (patch) | |
tree | bc6756d6e2468f92428e64272bb7ebe67511eed6 /kde-frameworks/kglobalaccel | |
parent | profiles: Drop kde-gear-22.07.80 package.mask (diff) | |
download | kde-9fa5923fa27c279ce4bc32312500aea04f1b2fb3.tar.gz kde-9fa5923fa27c279ce4bc32312500aea04f1b2fb3.tar.bz2 kde-9fa5923fa27c279ce4bc32312500aea04f1b2fb3.zip |
kde-frameworks/kglobalaccel: Add back IUSE X
Upstream commit 7d6ef389defbcf8fc25762ce772315221a721790
KDE-bug: https://bugs.kde.org/show_bug.cgi?id=426199
Bug: https://bugs.gentoo.org/540120
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/kglobalaccel')
-rw-r--r-- | kde-frameworks/kglobalaccel/kglobalaccel-9999.ebuild | 29 | ||||
-rw-r--r-- | kde-frameworks/kglobalaccel/metadata.xml | 3 |
2 files changed, 22 insertions, 10 deletions
diff --git a/kde-frameworks/kglobalaccel/kglobalaccel-9999.ebuild b/kde-frameworks/kglobalaccel/kglobalaccel-9999.ebuild index 16073e30e4..a109e7f1cc 100644 --- a/kde-frameworks/kglobalaccel/kglobalaccel-9999.ebuild +++ b/kde-frameworks/kglobalaccel/kglobalaccel-9999.ebuild @@ -12,23 +12,25 @@ DESCRIPTION="Framework to handle global shortcuts" LICENSE="LGPL-2+" KEYWORDS="" -IUSE="nls" +IUSE="nls X" -# requires installed instance -RESTRICT="test" +REQUIRED_USE="test? ( X )" +RESTRICT="test" # requires installed instance RDEPEND=" >=dev-qt/qtdbus-${QTMIN}:5 >=dev-qt/qtgui-${QTMIN}:5 >=dev-qt/qtwidgets-${QTMIN}:5 >=dev-qt/qtx11extras-${QTMIN}:5 - =kde-frameworks/kconfig-${PVCUT}*:5 - =kde-frameworks/kcoreaddons-${PVCUT}*:5 - =kde-frameworks/kcrash-${PVCUT}*:5 - =kde-frameworks/kdbusaddons-${PVCUT}*:5 - =kde-frameworks/kwindowsystem-${PVCUT}*:5[X] - x11-libs/libxcb - x11-libs/xcb-util-keysyms + X? ( + =kde-frameworks/kconfig-${PVCUT}*:5 + =kde-frameworks/kcoreaddons-${PVCUT}*:5 + =kde-frameworks/kcrash-${PVCUT}*:5 + =kde-frameworks/kdbusaddons-${PVCUT}*:5 + =kde-frameworks/kwindowsystem-${PVCUT}*:5[X] + x11-libs/libxcb + x11-libs/xcb-util-keysyms + ) " DEPEND="${RDEPEND} test? ( @@ -39,6 +41,13 @@ DEPEND="${RDEPEND} " BDEPEND="nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 )" +src_configure() { + local mycmakeargs=( + -DBUILD_RUNTIME=$(usex X) + ) + ecm_src_configure +} + src_test() { XDG_CURRENT_DESKTOP="KDE" ecm_src_test # bug 789342 } diff --git a/kde-frameworks/kglobalaccel/metadata.xml b/kde-frameworks/kglobalaccel/metadata.xml index 506ecf605b..39e72e4520 100644 --- a/kde-frameworks/kglobalaccel/metadata.xml +++ b/kde-frameworks/kglobalaccel/metadata.xml @@ -13,4 +13,7 @@ Must only be used by packages that are known to use private parts of the Frameworks API. </subslots> </slots> + <use> + <flag name="X">Build the kglobalacceld runtime needed for X</flag> + </use> </pkgmetadata> |