From b1c81de4fadbd00897700a7321f03b390d952b2e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 26 Aug 2021 00:09:36 +0100 Subject: gentoo resync : 26.08.2021 --- games-rpg/coe2/Manifest | 2 +- games-rpg/coe2/coe2-2007-r2.ebuild | 63 -------------------------------------- games-rpg/coe2/coe2-2007-r3.ebuild | 63 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+), 64 deletions(-) delete mode 100644 games-rpg/coe2/coe2-2007-r2.ebuild create mode 100644 games-rpg/coe2/coe2-2007-r3.ebuild (limited to 'games-rpg/coe2') diff --git a/games-rpg/coe2/Manifest b/games-rpg/coe2/Manifest index bc9270166954..97c655e9f0e4 100644 --- a/games-rpg/coe2/Manifest +++ b/games-rpg/coe2/Manifest @@ -1,3 +1,3 @@ DIST coe2_2007.zip 4937222 BLAKE2B 4640e7819d0e000b3e355f20f364f84d0cc899acd27e33bae95cece843a724918b8a3cc6a538d39478cf5070fd71658637dbc127534d5182a914f6d0f56faff0 SHA512 db0d4ee2016ef3cf7159c227c494346fa0a0e9f9b20a6b520b67899570e3135a4286d6ada2f85d7ea7b55a1baeada41654d4fab29f5996357608f0d2d654b2ed -EBUILD coe2-2007-r2.ebuild 1375 BLAKE2B fd8a8116058ab4a886009a3b5e9fc069e43790726146f8c6b8e4b2124ed4eb1eeb8d41ec3781fb8bed851faec80197fd9d24d737c2b3fa7a1ae8a07230793b4e SHA512 3085c4c903e698e94b757d2a9743ef142c2ed959fa8753b16dd83dc4b700065f5f2a457857773678f3ab079a6128436dadef5b501d58e4ee580c3b725b667aa0 +EBUILD coe2-2007-r3.ebuild 1396 BLAKE2B 08793d824708ef37dd8e22a9d8d8390bace0ed608d8ac39e2bc1182001cc09be8200c705877782caefcf5c178fbaa799afa439bc9f14f12fa2994b7d6a008688 SHA512 e369d869ea2fd634d978c00596ad19db05bbe783ad40ad46944f93179e580c96f5e6c93dc3b87978fae88c2a3fd814fe8560f0024a95b5c426f57a1e7268cc9a MISC metadata.xml 1166 BLAKE2B 344379ff270c13113da4d40e916e8c16505653451d93fdc82ccbb9e0c39585863056030959579f310cb6ab9a01e058d929abc3c28f9886f32d086074dfe874d6 SHA512 60a33d86c244ce321427d325d4f1fb56846940a1ab2b6c965afb317c497b142644574b94bc715fd0d602628d8b07ba9690f5d0addad626163273cc1584ada370 diff --git a/games-rpg/coe2/coe2-2007-r2.ebuild b/games-rpg/coe2/coe2-2007-r2.ebuild deleted file mode 100644 index 3ac7358ce27a..000000000000 --- a/games-rpg/coe2/coe2-2007-r2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop wrapper - -DESCRIPTION="Precursor to the Dominions series" -HOMEPAGE="https://www.shrapnelgames.com/Our_Games/Free_Games.html" -SRC_URI="https://download.shrapnelgames.com/downloads/${PN}_${PV}.zip" -S="${WORKDIR}"/coe - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="mirror bindist" - -DEPEND="media-libs/libsdl[sound,video]" -RDEPEND=" - ${DEPEND} - acct-group/gamestat -" -BDEPEND="app-arch/unzip" - -# bug #430026 -QA_PREBUILT="opt/coe2/coe_linux" - -src_prepare() { - default - - rm -r *.{dll,exe} old || die - if use amd64 ; then - mv -f coe_linux64bit coe_linux || die - fi -} - -src_install() { - insinto /opt/${PN} - doins *.{bgm,smp,trp,trs,wrl} - dodoc history.txt manual.txt readme.txt - exeinto /opt/${PN} - doexe coe_linux - - make_wrapper ${PN} "./coe_linux" "/opt/${PN}" - make_desktop_entry ${PN} "Conquest of Elysium 2" - - # Slots for saved games. - # The game shows e.g. "EMPTY SLOT 0?", but it works. - local state_dir=/var/lib/${PN} - dodir ${state_dir} - - local f slot - for slot in {0..4} ; do - f=save${slot} - - dosym ${state_dir}/save${slot} /opt/${PN}/${f} - echo "empty slot ${slot}" > "${ED}"/${state_dir}/${f} || die - fperms 660 ${state_dir}/${f} - done - - fowners -R root:gamestat /var/lib/${PN}/ - fperms g+s /opt/${PN}/coe_linux -} diff --git a/games-rpg/coe2/coe2-2007-r3.ebuild b/games-rpg/coe2/coe2-2007-r3.ebuild new file mode 100644 index 000000000000..5b443192a0ba --- /dev/null +++ b/games-rpg/coe2/coe2-2007-r3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop wrapper + +DESCRIPTION="Precursor to the Dominions series" +HOMEPAGE="https://www.shrapnelgames.com/Our_Games/Free_Games.html" +SRC_URI="https://download.shrapnelgames.com/downloads/${PN}_${PV}.zip" +S="${WORKDIR}"/coe + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="mirror bindist" + +DEPEND="media-libs/libsdl[sound,video]" +RDEPEND=" + ${DEPEND} + acct-group/gamestat +" +BDEPEND="app-arch/unzip" + +# bug #430026 +QA_PREBUILT="opt/coe2/coe_linux" + +src_prepare() { + default + + rm -r *.{dll,exe} old || die + if use amd64 ; then + mv -f coe_linux64bit coe_linux || die + fi +} + +src_install() { + insinto /opt/${PN} + doins *.{bgm,smp,trp,trs,wrl} + dodoc history.txt manual.txt readme.txt + exeinto /opt/${PN} + doexe coe_linux + + make_wrapper ${PN} "./coe_linux" "/opt/${PN}" + make_desktop_entry ${PN} "Conquest of Elysium 2" + + # Slots for saved games. + # The game shows e.g. "EMPTY SLOT 0?", but it works. + local state_dir=/var/lib/${PN} + dodir ${state_dir} + + local f slot + for slot in {0..4} ; do + f=save${slot} + + dosym ${state_dir}/save${slot} /opt/${PN}/${f} + echo "empty slot ${slot}" > "${ED}"/${state_dir}/${f} || die + fperms 660 ${state_dir}/${f} + done + + fowners -R root:gamestat /var/lib/${PN}/ /opt/${PN}/coe_linux + fperms g+s /opt/${PN}/coe_linux +} -- cgit v1.2.3