diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-16 12:04:26 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-16 12:04:26 +0100 |
commit | b92911550490e2da121ec4b02d3cf60a2d31a17d (patch) | |
tree | dc29e698da3b00d42ead3796b35416159e83d57a /games-board | |
parent | 7fa8a1e3f149eea4c844c47cfe26136ed7614c58 (diff) |
gentoo auto-resync : 16:04:2024 - 12:04:26
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/Manifest.gz | bin | 10206 -> 10206 bytes | |||
-rw-r--r-- | games-board/scid/Manifest | 4 | ||||
-rw-r--r-- | games-board/scid/scid-4.7.0-r1.ebuild | 4 | ||||
-rw-r--r-- | games-board/scid/scid-5.0.2.ebuild | 94 |
4 files changed, 99 insertions, 3 deletions
diff --git a/games-board/Manifest.gz b/games-board/Manifest.gz Binary files differindex f3326a61f76a..7941155c28dc 100644 --- a/games-board/Manifest.gz +++ b/games-board/Manifest.gz diff --git a/games-board/scid/Manifest b/games-board/scid/Manifest index 82eeceaa63ef..13051cfa77fe 100644 --- a/games-board/scid/Manifest +++ b/games-board/scid/Manifest @@ -2,6 +2,8 @@ AUX scid-4.6.2-pgnfix-python3.patch 3517 BLAKE2B a2745f830f21c29d962cdf14d0b94a0 AUX scid-4.7.0-system-gtest.patch 720 BLAKE2B 0128d0bbb8df8de3338d7f193a30134d84eba3e6ce79eca73976d422374c2b33bdd4b932a957b3fcb0ce1f5e38655e35a0be95958c861a12291e82a708c8f666 SHA512 96811496bdc258596a81765f1798bf096f9fd2c604bd1fb03d9f3790ffd305598bf46e12ac3a41bc3d32f1b57d82e728a79c72c9949929f2ca00ca8fa3707bdb AUX scid-4.7.0-tcl-start-path.patch 217 BLAKE2B 971491ff23cf08b251be358acd97712c3c1511b0805da185ed00c848b1b4b813e6227e0b71e1a57d4c07a19598f7010e0ef9bf0ad5507ccf54302a5dfca5318b SHA512 67880181a80b6efce8a5c4e5deb84964ada2cbb8016e805f1a4e24d73b125a592ce3d8446714d4d26f6200dba42353f7e1deeba90f1aa468ca670d00cc294fc5 DIST scid-4.7.0_x64_linux.tar.gz 129771457 BLAKE2B 65ad7b58685a498954ebcf5216287216e2d2805bf0379784195b096c9eb04b333a8bbfb6c020c321b66c63d7bad2cfba724750b4d26f8172f620047219f98a73 SHA512 c9fb6f19741d60fe4952c643240f7e2eaa476eab35379c0a053b35217fe7a4b9ecfbc68edc45df4c9a2354babe8e0ddd2211db014d5396ce9bbb59db531c1179 +DIST scid-5.0.2.zip 15661705 BLAKE2B 7d514d0e83b34a873e3c375fc14b83b76df30d7051139a230e82feb21ec7a53308b63a5b5f2ce336443a743014a4f2830dae6bfb9c116b66645aa61d6a67ef6f SHA512 0ccf3833ddc942e0577b5316089019098ba903ecbce011e83e0bf30efcf45fb48bdceb1309160c65bb0fc69696301b00df8d777e860bf31efa44e4aa330e2477 DIST scid-code-4.7.0.zip 15782104 BLAKE2B f1b927a1b23478d2e27a098e2ec99acb9a2061c373686cfcfa14ac219a1dce47468c3e46b3fe786655792177c86180bbe8e1dc91927b3ad2a80ea9b0bdb17fd3 SHA512 3c43fb8877da4a8dda9c99b1b856fe3f3840c7013041d53c31c8411ecf2e9ccbaf3b7c098e35cb23f5d0d7cac6b7514ca3bfb719fcbc111f5e1ef07f765f2708 -EBUILD scid-4.7.0-r1.ebuild 2337 BLAKE2B 406022833c5669c3281aa34c93c8d34d8c190ec757660a58f8c2f8af74edecbf7c60596e4accaddca372d3708b267b012a97115f8bdc2871d208ec749c6f9dd3 SHA512 dff3281acb488e54c9d9d59a4ff9db0aa6a0a9e7453a279cd35b921376ba8687b48a6588ac0f77d7fbe0e49f20ace215e966baa64ab2a6aa4375fc5f480aa25a +EBUILD scid-4.7.0-r1.ebuild 2337 BLAKE2B 4667addf44a441f7ff655711ac92851300b2809495502e235b697b8e2caf4e89caab338b0f6f1e56b594e8ea4efab74835f2ceb6cc048587cd4ed1ef8c75bb8b SHA512 f94c34a062f0ec841b04b29a9cc987496cee01feca85ef32344d58b1ffc0dac41d310f79a15dc8c7babfdb0628eba741557547c4ff175dede849c92a9f19255b +EBUILD scid-5.0.2.ebuild 1978 BLAKE2B c859471dc847eb6c6d6b70176783f852be5bc84c0ea850150964e393c28cd29165facdacbfabc360b5f8873f0c8a422b197fb455497c58e65b0337c8ca475eab SHA512 3b642db4bc9781b961f787424ddb252f7a8e7e4b8cc4ce91f1b6e7d53d489b879f633983a1bd1a48c2f0418e7ede5fe15008758c9339949e2153bbb7864b7e99 MISC metadata.xml 496 BLAKE2B 536d16dfd62b6eca9a4b4703999a89d5937463d4985098c39ffd6c3f87b742ae5f0b7a58c47f449257bc48b524acc5f8a42d1867b8e6edb6a38c1026712fc77c SHA512 62cdea46668c185e9a93f0bbd10acac065b0c8b23a03d19683d361e51cc09e0ad5139a87ef33ecda05ecf91e74bde590caee8567f83cd13f44b6ac1997a8f4c6 diff --git a/games-board/scid/scid-4.7.0-r1.ebuild b/games-board/scid/scid-4.7.0-r1.ebuild index 14e71f141b86..2d2932211729 100644 --- a/games-board/scid/scid-4.7.0-r1.ebuild +++ b/games-board/scid/scid-4.7.0-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{9..12} ) inherit cmake desktop optfeature python-single-r1 DESCRIPTION="Shane's Chess Information Database" diff --git a/games-board/scid/scid-5.0.2.ebuild b/games-board/scid/scid-5.0.2.ebuild new file mode 100644 index 000000000000..1680f2fe64f6 --- /dev/null +++ b/games-board/scid/scid-5.0.2.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..12} ) +inherit cmake desktop optfeature python-single-r1 + +DESCRIPTION="Shane's Chess Information Database" +HOMEPAGE="https://scid.sourceforge.net/" +SRC_URI="https://sourceforge.net/projects/scid/files/Scid/Scid%205.0/${PN}_src_${PV}.zip/download -> ${P}.zip" + +#S="${WORKDIR}/${PN}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="scripts test" +REQUIRED_USE="scripts? ( ${PYTHON_REQUIRED_USE} )" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + dev-lang/tcl:= + dev-lang/tk" +RDEPEND=" + ${COMMON_DEPEND} + dev-tcltk/tkimg + scripts? ( ${PYTHON_DEPS} )" +DEPEND=" + ${COMMON_DEPEND} + test? ( dev-cpp/gtest )" +BDEPEND=" + app-arch/unzip + scripts? ( ${PYTHON_DEPS} )" + +PATCHES=( + "${FILESDIR}"/${PN}-4.6.2-pgnfix-python3.patch + "${FILESDIR}"/${PN}-4.7.0-tcl-start-path.patch +) + +HTML_DOCS=( help/. ) + +pkg_setup() { + use scripts && python-single-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + + if use scripts; then + python_fix_shebang scripts/pgnfix.py + + # cmake build doesn't use "tkscid" anymore but scripts still do + sed -i s/tkscid/scid/ scripts/*.tcl || die + fi +} + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=off + -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr/share + -DGTEST=$(usex test) + ) + + cmake_src_configure +} + +src_test() { + "${BUILD_DIR}"/gtest/scid_tests || die +} + +src_install() { + cmake_src_install + + dobin "${BUILD_DIR}"/{phalanx-scid,scid} + + if use scripts; then + local script + # install same set of scripts as pre-cmake + for script in pgnfix.py {sc_{epgn,spell,eco,import},scidpgn,spliteco,spf2spi}.tcl sc_remote.tk; do + newbin scripts/${script} ${script%.*} + done + fi + + newicon resources/svg/scid_app.svg scid.svg + make_desktop_entry scid Scid + + # delete re-located files + rm -r "${ED}"/usr/share/{bin,scid/{scid,scripts}} || die +} + +pkg_postinst() { + optfeature "speech support" dev-tcltk/snack +} |