commit: ad0c4fa88e59576048053a71489ca448cff08f41 Author: Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru> AuthorDate: Mon Apr 1 02:30:03 2024 +0000 Commit: Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru> CommitDate: Mon Apr 1 02:30:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ad0c4fa8
games-rpg/heroes-of-might-and-magic-v-demo: new package Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru> .../heroes-of-might-and-magic-v-demo/Manifest | 1 + .../heroes-of-might-and-magic-v-demo-1.ebuild | 51 ++++++++++++++++++++++ .../heroes-of-might-and-magic-v-demo/metadata.xml | 8 ++++ 3 files changed, 60 insertions(+) diff --git a/games-rpg/heroes-of-might-and-magic-v-demo/Manifest b/games-rpg/heroes-of-might-and-magic-v-demo/Manifest new file mode 100644 index 0000000000..23e277884e --- /dev/null +++ b/games-rpg/heroes-of-might-and-magic-v-demo/Manifest @@ -0,0 +1 @@ +DIST heroes-of-might-and-magic-v-demo.tar.xz 692521392 BLAKE2B 7403495d8f303b68937c11ac7db3738f883ea4ccbeb08e4a9ea9566e458a2e90ca0766579d5323f16e30b2e8d83e09675d1ef743a7289f0dc392d2fbaccc3061 SHA512 dd2293f377426e29eb38939d2b934fcadb4491899df92656578e9385ef5de5b5107e5a6609c33a0e87f776e56b1e0a684d0248d587c56107d776211a7be82a3a diff --git a/games-rpg/heroes-of-might-and-magic-v-demo/heroes-of-might-and-magic-v-demo-1.ebuild b/games-rpg/heroes-of-might-and-magic-v-demo/heroes-of-might-and-magic-v-demo-1.ebuild new file mode 100644 index 0000000000..d2bcafd10c --- /dev/null +++ b/games-rpg/heroes-of-might-and-magic-v-demo/heroes-of-might-and-magic-v-demo-1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit wrapper + +DESCRIPTION="HoMM 5, a few maps included. Camera zoom looks like broken. Metacritic: 77" +HOMEPAGE="https://en.wikipedia.org/wiki/Heroes_of_Might_and_Magic_V" + +SRC_URI="https://archive.org/download/$PN.tar.xz/$PN.tar.xz" + +KEYWORDS="~amd64" +S="${WORKDIR}" + +LICENSE="all-rights-reserved" +SLOT="0" +RESTRICT="strip" + +RDEPEND=" + virtual/wine + app-emulation/dxvk +" + +QA_PREBUILT="*" + +src_install() { + + mkdir -p "$ED$/opt" + + mkdir "$ED/opt" || die + mkdir -p "$ED/usr/bin/" || die + cp -r "$PN" "$ED/opt/$PN" || die + + make_wrapper "$PN" "env WINEPREFIX=/home/\$USER/.wine-homm5 wine /opt/$PN/bin/H5_Game.exe" + +} + +pkg_postinst() { + einfo "Downloaded from https://www.moddb.com/games/heroes-of-might-and-magic-5/downloads/heroes-of-might-and-magic-v-demo" + einfo "More about the game:" + einfo "https://www.wikidata.org/wiki/Q2450" + einfo "https://www.metacritic.com/game/heroes-of-might-and-magic-v/" + einfo "" + einfo "Buy the full game at" + einfo "https://www.gog.com/en/game/heroes_of_might_and_magic_5_bundle" + einfo "https://store.steampowered.com/app/15170/Heroes_of_Might__Magic_V/" + einfo "https://www.humblebundle.com/store/heroes-of-might-magic-v" + einfo "" + einfo "The game is installed to /opt/$PN - if you want to run it by another Wine or operating system" +} diff --git a/games-rpg/heroes-of-might-and-magic-v-demo/metadata.xml b/games-rpg/heroes-of-might-and-magic-v-demo/metadata.xml new file mode 100644 index 0000000000..812e586b96 --- /dev/null +++ b/games-rpg/heroes-of-might-and-magic-v-demo/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <name>Vitaly Zdanevich</name> + <email>[email protected]</email> + </maintainer> +</pkgmetadata>
