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] repo/gentoo:master commit in: media-libs/kcolorpicker/
Date: Tue, 27 Feb 2024 19:50:09 +0000 (UTC)	[thread overview]
Message-ID: <1709063394.e12b0b8c1c1ac12476a8208aa0ec3ee7ee945d33.asturm@gentoo> (raw)

commit:     e12b0b8c1c1ac12476a8208aa0ec3ee7ee945d33
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 27 19:46:46 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Feb 27 19:49:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e12b0b8c

media-libs/kcolorpicker: Switch to QT_QPA_PLATFORM=offscreen

Tests passed.

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-libs/kcolorpicker/kcolorpicker-0.3.0.ebuild | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/media-libs/kcolorpicker/kcolorpicker-0.3.0.ebuild b/media-libs/kcolorpicker/kcolorpicker-0.3.0.ebuild
index 2b7797def2da..ba108063e02c 100644
--- a/media-libs/kcolorpicker/kcolorpicker-0.3.0.ebuild
+++ b/media-libs/kcolorpicker/kcolorpicker-0.3.0.ebuild
@@ -3,8 +3,7 @@
 
 EAPI=8
 
-VIRTUALX_REQUIRED="test"
-inherit cmake virtualx
+inherit cmake
 
 MY_PN=kColorPicker
 MY_P="${MY_PN}-${PV}"
@@ -12,12 +11,15 @@ MY_P="${MY_PN}-${PV}"
 DESCRIPTION="Qt based color picker with popup menu"
 HOMEPAGE="https://github.com/ksnip/kColorPicker"
 SRC_URI="https://github.com/ksnip/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
 
 LICENSE="LGPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="test"
 
+RESTRICT="!test? ( test )"
+
 RDEPEND="
 	dev-qt/qtbase:6[gui,widgets]
 "
@@ -25,8 +27,6 @@ DEPEND="${RDEPEND}
 	test? ( dev-qt/qtbase:6 )
 "
 
-S="${WORKDIR}/${MY_P}"
-
 src_configure() {
 	local mycmakeargs=(
 		-DBUILD_TESTS=$(usex test)
@@ -36,5 +36,6 @@ src_configure() {
 }
 
 src_test() {
-	virtx cmake_src_test
+	local -x QT_QPA_PLATFORM=offscreen
+	cmake_src_test
 }


             reply	other threads:[~2024-02-27 19:50 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-27 19:50 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-01 18:23 [gentoo-commits] repo/gentoo:master commit in: media-libs/kcolorpicker/ Andreas Sturmlechner
2024-03-10 16:51 Andreas Sturmlechner
2024-03-10 16:51 Andreas Sturmlechner
2024-02-27 19:50 Andreas Sturmlechner
2024-02-24 11:13 Alexey Shvetsov
2023-05-14 10:29 Andreas Sturmlechner
2023-05-14  9:17 Sam James
2023-05-14  8:48 Sam James
2023-05-14  8:48 Sam James
2022-10-31  1:26 WANG Xuerui
2022-08-31  8:42 Joonas Niilola
2021-11-29 14:05 Andreas Sturmlechner
2021-06-22  9:02 Joonas Niilola
2021-04-06  6:31 Agostino Sarubbo
2021-02-23 20:10 Andreas Sturmlechner
2021-02-23 20:10 Andreas Sturmlechner
2021-01-28 18:04 Georgy Yakovlev
2021-01-19 19:17 Sam James
2021-01-08  0:00 Andreas Sturmlechner

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=1709063394.e12b0b8c1c1ac12476a8208aa0ec3ee7ee945d33.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