diff options
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/Manifest.gz | bin | 10040 -> 10031 bytes | |||
-rw-r--r-- | games-board/cutechess/Manifest | 2 | ||||
-rw-r--r-- | games-board/cutechess/metadata.xml | 2 | ||||
-rw-r--r-- | games-board/gnubg/Manifest | 7 | ||||
-rw-r--r-- | games-board/gnubg/files/gnubg-1.08.002-gtk3_relational.patch | 12 | ||||
-rw-r--r-- | games-board/gnubg/gnubg-1.07.001.ebuild | 102 | ||||
-rw-r--r-- | games-board/gnubg/gnubg-1.08.001.ebuild | 102 | ||||
-rw-r--r-- | games-board/gnubg/gnubg-1.08.002.ebuild | 104 | ||||
-rw-r--r-- | games-board/megamek/Manifest | 3 | ||||
-rw-r--r-- | games-board/megamek/files/megamek-0.34.10-source8.patch | 22 | ||||
-rw-r--r-- | games-board/megamek/megamek-0.34.10-r3.ebuild (renamed from games-board/megamek/megamek-0.34.10-r2.ebuild) | 26 | ||||
-rw-r--r-- | games-board/stockfish/Manifest | 4 | ||||
-rw-r--r-- | games-board/stockfish/stockfish-17.ebuild | 88 |
13 files changed, 136 insertions, 338 deletions
diff --git a/games-board/Manifest.gz b/games-board/Manifest.gz Binary files differindex 47fa611084a6..8dbf50cceb5b 100644 --- a/games-board/Manifest.gz +++ b/games-board/Manifest.gz diff --git a/games-board/cutechess/Manifest b/games-board/cutechess/Manifest index df825b42e466..9ea266cbaf1f 100644 --- a/games-board/cutechess/Manifest +++ b/games-board/cutechess/Manifest @@ -1,3 +1,3 @@ DIST cutechess-1.3.1.tar.gz 2044641 BLAKE2B 8db8c51e1eb1ed0bff63dc933b53f96bce1824a8f81320c1a25dc037a4235981a3413b205276bc237c753cd45525e1ce7b64b2a25a9905401e952aecfebf2c6d SHA512 d6078d7ba30f735f4a12719f75e028fb990d7e6d4f5aebd3ba6295523513adf26725854c7d221dbb6c6a93cc8b4a7edd10c6d6cb1741678136367b63da08c471 EBUILD cutechess-1.3.1-r1.ebuild 830 BLAKE2B 66ebd7832ffdcd69773897cb8194a87b9d21e711d8c09f18d8a92fcc1d648be197523be718a43b1edc5201eab8f91531f7383f4df184c314634446bef37fcea1 SHA512 5a6ce483447b19f63ccb5764f1ddffd1324f972ebfecdd6bf2413a1cf05d9b3f6d0d38204478b96efa23d6036d3695136c1732c381894dc8548549e8f30c2bf6 -MISC metadata.xml 331 BLAKE2B a8a2c71c898195de98cd7d9faa0f286df6693d635116a9f8c85112185e3461d1f727eeb1483f57e1c47ed1c6dcfc44c88f2029e0706be1c34269d588d18c7d42 SHA512 42585f790ebded8b450b23f596c547d493de6c938863561f97637bda6e89d95b994bc5d3ac46247aba93a10be9326eeda37e9fcb33b62c7fea4f1b83e9488b60 +MISC metadata.xml 332 BLAKE2B 5a0ad8c0fefdd30eafa1de8ae2b42394828280c440b8fc7edac9b6f39f5bac6caee70ea92686ad821e656e82daebbf9ac070ccd0fce066ab0f47fa59e617364a SHA512 7ce1910b6cf20ad660643ebb36542dc1e1560a57631c4c00867800a9817e6e831e985c49c07132010634c0702b0b48def7e4b3f851e6574a45c99010c95403b8 diff --git a/games-board/cutechess/metadata.xml b/games-board/cutechess/metadata.xml index da1e24e44384..4168c81bbb57 100644 --- a/games-board/cutechess/metadata.xml +++ b/games-board/cutechess/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>patrick@gentoo.org</email> diff --git a/games-board/gnubg/Manifest b/games-board/gnubg/Manifest index c3dba7d4d590..83736b7a6d8e 100644 --- a/games-board/gnubg/Manifest +++ b/games-board/gnubg/Manifest @@ -1,10 +1,3 @@ -AUX gnubg-1.08.002-gtk3_relational.patch 782 BLAKE2B 371e9010ddebfbd75d1363cef246327962b746db2f832e0af28db30ae5a999a1e83290eac01442fd87e6e2c9fd2ed59405e1a2cc33fbb851705100060e1a5e15 SHA512 4debf3f222d2a3b412f7dde5906a25fbbdbd670db6d2b476878597b4cf736e0e94687b0a1af402f57bb0a2adfca75bbdb7691db46655cce364e65d5b2acc0680 -DIST gnubg-release-1.07.001-sources.tar.gz 13729158 BLAKE2B 3c5a0ffd38d2f1a16b3bf188a6ed6ba38e9527d681ad510b2e318b6f5da7d5fb1e0728f4f562fe4d770710489e7eae1396318e26717a51434fa8b4c3258570f9 SHA512 0643af4c3c6e32774e3572462755e7eed094fcc9621dc8262ce0f794657f00a3dbc22d0f916580982a6dacc08488544cd5fec5bf7e2c60ca50f83e2a60804e08 -DIST gnubg-release-1.08.001-sources.tar.gz 14019262 BLAKE2B ac207c54a6b0b4af59eefe0d2d2967393fa6fe6497c29c514baba596a446a0481bc07a4fa74f492de270260c942df81a1ef28bcdc9187cc3b2d3c0507cd6f27c SHA512 a3a547368f8852d0b5186340a3b893842237358b48dc4e6893920d57ea0f2fe72d958b4d0de16be55616fc687889118b016a6d3a859a1651fc77adcefcd7a7eb -DIST gnubg-release-1.08.002-sources.tar.gz 14045962 BLAKE2B 328639d4ab96d8ab8025971819a2b6c120102ca757f29c8e5e8d0ac8f77a5abb4b75fd006d1c7090c2d04b9d66e1185069ce51c5f90437464d430f9c53d1875c SHA512 0e68c03457ca2cc925fe510752e24b03147db36e2e489c9e2912dd72f55f42514d98568fec1ce81176e7b8e3aafd68034659fe84e89e07b057224095f3be8924 DIST gnubg-release-1.08.003-sources.tar.gz 14046779 BLAKE2B 6cb9ddcfbc71dbb4461daebb191046f02986a116e45acf09f219598fea6b066c38080c3a2b051de424eadcbe3a6c8a6e30794381d9edfb03dcc36102ed641e05 SHA512 3c006315491a324b7a6fa3adb19af829e9e9b04b231558ed4e88035eb0461602504cd4249a0119d1c89dc8e82b73c99946af3551ddd7c55aa0cd230b0121e527 -EBUILD gnubg-1.07.001.ebuild 2359 BLAKE2B d8e63dbbf47c1e399927ae4314195e534dab67196d68b18c76c3132289dfc7a32956d27783a6455dcf84399a5d9031e4550b60111e876680b3faf1c8c508ade4 SHA512 c3bcee3239e571326780f9cfa6161cdf373b07c67877849c699fecf4f90ddd868f590fef8da43ffa770dbccbc329f4db5b49521e266dae9c9cba9cd94cf32bc9 -EBUILD gnubg-1.08.001.ebuild 2359 BLAKE2B b3d1dcdc2c675a72d6cf8ab5a70c2121c01dcef641c9510ce79ce2e2cc863995fad1e4c2551a83b92a7bd3923c2eb781e1a27f42e4db7020e03cb777fa869d6b SHA512 666e360e015c9381b9f4a19a4ff4851befc8262572ed6ee0dbfcef83445bb3d8b06ecb343ecfd5b5911420e0aa218c073d4a2026515445b21c020644887240bd -EBUILD gnubg-1.08.002.ebuild 2413 BLAKE2B af2fdc98441ea23c4514e3abb5aafaf6c3917ea16e74d4c20355b9cf609848bac7b24fdd57e0c189cb54fc6181f4fee64d9f3c1258d37b36b932620d003ae0d6 SHA512 056e30237f007ba0456aa31a33a63f8cbd67b209487ca334146d735c700656470a1a6025bdf453f6bcb52a030a410a24a9c5f3e7334eea5b4102f3f3aa4701ea EBUILD gnubg-1.08.003.ebuild 2359 BLAKE2B b3d1dcdc2c675a72d6cf8ab5a70c2121c01dcef641c9510ce79ce2e2cc863995fad1e4c2551a83b92a7bd3923c2eb781e1a27f42e4db7020e03cb777fa869d6b SHA512 666e360e015c9381b9f4a19a4ff4851befc8262572ed6ee0dbfcef83445bb3d8b06ecb343ecfd5b5911420e0aa218c073d4a2026515445b21c020644887240bd MISC metadata.xml 455 BLAKE2B e5933eca885ed18303b49be65c026034d77d3d5f9ce85e4b1fc76c0e9aa1a0e914ed3151634c172e199f00bd26b5104ad5d87412cdc578a4c45b4122b5485385 SHA512 e3ba0ddc20123d70cedacc413169ab896440b89a93e3945ea5bf3aa9b41f9a91b2a0912f6dec07d16c08329886355a32da3ff2828a4d4eba6e2ef3aec2b7c8dd diff --git a/games-board/gnubg/files/gnubg-1.08.002-gtk3_relational.patch b/games-board/gnubg/files/gnubg-1.08.002-gtk3_relational.patch deleted file mode 100644 index c9e7027c651d..000000000000 --- a/games-board/gnubg/files/gnubg-1.08.002-gtk3_relational.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur gnubg-1.08.002.orig/gtkrelational.c gnubg-1.08.002/gtkrelational.c ---- gnubg-1.08.002.orig/gtkrelational.c 2024-02-24 22:07:39.000000000 +0100 -+++ gnubg-1.08.002/gtkrelational.c 2024-03-06 22:45:43.113919993 +0100 -@@ -502,7 +502,7 @@ - // window setup - // window = (GtkWindow*)gtk_window_new(GTK_WINDOW_TOPLEVEL); - //window = GTKCreateDialog("", DT_INFO, NULL, DIALOG_FLAG_MINMAXBUTTONS, NULL, NULL); -- window = GTKCreateDialog(_("History plot"), DT_INFO, pwDialog, DIALOG_FLAG_MINMAXBUTTONS, NULL, NULL); -+ window = GTKCreateDialog(_("History plot"), DT_INFO, NULL, DIALOG_FLAG_MINMAXBUTTONS, NULL, NULL); - - gtk_window_set_default_size (GTK_WINDOW(window), WIDTH, HEIGHT); - gtk_window_set_position (GTK_WINDOW(window), GTK_WIN_POS_CENTER); diff --git a/games-board/gnubg/gnubg-1.07.001.ebuild b/games-board/gnubg/gnubg-1.07.001.ebuild deleted file mode 100644 index 514e6223b388..000000000000 --- a/games-board/gnubg/gnubg-1.07.001.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -inherit autotools desktop python-single-r1 xdg - -DESCRIPTION="GNU BackGammon" -HOMEPAGE="https://www.gnu.org/software/gnubg/" -SRC_URI="mirror://gnu/${PN}/${PN}-release-${PV}-sources.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc64 ~x86" -IUSE=" - cpu_flags_x86_avx cpu_flags_x86_sse cpu_flags_x86_sse2 - gui opengl python sqlite" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) - opengl? ( gui )" - -RDEPEND=" - dev-libs/cglm - dev-libs/glib:2 - dev-libs/gmp:= - media-fonts/dejavu - media-libs/freetype:2 - media-libs/libpng:= - net-misc/curl - sys-libs/readline:= - virtual/libintl - x11-libs/cairo[svg(+)] - x11-libs/pango - gui? ( - media-libs/libcanberra[gtk3] - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3 - ) - opengl? ( media-libs/libepoxy ) - python? ( ${PYTHON_DEPS} ) - sqlite? ( dev-db/sqlite:3 )" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-build/autoconf-archive - sys-devel/gettext - virtual/pkgconfig - python? ( ${PYTHON_DEPS} )" - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - default - - #This was provided by gtkglext before - sed -i "s/\$(GTKGLEXT_LIBS)/-lGL/" Makefile.am || die - - sed -i "s|/tmp|${T}|" credits.sh || die #298275 - sed -i 's/fonts //' Makefile.am || die #335774 - sed -i 's/gzip/true/' doc/Makefile.am || die - - # use system's copy so py3.10 distutils warning doesn't trigger a fatal error - rm m4/ax_python_devel.m4 || die - - eautoreconf -} - -src_configure() { - local simd=no - use cpu_flags_x86_sse && simd=sse - use cpu_flags_x86_sse2 && simd=sse2 - use cpu_flags_x86_avx && simd=avx - - local econfargs=( - $(use_with gui gtk) - $(use_with gui gtk3) - $(use_with opengl board3d) - $(use_with python) - $(use_with sqlite) - --disable-cputest - --docdir="${EPREFIX}"/usr/share/doc/${PF}/html - --enable-simd=${simd} - ) - - econf "${econfargs[@]}" -} - -src_install() { - default - - mv "${ED}"/usr/share/doc/${PF}{/html/*.pdf,} || die - - insinto /usr/share/${PN} - doins ${PN}.weights *.bd - - dosym ../../fonts/dejavu/DejaVuSans.ttf /usr/share/${PN}/fonts/Vera.ttf - dosym ../../fonts/dejavu/DejaVuSans-Bold.ttf /usr/share/${PN}/fonts/VeraBd.ttf - dosym ../../fonts/dejavu/DejaVuSerif-Bold.ttf /usr/share/${PN}/fonts/VeraSeBd.ttf - - use gui && make_desktop_entry "gnubg -w" "GNU Backgammon" -} diff --git a/games-board/gnubg/gnubg-1.08.001.ebuild b/games-board/gnubg/gnubg-1.08.001.ebuild deleted file mode 100644 index fc284bf820fa..000000000000 --- a/games-board/gnubg/gnubg-1.08.001.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -inherit autotools desktop python-single-r1 xdg - -DESCRIPTION="GNU BackGammon" -HOMEPAGE="https://www.gnu.org/software/gnubg/" -SRC_URI="mirror://gnu/${PN}/${PN}-release-${PV}-sources.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc64 ~x86" -IUSE=" - cpu_flags_x86_avx cpu_flags_x86_sse cpu_flags_x86_sse2 - gui opengl python sqlite" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) - opengl? ( gui )" - -RDEPEND=" - dev-libs/cglm - dev-libs/glib:2 - dev-libs/gmp:= - media-fonts/dejavu - media-libs/freetype:2 - media-libs/libpng:= - net-misc/curl - sys-libs/readline:= - virtual/libintl - x11-libs/cairo[svg(+)] - x11-libs/pango - gui? ( - media-libs/libcanberra[gtk3] - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3 - ) - opengl? ( media-libs/libepoxy ) - python? ( ${PYTHON_DEPS} ) - sqlite? ( dev-db/sqlite:3 )" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-build/autoconf-archive - sys-devel/gettext - virtual/pkgconfig - python? ( ${PYTHON_DEPS} )" - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - default - - #This was provided by gtkglext before - sed -i "s/\$(GTKGLEXT_LIBS)/-lGL/" Makefile.am || die - - sed -i "s|/tmp|${T}|" credits.sh || die #298275 - sed -i 's/fonts //' Makefile.am || die #335774 - sed -i 's/gzip/true/' doc/Makefile.am || die - - # use system's copy so py3.10 distutils warning doesn't trigger a fatal error - rm m4/ax_python_devel.m4 || die - - eautoreconf -} - -src_configure() { - local simd=no - use cpu_flags_x86_sse && simd=sse - use cpu_flags_x86_sse2 && simd=sse2 - use cpu_flags_x86_avx && simd=avx - - local econfargs=( - $(use_with gui gtk) - $(use_with gui gtk3) - $(use_with opengl board3d) - $(use_with python) - $(use_with sqlite) - --disable-cputest - --docdir="${EPREFIX}"/usr/share/doc/${PF}/html - --enable-simd=${simd} - ) - - econf "${econfargs[@]}" -} - -src_install() { - default - - mv "${ED}"/usr/share/doc/${PF}{/html/*.pdf,} || die - - insinto /usr/share/${PN} - doins ${PN}.weights *.bd - - dosym ../../fonts/dejavu/DejaVuSans.ttf /usr/share/${PN}/fonts/Vera.ttf - dosym ../../fonts/dejavu/DejaVuSans-Bold.ttf /usr/share/${PN}/fonts/VeraBd.ttf - dosym ../../fonts/dejavu/DejaVuSerif-Bold.ttf /usr/share/${PN}/fonts/VeraSeBd.ttf - - use gui && make_desktop_entry "gnubg -w" "GNU Backgammon" -} diff --git a/games-board/gnubg/gnubg-1.08.002.ebuild b/games-board/gnubg/gnubg-1.08.002.ebuild deleted file mode 100644 index 200ed22e57b9..000000000000 --- a/games-board/gnubg/gnubg-1.08.002.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -inherit autotools desktop python-single-r1 xdg - -DESCRIPTION="GNU BackGammon" -HOMEPAGE="https://www.gnu.org/software/gnubg/" -SRC_URI="mirror://gnu/${PN}/${PN}-release-${PV}-sources.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc64 ~x86" -IUSE=" - cpu_flags_x86_avx cpu_flags_x86_sse cpu_flags_x86_sse2 - gui opengl python sqlite" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) - opengl? ( gui )" - -RDEPEND=" - dev-libs/cglm - dev-libs/glib:2 - dev-libs/gmp:= - media-fonts/dejavu - media-libs/freetype:2 - media-libs/libpng:= - net-misc/curl - sys-libs/readline:= - virtual/libintl - x11-libs/cairo[svg(+)] - x11-libs/pango - gui? ( - media-libs/libcanberra[gtk3] - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3 - ) - opengl? ( media-libs/libepoxy ) - python? ( ${PYTHON_DEPS} ) - sqlite? ( dev-db/sqlite:3 )" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-build/autoconf-archive - sys-devel/gettext - virtual/pkgconfig - python? ( ${PYTHON_DEPS} )" - -PATCHES=( "${FILESDIR}"/${P}-gtk3_relational.patch ) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - default - - #This was provided by gtkglext before - sed -i "s/\$(GTKGLEXT_LIBS)/-lGL/" Makefile.am || die - - sed -i "s|/tmp|${T}|" credits.sh || die #298275 - sed -i 's/fonts //' Makefile.am || die #335774 - sed -i 's/gzip/true/' doc/Makefile.am || die - - # use system's copy so py3.10 distutils warning doesn't trigger a fatal error - rm m4/ax_python_devel.m4 || die - - eautoreconf -} - -src_configure() { - local simd=no - use cpu_flags_x86_sse && simd=sse - use cpu_flags_x86_sse2 && simd=sse2 - use cpu_flags_x86_avx && simd=avx - - local econfargs=( - $(use_with gui gtk) - $(use_with gui gtk3) - $(use_with opengl board3d) - $(use_with python) - $(use_with sqlite) - --disable-cputest - --docdir="${EPREFIX}"/usr/share/doc/${PF}/html - --enable-simd=${simd} - ) - - econf "${econfargs[@]}" -} - -src_install() { - default - - mv "${ED}"/usr/share/doc/${PF}{/html/*.pdf,} || die - - insinto /usr/share/${PN} - doins ${PN}.weights *.bd - - dosym ../../fonts/dejavu/DejaVuSans.ttf /usr/share/${PN}/fonts/Vera.ttf - dosym ../../fonts/dejavu/DejaVuSans-Bold.ttf /usr/share/${PN}/fonts/VeraBd.ttf - dosym ../../fonts/dejavu/DejaVuSerif-Bold.ttf /usr/share/${PN}/fonts/VeraSeBd.ttf - - use gui && make_desktop_entry "gnubg -w" "GNU Backgammon" -} diff --git a/games-board/megamek/Manifest b/games-board/megamek/Manifest index 223c105d2203..7f8e7ecce8e1 100644 --- a/games-board/megamek/Manifest +++ b/games-board/megamek/Manifest @@ -1,4 +1,5 @@ +AUX megamek-0.34.10-source8.patch 1261 BLAKE2B 7b41f35e98301044948f0d4787e4ac229862c358e3151a9135d3c45b3287ed05f2cad385707c6f429eb7020164296de363b6f9e0db694babc59565025c9c0463 SHA512 b4163badca10c2c80f44f475e046261c1d9e1d6e0918a46ef7c619ecb484eb1abd68f8441a4b780c210051ae161d9ca6cdd2faf2015ce5b8969edd45434a47fa DIST MegaMek-v0.34.10.zip 16677286 BLAKE2B 73c4ee9e38b4c50221c40c5d0cba1c13de00e586bf2cb9432c356f5c21045c26cfa64705b303c7213f29deda369a97ea5fba397c995c138731a66152c062c5b5 SHA512 943f6ed4f4d57197092a7aa09637f60827f23181a7b8b0991907fcc62109b471ea2ce53816a79dfcad9d8da65c9514be3190e924d9bf2b17aacf84fc1fa6e037 DIST megamek.png 9264 BLAKE2B cdff3e992af93cfc8f31be0c4d959ff5598eb3f7be58abfae4043a3e1f324d1985fc0621540f14ff7a2e2b4bb5e22672a940494a8e7c8d3339ad8f49c4c60979 SHA512 12a19fcb4ece9ee0fc38b3af10c37b7d362df9a41403d86dd1cfd8fb40a7b06784c71b5b160177b72d7aba048b78c4482f5417406d4add7feb47d13078bc79cf -EBUILD megamek-0.34.10-r2.ebuild 1164 BLAKE2B 624b8cc33e5c1c8cf77dad7e4cbe72af95ed1ae4bd51299169aa0f558fc5a7409aacd8f3263e9989dd5d979e6b4ac2fca51d9205236e5cf4bdbf89ed559e865f SHA512 92cb9849742da1e2fdad1beb9878f23efa15ac9c0793aa6986e65e1a6a25c9ae3b68767a5b9c123b130b76a43ec669b4cd531d71078a916f3156b8ba5a123987 +EBUILD megamek-0.34.10-r3.ebuild 1420 BLAKE2B d70f3a99168f5d06f0a09c3c8b2fd41b6a7244f6aadba46ff94836420c144b69b8224c828e8042440f2d804983fc73684ad6a9e2af91b021b6df4624bef1f3cb SHA512 ce44b4aafcff6b3bb9e3673051e1385ae97934de215a936adbc3434f80b542c94d06ac550096359b6ce87728219c302ae830f9c2ecd3527204ca890c861817ad MISC metadata.xml 386 BLAKE2B f90209655383403f6d148687482428c8b798d01d061e15b31db37b7699a44465274ef276fee72f5c5321c3cbcff176b7446995a7a6c8b93a286e0b186c5221de SHA512 02c338826dfd4a6338dbfb2e3b59e1158308fc3255271ab1124506585466110fc7c06f8aababcc1d83e66b4ca50c0fa8a89257ce062ea1683ae01331466d8e7f diff --git a/games-board/megamek/files/megamek-0.34.10-source8.patch b/games-board/megamek/files/megamek-0.34.10-source8.patch new file mode 100644 index 000000000000..27d4596d8d92 --- /dev/null +++ b/games-board/megamek/files/megamek-0.34.10-source8.patch @@ -0,0 +1,22 @@ +diff --git a/build.xml b/build.xml +index 9d3a7d6..a6732b6 100644 +--- a/build.xml ++++ b/build.xml +@@ -60,7 +60,7 @@ +
+ <target name="compile" depends="init" description="Compile java sources into class files">
+ <!-- compile -->
+- <javac debug="true" debuglevel="lines,source" target="1.5" source="1.5" destdir="${builddir}" srcdir="${srcdir}" memoryInitialSize="512m" memoryMaximumSize="512m" fork="true">
++ <javac debug="true" debuglevel="lines,source" destdir="${builddir}" srcdir="${srcdir}" memoryInitialSize="512m" memoryMaximumSize="512m" fork="true">
+ <classpath>
+ <pathelement location="${basedir}" />
+ <fileset dir="${libdir}" includes="*.jar" />
+@@ -208,7 +208,7 @@ +
+ <!-- compile -->
+ <echo message="building MegaMek from svn sources" />
+- <javac debug="true" debuglevel="lines,source" target="1.5" source="1.5" destdir="${svnbuilddir}" srcdir="${svndir}/${srcdir}" memoryInitialSize="512m" memoryMaximumSize="512m" fork="true">
++ <javac debug="true" debuglevel="lines,source" destdir="${svnbuilddir}" srcdir="${svndir}/${srcdir}" memoryInitialSize="512m" memoryMaximumSize="512m" fork="true">
+ <classpath>
+ <pathelement location="${svndir}" />
+ <fileset dir="${svndir}/${libdir}" includes="*.jar" />
diff --git a/games-board/megamek/megamek-0.34.10-r2.ebuild b/games-board/megamek/megamek-0.34.10-r3.ebuild index 213e94a3ce70..4a6545a38c87 100644 --- a/games-board/megamek/megamek-0.34.10-r2.ebuild +++ b/games-board/megamek/megamek-0.34.10-r3.ebuild @@ -1,27 +1,33 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit desktop edos2unix java-pkg-2 java-ant-2 +inherit desktop edos2unix java-pkg-2 DESCRIPTION="Unofficial online version of the Classic BattleTech board game" HOMEPAGE="https://megamek.org/" SRC_URI=" - https://downloads.sourceforge.net/${PN}/MegaMek-v${PV}.zip + https://downloads.sourceforge.net/project/megamek/Archived%20Stable/MegaMek%20v${PV}/MegaMek-v${PV}.zip https://dev.gentoo.org/~ionen/distfiles/${PN}.png" S="${WORKDIR}" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" -RDEPEND=">=virtual/jre-1.8:*" -DEPEND=">=virtual/jdk-1.8:*" BDEPEND="app-arch/unzip" +DEPEND=" + >=dev-java/ant-1.10.14-r3 + >=virtual/jdk-1.8:* +" +RDEPEND=">=virtual/jre-1.8:*" + +PATCHES=( "${FILESDIR}/megamek-0.34.10-source8.patch" ) src_prepare() { - default + default #780585 + java-pkg-2_src_prepare rm MegaMek.jar || die @@ -33,8 +39,12 @@ src_prepare() { # workaround encoding issues posing problems with >=jdk-1.8 find . -name '*.java' -exec sed -i 's/\xf6/\xc3\xb6/' {} + || die +} - java-pkg-2_src_prepare +src_compile() { + eant \ + -Dant.build.javac.source="$(java-pkg_get-source)" \ + -Dant.build.javac.target="$(java-pkg_get-target)" } src_install() { diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest index 817e0a335802..37bc0278dabe 100644 --- a/games-board/stockfish/Manifest +++ b/games-board/stockfish/Manifest @@ -14,6 +14,9 @@ DIST stockfish-16.1-nn-b1a57edbea57.nnue 65429575 BLAKE2B 22020e7e3a59530c2a9d29 DIST stockfish-16.1-nn-baff1ede1f90.nnue 3480122 BLAKE2B cb573cd1537b07afb6162c4c42da6363f3aaab472fedea8e2059ac481a7b774100637a067aa405c44f2d7f792ca74c32ed1e58ea8c4e00adafe1e8f0e3092a92 SHA512 56358da4810a2bf5b903668d8243ec888a0a64302a893207074b3f1644c9877ddd4557303f025eabcc6e0f7b31af42c1265ba2fd34209df9dd0ea205d4f4a8e9 DIST stockfish-16.1.tar.gz 176846 BLAKE2B d1cbc980496a8aea6668d50c2f24b69e2de39858dd50ff4fd807a3fca470e8e319901dd638bc09bb00c4bb0f886e4a8e87b021a7ff6c44edc540bfab45ceebcf SHA512 39962d92deba234e625b1f89568c9c469ecae02209c9c68dfd380034c70ab950d917bc5b7fa202a80b0e5cb59b6f3ef726b128ec9a28969e966308ebc7fbb056 DIST stockfish-16.tar.gz 195462 BLAKE2B 0f2a55baae13a9abd682672dd88aebcfcd66e4bf6cf1d0886eba48ff331e9aa853bd44fab74c6dbb8a1db4873bf8fe9f98b33ab713878d071950095bd3c0ba82 SHA512 cc8728bd76cb71ab2e3dddb909acf3ebd26a7d44130509dcb2cd90959c939d7324abebf2c69092230028333428a90fa345a10fcb4e9c50e53f4958c61daedcc7 +DIST stockfish-17-nn-1111cefa1111.nnue 74874478 BLAKE2B b2179b5727b13984be82f88715a55df7a84959944c92bd5758b492f6f8bd8f241696b491339ce64a0aaa059e3591115ff04d2382f7371075df5aea729cfa2dec SHA512 0814a77442d14f9eee02b1d45195cc8c9ed58e91d10ac22be56f562835baedc77094b442d23f2e088779e58d798184eabc8dfc919558e1ede552cde35d448025 +DIST stockfish-17-nn-37f18f62d772.nnue 3519630 BLAKE2B fe51553da8c051e66ecbc5e167f4a8b6c5701f80a9174e487b6a40962753c8a9ac96af2ff47df707b5044f83ef4baeac74b3154fd908dbe9728b40f020b8a7e6 SHA512 bf4d01f8cbff94dbff484636dd0351cd66f37eeaea7b7dbe16a3bfe231ae78cfabdeed040b789b64049c6063ef0dca21e4a4f332b99e49a52993e8595e372839 +DIST stockfish-17.tar.gz 204647 BLAKE2B 1b8bc3cb18df67fb8d8c0a02284c47d06862ca33aacd894816be92f3c11976f5eb3a767adce92a27bcbc35abec3db04e3600fe046060fe61247850fe263d9aea SHA512 2736c7e78a30670704b4400e20a4a5bb5b07b2e3a14d19149eccea9ba45cda5b9b42034b1ae40ef1f49c87fc1b0bc1750e998ff732da8c5fe45dd8bdbf90f9cc EBUILD stockfish-10.ebuild 1783 BLAKE2B 64978de8409789e492d0cb0039058330ce6ca16a0e5c041d5d3465bb5bb78e708b9677cddcb46011b96261c843d03540d78ba817b467ef5d0b5ae6916a10dc4e SHA512 6607fc9c69b9c60a1ce00b795ecc102e97c8875a794210a7cbb9703d48b73c6a52eb3ab71480202c1f1bc50cf5ba991d1e68437b6fdf7b7e9e7d17988555b8f3 EBUILD stockfish-13.ebuild 2037 BLAKE2B 9ee76596b1ea612f3f235496e454fd8a465e8442704c69a5c569c0a6a4f9d89017c18b4e45486e1b7bc14e6bb6e47f11d921e61ca821ccc132ba96f5db67100e SHA512 daa6b917553dd92e3a3bc01441f5db4680fc8b987eaf86408265de88caba383ab93a6a9a82c26bf07fdbdb718db08ed3e2a2d315196f2efc30c98d68006c37f5 EBUILD stockfish-14.1.ebuild 2046 BLAKE2B 721060955579258df84987460e8ccf54ca6db70795113684d0b2ebb84fcc5f4d6711f81da7b61275f284b753af7d6d7d1bd5a9f2023af366ca06d5ae60d80204 SHA512 f131d0a0e70efe8bec338b39b0cab949b55511b73fc81602d8609d2d068d4275cc310dcd19ca83dced1ab717aa7bd01d939c8b5a9bbc74044c5c70941099d457 @@ -23,4 +26,5 @@ EBUILD stockfish-15.1.ebuild 2045 BLAKE2B 3f74063bf4037fbe63e9d8be80e11865f3fdd5 EBUILD stockfish-16-r1.ebuild 2399 BLAKE2B c6452109d23790fb388d0517974ba65b8847f54dd0c1fa9027aefd5a098bc1ff1fd2bb8c4f5f934f9dec1e6a42319c9dd4e7dacda01d226e4ff33fc06d1ced63 SHA512 82a62a0cb0e6a5fd693cde296c66946b17ec0287e984760a0e6ab01d08c395a7d64d86dc75e2710a37b2b497747f98e7202df03b8132f01d8229a7e184322ce1 EBUILD stockfish-16.1.ebuild 2466 BLAKE2B 130c533c6601a7b1549cfb3ba629cd2fb08cdaa1da0f9de75aa85871aab9b08e37e022a30207a0db5329da18114801bffb5e04033795482528be8c401cee07bb SHA512 ec21587aef4783474d339fbfe0bb938a9faa1f605cb83607663fc19c6dafdfaaaa0781f8d625edc514daa7bfe230a313f7c1817555885cb51c5c514280e59876 EBUILD stockfish-16.ebuild 2142 BLAKE2B 1908f79b4463b75e4e873aaefeb658d1102ab0217f3acf29efea58554b4ba150f17d24d9c502437fe9c069c0b677a31954f552fa698776ba3769490ca3c17ee6 SHA512 07705ae97c8c2b5e3a51b9a7055d315d7b3a2bebc5c5f7657cbe161f962a207271ed6d07764d42600cdaa73d0dd1fb662562ffb116683160f693facfa755e42c +EBUILD stockfish-17.ebuild 2464 BLAKE2B 35504fa3afef184292fbee7366657ddbd2f532cccfe14c962b269be020ac3b4decf601626ec6a157e5ca47ea4960866c1bcc370080984528c5f2cf4018223376 SHA512 d30d69497bd904cbf3d6ad6536efebd0a00eaaa60c962e7017f3c2168ca288da14ccd09ad69040b54d3f4be436a715fd38b978ee02a5778b713b7492105e68e1 MISC metadata.xml 573 BLAKE2B 2b1f870ab3bad4a90940374e974a37ec52239b6684e78e5dd41b95a1503854c06a3a5185b48c56c542a4195d00293cc6628c362d93a835997e41122215bf8540 SHA512 a21725ea89118c85924985d95614e8702209b3184848f63271910dafa3d1f4e6238fb015558e287cc341262bb65bbafc33606042eb589c7499a92088c2a43574 diff --git a/games-board/stockfish/stockfish-17.ebuild b/games-board/stockfish/stockfish-17.ebuild new file mode 100644 index 000000000000..bbc0c90cbf73 --- /dev/null +++ b/games-board/stockfish/stockfish-17.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world" +HOMEPAGE="https://stockfishchess.org/" + +NNUE_FILES="nn-1111cefa1111.nnue nn-37f18f62d772.nnue" + +SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz -> ${P}.tar.gz" + +for i in $NNUE_FILES; do + SRC_URI+=" https://tests.stockfishchess.org/api/nn/${i} -> ${P}-${i}" +done + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~loong ~riscv x86" +IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse cpu_flags_x86_avx512f + cpu_flags_x86_avx512dq debug general-32 general-64 +optimize" + +DEPEND="|| ( app-arch/unzip app-arch/zip )" + +S="${WORKDIR}/Stockfish-sf_${PV}/src" + +src_prepare() { + default + + # remove config sanity check that doesn't like our COMPILER settings + sed -i -e 's/ config-sanity//g' Makefile || die + + for i in $NNUE_FILES; do + cp "${DISTDIR}"/${P}-${i} ${i} || die "copying the nnue file failed" + done + + # prevent pre-stripping + sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \ + || die 'failed to disable stripping in the Makefile' + + # Makefile is a bit optimistic + sed -e 's:-flto=full:-flto:g' -i Makefile || die +} + +src_compile() { + local my_arch + + # generic unoptimized first + use general-32 && my_arch=general-32 + use general-64 && my_arch=general-64 + + # x86 + use x86 && my_arch=x86-32-old + use cpu_flags_x86_sse && my_arch=x86-32 + + # amd64 + use amd64 && my_arch=x86-64 + use cpu_flags_x86_popcnt && my_arch=x86-64-modern + + # both bmi2 and avx2 are part of hni (haswell new instructions) + use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2 + + # avx512 + # we currently can't express 'avx512vnni' 'avx512dq' 'avx512f' 'avx512bw' 'avx512vl' + # so only enable basic support + use cpu_flags_x86_avx512f && use cpu_flags_x86_avx512dq && my_arch=x86-64-avx512 + + # other architectures + use cpu_flags_arm_v7 && my_arch=armv7 + use ppc && my_arch=ppc + use ppc64 && my_arch=ppc64 + + # There's a nice hack in the Makefile that overrides the value of CXX with + # COMPILER to support Travis CI and we abuse it to make sure that we + # build with our compiler of choice. + emake profile-build ARCH="${my_arch}" \ + COMP="$(tc-getCXX)" \ + COMPILER="$(tc-getCXX)" \ + debug=$(usex debug "yes" "no") \ + optimize=$(usex optimize "yes" "no") +} + +src_install() { + dobin "${PN}" + dodoc ../AUTHORS ../README.md +} |