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/kcrash/
Date: Sat, 13 Nov 2021 19:05:28 +0000 (UTC)	[thread overview]
Message-ID: <1636826732.a9ff9ad33d5a4083ef383a430d2da52a62a9076c.asturm@gentoo> (raw)

commit:     a9ff9ad33d5a4083ef383a430d2da52a62a9076c
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 13 18:05:32 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Nov 13 18:05:32 2021 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=a9ff9ad3

kde-frameworks/kcrash: Add IUSE X

Upstream commit 17ff51f0fabe65de3de01449450e0b80414e8ffb

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-frameworks/kcrash/kcrash-5.88.0.ebuild | 25 +++++++++++++++++--------
 kde-frameworks/kcrash/kcrash-9999.ebuild   | 25 +++++++++++++++++--------
 2 files changed, 34 insertions(+), 16 deletions(-)

diff --git a/kde-frameworks/kcrash/kcrash-5.88.0.ebuild b/kde-frameworks/kcrash/kcrash-5.88.0.ebuild
index 9662571cc3..2bb0249cb3 100644
--- a/kde-frameworks/kcrash/kcrash-5.88.0.ebuild
+++ b/kde-frameworks/kcrash/kcrash-5.88.0.ebuild
@@ -11,22 +11,31 @@ inherit ecm kde.org
 DESCRIPTION="Framework for intercepting and handling application crashes"
 LICENSE="LGPL-2+"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="nls"
+IUSE="nls X"
 
-# requires running kde environment
+# requires running Plasma environment
 RESTRICT="test"
 
-BDEPEND="
-	nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 )
-"
 RDEPEND="
 	>=dev-qt/qtgui-${QTMIN}:5
-	>=dev-qt/qtx11extras-${QTMIN}:5
 	=kde-frameworks/kcoreaddons-${PVCUT}*:5
 	=kde-frameworks/kwindowsystem-${PVCUT}*:5
-	x11-libs/libX11
+	X? (
+		>=dev-qt/qtx11extras-${QTMIN}:5
+		x11-libs/libX11
+	)
 "
 DEPEND="${RDEPEND}
-	x11-base/xorg-proto
+	X? ( x11-base/xorg-proto )
 	test? ( >=dev-qt/qtwidgets-${QTMIN}:5 )
 "
+BDEPEND="
+	nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 )
+"
+
+src_configure() {
+	local mycmakeargs=(
+		-DWITH_X11=$(usex X)
+	)
+	ecm_src_configure
+}

diff --git a/kde-frameworks/kcrash/kcrash-9999.ebuild b/kde-frameworks/kcrash/kcrash-9999.ebuild
index 40519d9525..e9410d7bff 100644
--- a/kde-frameworks/kcrash/kcrash-9999.ebuild
+++ b/kde-frameworks/kcrash/kcrash-9999.ebuild
@@ -11,22 +11,31 @@ inherit ecm kde.org
 DESCRIPTION="Framework for intercepting and handling application crashes"
 LICENSE="LGPL-2+"
 KEYWORDS=""
-IUSE="nls"
+IUSE="nls X"
 
-# requires running kde environment
+# requires running Plasma environment
 RESTRICT="test"
 
-BDEPEND="
-	nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 )
-"
 RDEPEND="
 	>=dev-qt/qtgui-${QTMIN}:5
-	>=dev-qt/qtx11extras-${QTMIN}:5
 	=kde-frameworks/kcoreaddons-${PVCUT}*:5
 	=kde-frameworks/kwindowsystem-${PVCUT}*:5
-	x11-libs/libX11
+	X? (
+		>=dev-qt/qtx11extras-${QTMIN}:5
+		x11-libs/libX11
+	)
 "
 DEPEND="${RDEPEND}
-	x11-base/xorg-proto
+	X? ( x11-base/xorg-proto )
 	test? ( >=dev-qt/qtwidgets-${QTMIN}:5 )
 "
+BDEPEND="
+	nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 )
+"
+
+src_configure() {
+	local mycmakeargs=(
+		-DWITH_X11=$(usex X)
+	)
+	ecm_src_configure
+}


             reply	other threads:[~2021-11-13 19:05 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-13 19:05 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-05 12:59 [gentoo-commits] proj/kde:master commit in: kde-frameworks/kcrash/ Andreas Sturmlechner
2022-11-16 21:07 Andreas Sturmlechner
2022-06-08 15:14 Andreas Sturmlechner
2016-12-29 12:44 Michael Palimaka
2014-05-06 17:20 Michael Palimaka
2014-05-05 15:00 Michael Palimaka
2014-04-17 18:37 Michael Palimaka
2014-03-31 16:39 Michael Palimaka
2014-01-29 15:37 Michael Palimaka
2014-01-29 15:37 Michael Palimaka
2013-11-17 17:12 Michael Palimaka
2013-11-16 12:53 Johannes Huber
2013-11-14 21:44 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=1636826732.a9ff9ad33d5a4083ef383a430d2da52a62a9076c.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