From b18dbdc69b2be6f0ac0db668b0bc57fb6f766afc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 16 Feb 2023 14:04:41 +0000 Subject: gentoo auto-resync : 16:02:2023 - 14:04:41 --- games-board/Manifest.gz | Bin 9879 -> 9877 bytes games-board/scid/Manifest | 2 +- games-board/scid/scid-4.7.0-r1.ebuild | 106 ++++++++++++++++++++++++++++++++++ games-board/scid/scid-4.7.0.ebuild | 106 ---------------------------------- 4 files changed, 107 insertions(+), 107 deletions(-) create mode 100644 games-board/scid/scid-4.7.0-r1.ebuild delete mode 100644 games-board/scid/scid-4.7.0.ebuild (limited to 'games-board') diff --git a/games-board/Manifest.gz b/games-board/Manifest.gz index c8f2ecf229d5..9d6de188fc52 100644 Binary files a/games-board/Manifest.gz and b/games-board/Manifest.gz differ diff --git a/games-board/scid/Manifest b/games-board/scid/Manifest index 8570f5a1072a..f2250411197d 100644 --- a/games-board/scid/Manifest +++ b/games-board/scid/Manifest @@ -3,5 +3,5 @@ AUX scid-4.7.0-system-gtest.patch 720 BLAKE2B 0128d0bbb8df8de3338d7f193a30134d84 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-code-4.7.0.zip 15782104 BLAKE2B f1b927a1b23478d2e27a098e2ec99acb9a2061c373686cfcfa14ac219a1dce47468c3e46b3fe786655792177c86180bbe8e1dc91927b3ad2a80ea9b0bdb17fd3 SHA512 3c43fb8877da4a8dda9c99b1b856fe3f3840c7013041d53c31c8411ecf2e9ccbaf3b7c098e35cb23f5d0d7cac6b7514ca3bfb719fcbc111f5e1ef07f765f2708 -EBUILD scid-4.7.0.ebuild 2329 BLAKE2B 2d66f8d0378d62c0ef79015873b6582bb4cc752a2f4e8fd66ece4c482dd66d25d922437bbbab46001707803211efe7842ad39e5061cbdf72dce9bf5d9b4b61c3 SHA512 6f8eaf2b01ac88bdc8b737b5706cd5c49ba918578d08bbacb240f424bd5292d643557c7dba64a247a39874fbf7fe1cf7c4983ba0cbf7455fb476f5294b40ef83 +EBUILD scid-4.7.0-r1.ebuild 2329 BLAKE2B 2b86d4d7aec875d63d561f5049d314de61ac13131ae510c266f303271a096c646c10accadfe8af05900b99600e64265fb4ada2744b573545f77d33c6174233ce SHA512 8715b9fc61f7f240bc9a24cfeeb8a8507d15c9606b9a3bd8d85cc9f7e9b9c239b4ee28a8e8a6ad5094af922ab21da99dfee3c7c6e06d2175c83d3d455e770bc1 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 new file mode 100644 index 000000000000..ba612745c288 --- /dev/null +++ b/games-board/scid/scid-4.7.0-r1.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit cmake desktop optfeature python-single-r1 + +DESCRIPTION="Shane's Chess Information Database" +HOMEPAGE="http://scid.sourceforge.net/" +SRC_URI=" + mirror://sourceforge/scid/${PN}-code-${PV}.zip + mirror://sourceforge/scid/${P}_x64_linux.tar.gz" +S="${WORKDIR}/${PN}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="photos 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}"/${P}-system-gtest.patch + "${FILESDIR}"/${P}-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,scidlet} + + 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 + + insinto /usr/share/scid + doins scid{,_es,_fr}.eco "${WORKDIR}"/${P}/spelling.ssp + use photos && doins -r "${WORKDIR}"/${P}/photos + + 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 + + if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 4.7; then + elog + elog "Warning: this version uses ~/.scid4.7 and is incompatible with older ~/.scid" + elog + fi +} diff --git a/games-board/scid/scid-4.7.0.ebuild b/games-board/scid/scid-4.7.0.ebuild deleted file mode 100644 index a5feff4f3154..000000000000 --- a/games-board/scid/scid-4.7.0.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..10} ) -inherit cmake desktop optfeature python-single-r1 - -DESCRIPTION="Shane's Chess Information Database" -HOMEPAGE="http://scid.sourceforge.net/" -SRC_URI=" - mirror://sourceforge/scid/${PN}-code-${PV}.zip - mirror://sourceforge/scid/${P}_x64_linux.tar.gz" -S="${WORKDIR}/${PN}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="photos 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}"/${P}-system-gtest.patch - "${FILESDIR}"/${P}-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,scidlet} - - 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 - - insinto /usr/share/scid - doins scid{,_es,_fr}.eco "${WORKDIR}"/${P}/spelling.ssp - use photos && doins -r "${WORKDIR}"/${P}/photos - - 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 - - if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 4.7; then - elog - elog "Warning: this version uses ~/.scid4.7 and is incompatible with older ~/.scid" - elog - fi -} -- cgit v1.2.3