From d257fb4c540b643923bcc8af3a690c8a16c29972 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Tue, 19 May 2026 00:15:37 +0100 Subject: [PATCH] games-engines/fheroes2: drop 1.1.15 Signed-off-by: Alexey Sokolov Part-of: https://codeberg.org/gentoo/gentoo/pulls/916 Merges: https://codeberg.org/gentoo/gentoo/pulls/916 Signed-off-by: Sam James --- games-engines/fheroes2/Manifest | 1 - games-engines/fheroes2/fheroes2-1.1.15.ebuild | 82 ------------------- 2 files changed, 83 deletions(-) delete mode 100644 games-engines/fheroes2/fheroes2-1.1.15.ebuild diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index d4100b7c0d4f2..be07e915e4b64 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1,2 +1 @@ -DIST fheroes2-1.1.15.tar.gz 12984768 BLAKE2B d907e8b7bc6dca5ebe34ecbbf976ddb7bc14a40b8b03706705ca1a4fda2c4a434bd8c0ba9464009b02d4a6e2723b49728107cd917a2ea2af78c9313523c20f4e SHA512 b18c94187f83fa41c37ff7d432281775a419bd8bbe1cbe6f13d63504f8f19af883615d3a38bcb238135899fcf10bee198669471ec93eb67584faff4f378fafd9 DIST fheroes2-1.1.16.tar.gz 13059190 BLAKE2B d96dbfeca4cb7be388ea28ef1e28ced4924963dfa7a63f5dea30ad4a624d9a6ca2f7147e142ac20e5f6f76263311e9e030b8757c1f3b793b895804a4e790cf3b SHA512 0d2a4645430a13796e2891c8b8ed5f911bbc1c1c346c4d05e210ef96f6f8319ba058b3e121b6754bf220a6bb7eab5914bbbc790eb98f2793bf0887c46b3e95f9 diff --git a/games-engines/fheroes2/fheroes2-1.1.15.ebuild b/games-engines/fheroes2/fheroes2-1.1.15.ebuild deleted file mode 100644 index b4383e8fdf2d8..0000000000000 --- a/games-engines/fheroes2/fheroes2-1.1.15.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..14} ) -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 ~ppc64 ~x86" -IUSE="tools" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND=" - media-libs/libpng:= - media-libs/libsdl2[video] - media-libs/sdl2-image - media-libs/sdl2-mixer - virtual/zlib:= -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} - app-arch/libarchive - virtual/libintl -" -BDEPEND=" - sys-devel/gettext - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}/fheroes2-1.0.4-scripts.patch" -) - -src_prepare() { - sed -i -e "s/python3/${EPYTHON}/" script/homm2/extract_homm2_resources.sh || die - - cmake_src_prepare -} - -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 - local file - 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" -}