public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-frameworks/kglobalaccel/
Date: Fri,  5 Aug 2022 14:55:58 +0000 (UTC)	[thread overview]
Message-ID: <1659711319.9fa5923fa27c279ce4bc32312500aea04f1b2fb3.asturm@gentoo> (raw)

commit:     9fa5923fa27c279ce4bc32312500aea04f1b2fb3
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  5 10:18:50 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Aug  5 14:55:19 2022 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=9fa5923f

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 <AT> gentoo.org>

 .../kglobalaccel/kglobalaccel-9999.ebuild          | 29 ++++++++++++++--------
 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>


             reply	other threads:[~2022-08-05 14:56 UTC|newest]

Thread overview: 113+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-05 14:55 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-08 14:40 [gentoo-commits] proj/kde:master commit in: kde-frameworks/kglobalaccel/ Andreas Sturmlechner
2024-11-02 22:26 Andreas Sturmlechner
2024-10-28 17:34 Andreas Sturmlechner
2024-10-11 14:17 Andreas Sturmlechner
2024-10-04 22:21 Andreas Sturmlechner
2024-09-14  3:24 Andreas Sturmlechner
2024-09-07  9:44 Andreas Sturmlechner
2024-08-09 13:57 Andreas Sturmlechner
2024-08-04 19:37 Andreas Sturmlechner
2024-07-12 15:05 Andreas Sturmlechner
2024-07-08 20:11 Andreas Sturmlechner
2024-06-12 15:35 Andreas Sturmlechner
2024-06-02 20:21 Andreas Sturmlechner
2024-05-19 19:34 Andreas Sturmlechner
2024-05-13 21:05 Andreas Sturmlechner
2024-04-14 20:04 Andreas Sturmlechner
2024-04-05 20:01 Andreas Sturmlechner
2024-02-11 20:15 Andreas Sturmlechner
2024-02-03 21:43 Andreas Sturmlechner
2024-01-14 22:37 Andreas Sturmlechner
2024-01-10 23:27 Andreas Sturmlechner
2023-12-15 16:20 Andreas Sturmlechner
2023-12-06 17:19 Andreas Sturmlechner
2023-11-12  9:17 Andreas Sturmlechner
2023-11-05 23:10 Andreas Sturmlechner
2023-10-19 20:09 Andreas Sturmlechner
2023-10-08 12:43 Andreas Sturmlechner
2023-08-18  8:56 Andreas Sturmlechner
2023-08-05 21:13 Andreas Sturmlechner
2023-07-08 16:18 Andreas Sturmlechner
2023-07-02 21:57 Andreas Sturmlechner
2023-06-10 10:13 Andreas Sturmlechner
2023-06-05 15:32 Andreas Sturmlechner
2023-05-13 18:28 Andreas Sturmlechner
2023-05-09 15:06 Andreas Sturmlechner
2023-04-08 18:01 Andreas Sturmlechner
2023-04-04 19:13 Andreas Sturmlechner
2023-03-11 18:19 Andreas Sturmlechner
2023-03-04 12:56 Andreas Sturmlechner
2023-02-12 11:22 Andreas Sturmlechner
2023-02-05 16:34 Andreas Sturmlechner
2023-01-14 23:41 Andreas Sturmlechner
2023-01-08 11:53 Andreas Sturmlechner
2022-12-10 10:48 Andreas Sturmlechner
2022-12-06 18:44 Andreas Sturmlechner
2022-11-16 21:07 Andreas Sturmlechner
2022-11-14 14:17 Andreas Sturmlechner
2022-11-06 21:49 Andreas Sturmlechner
2022-10-10  8:30 Andreas Sturmlechner
2022-09-13 13:37 Andreas Sturmlechner
2022-08-14 10:50 Andreas Sturmlechner
2022-08-07 16:30 Andreas Sturmlechner
2022-07-09 14:28 Andreas Sturmlechner
2022-07-03  6:59 Andreas Sturmlechner
2022-06-12 19:43 Andreas Sturmlechner
2022-06-10  7:52 Andreas Sturmlechner
2022-05-15 10:20 Andreas Sturmlechner
2022-05-09 21:03 Andreas Sturmlechner
2022-04-09 21:45 Andreas Sturmlechner
2022-04-02 13:54 Andreas Sturmlechner
2022-03-13 19:28 Andreas Sturmlechner
2022-03-12 12:37 Andreas Sturmlechner
2022-02-07 20:19 Andreas Sturmlechner
2022-01-08 21:14 Andreas Sturmlechner
2022-01-02  8:13 Andreas Sturmlechner
2021-12-12 22:52 Andreas Sturmlechner
2021-12-04 21:38 Andreas Sturmlechner
2021-11-13 20:14 Andreas Sturmlechner
2021-11-06 17:43 Andreas Sturmlechner
2021-10-11 11:00 Andreas Sturmlechner
2021-10-03 15:44 Andreas Sturmlechner
2021-09-13  6:16 Andreas Sturmlechner
2021-09-04 22:51 Andreas Sturmlechner
2021-08-14 17:25 Andreas Sturmlechner
2021-08-06 12:24 Andreas Sturmlechner
2021-07-12 16:54 Andreas Sturmlechner
2021-07-04 19:55 Andreas Sturmlechner
2021-05-20 19:35 Andreas Sturmlechner
2021-05-09 12:17 Andreas Sturmlechner
2021-05-02 19:13 Andreas Sturmlechner
2021-04-10 18:47 Andreas Sturmlechner
2021-04-04 20:50 Andreas Sturmlechner
2021-03-13 16:31 Andreas Sturmlechner
2021-03-06 23:56 Andreas Sturmlechner
2021-02-13 20:50 Andreas Sturmlechner
2021-02-06 21:40 Andreas Sturmlechner
2021-01-09 10:15 Andreas Sturmlechner
2021-01-02 21:18 Andreas Sturmlechner
2020-12-05 22:52 Andreas Sturmlechner
2020-11-14 17:46 Andreas Sturmlechner
2020-11-08  8:44 Andreas Sturmlechner
2020-10-10 16:05 Andreas Sturmlechner
2020-10-05 11:22 Andreas Sturmlechner
2020-09-12 12:38 Andreas Sturmlechner
2020-09-06 16:45 Andreas Sturmlechner
2020-08-08 11:01 Andreas Sturmlechner
2020-08-02  8:11 Andreas Sturmlechner
2020-07-04 21:44 Andreas Sturmlechner
2017-04-25 17:55 Andreas Sturmlechner
2016-08-10 17:08 Michael Palimaka
2016-07-26  7:02 Johannes Huber
2016-06-19 15:15 Michael Palimaka
2015-05-06 13:22 Michael Palimaka
2015-02-19  8:02 Michael Palimaka
2015-02-17 12:07 Michael Palimaka
2015-02-13 13:12 Johannes Huber
2015-01-17 13:28 Johannes Huber
2014-10-04 18:14 Michael Palimaka
2014-05-06 17:45 Michael Palimaka
2014-05-05 15:06 Michael Palimaka
2014-04-17 18:23 Michael Palimaka
2013-12-19 23:59 Johannes Huber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1659711319.9fa5923fa27c279ce4bc32312500aea04f1b2fb3.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox