From 2f8db31405fac68eea6f7257d58529243815033b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 30 Apr 2018 21:33:31 +0100 Subject: gentoo resync : 30.04.2018 --- games-board/fruit/Manifest | 4 +-- games-board/fruit/files/fruit-2.1-gentoo.patch | 4 +-- games-board/fruit/fruit-2.1-r1.ebuild | 41 +++++++++++++++++++++++ games-board/fruit/fruit-2.1.ebuild | 46 -------------------------- 4 files changed, 45 insertions(+), 50 deletions(-) create mode 100644 games-board/fruit/fruit-2.1-r1.ebuild delete mode 100644 games-board/fruit/fruit-2.1.ebuild (limited to 'games-board/fruit') diff --git a/games-board/fruit/Manifest b/games-board/fruit/Manifest index 859d12cb5285..1d07168b0415 100644 --- a/games-board/fruit/Manifest +++ b/games-board/fruit/Manifest @@ -1,4 +1,4 @@ -AUX fruit-2.1-gentoo.patch 586 BLAKE2B 78e545371a02836235edcec0acf1c5706a0e62b9dfb825a6007cecd1886ceae09f8b456448deb78ccc0084f32498dd57071beea867082bad5df7cb07bfdb62e9 SHA512 4c226d37f7cf9c2c6abf0b262b9ebe6338ac30ce18333f1a7eece4935fb13ded57e541f9aa15be9dbbe2b67a66287e3b7565c226245fcb57dd62953bf09f8b75 +AUX fruit-2.1-gentoo.patch 590 BLAKE2B 0ff77b71537b8b2062413e1fe888014d69371c8cb29260e02cae8e3789b572c9175750be31abd5dfaebbdf517bc2c8f98b3132c8526beaa1cf1ebcbd35c77f79 SHA512 db32e30dcd60df1c0dabcab4589cdfb779ef619d2bdfdb35b77b5b6b224adb0b9826c310b2f3fd97c0591e4c63931dfec733578429c749b691a5dafbc8a954b4 DIST fruit_21_linux.zip 716762 BLAKE2B ffdc38ca4a3021b69e95c876c419bc85102412ef6632cfc5d8d1370b59fdc6e1bb5e10e5066fd39197d16042286e0cac07ae76a39eb1ed3d96bfe804225a9948 SHA512 80d80141ca3c2a4521b241a750bd237e0971b531bc4e8e89ae3bdcdbb1436b99b35e64f505b9a61413726744646b6b4ce126bcdb53b90adc727f88a50adee889 -EBUILD fruit-2.1.ebuild 960 BLAKE2B 36dd56ac6329d826ee38db5028cbf3fd734e2c37ea21475120e7e10b414bd3574094820a6c58915bf7c97a62391cc5add845fa0f71a9fcf9726ea7c10089b220 SHA512 8583c3f6607ec7e356881bb78ab0be0697d84f84ecc69235ad867659c7a47038f2c75512ca84806b0d3fb417884368ee0e72ada43d3202e667d63e9153264cf6 +EBUILD fruit-2.1-r1.ebuild 795 BLAKE2B 669fa5a30b6173ad0dc3c92e78b8e87ef4b87b037caf4248b6928cb670e9b05e50410495b730b2f67290a683c593922748f06d43df02c9f06109d33a085d1af4 SHA512 655f8e1b74330fb41d4609a72bda62383fc492b7ef04c94edfca6310e95b50bb3f6980cba50452ce3669b824bd4342ba7379f3cd6baff005e543d8b2be48e9fc MISC metadata.xml 330 BLAKE2B e38a1b870857c880700f94c087932aee6c4236bdd38e87c61b93837c72235dc5f8e37c322fec5f8b87403a498e459035f13037a1b0711a9902405ea15d8e03e4 SHA512 f568c54581b78f36c6aaaba340be04f0396dbb62f133426b0dddf4a1ed39b0675fd64b6b2d14f9c41bf49851dc25156bf71566ef9b207570cc7e57a92380c4ef diff --git a/games-board/fruit/files/fruit-2.1-gentoo.patch b/games-board/fruit/files/fruit-2.1-gentoo.patch index bae207f89627..815b184d9dc2 100644 --- a/games-board/fruit/files/fruit-2.1-gentoo.patch +++ b/games-board/fruit/files/fruit-2.1-gentoo.patch @@ -1,5 +1,5 @@ ---- option.cpp.old 2007-02-07 23:32:25.000000000 +0100 -+++ option.cpp 2007-02-07 23:32:51.000000000 +0100 +--- a/option.cpp.old 2007-02-07 23:32:25.000000000 +0100 ++++ b/option.cpp 2007-02-07 23:32:51.000000000 +0100 @@ -29,7 +29,7 @@ { "Ponder", true, "false", "check", "", NULL }, diff --git a/games-board/fruit/fruit-2.1-r1.ebuild b/games-board/fruit/fruit-2.1-r1.ebuild new file mode 100644 index 000000000000..bb8f7635cf15 --- /dev/null +++ b/games-board/fruit/fruit-2.1-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit versionator + +MY_PV="$(replace_all_version_separators '')" +MY_P="${PN}_${MY_PV}_linux" + +DESCRIPTION="UCI-only chess engine" +HOMEPAGE="http://arctrix.com/nas/fruit/" +SRC_URI="http://arctrix.com/nas/${PN}/${MY_P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="" +DEPEND="app-arch/unzip" + +S="${WORKDIR}/${MY_P}/src" + +src_prepare() { + default + eapply "${FILESDIR}/${P}"-gentoo.patch + sed -i \ + -e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \ + option.cpp || die + sed -i \ + -e '/^CXX/d' \ + -e '/^LDFLAGS/d' \ + Makefile || die +} + +src_install() { + dobin ${PN} + insinto "/usr/share/${PN}" + doins ../book_small.bin + dodoc ../readme.txt ../technical_10.txt +} diff --git a/games-board/fruit/fruit-2.1.ebuild b/games-board/fruit/fruit-2.1.ebuild deleted file mode 100644 index 89ebd40ca879..000000000000 --- a/games-board/fruit/fruit-2.1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils versionator games - -MY_PV=$(replace_all_version_separators '') -MY_P=${PN}_${MY_PV}_linux -DESCRIPTION="UCI-only chess engine" -HOMEPAGE="http://arctrix.com/nas/fruit/" -SRC_URI="http://arctrix.com/nas/${PN}/${MY_P}.zip" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="" -DEPEND="app-arch/unzip" - -S=${WORKDIR}/${MY_P}/src - -src_prepare() { - epatch "${FILESDIR}/${P}"-gentoo.patch - sed -i \ - -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ - option.cpp || die - sed -i \ - -e '/^CXX/d' \ - -e '/^LDFLAGS/d' \ - Makefile || die -} - -src_install() { - dogamesbin ${PN} - insinto "${GAMES_DATADIR}/${PN}" - doins ../book_small.bin - dodoc ../readme.txt ../technical_10.txt - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - elog "To use this engine you need to install a UCI chess GUI" - elog "e.g. games-board/glchess" -} -- cgit v1.2.3