mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-25 11:57:36 -08:00
dev-games/freecell-solver: 5.22.0 version bump
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST freecell-solver-5.14.0.tar.xz 407912 BLAKE2B c9da3557d9d073e017215cb0e0c64bfabeeb001c6e8373cc7e35aac40b2722f18966bb7ebf041e869c9e5c1fdbf0fc24e652fef688707c3ee69b300d8fdc246c SHA512 21c8898673e402514c6d40ae0045d6e9077b1606430465bfb146507fbe098be6ca4f88d976e2dafadbc8e84b5aeb9325b58ce8a384ea4ed6de4f5fec485d51ea
|
||||
DIST freecell-solver-5.20.1.tar.xz 420748 BLAKE2B 5322567ba4246f11deb74d298f069cfa0f093f7d15dda2132c97d04546fac47f979d3e3b69ee2ee0bdef92b3ff10aba27efda5782dc9ffdd9c7eb91ad7c419cd SHA512 439c55713f5fdb98fa90b203fb5a0d135e7f3aa249ee59e659ed371f7d4de03cc16945b3170f3c1fc4e2afe3733866a6db80945868e129589a4fdde00df51335
|
||||
DIST freecell-solver-5.22.0.tar.xz 421612 BLAKE2B 0608faf0a7995a3808cf37fde5a40d24b2c7c64a5d18e3fa7b9e211cc8980b967dfb3e2b53e61bb3819395440e5f5c56b6533a86eb8779e905d5c870e2ed6693 SHA512 0d50289f894e907abd3ce68207ddedee84153b18f6aff981b28f6a39909fed474f375fec0adcb8b448f66029127668667d54e1ba68eb3bc64c8a3947bd2398a0
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
From 672147174c4c0198b04039db83fe3a0f9f6f181b Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Sturmlechner <asturm@gentoo.org>
|
||||
Date: Sun, 12 Apr 2020 17:27:52 +0200
|
||||
Subject: [PATCH] Don't unconditionally install README.win32.txt
|
||||
|
||||
---
|
||||
fc-solve/source/CMakeLists.txt | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index cefe77ad1..4e2ad4789 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -902,10 +902,13 @@ IF (UNIX AND FCS_BUILD_DOCS)
|
||||
INSTALL_MAN ("${fc_solve_manpage}" 6)
|
||||
ENDIF ()
|
||||
|
||||
+IF(WIN32)
|
||||
+ SET (docs_to_install ${docs_to_install} README.win32.txt)
|
||||
+ENDIF ()
|
||||
+
|
||||
INSTALL(
|
||||
FILES
|
||||
${docs_to_install}
|
||||
- "README.win32.txt"
|
||||
DESTINATION
|
||||
"${CMAKE_INSTALL_DOCDIR}"
|
||||
)
|
||||
--
|
||||
2.26.0
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
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 ~x86"
|
||||
IUSE="tcmalloc"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pysol_cards[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/random2[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/six[${PYTHON_MULTI_USEDEP}]
|
||||
')
|
||||
tcmalloc? ( dev-util/google-perftools )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-perl/Path-Tiny
|
||||
dev-perl/Template-Toolkit
|
||||
"
|
||||
|
||||
DOCS=( README.html )
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-docs.patch" )
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang board_gen
|
||||
cmake_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_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user