commit: 494292cd6784246f90fa8f271de0a1b212f5663d Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Wed Oct 22 20:35:39 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Wed Oct 22 20:35:39 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=494292cd
dev-games/freecell-solver: add 6.14.0 Closes: https://bugs.gentoo.org/964972 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-games/freecell-solver/Manifest | 1 + .../freecell-solver/freecell-solver-6.14.0.ebuild | 56 ++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-games/freecell-solver/Manifest b/dev-games/freecell-solver/Manifest index d8a13a0b3d4e..c819dede90d6 100644 --- a/dev-games/freecell-solver/Manifest +++ b/dev-games/freecell-solver/Manifest @@ -1 +1,2 @@ +DIST freecell-solver-6.14.0.tar.xz 435876 BLAKE2B 9efe615fae3eb65adf78a210e6a57912b77e6f7a4be9a5aa8d57afaaab3aef14dd9a7d13d6ca441704658bfb51ce11bb07a3fa8724e40707ae81d3f302cdbe03 SHA512 e24eb29539d5e986ef42acbaa4b31f6508ad34579c122d5e191b5be72296762f14029a67fe2433ba21c0f7bbaf4a348f0cc3e896856305457856c29b018e8023 DIST freecell-solver-6.8.0.tar.xz 450320 BLAKE2B b33b9ae51485d5f028817bfed01c167cbcc42366d7e44cfb75c1c3f86f7ef17d1d6e8fdfe41da5af390e6db9527dee7998118a5e3440e104a18e97001017992a SHA512 3baed3cc02405036b882b8eb71f0e54d11051789b9071081a26a6feca653e13129b7d2e5f3ffcbbbac528e67eccdb95d0adcbf598b35f0849a220c90bed131ee diff --git a/dev-games/freecell-solver/freecell-solver-6.14.0.ebuild b/dev-games/freecell-solver/freecell-solver-6.14.0.ebuild new file mode 100644 index 000000000000..b4563e8281d1 --- /dev/null +++ b/dev-games/freecell-solver/freecell-solver-6.14.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake python-single-r1 + +DESCRIPTION="C library for automatically solving Freecell and some other solitaire variants" +HOMEPAGE="https://fc-solve.shlomifish.org/" +SRC_URI="https://fc-solve.shlomifish.org/downloads/fc-solve/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" +IUSE="tcmalloc" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-libs/rinutils + $(python_gen_cond_dep ' + dev-python/pysol-cards[${PYTHON_USEDEP}] + dev-python/random2[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + ') + tcmalloc? ( dev-util/google-perftools ) +" +DEPEND="${RDEPEND} + dev-perl/Moo + dev-perl/Path-Tiny + dev-perl/Template-Toolkit +" + +DOCS=( README.html ) + +PATCHES=( + "${FILESDIR}/${PN}-5.22.1-no-docs.patch" + "${FILESDIR}/${PN}-6.6.0-no-git-clone-kthxbye.patch" +) + +src_prepare() { + cmake_src_prepare + python_fix_shebang board_gen +} + +src_configure() { + local mycmakeargs=( + -DBUILD_STATIC_LIBRARY=OFF + -DFCS_BUILD_DOCS=OFF + -DFCS_WITH_TEST_SUITE=OFF # requires unpackaged dependencies + -DFCS_AVOID_TCMALLOC=$(usex !tcmalloc) + ) + + cmake_src_configure +}
