From 5d5e56d92268c2b9b6ccc38eeaa3516ce9b1e8fd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 12 Sep 2023 04:40:07 +0100 Subject: gentoo auto-resync : 12:09:2023 - 04:40:07 --- games-engines/Manifest.gz | Bin 3552 -> 3550 bytes games-engines/fheroes2/Manifest | 4 +- games-engines/fheroes2/fheroes2-1.0.6.ebuild | 77 --------------------------- games-engines/fheroes2/fheroes2-1.0.8.ebuild | 76 ++++++++++++++++++++++++++ 4 files changed, 78 insertions(+), 79 deletions(-) delete mode 100644 games-engines/fheroes2/fheroes2-1.0.6.ebuild create mode 100644 games-engines/fheroes2/fheroes2-1.0.8.ebuild (limited to 'games-engines') diff --git a/games-engines/Manifest.gz b/games-engines/Manifest.gz index 776243342152..9c54603b76f8 100644 Binary files a/games-engines/Manifest.gz and b/games-engines/Manifest.gz differ diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 710fff7866f4..34f93d996a3a 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1,4 +1,4 @@ AUX fheroes2-1.0.4-scripts.patch 716 BLAKE2B 0b944bf9f012e0fc6789230343e230b400b8a3446a0d07140816c9cb2262ad5b11f5a87562a70f32d71676b55d504299ba610e097cfe4b1fe52147e70c11c249 SHA512 fc5772dab278884f78741f3122554df9e5befc31ff3b07f0d4c5bf6e8764deee651d1999982a2c73c3a0bc49e517dd67bdf8b50151e9b489e08b9f4ebb13123f -DIST fheroes2-1.0.6.tar.gz 11611881 BLAKE2B b7219a1a843f4a08cfc9ade161e38b19dcb343fa6dc700568d2e38b984d2cd26c78d02b9792f7d893b0babcca7bf71a01d349bc3806136736d46768b048a8db2 SHA512 c42b2ded44b7d6e112de3e919044b6b7d69161cc8cf08198df88da42c7f77b2dcf9df9ea7b453def66902e85f42047c0375b093c8d2d91517acb42d1804e621b -EBUILD fheroes2-1.0.6.ebuild 1712 BLAKE2B 4a834d6833b47665efd563e0c8ef370d56c0a8d5136d0114d3c3f8a5014e6524c922e63afcfb7c57372788d409b75e67741abe66844c132f1c6583ceee0cc2e4 SHA512 5465923ace15b87e3368d439c4954379c11c57040dc593286c32e0b5c0741dab329353a38caa421cae20ec4c347f7a4beab550643457193b2dba69583343815c +DIST fheroes2-1.0.8.tar.gz 11757081 BLAKE2B 5448ab4b8379046d632ee8ee1be3207e4b2bd7a7a8f8c2744b2c95b909128d71a1247c8c30a903cc283df7de04e1e5b3a07bac98346b4ec444dff891aa50c028 SHA512 90c198249ecd321c0c69c2e9296364c4d6d566df374198837aa2c7811c21ecf49561342006bd76f948ed14831b22d6b7d36df1c9b46d93c0aeb48052510c588e +EBUILD fheroes2-1.0.8.ebuild 1683 BLAKE2B 38352ed335fc1a334dc28c04aaa1f395cf8cab44635c6510360de1555447f1813634714eb36d954dacda58ae4b6d24993b5dfc60b957d1b90e5026a9b115786b SHA512 1c832acf1197109932e46f69e355071baf75310a1befab1ee50e0649fdd7c21329e08b6a02ede08a1b8aeb8a5767fc26e2819e6b6bca1f848dd152a7fa49d5f3 MISC metadata.xml 1185 BLAKE2B 28d22394a735740a0c230888558eccb00c4ca9ec0072aabfc27d271c9a5089ea011bc167678a7c3bf81cbeeaccbc8a0fb0b2b94d80fd83b42bc8f9a654da756a SHA512 8b3033b5de642317d2624486810cd189dee8746c9e10110a5f6ae023d51a9203c226f2b41ac4d0afb1e4b29f862063f0749b5170534b17732d26dd8dbaa89625 diff --git a/games-engines/fheroes2/fheroes2-1.0.6.ebuild b/games-engines/fheroes2/fheroes2-1.0.6.ebuild deleted file mode 100644 index 0481e2bc397d..000000000000 --- a/games-engines/fheroes2/fheroes2-1.0.6.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -inherit cmake python-single-r1 xdg - -DESCRIPTION="Recreation of HoMM2 game engine" -HOMEPAGE="https://ihhub.github.io/fheroes2/" -SRC_URI="https://github.com/ihhub/fheroes2/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="tools" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND=" - media-libs/libpng:= - media-libs/libsdl2[video] - media-libs/sdl2-image - media-libs/sdl2-mixer - sys-libs/zlib -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} - app-arch/libarchive - dev-lang/python - virtual/libintl -" -BDEPEND=" - sys-devel/gettext - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}/fheroes2-1.0.4-scripts.patch" -) - -src_configure() { - # Not using dev-games/libsmacker because the game crashes with it - local mycmakeargs=( - -DENABLE_IMAGE=ON - -DENABLE_TOOLS=$(usex tools) - -DUSE_SYSTEM_LIBSMACKER=NO - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile - emake -C files/lang -} - -src_install() { - cmake_src_install - - if use tools; then - for file in 82m2wav bin2txt extractor h2dmgr icn2img pal2img til2img xmi2midi; do - newbin "${BUILD_DIR}/${file}" "fheroes2-${file}" - done - fi -} - -pkg_postinst() { - xdg_pkg_postinst - - elog "You need original HoMM2 data files to play fheroes2." - elog "If you have an installer (.exe) from GOG, install:" - elog " games-strategy/homm2-gold-gog" - elog "If you have the original game installed somewhere already, run:" - elog " ${EPREFIX}/usr/share/fheroes2/extract_homm2_resources.sh" - elog "Also you can automatically get a demo version for free by installing:" - elog " games-strategy/homm2-demo" -} diff --git a/games-engines/fheroes2/fheroes2-1.0.8.ebuild b/games-engines/fheroes2/fheroes2-1.0.8.ebuild new file mode 100644 index 000000000000..49baffb6ba33 --- /dev/null +++ b/games-engines/fheroes2/fheroes2-1.0.8.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit cmake python-single-r1 xdg + +DESCRIPTION="Recreation of HoMM2 game engine" +HOMEPAGE="https://ihhub.github.io/fheroes2/" +SRC_URI="https://github.com/ihhub/fheroes2/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="tools" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + media-libs/libpng:= + media-libs/libsdl2[video] + media-libs/sdl2-image + media-libs/sdl2-mixer + sys-libs/zlib +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} + app-arch/libarchive + dev-lang/python + virtual/libintl +" +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}/fheroes2-1.0.4-scripts.patch" +) + +src_configure() { + # Not using dev-games/libsmacker because the game crashes with it + local mycmakeargs=( + -DENABLE_IMAGE=ON + -DENABLE_TOOLS=$(usex tools) + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + emake -C files/lang +} + +src_install() { + cmake_src_install + + if use tools; then + for file in 82m2wav bin2txt extractor h2dmgr icn2img pal2img til2img xmi2midi; do + newbin "${BUILD_DIR}/${file}" "fheroes2-${file}" + done + fi +} + +pkg_postinst() { + xdg_pkg_postinst + + elog "You need original HoMM2 data files to play fheroes2." + elog "If you have an installer (.exe) from GOG, install:" + elog " games-strategy/homm2-gold-gog" + elog "If you have the original game installed somewhere already, run:" + elog " ${EPREFIX}/usr/share/fheroes2/extract_homm2_resources.sh" + elog "Also you can automatically get a demo version for free by installing:" + elog " games-strategy/homm2-demo" +} -- cgit v1.2.3