diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-11-19 11:07:31 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-11-19 11:07:31 +0000 |
| commit | e8b4ea171c0801b17f17c79bb763aec86f3f16d7 (patch) | |
| tree | 5a83e642b8733d339b288831eb38c7fb8b0543f0 /games-engines | |
| parent | 1a21821952be2422c0a5535d0fd485d6df32d3ab (diff) | |
| download | baldeagleos-repo-e8b4ea171c0801b17f17c79bb763aec86f3f16d7.tar.gz baldeagleos-repo-e8b4ea171c0801b17f17c79bb763aec86f3f16d7.tar.xz baldeagleos-repo-e8b4ea171c0801b17f17c79bb763aec86f3f16d7.zip | |
Adding metadata
Diffstat (limited to 'games-engines')
| -rw-r--r-- | games-engines/fheroes2/Manifest | 1 | ||||
| -rw-r--r-- | games-engines/fheroes2/fheroes2-1.1.12.ebuild | 82 | ||||
| -rw-r--r-- | games-engines/instead/Manifest | 1 | ||||
| -rw-r--r-- | games-engines/instead/instead-3.4.1.ebuild | 114 | ||||
| -rw-r--r-- | games-engines/instead/instead-3.5.2.ebuild | 2 | ||||
| -rw-r--r-- | games-engines/instead/instead-9999.ebuild | 2 | ||||
| -rw-r--r-- | games-engines/instead/metadata.xml | 1 |
7 files changed, 85 insertions, 118 deletions
diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index c9ee12300729..6992c05413ee 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1 +1,2 @@ DIST fheroes2-1.1.11.tar.gz 12502123 BLAKE2B 574806436caa284cf06e0461f310573fd68af9d90593038ce858d2fc9e91464d95138797c32f948d1affad58e9dbb1ad226915357530e1b61c7b361044888e64 SHA512 f1ba34f1105006f8ab0dbeebc868f12a55385bae04ac2cf4c08a24b831382342fa5f7cd34a31de0b26aeba1973690bf09c8eac88717034130c2612a47f36bf50 +DIST fheroes2-1.1.12.tar.gz 12703357 BLAKE2B 125e119ac4a9bdaeb68b3bd11d75c86904f378c391332f3876cab7b0737984a2c551f6be2bb142717f32985f3aef773d95cd5a692dec640dec2efe098e3a99dc SHA512 936ad08f0e45b737e2094f0cecf2ad0a747e8e289eb1cf56add5fc9fda1e11836dfb02dfa5971390421d2a824798ee0c6313e90dff916b94be94196b3d46b345 diff --git a/games-engines/fheroes2/fheroes2-1.1.12.ebuild b/games-engines/fheroes2/fheroes2-1.1.12.ebuild new file mode 100644 index 000000000000..1cf61ee20a7e --- /dev/null +++ b/games-engines/fheroes2/fheroes2-1.1.12.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..14} ) +inherit cmake python-single-r1 xdg + +DESCRIPTION="Recreation of HoMM2 game engine" +HOMEPAGE="https://ihhub.github.io/fheroes2/" +SRC_URI="https://github.com/ihhub/fheroes2/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="tools" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + media-libs/libpng:= + media-libs/libsdl2[video] + media-libs/sdl2-image + media-libs/sdl2-mixer + virtual/zlib:= +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} + app-arch/libarchive + virtual/libintl +" +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}/fheroes2-1.0.4-scripts.patch" +) + +src_prepare() { + sed -i -e "s/python3/${EPYTHON}/" script/homm2/extract_homm2_resources.sh || die + + cmake_src_prepare +} + +src_configure() { + # Not using dev-games/libsmacker because the game crashes with it + local mycmakeargs=( + -DENABLE_IMAGE=ON + -DENABLE_TOOLS=$(usex tools) + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + emake -C files/lang +} + +src_install() { + cmake_src_install + + if use tools; then + local file + for file in 82m2wav bin2txt extractor h2dmgr icn2img pal2img til2img xmi2midi; do + newbin "${BUILD_DIR}/${file}" "fheroes2-${file}" + done + fi +} + +pkg_postinst() { + xdg_pkg_postinst + + elog "You need original HoMM2 data files to play fheroes2." + elog "If you have an installer (.exe) from GOG, install:" + elog " games-strategy/homm2-gold-gog" + elog "If you have the original game installed somewhere already, run:" + elog " ${EPREFIX}/usr/share/fheroes2/extract_homm2_resources.sh" + elog "Also you can automatically get a demo version for free by installing:" + elog " games-strategy/homm2-demo" +} diff --git a/games-engines/instead/Manifest b/games-engines/instead/Manifest index ed36fb57a6c3..aaa68139f42e 100644 --- a/games-engines/instead/Manifest +++ b/games-engines/instead/Manifest @@ -1,2 +1 @@ -DIST instead-3.4.1.tar.gz 3605352 BLAKE2B de1597ece93f603d6937c19be5a8cd08a69ca5c45f987bf74654909a3dd2ae75b2fb7d6114eec79b3fce2ed24172924eed160e6d42892ae44695e6f4ed67f2dc SHA512 0eb552f6d535a8d28ee6f986b14c7c21482223854fa0eaf12247fee6e3a5bd8eb3e0c3650e8f269b105ff155f68c36fcf73c280c9ee58e6d0193d7612fc86e4b DIST instead-3.5.2.tar.gz 3667002 BLAKE2B a079bb7d7228c6e5934d5d913b33e841a64bf03b8fd2141ededcfcdc643d9d0f1420b09afd4cf83bfbac05f2c26f2d0fee0b4a056970b8e0d9fc67e66be2217d SHA512 b9373aba876e5b5a80045e4477e31d891c0b224ef258d7cb8e8d0cf6495b80df5f67b6026f63eafa2580198197b566b801c5d48d616bfd8ae194341496e0bc7a diff --git a/games-engines/instead/instead-3.4.1.ebuild b/games-engines/instead/instead-3.4.1.ebuild deleted file mode 100644 index 40293c861ce4..000000000000 --- a/games-engines/instead/instead-3.4.1.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PLOCALES="cs de en es fr it nl pt ru uk" -PLOCALE_BACKUP="en" -LUA_COMPAT=( lua5-{1,3,4} luajit ) - -inherit cmake lua-single plocale - -if [[ ${PV} == *9999* ]]; then - EGIT_REPO_URI="https://github.com/instead-hub/${PN}.git" - inherit git-r3 -else - SRC_URI="https://github.com/instead-hub/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="INSTEAD text-based quest game engine" -HOMEPAGE="https://instead.hugeping.ru/" - -LICENSE="MIT" -SLOT="0" -IUSE="doc +iconv +sdl2" -# gtk3 is forced since gtk2 already near its end-of-life -# harfbuzz support requres features from SDL2_ttf version which is not yet released (>2.0.15) - -REQUIRED_USE=" - ${LUA_REQUIRED_USE} -" - -BDEPEND=" - virtual/pkgconfig - ${LUA_DEPS} -" - -SDL_DEPS=" - media-libs/libsdl!VER![sound,video] - media-libs/sdl!VER!-mixer - media-libs/sdl!VER!-image - media-libs/sdl!VER!-ttf -" - -COMMON_DEPEND=" - ${LUA_DEPS} - sys-libs/zlib - x11-libs/gtk+:3 - sdl2? ( ${SDL_DEPS//!VER!/2} ) - !sdl2? ( ${SDL_DEPS//!VER!/} ) - iconv? ( >=virtual/libiconv-0-r1 ) -" -# harfbuzz? ( -# media-libs/harfbuzz -# media-libs/sdl!VER!-ttf[harfbuzz] -# ) - -RDEPEND="${COMMON_DEPEND}" -DEPEND="${COMMON_DEPEND}" - -DOCS=( AUTHORS ChangeLog README.md ) - -src_prepare() { - plocale_find_changes "${S}/lang" "" ".ini" - - rm_loc() { rm "lang/$1.ini" || die; } - plocale_for_each_disabled_locale rm_loc - - # The docs dir contains some code to build pdf out of the Markdown docs, but it requires some - # weird util called multimarkdown, so we will just install the md's themselfs. - if use doc; then - EXTRA_DOCS=() - for l in $(plocale_get_locales) ${PLOCALE_BACKUP}; do - for d in "docs/modules-$l.md" "docs/stead3-$l.md"; do - if [[ -f "$d" ]]; then - EXTRA_DOCS=( "${EXTRA_DOCS[@]}" "$d" ) - fi - done - done - - DOCS=( "${DOCS[@]}" "${EXTRA_DOCS[@]}" ) - fi - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DWITH_GTK2=OFF - -DWITH_GTK3=ON - -DWITH_LUAJIT="$(usex lua_single_target_luajit)" - -DWITH_ICONV="$(usex iconv)" - -DWITH_SDL2="$(usex sdl2)" - ) -# -DWITH_HARFBUZZ="$(usex harfbuzz)" - - cmake_src_configure -} - -pkg_postinst() { - elog "The instead package contains only a game engine. The actual" - elog "games have to be installed separately. To install a game" - elog "download an archive and extract it to ~/.instead/games or" - elog "to ${EPREFIX}/usr/share/instead/games." - elog "" - elog "A collection of various games can be found at:" - elog " https://instead.itch.io/" - elog " http://instead-games.ru/" - elog "" - elog "Also there are some third-party tools to manage download" - elog "and installation of games like insteadman3:" - elog " https://jhekasoft.github.io/insteadman" - -} diff --git a/games-engines/instead/instead-3.5.2.ebuild b/games-engines/instead/instead-3.5.2.ebuild index 4c622bf8c8e6..bde835957553 100644 --- a/games-engines/instead/instead-3.5.2.ebuild +++ b/games-engines/instead/instead-3.5.2.ebuild @@ -40,7 +40,7 @@ COMMON_DEPEND=" media-libs/sdl2-image media-libs/sdl2-mixer media-libs/sdl2-ttf - sys-libs/zlib + virtual/zlib:= x11-libs/gtk+:3 iconv? ( >=virtual/libiconv-0-r1 ) harfbuzz? ( diff --git a/games-engines/instead/instead-9999.ebuild b/games-engines/instead/instead-9999.ebuild index 4c622bf8c8e6..bde835957553 100644 --- a/games-engines/instead/instead-9999.ebuild +++ b/games-engines/instead/instead-9999.ebuild @@ -40,7 +40,7 @@ COMMON_DEPEND=" media-libs/sdl2-image media-libs/sdl2-mixer media-libs/sdl2-ttf - sys-libs/zlib + virtual/zlib:= x11-libs/gtk+:3 iconv? ( >=virtual/libiconv-0-r1 ) harfbuzz? ( diff --git a/games-engines/instead/metadata.xml b/games-engines/instead/metadata.xml index 0c2d3b44a946..d7f85f544d3d 100644 --- a/games-engines/instead/metadata.xml +++ b/games-engines/instead/metadata.xml @@ -11,7 +11,6 @@ <use> <flag name="doc">Include some additional documentation on how to create games for the instead engine</flag> <flag name="harfbuzz">Use <pkg>media-libs/harfbuzz</pkg> for better support of RTL languages</flag> - <flag name="sdl2">Use libsdl2 instead of libsdl</flag> </use> <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file |
