[gentoo-commits] repo/gentoo:master commit in: games-engines/fheroes2/

2024-05-23 Thread James Le Cuirot
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/

2024-05-23 Thread James Le Cuirot
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/

2024-03-25 Thread James Le Cuirot
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/

2024-03-25 Thread James Le Cuirot
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/

2024-03-04 Thread James Le Cuirot
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/

2024-03-04 Thread James Le Cuirot
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/

2024-01-09 Thread Joonas Niilola
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/

2024-01-09 Thread Joonas Niilola
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/

2023-12-02 Thread James Le Cuirot
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/

2023-12-02 Thread James Le Cuirot
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/

2023-10-16 Thread Yixun Lan
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/

2023-10-16 Thread Yixun Lan
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/

2023-09-11 Thread James Le Cuirot
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/

2023-09-11 Thread James Le Cuirot
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/

2023-08-11 Thread Joonas Niilola
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/

2023-08-11 Thread Joonas Niilola
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/

2023-08-11 Thread Joonas Niilola
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/

2023-07-06 Thread Sam James
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/

2023-06-19 Thread James Le Cuirot
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