summaryrefslogtreecommitdiff
path: root/games-board/cutechess/cutechess-1.4.0.ebuild
blob: c5149829c7c52a5a85deef5d08f3250b38c45f11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="Cross-platform tools for working with chess engines"
HOMEPAGE="https://cutechess.com/ https://github.com/cutechess/"
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"

RESTRICT="!test? ( test )"

RDEPEND="
	dev-qt/qt5compat:6
	dev-qt/qtbase:6[concurrent,gui,widgets]
	dev-qt/qtsvg:6
"
DEPEND="${RDEPEND}"

src_configure() {
	local mycmakeargs=(
		-DWITH_TESTS=$(usex test)
	)
	cmake_src_configure
}