diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-27 20:46:46 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-27 20:49:54 +0100 |
commit | e12b0b8c1c1ac12476a8208aa0ec3ee7ee945d33 (patch) | |
tree | 9187dded542d045fb023e7f8abbc46ed95bc4bb2 /media-libs/kcolorpicker | |
parent | media-libs/kcolorpicker: Drop bogus dev-qt/qtbase:6[test] BDEPEND (diff) | |
download | gentoo-e12b0b8c1c1ac12476a8208aa0ec3ee7ee945d33.tar.gz gentoo-e12b0b8c1c1ac12476a8208aa0ec3ee7ee945d33.tar.bz2 gentoo-e12b0b8c1c1ac12476a8208aa0ec3ee7ee945d33.zip |
media-libs/kcolorpicker: Switch to QT_QPA_PLATFORM=offscreen
Tests passed.
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/kcolorpicker')
-rw-r--r-- | media-libs/kcolorpicker/kcolorpicker-0.3.0.ebuild | 11 |
1 files 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 } |