[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: e478c4fe27a9f64db6413699c7b19ccdf76d155e Author: Alexey Sokolov asokolov org> AuthorDate: Fri Jun 13 07:47:26 2025 + Commit: Sam James gentoo org> CommitDate: Fri Jul 4 20:01:55 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e478c4fe games-engines/fheroes2: add 1.1.9 Signed-off-by: Alexey Sokolov asokolov.org> Part-of: https://github.com/gentoo/gentoo/pull/42573 Signed-off-by: Sam James gentoo.org> games-engines/fheroes2/Manifest | 1 + games-engines/fheroes2/fheroes2-1.1.9.ebuild | 82 2 files changed, 83 insertions(+) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index fddc6db72073..83b1604a3aac 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1 +1,2 @@ DIST fheroes2-1.1.8.tar.gz 12293726 BLAKE2B 3245e699a845c42b7895243246f9bd8577261e9408381a6e3033db4aa1bf67841b48c94a8e0bd8d75e710789df681a0fa69b51bce490c4812bb32ac55027de21 SHA512 475fa3525fe2bf51014751dc27181b86220c73336f64fb3940b664701d0be5beadf5f42fd8b00749b8df44520e5c51709faaa08fd2ec98a11dcfa2c74b9872ae +DIST fheroes2-1.1.9.tar.gz 12435585 BLAKE2B f8363a7c06682d28bc8a8c4f566bef0da053eae7f5fb48082a999f222d1778cc4d288074ee6e76fd01a6bf18cd0d6ef9bccca0946c9b914fc2852281f1dc086a SHA512 8e54f0f8074b03ca383fe630e6cefa8b1d01db5a59b27587dc965b78d4caccdf5271ae7c9964a8aaa7ece8b483d20672d31afd8b30f6da0676e071f9eef8fc29 diff --git a/games-engines/fheroes2/fheroes2-1.1.9.ebuild b/games-engines/fheroes2/fheroes2-1.1.9.ebuild new file mode 100644 index ..ed88993e3571 --- /dev/null +++ b/games-engines/fheroes2/fheroes2-1.1.9.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +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" +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 + 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" +}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: ae5738e827dc97cff1aa4978d019c1f215416635 Author: Alexey Sokolov asokolov org> AuthorDate: Fri Jun 13 07:48:13 2025 + Commit: Sam James gentoo org> CommitDate: Fri Jul 4 20:01:55 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae5738e8 games-engines/fheroes2: drop 1.1.8 Signed-off-by: Alexey Sokolov asokolov.org> Part-of: https://github.com/gentoo/gentoo/pull/42573 Closes: https://github.com/gentoo/gentoo/pull/42573 Signed-off-by: Sam James gentoo.org> games-engines/fheroes2/Manifest | 1 - games-engines/fheroes2/fheroes2-1.1.8.ebuild | 82 2 files changed, 83 deletions(-) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 83b1604a3aac..de02776c4e53 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1,2 +1 @@ -DIST fheroes2-1.1.8.tar.gz 12293726 BLAKE2B 3245e699a845c42b7895243246f9bd8577261e9408381a6e3033db4aa1bf67841b48c94a8e0bd8d75e710789df681a0fa69b51bce490c4812bb32ac55027de21 SHA512 475fa3525fe2bf51014751dc27181b86220c73336f64fb3940b664701d0be5beadf5f42fd8b00749b8df44520e5c51709faaa08fd2ec98a11dcfa2c74b9872ae DIST fheroes2-1.1.9.tar.gz 12435585 BLAKE2B f8363a7c06682d28bc8a8c4f566bef0da053eae7f5fb48082a999f222d1778cc4d288074ee6e76fd01a6bf18cd0d6ef9bccca0946c9b914fc2852281f1dc086a SHA512 8e54f0f8074b03ca383fe630e6cefa8b1d01db5a59b27587dc965b78d4caccdf5271ae7c9964a8aaa7ece8b483d20672d31afd8b30f6da0676e071f9eef8fc29 diff --git a/games-engines/fheroes2/fheroes2-1.1.8.ebuild b/games-engines/fheroes2/fheroes2-1.1.8.ebuild deleted file mode 100644 index ed88993e3571.. --- a/games-engines/fheroes2/fheroes2-1.1.8.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..13} ) -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" -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 - 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" -}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: ad3dc7f0d6c93ca138a3b3cac56ea4bc8a7ce572 Author: Alexey Sokolov asokolov org> AuthorDate: Sun May 4 12:13:48 2025 + Commit: Sam James gentoo org> CommitDate: Wed May 21 21:24:39 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad3dc7f0 games-engines/fheroes2: drop 1.1.6, 1.1.7 Signed-off-by: Alexey Sokolov asokolov.org> Part-of: https://github.com/gentoo/gentoo/pull/41930 Closes: https://github.com/gentoo/gentoo/pull/41930 Signed-off-by: Sam James gentoo.org> games-engines/fheroes2/Manifest | 2 - games-engines/fheroes2/fheroes2-1.1.6.ebuild | 82 games-engines/fheroes2/fheroes2-1.1.7.ebuild | 82 3 files changed, 166 deletions(-) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 895a9e1ca6eb..fddc6db72073 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1,3 +1 @@ -DIST fheroes2-1.1.6.tar.gz 12128789 BLAKE2B e5ec4131dc5d08cc8b5ac17a5ad8060e9c53e445934387607dad6fde52fcd7608fe8a527a0919d9b61da4f6dc90b2e4169e97a6f4649be690f30cf4e468dd218 SHA512 6fed1647f6c983d20bea804ac2dff55d33b42c4acf1e82b2dd45b6085c07df9d2b24d2aaa76fed8744b37cb8cafa025900f80918bcee3a590e6665e5458df695 -DIST fheroes2-1.1.7.tar.gz 12146595 BLAKE2B ff534f0bfa541b96b116502be9d188ca4fb7b90bc7d288c387579107686a856d5dd357e4a6e082d8e49dc1472d4ace71ce7a701238601c9c2c287fc63e55cf37 SHA512 ebe2870ba30e3fc44e913a567e981e1c7e2cedc826ac1074fdbc6b4c950568b1d2736c2934d3d7edbe7f3b60c3ae6c39db12cd24f84c8763ed372b62165df16a DIST fheroes2-1.1.8.tar.gz 12293726 BLAKE2B 3245e699a845c42b7895243246f9bd8577261e9408381a6e3033db4aa1bf67841b48c94a8e0bd8d75e710789df681a0fa69b51bce490c4812bb32ac55027de21 SHA512 475fa3525fe2bf51014751dc27181b86220c73336f64fb3940b664701d0be5beadf5f42fd8b00749b8df44520e5c51709faaa08fd2ec98a11dcfa2c74b9872ae diff --git a/games-engines/fheroes2/fheroes2-1.1.6.ebuild b/games-engines/fheroes2/fheroes2-1.1.6.ebuild deleted file mode 100644 index c7253fb3af6e.. --- a/games-engines/fheroes2/fheroes2-1.1.6.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -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" -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 - 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" -} diff --git a/games-engines/fheroes2/fheroes2-1.1.7.ebuild b/games-engines/fheroes2/fheroes2-1.1.7.ebuild deleted file mode 100644 index c7253fb3af6e.. --- a/games-engines/fheroes2/fheroes2-1.1.7.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -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="
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 79bd3c1113f0b650ee9dc3016968b7952d7b5f38 Author: Alexey Sokolov asokolov org> AuthorDate: Sun May 4 12:13:26 2025 + Commit: Sam James gentoo org> CommitDate: Wed May 21 21:24:39 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79bd3c11 games-engines/fheroes2: add 1.1.8 Signed-off-by: Alexey Sokolov asokolov.org> Part-of: https://github.com/gentoo/gentoo/pull/41930 Signed-off-by: Sam James gentoo.org> games-engines/fheroes2/Manifest | 1 + games-engines/fheroes2/fheroes2-1.1.8.ebuild | 82 2 files changed, 83 insertions(+) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 468990a63c35..895a9e1ca6eb 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1,2 +1,3 @@ DIST fheroes2-1.1.6.tar.gz 12128789 BLAKE2B e5ec4131dc5d08cc8b5ac17a5ad8060e9c53e445934387607dad6fde52fcd7608fe8a527a0919d9b61da4f6dc90b2e4169e97a6f4649be690f30cf4e468dd218 SHA512 6fed1647f6c983d20bea804ac2dff55d33b42c4acf1e82b2dd45b6085c07df9d2b24d2aaa76fed8744b37cb8cafa025900f80918bcee3a590e6665e5458df695 DIST fheroes2-1.1.7.tar.gz 12146595 BLAKE2B ff534f0bfa541b96b116502be9d188ca4fb7b90bc7d288c387579107686a856d5dd357e4a6e082d8e49dc1472d4ace71ce7a701238601c9c2c287fc63e55cf37 SHA512 ebe2870ba30e3fc44e913a567e981e1c7e2cedc826ac1074fdbc6b4c950568b1d2736c2934d3d7edbe7f3b60c3ae6c39db12cd24f84c8763ed372b62165df16a +DIST fheroes2-1.1.8.tar.gz 12293726 BLAKE2B 3245e699a845c42b7895243246f9bd8577261e9408381a6e3033db4aa1bf67841b48c94a8e0bd8d75e710789df681a0fa69b51bce490c4812bb32ac55027de21 SHA512 475fa3525fe2bf51014751dc27181b86220c73336f64fb3940b664701d0be5beadf5f42fd8b00749b8df44520e5c51709faaa08fd2ec98a11dcfa2c74b9872ae diff --git a/games-engines/fheroes2/fheroes2-1.1.8.ebuild b/games-engines/fheroes2/fheroes2-1.1.8.ebuild new file mode 100644 index ..ed88993e3571 --- /dev/null +++ b/games-engines/fheroes2/fheroes2-1.1.8.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +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" +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 + 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" +}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 4b8abe8949d3a36bd3a16a4ba2883253f182d8fc Author: Alexey Sokolov asokolov org> AuthorDate: Tue Mar 25 22:30:05 2025 + Commit: Sam James gentoo org> CommitDate: Fri Mar 28 15:04:01 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b8abe89 games-engines/fheroes2: add 1.1.7 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: Sam James gentoo.org> games-engines/fheroes2/Manifest | 1 + games-engines/fheroes2/fheroes2-1.1.7.ebuild | 82 2 files changed, 83 insertions(+) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 34d15a672efe..468990a63c35 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1 +1,2 @@ DIST fheroes2-1.1.6.tar.gz 12128789 BLAKE2B e5ec4131dc5d08cc8b5ac17a5ad8060e9c53e445934387607dad6fde52fcd7608fe8a527a0919d9b61da4f6dc90b2e4169e97a6f4649be690f30cf4e468dd218 SHA512 6fed1647f6c983d20bea804ac2dff55d33b42c4acf1e82b2dd45b6085c07df9d2b24d2aaa76fed8744b37cb8cafa025900f80918bcee3a590e6665e5458df695 +DIST fheroes2-1.1.7.tar.gz 12146595 BLAKE2B ff534f0bfa541b96b116502be9d188ca4fb7b90bc7d288c387579107686a856d5dd357e4a6e082d8e49dc1472d4ace71ce7a701238601c9c2c287fc63e55cf37 SHA512 ebe2870ba30e3fc44e913a567e981e1c7e2cedc826ac1074fdbc6b4c950568b1d2736c2934d3d7edbe7f3b60c3ae6c39db12cd24f84c8763ed372b62165df16a diff --git a/games-engines/fheroes2/fheroes2-1.1.7.ebuild b/games-engines/fheroes2/fheroes2-1.1.7.ebuild new file mode 100644 index ..c7253fb3af6e --- /dev/null +++ b/games-engines/fheroes2/fheroes2-1.1.7.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +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" +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 + 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" +}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 8b295b5bfcb64da47e7b44da4b7af84f7d7c431e Author: Alexey Sokolov asokolov org> AuthorDate: Tue Mar 25 22:22:26 2025 + Commit: Sam James gentoo org> CommitDate: Fri Mar 28 15:04:00 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b295b5b games-engines/fheroes2: drop 1.1.5 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: Sam James gentoo.org> games-engines/fheroes2/Manifest | 1 - games-engines/fheroes2/fheroes2-1.1.5.ebuild | 82 2 files changed, 83 deletions(-) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 0fc48d2c6be5..34d15a672efe 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1,2 +1 @@ -DIST fheroes2-1.1.5.tar.gz 12304099 BLAKE2B 0d2dd4e0b0e72799a8ae508f5dec49b73ac28e9b3a779e27bd63d6e10ec4773e443475ca63183e9578a7d575c04c060912b9ee811a2101643670e3005d85cb52 SHA512 9797b471690cbbfd95d9288c9de6a85fc861a5ed56d728e95d7b97ecf79d73c904d5c42fc9021a0ae8950419a2ed5ad730562cf3694144b1772f2437dc1ac2bb DIST fheroes2-1.1.6.tar.gz 12128789 BLAKE2B e5ec4131dc5d08cc8b5ac17a5ad8060e9c53e445934387607dad6fde52fcd7608fe8a527a0919d9b61da4f6dc90b2e4169e97a6f4649be690f30cf4e468dd218 SHA512 6fed1647f6c983d20bea804ac2dff55d33b42c4acf1e82b2dd45b6085c07df9d2b24d2aaa76fed8744b37cb8cafa025900f80918bcee3a590e6665e5458df695 diff --git a/games-engines/fheroes2/fheroes2-1.1.5.ebuild b/games-engines/fheroes2/fheroes2-1.1.5.ebuild deleted file mode 100644 index c7253fb3af6e.. --- a/games-engines/fheroes2/fheroes2-1.1.5.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -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" -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 - 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" -}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: d121964c90166f795a40d19d06a358a4a7b8d508 Author: Alexey Sokolov asokolov org> AuthorDate: Mon Feb 10 23:56:04 2025 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Feb 11 20:54:22 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d121964c games-engines/fheroes2: drop 1.1.4 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: Andreas Sturmlechner gentoo.org> games-engines/fheroes2/Manifest | 1 - games-engines/fheroes2/fheroes2-1.1.4.ebuild | 81 2 files changed, 82 deletions(-) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index b8957f534bd0..045f7edfb1d7 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1,2 +1 @@ -DIST fheroes2-1.1.4.tar.gz 12281692 BLAKE2B 4e00ec08a77d65288f910265c809a7a2d6d952a8785fa0dd266920af8761293392c23dee42b06da065b1cd1999152862c55e28cf4c05c89590f47f41750fbf8b SHA512 eba0c4ba8ba38cb94e972bae6dc4e41a7794c94f9431052cd443f1cf393a340bae98a1a9a06141b9b7afca148c9236c477d7b79ec661f1bc9962b2a221f91b01 DIST fheroes2-1.1.5.tar.gz 12304099 BLAKE2B 0d2dd4e0b0e72799a8ae508f5dec49b73ac28e9b3a779e27bd63d6e10ec4773e443475ca63183e9578a7d575c04c060912b9ee811a2101643670e3005d85cb52 SHA512 9797b471690cbbfd95d9288c9de6a85fc861a5ed56d728e95d7b97ecf79d73c904d5c42fc9021a0ae8950419a2ed5ad730562cf3694144b1772f2437dc1ac2bb diff --git a/games-engines/fheroes2/fheroes2-1.1.4.ebuild b/games-engines/fheroes2/fheroes2-1.1.4.ebuild deleted file mode 100644 index 20ce7e8e3312.. --- a/games-engines/fheroes2/fheroes2-1.1.4.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -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" -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 - 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 - 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" -}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 3d01494c7c16da9f8ecb23d334b4de363cf9d6e6 Author: Alexey Sokolov asokolov org> AuthorDate: Mon Dec 30 14:31:12 2024 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Jan 24 06:51:58 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d01494c games-engines/fheroes2: add 1.1.5 Signed-off-by: Alexey Sokolov asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/39907 Signed-off-by: Joonas Niilola gentoo.org> games-engines/fheroes2/Manifest | 1 + games-engines/fheroes2/fheroes2-1.1.5.ebuild | 81 2 files changed, 82 insertions(+) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index ee00ea10df11..b8957f534bd0 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1 +1,2 @@ DIST fheroes2-1.1.4.tar.gz 12281692 BLAKE2B 4e00ec08a77d65288f910265c809a7a2d6d952a8785fa0dd266920af8761293392c23dee42b06da065b1cd1999152862c55e28cf4c05c89590f47f41750fbf8b SHA512 eba0c4ba8ba38cb94e972bae6dc4e41a7794c94f9431052cd443f1cf393a340bae98a1a9a06141b9b7afca148c9236c477d7b79ec661f1bc9962b2a221f91b01 +DIST fheroes2-1.1.5.tar.gz 12304099 BLAKE2B 0d2dd4e0b0e72799a8ae508f5dec49b73ac28e9b3a779e27bd63d6e10ec4773e443475ca63183e9578a7d575c04c060912b9ee811a2101643670e3005d85cb52 SHA512 9797b471690cbbfd95d9288c9de6a85fc861a5ed56d728e95d7b97ecf79d73c904d5c42fc9021a0ae8950419a2ed5ad730562cf3694144b1772f2437dc1ac2bb diff --git a/games-engines/fheroes2/fheroes2-1.1.5.ebuild b/games-engines/fheroes2/fheroes2-1.1.5.ebuild new file mode 100644 index ..cb4c297bc901 --- /dev/null +++ b/games-engines/fheroes2/fheroes2-1.1.5.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +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" +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 + 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 + 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" +}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: e2b80d1880a652f42c17682960f51900269339d6 Author: Alexey Sokolov asokolov org> AuthorDate: Fri Nov 29 00:03:25 2024 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Dec 6 23:27:26 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2b80d18 games-engines/fheroes2: add 1.1.4 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: James Le Cuirot gentoo.org> games-engines/fheroes2/Manifest | 1 + games-engines/fheroes2/fheroes2-1.1.4.ebuild | 81 2 files changed, 82 insertions(+) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 3e3b03e8874b..891d0f86982b 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1 +1,2 @@ DIST fheroes2-1.1.3.tar.gz 12247780 BLAKE2B 28252ba6ccb5d4fbce1dfa4a456a64a8fbb5f763602ed0e1c1a20bebfae659ab694085bbb7ffcf79396b54bd2bba94fe00b92064756094ce20fe74808fc09eec SHA512 56ce526f265b7995a8ee2e964937802b284b8df56298f2e755b93ce3f52f1ba6d5265ecc3d33ed020bff06707c5dd55a8057e1c9e3de9f241f6edae397220b1d +DIST fheroes2-1.1.4.tar.gz 12281692 BLAKE2B 4e00ec08a77d65288f910265c809a7a2d6d952a8785fa0dd266920af8761293392c23dee42b06da065b1cd1999152862c55e28cf4c05c89590f47f41750fbf8b SHA512 eba0c4ba8ba38cb94e972bae6dc4e41a7794c94f9431052cd443f1cf393a340bae98a1a9a06141b9b7afca148c9236c477d7b79ec661f1bc9962b2a221f91b01 diff --git a/games-engines/fheroes2/fheroes2-1.1.4.ebuild b/games-engines/fheroes2/fheroes2-1.1.4.ebuild new file mode 100644 index ..20ce7e8e3312 --- /dev/null +++ b/games-engines/fheroes2/fheroes2-1.1.4.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +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" +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 + 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 + 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" +}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 4a9500644e9291684673343cb9899ebc3de05563 Author: Alexey Sokolov asokolov org> AuthorDate: Fri Nov 29 00:04:15 2024 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Dec 6 23:27:27 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a950064 games-engines/fheroes2: drop 1.1.3 Signed-off-by: Alexey Sokolov asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/39514 Signed-off-by: James Le Cuirot gentoo.org> games-engines/fheroes2/Manifest | 1 - games-engines/fheroes2/fheroes2-1.1.3.ebuild | 81 2 files changed, 82 deletions(-) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 891d0f86982b..ee00ea10df11 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1,2 +1 @@ -DIST fheroes2-1.1.3.tar.gz 12247780 BLAKE2B 28252ba6ccb5d4fbce1dfa4a456a64a8fbb5f763602ed0e1c1a20bebfae659ab694085bbb7ffcf79396b54bd2bba94fe00b92064756094ce20fe74808fc09eec SHA512 56ce526f265b7995a8ee2e964937802b284b8df56298f2e755b93ce3f52f1ba6d5265ecc3d33ed020bff06707c5dd55a8057e1c9e3de9f241f6edae397220b1d DIST fheroes2-1.1.4.tar.gz 12281692 BLAKE2B 4e00ec08a77d65288f910265c809a7a2d6d952a8785fa0dd266920af8761293392c23dee42b06da065b1cd1999152862c55e28cf4c05c89590f47f41750fbf8b SHA512 eba0c4ba8ba38cb94e972bae6dc4e41a7794c94f9431052cd443f1cf393a340bae98a1a9a06141b9b7afca148c9236c477d7b79ec661f1bc9962b2a221f91b01 diff --git a/games-engines/fheroes2/fheroes2-1.1.3.ebuild b/games-engines/fheroes2/fheroes2-1.1.3.ebuild deleted file mode 100644 index 20ce7e8e3312.. --- a/games-engines/fheroes2/fheroes2-1.1.3.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -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" -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 - 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 - 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" -}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 7e77c4de46140ca91d0eb066484fd9add48cbd6c Author: Alexey Sokolov asokolov org> AuthorDate: Thu Oct 24 14:17:34 2024 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Oct 25 20:56:51 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e77c4de games-engines/fheroes2: add 1.1.3 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: James Le Cuirot gentoo.org> games-engines/fheroes2/Manifest | 1 + games-engines/fheroes2/fheroes2-1.1.3.ebuild | 81 2 files changed, 82 insertions(+) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index c80f7a29d9e0..8435bb3136f0 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1 +1,2 @@ DIST fheroes2-1.1.2.tar.gz 12226373 BLAKE2B 191710016c9b32b748315a548fe6309012917d690625b968b2f30afae50507eb736ef6dab4f71c3dae9e1d14b69e93fa0ae0a7cc8770f81e6a8d09e390117a3a SHA512 31bb63f4a8a7a58894ae0f5e28bb1cae0745a5cee475aa78eded20ad8c39fe6fb23bea3596215167fe042405509b08691234ec4a51a2a8367386a88b3e664659 +DIST fheroes2-1.1.3.tar.gz 12247780 BLAKE2B 28252ba6ccb5d4fbce1dfa4a456a64a8fbb5f763602ed0e1c1a20bebfae659ab694085bbb7ffcf79396b54bd2bba94fe00b92064756094ce20fe74808fc09eec SHA512 56ce526f265b7995a8ee2e964937802b284b8df56298f2e755b93ce3f52f1ba6d5265ecc3d33ed020bff06707c5dd55a8057e1c9e3de9f241f6edae397220b1d diff --git a/games-engines/fheroes2/fheroes2-1.1.3.ebuild b/games-engines/fheroes2/fheroes2-1.1.3.ebuild new file mode 100644 index ..20ce7e8e3312 --- /dev/null +++ b/games-engines/fheroes2/fheroes2-1.1.3.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +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" +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 + 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 + 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" +}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 2f8c3fa9d1fedbdd71027344d02ea41371956ca4 Author: Alexey Sokolov asokolov org> AuthorDate: Thu Oct 24 14:17:56 2024 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Oct 25 20:56:55 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f8c3fa9 games-engines/fheroes2: drop 1.1.2-r1 Signed-off-by: Alexey Sokolov asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/39097 Signed-off-by: James Le Cuirot gentoo.org> games-engines/fheroes2/Manifest | 1 - games-engines/fheroes2/fheroes2-1.1.2-r1.ebuild | 81 - 2 files changed, 82 deletions(-) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 8435bb3136f0..3e3b03e8874b 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1,2 +1 @@ -DIST fheroes2-1.1.2.tar.gz 12226373 BLAKE2B 191710016c9b32b748315a548fe6309012917d690625b968b2f30afae50507eb736ef6dab4f71c3dae9e1d14b69e93fa0ae0a7cc8770f81e6a8d09e390117a3a SHA512 31bb63f4a8a7a58894ae0f5e28bb1cae0745a5cee475aa78eded20ad8c39fe6fb23bea3596215167fe042405509b08691234ec4a51a2a8367386a88b3e664659 DIST fheroes2-1.1.3.tar.gz 12247780 BLAKE2B 28252ba6ccb5d4fbce1dfa4a456a64a8fbb5f763602ed0e1c1a20bebfae659ab694085bbb7ffcf79396b54bd2bba94fe00b92064756094ce20fe74808fc09eec SHA512 56ce526f265b7995a8ee2e964937802b284b8df56298f2e755b93ce3f52f1ba6d5265ecc3d33ed020bff06707c5dd55a8057e1c9e3de9f241f6edae397220b1d diff --git a/games-engines/fheroes2/fheroes2-1.1.2-r1.ebuild b/games-engines/fheroes2/fheroes2-1.1.2-r1.ebuild deleted file mode 100644 index 20ce7e8e3312.. --- a/games-engines/fheroes2/fheroes2-1.1.2-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -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" -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 - 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 - 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" -}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 92b3cfc8121ef6d468f209333cd5ee89979d4622 Author: Alexey Sokolov asokolov org> AuthorDate: Sun Oct 13 07:33:28 2024 + Commit: James Le Cuirot gentoo org> CommitDate: Sun Oct 13 09:37:39 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92b3cfc8 games-engines/fheroes2: drop 1.1.1 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: James Le Cuirot gentoo.org> games-engines/fheroes2/Manifest | 1 - games-engines/fheroes2/fheroes2-1.1.1.ebuild | 76 2 files changed, 77 deletions(-) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 3378b940ebb7..c80f7a29d9e0 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1,2 +1 @@ -DIST fheroes2-1.1.1.tar.gz 12212585 BLAKE2B 0adc66e83c86c0b0535ad4dead0dc8157dbf69b683e2f1d0ef737bff6b3780bd9ed09bd99a4a168a6f8bd8fdf2672b8f2cfd06bf739b53222510673189572a28 SHA512 08aceb978516eb747f13b0c4e442786a9a818120e077de6d6921b6fb7e44c440b94447d36c7c735d3670656259b49eac6965656352590d58572756ed7990 DIST fheroes2-1.1.2.tar.gz 12226373 BLAKE2B 191710016c9b32b748315a548fe6309012917d690625b968b2f30afae50507eb736ef6dab4f71c3dae9e1d14b69e93fa0ae0a7cc8770f81e6a8d09e390117a3a SHA512 31bb63f4a8a7a58894ae0f5e28bb1cae0745a5cee475aa78eded20ad8c39fe6fb23bea3596215167fe042405509b08691234ec4a51a2a8367386a88b3e664659 diff --git a/games-engines/fheroes2/fheroes2-1.1.1.ebuild b/games-engines/fheroes2/fheroes2-1.1.1.ebuild deleted file mode 100644 index c54e921e38d6.. --- a/games-engines/fheroes2/fheroes2-1.1.1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2024 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 ~ppc64" -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" -}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 7f09b76558b7f1456a4a9ce5df04f3567c808a15 Author: Alexey Sokolov asokolov org> AuthorDate: Sun Oct 13 07:34:15 2024 + Commit: James Le Cuirot gentoo org> CommitDate: Sun Oct 13 09:37:42 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f09b765 games-engines/fheroes2: stop depending on python directly Closes: https://bugs.gentoo.org/941434 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: James Le Cuirot gentoo.org> games-engines/fheroes2/fheroes2-1.1.2-r1.ebuild | 81 + 1 file changed, 81 insertions(+) diff --git a/games-engines/fheroes2/fheroes2-1.1.2-r1.ebuild b/games-engines/fheroes2/fheroes2-1.1.2-r1.ebuild new file mode 100644 index ..20ce7e8e3312 --- /dev/null +++ b/games-engines/fheroes2/fheroes2-1.1.2-r1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +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" +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 + 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 + 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" +}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 0298266406d9113f8d8b4a6f9ec30fd7a8beb038 Author: Alexey Sokolov asokolov org> AuthorDate: Sun Oct 13 07:34:39 2024 + Commit: James Le Cuirot gentoo org> CommitDate: Sun Oct 13 09:37:44 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02982664 games-engines/fheroes2: drop 1.1.2 Signed-off-by: Alexey Sokolov asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/38968 Signed-off-by: James Le Cuirot gentoo.org> games-engines/fheroes2/fheroes2-1.1.2.ebuild | 82 1 file changed, 82 deletions(-) diff --git a/games-engines/fheroes2/fheroes2-1.1.2.ebuild b/games-engines/fheroes2/fheroes2-1.1.2.ebuild deleted file mode 100644 index 193d6d4fc211.. --- a/games-engines/fheroes2/fheroes2-1.1.2.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -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" -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_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 - 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" -}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 7bce0c718cdd2d553de54e1822a817093d09e17c Author: Alexey Sokolov asokolov org> AuthorDate: Sun Sep 15 12:56:58 2024 + Commit: Matt Jolly gentoo org> CommitDate: Mon Sep 30 10:20:39 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bce0c71 games-engines/fheroes2: add 1.1.2 Signed-off-by: Alexey Sokolov asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/38615 Signed-off-by: Matt Jolly gentoo.org> games-engines/fheroes2/Manifest | 1 + games-engines/fheroes2/fheroes2-1.1.2.ebuild | 82 2 files changed, 83 insertions(+) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 07b0decafc5c..3378b940ebb7 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1 +1,2 @@ DIST fheroes2-1.1.1.tar.gz 12212585 BLAKE2B 0adc66e83c86c0b0535ad4dead0dc8157dbf69b683e2f1d0ef737bff6b3780bd9ed09bd99a4a168a6f8bd8fdf2672b8f2cfd06bf739b53222510673189572a28 SHA512 08aceb978516eb747f13b0c4e442786a9a818120e077de6d6921b6fb7e44c440b94447d36c7c735d3670656259b49eac6965656352590d58572756ed7990 +DIST fheroes2-1.1.2.tar.gz 12226373 BLAKE2B 191710016c9b32b748315a548fe6309012917d690625b968b2f30afae50507eb736ef6dab4f71c3dae9e1d14b69e93fa0ae0a7cc8770f81e6a8d09e390117a3a SHA512 31bb63f4a8a7a58894ae0f5e28bb1cae0745a5cee475aa78eded20ad8c39fe6fb23bea3596215167fe042405509b08691234ec4a51a2a8367386a88b3e664659 diff --git a/games-engines/fheroes2/fheroes2-1.1.2.ebuild b/games-engines/fheroes2/fheroes2-1.1.2.ebuild new file mode 100644 index ..193d6d4fc211 --- /dev/null +++ b/games-engines/fheroes2/fheroes2-1.1.2.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +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" +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_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 + 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" +}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: de8b8298a0223a78ac51188e9d619537d5132ce9 Author: Alexey Sokolov asokolov org> AuthorDate: Wed Jul 24 09:34:56 2024 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Aug 2 21:55:01 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de8b8298 games-engines/fheroes2: add 1.1.1 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: James Le Cuirot gentoo.org> games-engines/fheroes2/Manifest | 1 + games-engines/fheroes2/fheroes2-1.1.1.ebuild | 76 2 files changed, 77 insertions(+) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 443a74152169..7c7ddaa0f123 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1 +1,2 @@ DIST fheroes2-1.1.0.tar.gz 12165311 BLAKE2B 11702a2c98ad4aae331ee4ec5c45e25ffcfd9c63bba9078b60f620204c7a32addc36bf2959c98d1be2ed0c7f4b16ea8143329d6d9280f2f24b8c2657c4a37cc1 SHA512 a02a897074b4cc4b2b1f32854e162baa38c120e1211c28c12487cbff649171d60ef509aa55a838ac8239959c8d48bca1dff6629eaf2bba048623f5345f0b2ce3 +DIST fheroes2-1.1.1.tar.gz 12212585 BLAKE2B 0adc66e83c86c0b0535ad4dead0dc8157dbf69b683e2f1d0ef737bff6b3780bd9ed09bd99a4a168a6f8bd8fdf2672b8f2cfd06bf739b53222510673189572a28 SHA512 08aceb978516eb747f13b0c4e442786a9a818120e077de6d6921b6fb7e44c440b94447d36c7c735d3670656259b49eac6965656352590d58572756ed7990 diff --git a/games-engines/fheroes2/fheroes2-1.1.1.ebuild b/games-engines/fheroes2/fheroes2-1.1.1.ebuild new file mode 100644 index ..c54e921e38d6 --- /dev/null +++ b/games-engines/fheroes2/fheroes2-1.1.1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 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 ~ppc64" +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" +}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 6fb1511c666b7c8bff33d0d78f9af31e550116a2 Author: Alexey Sokolov asokolov org> AuthorDate: Wed Jul 24 09:36:08 2024 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Aug 2 21:55:04 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fb1511c games-engines/fheroes2: drop 1.1.0 Signed-off-by: Alexey Sokolov asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/37701 Signed-off-by: James Le Cuirot gentoo.org> games-engines/fheroes2/Manifest | 1 - games-engines/fheroes2/fheroes2-1.1.0.ebuild | 76 2 files changed, 77 deletions(-) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 7c7ddaa0f123..07b0decafc5c 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1,2 +1 @@ -DIST fheroes2-1.1.0.tar.gz 12165311 BLAKE2B 11702a2c98ad4aae331ee4ec5c45e25ffcfd9c63bba9078b60f620204c7a32addc36bf2959c98d1be2ed0c7f4b16ea8143329d6d9280f2f24b8c2657c4a37cc1 SHA512 a02a897074b4cc4b2b1f32854e162baa38c120e1211c28c12487cbff649171d60ef509aa55a838ac8239959c8d48bca1dff6629eaf2bba048623f5345f0b2ce3 DIST fheroes2-1.1.1.tar.gz 12212585 BLAKE2B 0adc66e83c86c0b0535ad4dead0dc8157dbf69b683e2f1d0ef737bff6b3780bd9ed09bd99a4a168a6f8bd8fdf2672b8f2cfd06bf739b53222510673189572a28 SHA512 08aceb978516eb747f13b0c4e442786a9a818120e077de6d6921b6fb7e44c440b94447d36c7c735d3670656259b49eac6965656352590d58572756ed7990 diff --git a/games-engines/fheroes2/fheroes2-1.1.0.ebuild b/games-engines/fheroes2/fheroes2-1.1.0.ebuild deleted file mode 100644 index c54e921e38d6.. --- a/games-engines/fheroes2/fheroes2-1.1.0.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2024 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 ~ppc64" -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" -}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 521ca9c519c9c69113f7d6a849fb99fff3ae9a30 Author: Alexey Sokolov asokolov org> AuthorDate: Wed May 22 22:00:30 2024 + Commit: James Le Cuirot gentoo org> CommitDate: Thu May 23 21:02:27 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=521ca9c5 games-engines/fheroes2: drop 1.0.13 Signed-off-by: Alexey Sokolov asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/36781 Signed-off-by: James Le Cuirot gentoo.org> games-engines/fheroes2/Manifest | 1 - games-engines/fheroes2/fheroes2-1.0.13.ebuild | 76 --- 2 files changed, 77 deletions(-) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 9aa09443ab8f..443a74152169 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1,2 +1 @@ -DIST fheroes2-1.0.13.tar.gz 11988273 BLAKE2B ff4cdde0e22a239d9c596d846d801facbf762b4d47d5778799697471ef2437ab73a5e2024c29d6705615f6bb58519b4fdc1368ce517f4ef5fdc4202fa464 SHA512 989b71ad6f217c5283441392e5a4bdee8b49d07261dba05372e185dbee239f4bb7b75290ca0b86fbf3dbf98edfaaca6234adc7e0483495ea799bf1636af3f6bc DIST fheroes2-1.1.0.tar.gz 12165311 BLAKE2B 11702a2c98ad4aae331ee4ec5c45e25ffcfd9c63bba9078b60f620204c7a32addc36bf2959c98d1be2ed0c7f4b16ea8143329d6d9280f2f24b8c2657c4a37cc1 SHA512 a02a897074b4cc4b2b1f32854e162baa38c120e1211c28c12487cbff649171d60ef509aa55a838ac8239959c8d48bca1dff6629eaf2bba048623f5345f0b2ce3 diff --git a/games-engines/fheroes2/fheroes2-1.0.13.ebuild b/games-engines/fheroes2/fheroes2-1.0.13.ebuild deleted file mode 100644 index c54e921e38d6.. --- a/games-engines/fheroes2/fheroes2-1.0.13.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2024 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 ~ppc64" -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" -}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: f78055a8b9d014b9a24e3fd50735f6dc1ffd2439 Author: Alexey Sokolov asokolov org> AuthorDate: Wed May 22 21:59:39 2024 + Commit: James Le Cuirot gentoo org> CommitDate: Thu May 23 21:02:26 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f78055a8 games-engines/fheroes2: add 1.1.0 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: James Le Cuirot gentoo.org> games-engines/fheroes2/Manifest | 1 + games-engines/fheroes2/fheroes2-1.1.0.ebuild | 76 2 files changed, 77 insertions(+) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 5989103d4657..9aa09443ab8f 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1 +1,2 @@ DIST fheroes2-1.0.13.tar.gz 11988273 BLAKE2B ff4cdde0e22a239d9c596d846d801facbf762b4d47d5778799697471ef2437ab73a5e2024c29d6705615f6bb58519b4fdc1368ce517f4ef5fdc4202fa464 SHA512 989b71ad6f217c5283441392e5a4bdee8b49d07261dba05372e185dbee239f4bb7b75290ca0b86fbf3dbf98edfaaca6234adc7e0483495ea799bf1636af3f6bc +DIST fheroes2-1.1.0.tar.gz 12165311 BLAKE2B 11702a2c98ad4aae331ee4ec5c45e25ffcfd9c63bba9078b60f620204c7a32addc36bf2959c98d1be2ed0c7f4b16ea8143329d6d9280f2f24b8c2657c4a37cc1 SHA512 a02a897074b4cc4b2b1f32854e162baa38c120e1211c28c12487cbff649171d60ef509aa55a838ac8239959c8d48bca1dff6629eaf2bba048623f5345f0b2ce3 diff --git a/games-engines/fheroes2/fheroes2-1.1.0.ebuild b/games-engines/fheroes2/fheroes2-1.1.0.ebuild new file mode 100644 index ..c54e921e38d6 --- /dev/null +++ b/games-engines/fheroes2/fheroes2-1.1.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 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 ~ppc64" +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" +}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: b3492fef77680bfa9b06cba2640ec0f9e8a73a6a Author: Alexey Sokolov asokolov org> AuthorDate: Sun Mar 17 00:55:59 2024 + Commit: James Le Cuirot gentoo org> CommitDate: Mon Mar 25 21:42:52 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3492fef games-engines/fheroes2: drop 1.0.12 Signed-off-by: Alexey Sokolov asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/35793 Signed-off-by: James Le Cuirot gentoo.org> games-engines/fheroes2/Manifest | 1 - games-engines/fheroes2/fheroes2-1.0.12.ebuild | 76 --- 2 files changed, 77 deletions(-) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 8475bbb9c346..5989103d4657 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1,2 +1 @@ -DIST fheroes2-1.0.12.tar.gz 11949016 BLAKE2B 9f45456a6ac08bc237a04a78b0b8ee8a5effd87ead8d27496c590e10af58fb92be4100deaa1c0df74adc14b0c61c8d6a0e8534ba0178821e8d79c29723eec409 SHA512 365bd34edc2863563ea29f27f1147a7921e703b1277e09a061f1e86b8c783f95eeb4618dafad825fff29620ff6216aa07deb2ae028410b0326cebad68f47c3db DIST fheroes2-1.0.13.tar.gz 11988273 BLAKE2B ff4cdde0e22a239d9c596d846d801facbf762b4d47d5778799697471ef2437ab73a5e2024c29d6705615f6bb58519b4fdc1368ce517f4ef5fdc4202fa464 SHA512 989b71ad6f217c5283441392e5a4bdee8b49d07261dba05372e185dbee239f4bb7b75290ca0b86fbf3dbf98edfaaca6234adc7e0483495ea799bf1636af3f6bc diff --git a/games-engines/fheroes2/fheroes2-1.0.12.ebuild b/games-engines/fheroes2/fheroes2-1.0.12.ebuild deleted file mode 100644 index c54e921e38d6.. --- a/games-engines/fheroes2/fheroes2-1.0.12.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2024 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 ~ppc64" -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" -}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: bd2a1d3e48eaeebb023a91173b169e8db3cd9952 Author: Alexey Sokolov asokolov org> AuthorDate: Sat Mar 16 20:47:49 2024 + Commit: James Le Cuirot gentoo org> CommitDate: Mon Mar 25 21:42:49 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd2a1d3e games-engines/fheroes2: add 1.0.13 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: James Le Cuirot gentoo.org> games-engines/fheroes2/Manifest | 1 + games-engines/fheroes2/fheroes2-1.0.13.ebuild | 76 +++ 2 files changed, 77 insertions(+) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 6636630d62fa..8475bbb9c346 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1 +1,2 @@ DIST fheroes2-1.0.12.tar.gz 11949016 BLAKE2B 9f45456a6ac08bc237a04a78b0b8ee8a5effd87ead8d27496c590e10af58fb92be4100deaa1c0df74adc14b0c61c8d6a0e8534ba0178821e8d79c29723eec409 SHA512 365bd34edc2863563ea29f27f1147a7921e703b1277e09a061f1e86b8c783f95eeb4618dafad825fff29620ff6216aa07deb2ae028410b0326cebad68f47c3db +DIST fheroes2-1.0.13.tar.gz 11988273 BLAKE2B ff4cdde0e22a239d9c596d846d801facbf762b4d47d5778799697471ef2437ab73a5e2024c29d6705615f6bb58519b4fdc1368ce517f4ef5fdc4202fa464 SHA512 989b71ad6f217c5283441392e5a4bdee8b49d07261dba05372e185dbee239f4bb7b75290ca0b86fbf3dbf98edfaaca6234adc7e0483495ea799bf1636af3f6bc diff --git a/games-engines/fheroes2/fheroes2-1.0.13.ebuild b/games-engines/fheroes2/fheroes2-1.0.13.ebuild new file mode 100644 index ..c54e921e38d6 --- /dev/null +++ b/games-engines/fheroes2/fheroes2-1.0.13.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 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 ~ppc64" +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" +}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 6300227c1acc6f8397970586926974256e182072 Author: Alexey Sokolov asokolov org> AuthorDate: Sun Feb 11 00:03:50 2024 + Commit: James Le Cuirot gentoo org> CommitDate: Mon Mar 4 21:47:04 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6300227c games-engines/fheroes2: add 1.0.12 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: James Le Cuirot gentoo.org> games-engines/fheroes2/Manifest | 1 + games-engines/fheroes2/fheroes2-1.0.12.ebuild | 76 +++ 2 files changed, 77 insertions(+) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 12a94ff38e60..9fd62e581837 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1 +1,2 @@ DIST fheroes2-1.0.11.tar.gz 11881704 BLAKE2B cc594f519f3e9b83685365faafd30864fb899bf8509eb754c8d8d9a363b3cd23ba6fd10c8ff2df61fcc16ab964581ac801a4b4cb0afc7a566efa74d7aa39268e SHA512 eef909cf612a314d39a01a0c6b401a79cf1f418d2ddec16ad417a769242be67e9d5d14afcd4e1f908b4a86357ae1cb3cb6fca07d78d9d592958ba1db13288e34 +DIST fheroes2-1.0.12.tar.gz 11949016 BLAKE2B 9f45456a6ac08bc237a04a78b0b8ee8a5effd87ead8d27496c590e10af58fb92be4100deaa1c0df74adc14b0c61c8d6a0e8534ba0178821e8d79c29723eec409 SHA512 365bd34edc2863563ea29f27f1147a7921e703b1277e09a061f1e86b8c783f95eeb4618dafad825fff29620ff6216aa07deb2ae028410b0326cebad68f47c3db diff --git a/games-engines/fheroes2/fheroes2-1.0.12.ebuild b/games-engines/fheroes2/fheroes2-1.0.12.ebuild new file mode 100644 index ..c54e921e38d6 --- /dev/null +++ b/games-engines/fheroes2/fheroes2-1.0.12.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 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 ~ppc64" +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" +}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 5e0fe712fe8f0ba43a85c8e28538203fecbf6971 Author: Alexey Sokolov asokolov org> AuthorDate: Sun Feb 11 00:04:08 2024 + Commit: James Le Cuirot gentoo org> CommitDate: Mon Mar 4 21:47:07 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e0fe712 games-engines/fheroes2: drop 1.0.11 Signed-off-by: Alexey Sokolov asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/35266 Signed-off-by: James Le Cuirot gentoo.org> games-engines/fheroes2/Manifest | 1 - games-engines/fheroes2/fheroes2-1.0.11.ebuild | 76 --- 2 files changed, 77 deletions(-) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 9fd62e581837..6636630d62fa 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1,2 +1 @@ -DIST fheroes2-1.0.11.tar.gz 11881704 BLAKE2B cc594f519f3e9b83685365faafd30864fb899bf8509eb754c8d8d9a363b3cd23ba6fd10c8ff2df61fcc16ab964581ac801a4b4cb0afc7a566efa74d7aa39268e SHA512 eef909cf612a314d39a01a0c6b401a79cf1f418d2ddec16ad417a769242be67e9d5d14afcd4e1f908b4a86357ae1cb3cb6fca07d78d9d592958ba1db13288e34 DIST fheroes2-1.0.12.tar.gz 11949016 BLAKE2B 9f45456a6ac08bc237a04a78b0b8ee8a5effd87ead8d27496c590e10af58fb92be4100deaa1c0df74adc14b0c61c8d6a0e8534ba0178821e8d79c29723eec409 SHA512 365bd34edc2863563ea29f27f1147a7921e703b1277e09a061f1e86b8c783f95eeb4618dafad825fff29620ff6216aa07deb2ae028410b0326cebad68f47c3db diff --git a/games-engines/fheroes2/fheroes2-1.0.11.ebuild b/games-engines/fheroes2/fheroes2-1.0.11.ebuild deleted file mode 100644 index c54e921e38d6.. --- a/games-engines/fheroes2/fheroes2-1.0.11.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2024 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 ~ppc64" -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" -}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 66677539ec1ba23374f7d0ef4db71df1083d8a19 Author: Alexey Sokolov asokolov org> AuthorDate: Sat Dec 23 17:07:22 2023 + Commit: Joonas Niilola gentoo org> CommitDate: Wed Jan 10 07:11:33 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66677539 games-engines/fheroes2: add 1.0.11 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: Joonas Niilola gentoo.org> games-engines/fheroes2/Manifest | 1 + games-engines/fheroes2/fheroes2-1.0.11.ebuild | 76 +++ 2 files changed, 77 insertions(+) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index c2a4f889d18d..e83860fde1d3 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1 +1,2 @@ DIST fheroes2-1.0.10.tar.gz 11810559 BLAKE2B 32e65a0763fc1b007152316e4453f818fb098f271e7038e18c7219221f3df64bb51e1b76086fa087d102dcd85bdf0e322bad6c5880fa86f235ebafbaf5d6155e SHA512 2510c5756b2a3c17b4eb560fb0d2bad900e9c268545f726a4f008a3153c9a6e9abb23c3586bb780cea65cfef3f3b05fe739cb717b30564d8cb886194effe2ec2 +DIST fheroes2-1.0.11.tar.gz 11881704 BLAKE2B cc594f519f3e9b83685365faafd30864fb899bf8509eb754c8d8d9a363b3cd23ba6fd10c8ff2df61fcc16ab964581ac801a4b4cb0afc7a566efa74d7aa39268e SHA512 eef909cf612a314d39a01a0c6b401a79cf1f418d2ddec16ad417a769242be67e9d5d14afcd4e1f908b4a86357ae1cb3cb6fca07d78d9d592958ba1db13288e34 diff --git a/games-engines/fheroes2/fheroes2-1.0.11.ebuild b/games-engines/fheroes2/fheroes2-1.0.11.ebuild new file mode 100644 index ..c54e921e38d6 --- /dev/null +++ b/games-engines/fheroes2/fheroes2-1.0.11.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 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 ~ppc64" +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" +}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 98b159d86e1d2225a9177e076e4347457db8 Author: Alexey Sokolov asokolov org> AuthorDate: Sat Dec 23 17:07:40 2023 + Commit: Joonas Niilola gentoo org> CommitDate: Wed Jan 10 07:11:34 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98b159d8 games-engines/fheroes2: drop 1.0.10 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: Joonas Niilola gentoo.org> games-engines/fheroes2/Manifest | 1 - games-engines/fheroes2/fheroes2-1.0.10.ebuild | 76 --- 2 files changed, 77 deletions(-) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index e83860fde1d3..12a94ff38e60 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1,2 +1 @@ -DIST fheroes2-1.0.10.tar.gz 11810559 BLAKE2B 32e65a0763fc1b007152316e4453f818fb098f271e7038e18c7219221f3df64bb51e1b76086fa087d102dcd85bdf0e322bad6c5880fa86f235ebafbaf5d6155e SHA512 2510c5756b2a3c17b4eb560fb0d2bad900e9c268545f726a4f008a3153c9a6e9abb23c3586bb780cea65cfef3f3b05fe739cb717b30564d8cb886194effe2ec2 DIST fheroes2-1.0.11.tar.gz 11881704 BLAKE2B cc594f519f3e9b83685365faafd30864fb899bf8509eb754c8d8d9a363b3cd23ba6fd10c8ff2df61fcc16ab964581ac801a4b4cb0afc7a566efa74d7aa39268e SHA512 eef909cf612a314d39a01a0c6b401a79cf1f418d2ddec16ad417a769242be67e9d5d14afcd4e1f908b4a86357ae1cb3cb6fca07d78d9d592958ba1db13288e34 diff --git a/games-engines/fheroes2/fheroes2-1.0.10.ebuild b/games-engines/fheroes2/fheroes2-1.0.10.ebuild deleted file mode 100644 index 58080ed9163f.. --- a/games-engines/fheroes2/fheroes2-1.0.10.ebuild +++ /dev/null @@ -1,76 +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 ~ppc64" -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" -}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 8000446531b5ee1aa845243df463d70ca03ad456 Author: Alexey Sokolov asokolov org> AuthorDate: Sat Nov 18 09:42:49 2023 + Commit: James Le Cuirot gentoo org> CommitDate: Sat Dec 2 21:26:45 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80004465 games-engines/fheroes2: add 1.0.10 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: James Le Cuirot gentoo.org> games-engines/fheroes2/Manifest | 1 + games-engines/fheroes2/fheroes2-1.0.10.ebuild | 76 +++ 2 files changed, 77 insertions(+) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 82ab0843ec58..8c4d787f6d3e 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1 +1,2 @@ +DIST fheroes2-1.0.10.tar.gz 11810559 BLAKE2B 32e65a0763fc1b007152316e4453f818fb098f271e7038e18c7219221f3df64bb51e1b76086fa087d102dcd85bdf0e322bad6c5880fa86f235ebafbaf5d6155e SHA512 2510c5756b2a3c17b4eb560fb0d2bad900e9c268545f726a4f008a3153c9a6e9abb23c3586bb780cea65cfef3f3b05fe739cb717b30564d8cb886194effe2ec2 DIST fheroes2-1.0.9.tar.gz 11784935 BLAKE2B 0c85725f791615eb1f823f38cfc03a98a73d71d1c0dedeac2146f62099c25ed37bbd44c9d121099934f99850ad408c13c1ea1b51f531a2cc37a56d01a0beb826 SHA512 eeb575345a6250d60ed8c37ec66deec4f5383557d8259a6422ace84520321316016494d0cd6e8d5b57123f946f3841fc215183c297c9acefe17caa3e94123ea7 diff --git a/games-engines/fheroes2/fheroes2-1.0.10.ebuild b/games-engines/fheroes2/fheroes2-1.0.10.ebuild new file mode 100644 index ..58080ed9163f --- /dev/null +++ b/games-engines/fheroes2/fheroes2-1.0.10.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 ~ppc64" +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" +}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 67988046318ce62f3b8b644b30822adafc717da3 Author: Alexey Sokolov asokolov org> AuthorDate: Sat Nov 18 09:43:03 2023 + Commit: James Le Cuirot gentoo org> CommitDate: Sat Dec 2 21:26:48 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67988046 games-engines/fheroes2: drop 1.0.9 Signed-off-by: Alexey Sokolov asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/33885 Signed-off-by: James Le Cuirot gentoo.org> games-engines/fheroes2/Manifest | 1 - games-engines/fheroes2/fheroes2-1.0.9.ebuild | 76 2 files changed, 77 deletions(-) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 8c4d787f6d3e..c2a4f889d18d 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1,2 +1 @@ DIST fheroes2-1.0.10.tar.gz 11810559 BLAKE2B 32e65a0763fc1b007152316e4453f818fb098f271e7038e18c7219221f3df64bb51e1b76086fa087d102dcd85bdf0e322bad6c5880fa86f235ebafbaf5d6155e SHA512 2510c5756b2a3c17b4eb560fb0d2bad900e9c268545f726a4f008a3153c9a6e9abb23c3586bb780cea65cfef3f3b05fe739cb717b30564d8cb886194effe2ec2 -DIST fheroes2-1.0.9.tar.gz 11784935 BLAKE2B 0c85725f791615eb1f823f38cfc03a98a73d71d1c0dedeac2146f62099c25ed37bbd44c9d121099934f99850ad408c13c1ea1b51f531a2cc37a56d01a0beb826 SHA512 eeb575345a6250d60ed8c37ec66deec4f5383557d8259a6422ace84520321316016494d0cd6e8d5b57123f946f3841fc215183c297c9acefe17caa3e94123ea7 diff --git a/games-engines/fheroes2/fheroes2-1.0.9.ebuild b/games-engines/fheroes2/fheroes2-1.0.9.ebuild deleted file mode 100644 index 58080ed9163f.. --- a/games-engines/fheroes2/fheroes2-1.0.9.ebuild +++ /dev/null @@ -1,76 +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 ~ppc64" -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" -}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: f295377ce15506b6b18872ed9c9506f1ba71967b Author: Alexey Sokolov asokolov org> AuthorDate: Mon Oct 16 17:36:05 2023 + Commit: Yixun Lan gentoo org> CommitDate: Tue Oct 17 05:23:58 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f295377c games-engines/fheroes2: drop 1.0.8 Closes: https://github.com/gentoo/gentoo/pull/33093 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: Yixun Lan gentoo.org> games-engines/fheroes2/Manifest | 1 - games-engines/fheroes2/fheroes2-1.0.8.ebuild | 76 2 files changed, 77 deletions(-) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 4ba114cb15d8..82ab0843ec58 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1,2 +1 @@ -DIST fheroes2-1.0.8.tar.gz 11757081 BLAKE2B 5448ab4b8379046d632ee8ee1be3207e4b2bd7a7a8f8c2744b2c95b909128d71a1247c8c30a903cc283df7de04e1e5b3a07bac98346b4ec444dff891aa50c028 SHA512 90c198249ecd321c0c69c2e9296364c4d6d566df374198837aa2c7811c21ecf49561342006bd76f948ed14831b22d6b7d36df1c9b46d93c0aeb48052510c588e DIST fheroes2-1.0.9.tar.gz 11784935 BLAKE2B 0c85725f791615eb1f823f38cfc03a98a73d71d1c0dedeac2146f62099c25ed37bbd44c9d121099934f99850ad408c13c1ea1b51f531a2cc37a56d01a0beb826 SHA512 eeb575345a6250d60ed8c37ec66deec4f5383557d8259a6422ace84520321316016494d0cd6e8d5b57123f946f3841fc215183c297c9acefe17caa3e94123ea7 diff --git a/games-engines/fheroes2/fheroes2-1.0.8.ebuild b/games-engines/fheroes2/fheroes2-1.0.8.ebuild deleted file mode 100644 index 58080ed9163f.. --- a/games-engines/fheroes2/fheroes2-1.0.8.ebuild +++ /dev/null @@ -1,76 +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 ~ppc64" -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" -}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 1b52ddd8a2557a6aa4de7aaa215ae5081c7c8851 Author: Alexey Sokolov asokolov org> AuthorDate: Mon Oct 16 17:35:48 2023 + Commit: Yixun Lan gentoo org> CommitDate: Tue Oct 17 05:23:55 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b52ddd8 games-engines/fheroes2: add 1.0.9 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: Yixun Lan gentoo.org> games-engines/fheroes2/Manifest | 1 + games-engines/fheroes2/fheroes2-1.0.9.ebuild | 76 2 files changed, 77 insertions(+) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 7af5d3cb2ddc..4ba114cb15d8 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1 +1,2 @@ DIST fheroes2-1.0.8.tar.gz 11757081 BLAKE2B 5448ab4b8379046d632ee8ee1be3207e4b2bd7a7a8f8c2744b2c95b909128d71a1247c8c30a903cc283df7de04e1e5b3a07bac98346b4ec444dff891aa50c028 SHA512 90c198249ecd321c0c69c2e9296364c4d6d566df374198837aa2c7811c21ecf49561342006bd76f948ed14831b22d6b7d36df1c9b46d93c0aeb48052510c588e +DIST fheroes2-1.0.9.tar.gz 11784935 BLAKE2B 0c85725f791615eb1f823f38cfc03a98a73d71d1c0dedeac2146f62099c25ed37bbd44c9d121099934f99850ad408c13c1ea1b51f531a2cc37a56d01a0beb826 SHA512 eeb575345a6250d60ed8c37ec66deec4f5383557d8259a6422ace84520321316016494d0cd6e8d5b57123f946f3841fc215183c297c9acefe17caa3e94123ea7 diff --git a/games-engines/fheroes2/fheroes2-1.0.9.ebuild b/games-engines/fheroes2/fheroes2-1.0.9.ebuild new file mode 100644 index ..58080ed9163f --- /dev/null +++ b/games-engines/fheroes2/fheroes2-1.0.9.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 ~ppc64" +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" +}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 0942c0e5cc9231dff80925dd5c876370c6a71c4c Author: Alexey Sokolov asokolov org> AuthorDate: Mon Sep 11 20:29:27 2023 + Commit: James Le Cuirot gentoo org> CommitDate: Mon Sep 11 22:34:42 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0942c0e5 games-engines/fheroes2: add 1.0.8 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: James Le Cuirot gentoo.org> games-engines/fheroes2/Manifest | 1 + games-engines/fheroes2/fheroes2-1.0.8.ebuild | 76 2 files changed, 77 insertions(+) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 22395c6b601f..1c86b0a01dd1 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1 +1,2 @@ DIST fheroes2-1.0.6.tar.gz 11611881 BLAKE2B b7219a1a843f4a08cfc9ade161e38b19dcb343fa6dc700568d2e38b984d2cd26c78d02b9792f7d893b0babcca7bf71a01d349bc3806136736d46768b048a8db2 SHA512 c42b2ded44b7d6e112de3e919044b6b7d69161cc8cf08198df88da42c7f77b2dcf9df9ea7b453def66902e85f42047c0375b093c8d2d91517acb42d1804e621b +DIST fheroes2-1.0.8.tar.gz 11757081 BLAKE2B 5448ab4b8379046d632ee8ee1be3207e4b2bd7a7a8f8c2744b2c95b909128d71a1247c8c30a903cc283df7de04e1e5b3a07bac98346b4ec444dff891aa50c028 SHA512 90c198249ecd321c0c69c2e9296364c4d6d566df374198837aa2c7811c21ecf49561342006bd76f948ed14831b22d6b7d36df1c9b46d93c0aeb48052510c588e 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 ..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" +}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 4a156ca310556e39707f1fae9de82d7aa68e2eae Author: Alexey Sokolov asokolov org> AuthorDate: Tue Aug 29 00:50:31 2023 + Commit: James Le Cuirot gentoo org> CommitDate: Mon Sep 11 22:34:45 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a156ca3 games-engines/fheroes2: drop 1.0.6 Signed-off-by: Alexey Sokolov asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/32503 Signed-off-by: James Le Cuirot gentoo.org> games-engines/fheroes2/Manifest | 1 - games-engines/fheroes2/fheroes2-1.0.6.ebuild | 77 2 files changed, 78 deletions(-) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 1c86b0a01dd1..7af5d3cb2ddc 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1,2 +1 @@ -DIST fheroes2-1.0.6.tar.gz 11611881 BLAKE2B b7219a1a843f4a08cfc9ade161e38b19dcb343fa6dc700568d2e38b984d2cd26c78d02b9792f7d893b0babcca7bf71a01d349bc3806136736d46768b048a8db2 SHA512 c42b2ded44b7d6e112de3e919044b6b7d69161cc8cf08198df88da42c7f77b2dcf9df9ea7b453def66902e85f42047c0375b093c8d2d91517acb42d1804e621b DIST fheroes2-1.0.8.tar.gz 11757081 BLAKE2B 5448ab4b8379046d632ee8ee1be3207e4b2bd7a7a8f8c2744b2c95b909128d71a1247c8c30a903cc283df7de04e1e5b3a07bac98346b4ec444dff891aa50c028 SHA512 90c198249ecd321c0c69c2e9296364c4d6d566df374198837aa2c7811c21ecf49561342006bd76f948ed14831b22d6b7d36df1c9b46d93c0aeb48052510c588e 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.. --- 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" -}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: ef539b1c8dd80254db54ed74c13ca31d4a9e6e64 Author: Joonas Niilola gentoo org> AuthorDate: Fri Aug 11 06:09:22 2023 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Aug 11 06:11:47 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef539b1c games-engines/fheroes2: disable py3.9 Signed-off-by: Joonas Niilola gentoo.org> games-engines/fheroes2/fheroes2-1.0.6.ebuild | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/games-engines/fheroes2/fheroes2-1.0.6.ebuild b/games-engines/fheroes2/fheroes2-1.0.6.ebuild index f58beedc9f5c..0481e2bc397d 100644 --- a/games-engines/fheroes2/fheroes2-1.0.6.ebuild +++ b/games-engines/fheroes2/fheroes2-1.0.6.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit cmake python-single-r1 xdg DESCRIPTION="Recreation of HoMM2 game engine" @@ -16,7 +16,7 @@ KEYWORDS="~amd64" IUSE="tools" REQUIRED_USE="${PYTHON_REQUIRED_USE}" -COMMON_DEPEND=" +DEPEND=" media-libs/libpng:= media-libs/libsdl2[video] media-libs/sdl2-image @@ -24,13 +24,12 @@ COMMON_DEPEND=" sys-libs/zlib " RDEPEND=" - ${COMMON_DEPEND} + ${DEPEND} ${PYTHON_DEPS} app-arch/libarchive dev-lang/python virtual/libintl " -DEPEND="${COMMON_DEPEND}" BDEPEND=" sys-devel/gettext virtual/pkgconfig
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/files/, games-engines/fheroes2/
commit: 16e78f6d6c609944edb91a530a38dcd8909f7a6f Author: Alexey Sokolov asokolov org> AuthorDate: Sat Jul 15 19:29:07 2023 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Aug 11 06:11:47 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16e78f6d games-engines/fheroes2: drop 1.0.5 Signed-off-by: Alexey Sokolov asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/31900 Signed-off-by: Joonas Niilola gentoo.org> games-engines/fheroes2/Manifest| 1 - games-engines/fheroes2/fheroes2-1.0.5.ebuild | 79 -- .../fheroes2/files/fheroes2-1.0.5-gettext.patch| 15 3 files changed, 95 deletions(-) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 11680cb1af94..22395c6b601f 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1,2 +1 @@ -DIST fheroes2-1.0.5.tar.gz 11570167 BLAKE2B 7294ae4a816ce0a42c035262cbc8d44fc53cfdaa1333934ac316607f7d086a44358fc13931e5dbce9b17ff65e58016efc57cd123747af30277bcf4c1bc195e1e SHA512 13f058319540fa9fa04955ff8a5f16a0113e791307d58c32025361c773757769306f632d2c6472ee6d0b704dc4c260a9c64954c19ba2e58ab21dc6744c3cdd3e DIST fheroes2-1.0.6.tar.gz 11611881 BLAKE2B b7219a1a843f4a08cfc9ade161e38b19dcb343fa6dc700568d2e38b984d2cd26c78d02b9792f7d893b0babcca7bf71a01d349bc3806136736d46768b048a8db2 SHA512 c42b2ded44b7d6e112de3e919044b6b7d69161cc8cf08198df88da42c7f77b2dcf9df9ea7b453def66902e85f42047c0375b093c8d2d91517acb42d1804e621b diff --git a/games-engines/fheroes2/fheroes2-1.0.5.ebuild b/games-engines/fheroes2/fheroes2-1.0.5.ebuild deleted file mode 100644 index 3aeb794a8d78.. --- a/games-engines/fheroes2/fheroes2-1.0.5.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..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}" - -COMMON_DEPEND=" - media-libs/libpng:= - media-libs/libsdl2[video] - media-libs/sdl2-image - media-libs/sdl2-mixer - sys-libs/zlib -" -RDEPEND=" - ${COMMON_DEPEND} - ${PYTHON_DEPS} - app-arch/libarchive - dev-lang/python - virtual/libintl -" -DEPEND="${COMMON_DEPEND}" -BDEPEND=" - sys-devel/gettext - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}/fheroes2-1.0.4-scripts.patch" - "${FILESDIR}/fheroes2-1.0.5-gettext.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/files/fheroes2-1.0.5-gettext.patch b/games-engines/fheroes2/files/fheroes2-1.0.5-gettext.patch deleted file mode 100644 index 20118037b779.. --- a/games-engines/fheroes2/files/fheroes2-1.0.5-gettext.patch +++ /dev/null @@ -1,15 +0,0 @@ -https://github.com/ihhub/fheroes2/commit/e55c33c1bc7ac1b8c2ffc6e4ca61ab47921ec1b1 -https://bugs.gentoo.org/908863 - a/files/lang/Makefile -+++ b/files/lang/Makefile -@@ -19,7 +19,8 @@ - ### - - ICONV = iconv --MSGFMT = sed -e '1,20 s/UTF-8/$(1)/' $< | $(ICONV) -f utf-8 -t $(1) | msgfmt - -o $@ -+# TODO: consider converting game fonts and texts to UTF-8 in the engine instead -+MSGFMT = sed -e '1,20 s/UTF-8/$(1)/' $< | $(ICONV) -f utf-8 -t $(1) | if msgfmt --help | grep -q no-convert >/dev/null 2>/dev/null; then msgfmt - -o $@ --no-convert; else msgfmt - -o $@; fi - - .PHONY: all clean merge -
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/
commit: 7a163cfc269706c5fd015aa6327842b380203850 Author: Alexey Sokolov asokolov org> AuthorDate: Sat Jul 15 19:28:45 2023 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Aug 11 06:11:47 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a163cfc games-engines/fheroes2: add 1.0.6 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: Joonas Niilola gentoo.org> games-engines/fheroes2/Manifest | 1 + games-engines/fheroes2/fheroes2-1.0.6.ebuild | 78 2 files changed, 79 insertions(+) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index a6c2ca02c945..11680cb1af94 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1 +1,2 @@ DIST fheroes2-1.0.5.tar.gz 11570167 BLAKE2B 7294ae4a816ce0a42c035262cbc8d44fc53cfdaa1333934ac316607f7d086a44358fc13931e5dbce9b17ff65e58016efc57cd123747af30277bcf4c1bc195e1e SHA512 13f058319540fa9fa04955ff8a5f16a0113e791307d58c32025361c773757769306f632d2c6472ee6d0b704dc4c260a9c64954c19ba2e58ab21dc6744c3cdd3e +DIST fheroes2-1.0.6.tar.gz 11611881 BLAKE2B b7219a1a843f4a08cfc9ade161e38b19dcb343fa6dc700568d2e38b984d2cd26c78d02b9792f7d893b0babcca7bf71a01d349bc3806136736d46768b048a8db2 SHA512 c42b2ded44b7d6e112de3e919044b6b7d69161cc8cf08198df88da42c7f77b2dcf9df9ea7b453def66902e85f42047c0375b093c8d2d91517acb42d1804e621b diff --git a/games-engines/fheroes2/fheroes2-1.0.6.ebuild b/games-engines/fheroes2/fheroes2-1.0.6.ebuild new file mode 100644 index ..f58beedc9f5c --- /dev/null +++ b/games-engines/fheroes2/fheroes2-1.0.6.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..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}" + +COMMON_DEPEND=" + media-libs/libpng:= + media-libs/libsdl2[video] + media-libs/sdl2-image + media-libs/sdl2-mixer + sys-libs/zlib +" +RDEPEND=" + ${COMMON_DEPEND} + ${PYTHON_DEPS} + app-arch/libarchive + dev-lang/python + virtual/libintl +" +DEPEND="${COMMON_DEPEND}" +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" +}
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/files/, games-engines/fheroes2/
commit: 0ae9e85dc71b138b604bf8491f2de8897ee13b2e Author: Alexey Sokolov asokolov org> AuthorDate: Mon Jul 3 19:28:10 2023 + Commit: Sam James gentoo org> CommitDate: Thu Jul 6 06:24:02 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ae9e85d games-engines/fheroes2: fix build with gettext 0.22 Closes: https://bugs.gentoo.org/908863 Signed-off-by: Alexey Sokolov asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/31730 Signed-off-by: Sam James gentoo.org> games-engines/fheroes2/fheroes2-1.0.5.ebuild | 1 + games-engines/fheroes2/files/fheroes2-1.0.5-gettext.patch | 15 +++ 2 files changed, 16 insertions(+) diff --git a/games-engines/fheroes2/fheroes2-1.0.5.ebuild b/games-engines/fheroes2/fheroes2-1.0.5.ebuild index f58beedc9f5c..3aeb794a8d78 100644 --- a/games-engines/fheroes2/fheroes2-1.0.5.ebuild +++ b/games-engines/fheroes2/fheroes2-1.0.5.ebuild @@ -38,6 +38,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}/fheroes2-1.0.4-scripts.patch" + "${FILESDIR}/fheroes2-1.0.5-gettext.patch" ) src_configure() { diff --git a/games-engines/fheroes2/files/fheroes2-1.0.5-gettext.patch b/games-engines/fheroes2/files/fheroes2-1.0.5-gettext.patch new file mode 100644 index ..20118037b779 --- /dev/null +++ b/games-engines/fheroes2/files/fheroes2-1.0.5-gettext.patch @@ -0,0 +1,15 @@ +https://github.com/ihhub/fheroes2/commit/e55c33c1bc7ac1b8c2ffc6e4ca61ab47921ec1b1 +https://bugs.gentoo.org/908863 + +--- a/files/lang/Makefile b/files/lang/Makefile +@@ -19,7 +19,8 @@ + ### + + ICONV = iconv +-MSGFMT = sed -e '1,20 s/UTF-8/$(1)/' $< | $(ICONV) -f utf-8 -t $(1) | msgfmt - -o $@ ++# TODO: consider converting game fonts and texts to UTF-8 in the engine instead ++MSGFMT = sed -e '1,20 s/UTF-8/$(1)/' $< | $(ICONV) -f utf-8 -t $(1) | if msgfmt --help | grep -q no-convert >/dev/null 2>/dev/null; then msgfmt - -o $@ --no-convert; else msgfmt - -o $@; fi + + .PHONY: all clean merge +
[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/files/, games-engines/fheroes2/
commit: c9dbfa96bd5fc3f7ac0f3632246fe0a5de013815 Author: Alexey Sokolov asokolov org> AuthorDate: Mon May 29 22:35:18 2023 + Commit: James Le Cuirot gentoo org> CommitDate: Mon Jun 19 20:14:24 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9dbfa96 games-engines/fheroes2: new package, add 1.0.5 Closes: https://github.com/gentoo/gentoo/pull/29031 Closes: https://bugs.gentoo.org/279781 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: James Le Cuirot gentoo.org> games-engines/fheroes2/Manifest| 1 + games-engines/fheroes2/fheroes2-1.0.5.ebuild | 78 ++ .../fheroes2/files/fheroes2-1.0.4-scripts.patch| 19 ++ games-engines/fheroes2/metadata.xml| 31 + 4 files changed, 129 insertions(+) diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest new file mode 100644 index ..a6c2ca02c945 --- /dev/null +++ b/games-engines/fheroes2/Manifest @@ -0,0 +1 @@ +DIST fheroes2-1.0.5.tar.gz 11570167 BLAKE2B 7294ae4a816ce0a42c035262cbc8d44fc53cfdaa1333934ac316607f7d086a44358fc13931e5dbce9b17ff65e58016efc57cd123747af30277bcf4c1bc195e1e SHA512 13f058319540fa9fa04955ff8a5f16a0113e791307d58c32025361c773757769306f632d2c6472ee6d0b704dc4c260a9c64954c19ba2e58ab21dc6744c3cdd3e diff --git a/games-engines/fheroes2/fheroes2-1.0.5.ebuild b/games-engines/fheroes2/fheroes2-1.0.5.ebuild new file mode 100644 index ..f58beedc9f5c --- /dev/null +++ b/games-engines/fheroes2/fheroes2-1.0.5.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..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}" + +COMMON_DEPEND=" + media-libs/libpng:= + media-libs/libsdl2[video] + media-libs/sdl2-image + media-libs/sdl2-mixer + sys-libs/zlib +" +RDEPEND=" + ${COMMON_DEPEND} + ${PYTHON_DEPS} + app-arch/libarchive + dev-lang/python + virtual/libintl +" +DEPEND="${COMMON_DEPEND}" +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/files/fheroes2-1.0.4-scripts.patch b/games-engines/fheroes2/files/fheroes2-1.0.4-scripts.patch new file mode 100644 index ..c5675fdc0a6f --- /dev/null +++ b/games-engines/fheroes2/files/fheroes2-1.0.4-scripts.patch @@ -0,0 +1,19 @@ +Install the data-exporting scripts to a better place than docs + +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -182,12 +182,12 @@ if(NOT MACOS_APP_BUNDLE) + install( + FILES script/demo/download_demo_version.sh + PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ +- DESTINATION ${CMAKE_INSTALL_DOCDIR}/demo ++ DESTINATION ${FHEROES2_DATA} + ) + install( + FILES script/homm2/extract_homm2_resources.sh + PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ +- DESTINATION ${CMAKE_INSTALL_DOCDIR}/homm2 ++ DESTINATION ${FHEROES2_DATA} + ) + install( + FILES script/packaging/common/fheroes2.appdata.xml diff --git a/games-engines/fheroes2/metadata.x