commit:     de74d782239c2efbd012eb3e3e0b3c3e9e2c4289
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 26 19:49:18 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Mar 26 19:52:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de74d782

games-board/polyglot: add 2.0.4_p20210322

Closes: https://bugs.gentoo.org/680774
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 games-board/polyglot/Manifest                      |  2 ++
 .../polyglot/polyglot-2.0.4_p20210322.ebuild       | 29 ++++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/games-board/polyglot/Manifest b/games-board/polyglot/Manifest
index 4de90fb7133b..da02935dde78 100644
--- a/games-board/polyglot/Manifest
+++ b/games-board/polyglot/Manifest
@@ -1 +1,3 @@
 DIST polyglot-1.4.70b.tar.gz 269938 BLAKE2B 
bcefdb1157ca70438e60e77b0f3242527fd2b2cf0616727f3d09c30d6d7713f2c38482041fa0a0002cd7a730429915c913a2d282cdbb4f3b6556a202d3382e5d
 SHA512 
23ffa735b44ebbdaa991d96ac7d09e368f99640265bea3a30e0623665a8a9567f7c5c3e9518e06348a9b34ef70b43de2000b85f4e6101f4d8f866ae9cac9abec
+DIST polyglot-2.0.4.tar.gz 280569 BLAKE2B 
089756388103c79b9fc591f4f2ed0db4b4889775e1097f5e7b1701ee0fd2728a96876e801e519f1c408515b30e883bba7dc7c495b6d04811c9eddfa81bb32270
 SHA512 
e0ab6b5d7f01b7a877808e7411b510acd6b85f307c86f317bb0f8a11059f40234e75853d0524c08518b0dc4e4a17e0fa483c464c246950a6af8e4cc1a22c35d7
+DIST polyglot-2.0.4_p20210322.patch.gz 1117 BLAKE2B 
0952699712f90f69cd949093752a7be57719989de9747cad4263777b8c3149c17ff96fdd4d99b3262789a689b7b76bbed855dfde9ca237048ad4f6db004a452f
 SHA512 
8bced60733edac871723a8832ec8894e906526e1e8c8c4c0ccd58b7381f6160622f006a00ac6021c5e5236871dc22f0a2102b5fbd2228b609dd4113112fecd5a

diff --git a/games-board/polyglot/polyglot-2.0.4_p20210322.ebuild 
b/games-board/polyglot/polyglot-2.0.4_p20210322.ebuild
new file mode 100644
index 000000000000..f9b102f98ad6
--- /dev/null
+++ b/games-board/polyglot/polyglot-2.0.4_p20210322.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Protocol adapter to run UCI chess engines under xboard"
+HOMEPAGE="http://hgm.nubati.net/";
+# Released upstream version + patch created from git repo
+MY_P="${PN}-${PV%_p*}"
+SRC_URI="http://hgm.nubati.net/releases/${MY_P}.tar.gz
+       https://dev.gentoo.org/~ulm/distfiles/${P}.patch.gz";
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+PATCHES=( "${WORKDIR}"/${P}.patch )
+DOCS="AUTHORS ChangeLog TODO" # README* installed by build system
+
+src_compile() {
+       emake CFLAGS="-std=gnu17 ${CFLAGS}"
+}
+
+src_install() {
+       default
+       # Remove (badly rendered) plain text copy of the man page
+       rm "${ED}/usr/share/doc/${PF}/README" || die
+}

Reply via email to