From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- games-rpg/coe2/Manifest | 3 +++ games-rpg/coe2/coe2-2007-r1.ebuild | 55 ++++++++++++++++++++++++++++++++++++++ games-rpg/coe2/metadata.xml | 23 ++++++++++++++++ 3 files changed, 81 insertions(+) create mode 100644 games-rpg/coe2/Manifest create mode 100644 games-rpg/coe2/coe2-2007-r1.ebuild create mode 100644 games-rpg/coe2/metadata.xml (limited to 'games-rpg/coe2') diff --git a/games-rpg/coe2/Manifest b/games-rpg/coe2/Manifest new file mode 100644 index 000000000000..eb07effea12a --- /dev/null +++ b/games-rpg/coe2/Manifest @@ -0,0 +1,3 @@ +DIST coe2_2007.zip 4937222 BLAKE2B 4640e7819d0e000b3e355f20f364f84d0cc899acd27e33bae95cece843a724918b8a3cc6a538d39478cf5070fd71658637dbc127534d5182a914f6d0f56faff0 SHA512 db0d4ee2016ef3cf7159c227c494346fa0a0e9f9b20a6b520b67899570e3135a4286d6ada2f85d7ea7b55a1baeada41654d4fab29f5996357608f0d2d654b2ed +EBUILD coe2-2007-r1.ebuild 1359 BLAKE2B b2ac31682fcd65a302900ef3d1dd987ad3def14eeeab0c0115ddc3e2d954fd52d555da200e3ca91ccc6574be012bb3910eb24ade456d7338a7c794f894a829ec SHA512 c8cb4c13e277a8ef6d7fefbf1ef2569ef0fc95aba94496787bf9d1042036306e7c67f9b65a9bb103fa83e30fc112a95cf09702dce85397c1abfc1b11a7feb8c7 +MISC metadata.xml 1166 BLAKE2B 344379ff270c13113da4d40e916e8c16505653451d93fdc82ccbb9e0c39585863056030959579f310cb6ab9a01e058d929abc3c28f9886f32d086074dfe874d6 SHA512 60a33d86c244ce321427d325d4f1fb56846940a1ab2b6c965afb317c497b142644574b94bc715fd0d602628d8b07ba9690f5d0addad626163273cc1584ada370 diff --git a/games-rpg/coe2/coe2-2007-r1.ebuild b/games-rpg/coe2/coe2-2007-r1.ebuild new file mode 100644 index 000000000000..d4070f0433ac --- /dev/null +++ b/games-rpg/coe2/coe2-2007-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Precursor to the Dominions series" +HOMEPAGE="http://www.shrapnelgames.com/Illwinter/CoE2/" +SRC_URI="http://download.shrapnelgames.com/downloads/${PN}_${PV}.zip" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="mirror bindist" + +RDEPEND="media-libs/libsdl[sound,video]" +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR}/coe + +# bug #430026 +QA_PREBUILT="${GAMES_PREFIX_OPT}/coe2/coe_linux" + +src_prepare() { + rm -r *.{dll,exe} old || die + if use amd64 ; then + mv -f coe_linux64bit coe_linux || die + fi +} + +src_install() { + insinto "${GAMES_PREFIX_OPT}/${PN}" + doins *.{bgm,smp,trp,trs,wrl} + dodoc history.txt manual.txt readme.txt + exeinto "${GAMES_PREFIX_OPT}/${PN}" + doexe coe_linux + + games_make_wrapper ${PN} "./coe_linux" "${GAMES_PREFIX_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 f slot state_dir=${GAMES_STATEDIR}/${PN} + dodir "${state_dir}" + for slot in {0..4} ; do + f=save${slot} + dosym "${state_dir}/save${slot}" "${GAMES_PREFIX_OPT}/${PN}/${f}" + echo "empty slot ${slot}" > "${D}${state_dir}/${f}" || die + fperms 660 "${state_dir}/${f}" + done + + prepgamesdirs +} diff --git a/games-rpg/coe2/metadata.xml b/games-rpg/coe2/metadata.xml new file mode 100644 index 000000000000..59ce22e6b4f8 --- /dev/null +++ b/games-rpg/coe2/metadata.xml @@ -0,0 +1,23 @@ + + + + + games@gentoo.org + Gentoo Games Project + + +Originally released in 1997, Conquest of Elysium II is a turn-based fantasy +strategy game, and the precursor to the wildly popular Dominions series. As one +of up to eight players (human, computer controlled, or a mixture) your goal, as +suggested in the title, is very simple: total subjugation of all that do not fly +your banner! + +Choose your leader from twenty distinct character classes, including brutal +barbarians, insane necromancers, mighty maharajas, sinister shamans, and even +the Agarthan king from Dominions 3! Each character allows new strategies for the +player to explore. The Priestess of Baal can summon demonic creatures, change +the weather, and sacrifice the innocent. An Enchanter can create constructs out +of corpses, lakes, forests, and more. Barons can build siege towers, raise +levies, and keep his subjects in line, even in times of high taxation. + + -- cgit v1.2.3