dev-games/freecell-solver: 5.14.0 version bump

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2019-11-20 16:31:06 +01:00
parent 20cdce0cf5
commit ebf8704fdf
3 changed files with 72 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST freecell-solver-5.14.0.tar.xz 407912 BLAKE2B c9da3557d9d073e017215cb0e0c64bfabeeb001c6e8373cc7e35aac40b2722f18966bb7ebf041e869c9e5c1fdbf0fc24e652fef688707c3ee69b300d8fdc246c SHA512 21c8898673e402514c6d40ae0045d6e9077b1606430465bfb146507fbe098be6ca4f88d976e2dafadbc8e84b5aeb9325b58ce8a384ea4ed6de4f5fec485d51ea
DIST freecell-solver-5.6.0.tar.xz 392468 BLAKE2B 9b8a22eca95da8675a252bec947dc5edad35a492ce9b04db5bf956e9a8c7051a9ca38902f9704e1f789fe28ce3326515690b2070cbb0318d299fdb8446ec9d1a SHA512 aac86e9bfb5849ffd99c669d8cfdd79272bc2f2a9a7f085e22f775b26fa45fc404efbb7520d23469e96c54c3596e776c8f459e679127de9ec0bc065c82bff246

View File

@@ -0,0 +1,19 @@
Package wants to install all kinds of doc files. It does not help us.
--- a/CMakeLists.txt 2019-09-12 23:04:19.628187073 +0200
+++ b/CMakeLists.txt 2019-09-12 23:06:38.928231282 +0200
@@ -858,14 +858,6 @@
INSTALL_MAN ("${fc_solve_manpage}" 6)
ENDIF ()
-INSTALL(
- FILES
- ${docs_to_install}
- "README.win32.txt"
- DESTINATION
- "share/doc/freecell-solver-5.14.0"
-)
-
SET (dest "include/freecell-solver")
INSTALL(
FILES

View File

@@ -0,0 +1,52 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
inherit cmake-utils 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 ~x86"
IUSE="tcmalloc"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
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/Path-Tiny
dev-perl/Template-Toolkit
"
DOCS=( README.html )
PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
src_prepare() {
sed -i -e "s|share/doc/freecell-solver/|share/doc/${P}|" CMakeLists.txt || die
python_fix_shebang board_gen
cmake-utils_src_prepare
}
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-utils_src_configure
}