diff options
author | Patrick Lauer <patrick@gentoo.org> | 2024-04-16 15:58:37 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2024-04-16 16:04:55 +0000 |
commit | f2456d22e6b2eb5428b3ccbab6fd44ed9032305c (patch) | |
tree | f3228e311f14499b2fabb4bc10f70893ec464b19 /games-board/cutechess | |
parent | media-libs/mesa: Raise required wayland-protocols version to 1.34 (diff) | |
download | gentoo-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 } |