summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-01-05 20:37:52 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-01-05 20:37:52 +0000
commit7c8b4a5f687004d40ad24ae2fcdedc589e7986e0 (patch)
tree75851c0e277e09303f9d64a3a2de049bf72473a3 /games-rpg
parentUse QA_PREBUILT, wrt bug #448420 (diff)
downloadhistorical-7c8b4a5f687004d40ad24ae2fcdedc589e7986e0.tar.gz
historical-7c8b4a5f687004d40ad24ae2fcdedc589e7986e0.tar.bz2
historical-7c8b4a5f687004d40ad24ae2fcdedc589e7986e0.zip
Revision bump: EAPI 5, add ~x86 keyword
Package-Manager: portage-2.2.0_alpha149/cvs/Linux x86_64
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/coe2/ChangeLog7
-rw-r--r--games-rpg/coe2/Manifest3
-rw-r--r--games-rpg/coe2/coe2-2007-r1.ebuild56
3 files changed, 64 insertions, 2 deletions
diff --git a/games-rpg/coe2/ChangeLog b/games-rpg/coe2/ChangeLog
index 9089df03e95f..95c4e8606a8c 100644
--- a/games-rpg/coe2/ChangeLog
+++ b/games-rpg/coe2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-rpg/coe2
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/coe2/ChangeLog,v 1.3 2013/01/05 20:13:14 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/coe2/ChangeLog,v 1.4 2013/01/05 20:37:51 pinkbyte Exp $
+
+*coe2-2007-r1 (05 Jan 2013)
+
+ 05 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> +coe2-2007-r1.ebuild:
+ Revision bump: EAPI 5, add ~x86 keyword
05 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> coe2-2007.ebuild:
Use QA_PREBUILT, fix minor QA issues, wrt bug #430026
diff --git a/games-rpg/coe2/Manifest b/games-rpg/coe2/Manifest
index f88776ca91c4..23997673ec24 100644
--- a/games-rpg/coe2/Manifest
+++ b/games-rpg/coe2/Manifest
@@ -1,4 +1,5 @@
DIST coe2_2007.zip 4937222 SHA256 7b7c281454f3c83ba510d4223ccfb6af77fd760fcb507d7e71cf633cd86aa3bb SHA512 db0d4ee2016ef3cf7159c227c494346fa0a0e9f9b20a6b520b67899570e3135a4286d6ada2f85d7ea7b55a1baeada41654d4fab29f5996357608f0d2d654b2ed WHIRLPOOL a9c1d989dc48dc43d5c2125f4420de9bdfe23dca9758d0f8eeac5bc19eef4aab124075530bbf04da1fc80f022718564e21d4a464b49306d3d104a733c50e7259
+EBUILD coe2-2007-r1.ebuild 1451 SHA256 9c1a370f047970e63aa58b9526ed7d5c8445e9adc64b18327d3461c98cf368eb SHA512 7a5e6f8b46f7ed1116db164dea8a3b0f1416861607ba69d6d776e2a3a4a7cff5a2443ea20ac087a0bd404194ae83a1858efada7868e961b6b8c500f974312960 WHIRLPOOL a14961e1021a4c771043cc74da567ba0b4766215803662138ed59f991ed1ffffd2770abcf779665b39ccd7e2692f6d32bd0c1375058a04464af488fa48fac4ce
EBUILD coe2-2007.ebuild 1541 SHA256 d33a2ff9999b604ea2489dda9a76f77b4497596ac3f1d928fc5ec62a38f5efed SHA512 22b059efd7de0ee146420a65a2b00e9d692d43a7c206d62fecfcd8051a58ced14590a3209992c4c8df77badf5934be5a85eecee0d7222ee485f560779e7c8255 WHIRLPOOL db7d7aa296a9a2e973a0a541a5ecbed603ca320adf56cffc515ddef9a8c8dc34e3887bd3e5ee69461b251e4b24396f7352dab4ca8fbb44433204d11ff48a3e17
-MISC ChangeLog 620 SHA256 c56c6294ec1662c9e84e9ede8881ccdc91f4260459c4a43be562211fde151108 SHA512 1610c9279f972bf73545753c3fd5a9bd231bc068d5dfe9c32bc9b61d58b0ac715c94ee8cd67ada0ae39a4834a378f24cefba1b1fb7ce7a454fab8eb1a3f20b0e WHIRLPOOL ef7dd2bbb83cc23a1069bd11aa115855f95b91a8896c5c8179fdbf1f6c82173976b40d3ecfd3c79653efd7e595f4d2ae89fc23ae41849a1b307e211613f25507
+MISC ChangeLog 764 SHA256 56840ff67f186515eb7b679bd26202bc0c83032f683c48c49b29ae8b33981402 SHA512 2bf556a1b293b35327adddbc397f6282363795dfa3f19e66445d5529b5df635cb791bb405fee438bf6d9dd6a2ad54bc01c55a95b13b4b54fa50b21bc07c52c90 WHIRLPOOL fa37304215f82a6293a8cae8b8b587941131c90f90e5c71a3c8435832f64edc52149cc628f124bd5194650c4378f5407ef8b9b529cc0f65a6d198e981d056cd9
MISC metadata.xml 1075 SHA256 39fed75945c357260cc9b8299f9b90c38d46848dfe0d959b9429a872f567b03b SHA512 040005af647c39a2e4e5a97714a7a24201d0b7ae311864cb5c43d2d086948f6eaecc28f54167d86c752ed3003153afd4cca3c24d32469174cc1d1e9125f678a5 WHIRLPOOL a6b3a95658b3e5b2bcc42b9e855ae6379d32043b7bae89e75cb7e409b5f90d6a633cfef6b7d308ff3a8149301cdcfbf76e898576b6f62347c317e9130e430dfd
diff --git a/games-rpg/coe2/coe2-2007-r1.ebuild b/games-rpg/coe2/coe2-2007-r1.ebuild
new file mode 100644
index 000000000000..f8e7f24c3280
--- /dev/null
+++ b/games-rpg/coe2/coe2-2007-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/coe2/coe2-2007-r1.ebuild,v 1.1 2013/01/05 20:37:51 pinkbyte Exp $
+
+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="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="media-libs/libsdl"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}/coe"
+
+# bug #430026
+QA_PREBUILT="/opt/coe2/coe_linux"
+
+src_prepare() {
+ rm *.{dll,exe} || die 'rm failed'
+ rm -r old || die 'rm failed'
+ if use amd64 ; then
+ mv -f coe_linux64bit coe_linux || die "mv amd64 image failed"
+ 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}" "${dir}/${f}"
+ echo "empty slot ${slot}" > "${D}${state_dir}/${f}" || die "echo"
+ fperms 660 "${state_dir}/${f}"
+ done
+
+ prepgamesdirs
+}