summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2024-04-16 15:58:37 +0000
committerPatrick Lauer <patrick@gentoo.org>2024-04-16 16:04:55 +0000
commitf2456d22e6b2eb5428b3ccbab6fd44ed9032305c (patch)
treef3228e311f14499b2fabb4bc10f70893ec464b19 /games-board/cutechess
parentmedia-libs/mesa: Raise required wayland-protocols version to 1.34 (diff)
downloadgentoo-f2456d22e6b2eb5428b3ccbab6fd44ed9032305c.tar.gz
gentoo-f2456d22e6b2eb5428b3ccbab6fd44ed9032305c.tar.bz2
gentoo-f2456d22e6b2eb5428b3ccbab6fd44ed9032305c.zip
games-board/cutechess: Fix Qt handling
Closes: https://bugs.gentoo.org/922608 Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'games-board/cutechess')
-rw-r--r--games-board/cutechess/cutechess-1.3.1-r1.ebuild (renamed from games-board/cutechess/cutechess-1.3.1.ebuild)5
1 files changed, 3 insertions, 2 deletions
diff --git a/games-board/cutechess/cutechess-1.3.1.ebuild b/games-board/cutechess/cutechess-1.3.1-r1.ebuild
index 486aa97eaf75..c9daf0fc90aa 100644
--- a/games-board/cutechess/cutechess-1.3.1.ebuild
+++ b/games-board/cutechess/cutechess-1.3.1-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="test qt5 +qt6"
+IUSE="test qt5"
RDEPEND="qt5? (
dev-qt/qtwidgets:5
@@ -22,7 +22,7 @@ RDEPEND="qt5? (
dev-qt/qtprintsupport:5
dev-qt/qtconcurrent:5
)
- qt6? ( dev-qt/qtbase:6
+ !qt5? ( dev-qt/qtbase:6
dev-qt/qtsvg:6
dev-qt/qt5compat:6
)
@@ -33,5 +33,6 @@ DEPEND="${RDEPEND}
src_configure() {
use test || mycmakeargs=( "-DWITH_TESTS=OFF" )
+ use qt5 && mycmakeargs+=( "-DCMAKE_DISABLE_FIND_PACKAGE_Qt6=True" )
cmake_src_configure
}