summaryrefslogtreecommitdiff
path: root/games-board/cutechess
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/cutechess')
-rw-r--r--games-board/cutechess/Manifest3
-rw-r--r--games-board/cutechess/cutechess-1.3.1.ebuild37
-rw-r--r--games-board/cutechess/metadata.xml11
3 files changed, 51 insertions, 0 deletions
diff --git a/games-board/cutechess/Manifest b/games-board/cutechess/Manifest
new file mode 100644
index 000000000000..c7d0be804a4e
--- /dev/null
+++ b/games-board/cutechess/Manifest
@@ -0,0 +1,3 @@
+DIST cutechess-1.3.1.tar.gz 2044641 BLAKE2B 8db8c51e1eb1ed0bff63dc933b53f96bce1824a8f81320c1a25dc037a4235981a3413b205276bc237c753cd45525e1ce7b64b2a25a9905401e952aecfebf2c6d SHA512 d6078d7ba30f735f4a12719f75e028fb990d7e6d4f5aebd3ba6295523513adf26725854c7d221dbb6c6a93cc8b4a7edd10c6d6cb1741678136367b63da08c471
+EBUILD cutechess-1.3.1.ebuild 765 BLAKE2B ab459ed401bc26ea537a05d808567b035ddc3a7fdf71190ff1bfbca3c1578d33ee9ba85b431ec1cac2e74d82b3e953da9e7055846c0228a98344ee0482eff92e SHA512 0f1997f5644fb725fa23aae1dbd8d1a02bc8d8a2af63f3ce823cc0a1f180607eff846da5883422adcef6302c5f4e87bad2144d876596028f3e73a5d1ea4439a8
+MISC metadata.xml 331 BLAKE2B a8a2c71c898195de98cd7d9faa0f286df6693d635116a9f8c85112185e3461d1f727eeb1483f57e1c47ed1c6dcfc44c88f2029e0706be1c34269d588d18c7d42 SHA512 42585f790ebded8b450b23f596c547d493de6c938863561f97637bda6e89d95b994bc5d3ac46247aba93a10be9326eeda37e9fcb33b62c7fea4f1b83e9488b60
diff --git a/games-board/cutechess/cutechess-1.3.1.ebuild b/games-board/cutechess/cutechess-1.3.1.ebuild
new file mode 100644
index 000000000000..486aa97eaf75
--- /dev/null
+++ b/games-board/cutechess/cutechess-1.3.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+RESTRICT="!test? ( test )"
+
+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 qt5 +qt6"
+
+RDEPEND="qt5? (
+ dev-qt/qtwidgets:5
+ dev-qt/qtsvg:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtconcurrent:5
+ )
+ qt6? ( dev-qt/qtbase:6
+ dev-qt/qtsvg:6
+ dev-qt/qt5compat:6
+ )
+ "
+DEPEND="${RDEPEND}
+ qt5? ( test? ( dev-qt/qttest:5 ) )
+ "
+
+src_configure() {
+ use test || mycmakeargs=( "-DWITH_TESTS=OFF" )
+ cmake_src_configure
+}
diff --git a/games-board/cutechess/metadata.xml b/games-board/cutechess/metadata.xml
new file mode 100644
index 000000000000..da1e24e44384
--- /dev/null
+++ b/games-board/cutechess/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">cutechess/cutechess</remote-id>
+ </upstream>
+</pkgmetadata>