diff options
author | Ian Stakenvicius <axs@gentoo.org> | 2014-07-11 14:04:05 +0000 |
---|---|---|
committer | Ian Stakenvicius <axs@gentoo.org> | 2014-07-11 14:04:05 +0000 |
commit | 2d7e4e8397a5ac340b7d8b97af6c44baced57186 (patch) | |
tree | 4e31c1f18f9acd4dab55815f64b060437c4ceb0d /games-fps | |
parent | fixed cross-compile build system error, bug 516894 (diff) | |
download | historical-2d7e4e8397a5ac340b7d8b97af6c44baced57186.tar.gz historical-2d7e4e8397a5ac340b7d8b97af6c44baced57186.tar.bz2 historical-2d7e4e8397a5ac340b7d8b97af6c44baced57186.zip |
Bumped EAPI to 5, adjusted deps for gx86-multilib; synchronized changes here with those made on soldieroffortune-demo as the original ebuilds matched -- however, this ebuild needs the CD for eveyrthing so there is no way for me to confirm accuracy of changes
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0x2B6559ED
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/soldieroffortune/ChangeLog | 13 | ||||
-rw-r--r-- | games-fps/soldieroffortune/Manifest | 15 | ||||
-rw-r--r-- | games-fps/soldieroffortune/soldieroffortune-1.06a-r1.ebuild | 90 |
3 files changed, 114 insertions, 4 deletions
diff --git a/games-fps/soldieroffortune/ChangeLog b/games-fps/soldieroffortune/ChangeLog index 56dd0f98c01c..def895247bb5 100644 --- a/games-fps/soldieroffortune/ChangeLog +++ b/games-fps/soldieroffortune/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for games-fps/soldieroffortune -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune/ChangeLog,v 1.29 2012/09/19 15:16:06 mr_bones_ Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune/ChangeLog,v 1.30 2014/07/11 14:04:00 axs Exp $ + +*soldieroffortune-1.06a-r1 (11 Jul 2014) + + 11 Jul 2014; Ian Stakenvicius (_AxS_) <axs@gentoo.org> + +soldieroffortune-1.06a-r1.ebuild: + Bumped EAPI to 5, adjusted deps for gx86-multilib; synchronized changes here + with those made on soldieroffortune-demo as the original ebuilds matched -- + however, this ebuild needs the CD for eveyrthing so there is no way for me to + confirm accuracy of changes 19 Sep 2012; Michael Sterrett <mr_bones_@gentoo.org> soldieroffortune-1.06a.ebuild: diff --git a/games-fps/soldieroffortune/Manifest b/games-fps/soldieroffortune/Manifest index 9866a1fbd4bb..f1b3a9416094 100644 --- a/games-fps/soldieroffortune/Manifest +++ b/games-fps/soldieroffortune/Manifest @@ -1,4 +1,15 @@ -DIST sof-1.06a-cdrom-x86.run 22928437 SHA256 44546073f26a610ec554f3d197e157a6691c0891651689308e62feccc01a1c16 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST sof-1.06a-cdrom-x86.run 22928437 SHA256 44546073f26a610ec554f3d197e157a6691c0891651689308e62feccc01a1c16 SHA512 91ef3953bd6b6630ab602f64d15a3056f85d90139b18aa3eb9a9a0a75db2ece61ef683ddf1d03b63f0dfc902d7a27914ae673398713941f281e96555d9645078 WHIRLPOOL 986d4f7a5115203fec37ebb187c80e27ff4f986b19157afd42179af9f032b20bf305352cc4a3efe38a0b181ac8d3dcb8c98399fdf3b370b076cbe7615c4cd4d0 +EBUILD soldieroffortune-1.06a-r1.ebuild 2387 SHA256 7fa1e885d0fdb72d3e708940bcc118fb35807547c68e76fd3325707f3acb2f3a SHA512 c51eb57ae555ef35c0f814d23e3a1210c7c615f86806fd962769df8062a1e24fc5d98e229048d9b844ad485e98350296d3976d8c60ba00efdd3900451a40a0ef WHIRLPOOL 90e7a6fb59410b5dd10d862731ed5184c3caadb031d0d397cc50770a3cb4ff6e67b9cbcb93dde60d96cd3f207d02839e6e180d752287ebbea920031a7e7d24cc EBUILD soldieroffortune-1.06a.ebuild 2291 SHA256 932db5f5b01eb6ceb467f2965260d82f6412c6b0606150ff292a4fc97febb906 SHA512 a82a749413802aee18d418b488ef28e7e4c72f2e6a8d01c6230373d2db08bbdf5d3ca61199a28313a2b45b82c907ff2c69e248ec9230ef50d2b424e3115419a9 WHIRLPOOL f6937c6572a1225d4f7120938b77f8e73d20aa5c330338857976825a7f5788ddd73cca8c9f60f273a75c6ef7363e9496da54c6fa2c54c5afa9fc9d60c92d2206 -MISC ChangeLog 4118 SHA256 7c92e8703500de5b58222d847b177b9e2c938eff176e49c7f935576183d9f64f SHA512 e5b76b632207b6f82b9d8cf4feda1c6583b86938d652f334aecadc80340fddde1a79158f328a80ba132dbad5283692de6d75d46a2cd8d5803a24370e38ce2bad WHIRLPOOL f2f861718721ae2fb0cb1c17d34bf725a1ae5f4e004e59ae8f10b34b145533a8d7b4685558a73cb516fc65f8794c24da02286c7a8ff52a258e36bfc7bb30ae2f +MISC ChangeLog 4516 SHA256 64ae21ac57574e39109834ea2b1325d24f648e826a5e710ab74cddfc0a0e17c8 SHA512 549f85d55521dd5ecdcef2d8244679e79560eb9761c340c7560d1d7d798c22515ce10343fe8446a0ae78991b373bbc8546be3dd55d71c70936e2cbb88db9639f WHIRLPOOL ebce227440541d2f2fa2083e536346c87cf4df5ad289ed5a9f1d677e86418c7508065a4e22c7e104eb46e753d222dc8fdaf03387683d0b70a1bf6041d83ab8e2 MISC metadata.xml 872 SHA256 96d85f872c5b4e35c415d883c79d042798f140ba5192135778a7292e96cd7b2b SHA512 48412f429a957e58074a7cac61efc7e3185419556279f94ff1364a82d48595159ca74665870af6f08b016383d1aa2366a41d33bf0ffcab3a63246061869c825c WHIRLPOOL 78905be5e4292ccd6bd729999763c9215b15b84f0d0a8c90b8cdb0fdff26586d14e6e8c27a2576762f64aa920469fa6dcd9e28a3e96791ad8f65e1d11c1a3fd5 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iF4EAREIAAYFAlO/7s0ACgkQ2ugaI38ACPDR7AD/VqW/EsM0KN5Fk5iTxkVp2WuL +WOJ35C6krVCxO8v/H78BALMEPDKXfdK8h2SZCoQumeWcRCCX7drOUBpYMu6ACEmP +=kaQf +-----END PGP SIGNATURE----- diff --git a/games-fps/soldieroffortune/soldieroffortune-1.06a-r1.ebuild b/games-fps/soldieroffortune/soldieroffortune-1.06a-r1.ebuild new file mode 100644 index 000000000000..9efe47aabc94 --- /dev/null +++ b/games-fps/soldieroffortune/soldieroffortune-1.06a-r1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune/soldieroffortune-1.06a-r1.ebuild,v 1.1 2014/07/11 14:04:00 axs Exp $ + +EAPI=5 +inherit eutils unpacker cdrom games + +DESCRIPTION="First-person shooter based on the mercenary trade" +HOMEPAGE="http://www.lokigames.com/products/sof/" +SRC_URI="mirror://lokigames/sof/sof-${PV}-cdrom-x86.run" + +LICENSE="LOKI-EULA" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="strip" +IUSE="" + +DEPEND="games-util/loki_patch" +RDEPEND="sys-libs/glibc + amd64? ( sys-libs/glibc[multilib] ) + || ( + ( + virtual/opengl[abi_x86_32(-)] + media-libs/libsdl[X,opengl,sound,abi_x86_32(-)] + x11-libs/libXrender[abi_x86_32(-)] + x11-libs/libXrandr[abi_x86_32(-)] + media-libs/smpeg[abi_x86_32(-)] + ) + ( + app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)] + app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)] + app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] + ) + )" + +S=${WORKDIR} + +dir=${GAMES_PREFIX_OPT}/${PN} +Ddir=${ED}/${dir} + +pkg_pretend() { + ewarn "The installed game takes about 725MB of space!" +} + +src_unpack() { + cdrom_get_cds sof.xpm + unpack_makeself + tar xzf "${CDROM_ROOT}"/paks.tar.gz -C "${T}" \ + || die "uncompressing data" + tar xzf "${CDROM_ROOT}"/binaries.tar.gz -C "${T}" \ + || die "uncompressing binaries" +} + +src_install() { + einfo "Copying files... this may take a while..." + exeinto "${dir}" + doexe "${CDROM_ROOT}"/bin/x86/glibc-2.1/sof + insinto "${dir}" + doins -r "${T}"/* + doins "${CDROM_ROOT}"/{README,kver.pub,sof.xpm} + + cd "${S}" + export _POSIX2_VERSION=199209 + loki_patch --verify patch.dat + loki_patch patch.dat "${Ddir}" >& /dev/null || die "patching" + + # now, since these files are coming off a cd, the times/sizes/md5sums wont + # be different ... that means portage will try to unmerge some files (!) + # we run touch on ${D} so as to make sure portage doesnt do any such thing + find "${Ddir}" -exec touch '{}' \; + + games_make_wrapper sof ./sof "${dir}" "${dir}" + + # fix buffer overflow + sed -i -e 's/^exec/i \ +export MESA_EXTENSION_MAX_YEAR=2003 \ +export __GL_ExtensionStringVersion=17700' \ + "${ED}/${GAMES_BINDIR}/sof" || die + + doicon "${CDROM_ROOT}"/sof.xpm + make_desktop_entry sof "Soldier of Fortune" sof + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + elog "To play the game run:" + elog " sof" +} |