summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2014-07-10 22:14:08 +0000
committerIan Stakenvicius <axs@gentoo.org>2014-07-10 22:14:08 +0000
commit2d1a0b03289af8f1ef60819ab6e12d51c2edd8ee (patch)
tree94ce37462e35b464e176bd9d134be0efee3b1c05 /games-fps
parentImprove dependencies (diff)
downloadhistorical-2d1a0b03289af8f1ef60819ab6e12d51c2edd8ee.tar.gz
historical-2d1a0b03289af8f1ef60819ab6e12d51c2edd8ee.tar.bz2
historical-2d1a0b03289af8f1ef60819ab6e12d51c2edd8ee.zip
Bumped EAPI to 5, adjusted deps for gx86-multilib, added some vars to the wrapper so that it won't segfault with newer mesa or nvidia GL, added postinst reminder about /dev/dsp
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-demo/ChangeLog13
-rw-r--r--games-fps/soldieroffortune-demo/Manifest11
-rw-r--r--games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57-r1.ebuild76
3 files changed, 92 insertions, 8 deletions
diff --git a/games-fps/soldieroffortune-demo/ChangeLog b/games-fps/soldieroffortune-demo/ChangeLog
index 0e08f747f3c1..0ea2d646e46d 100644
--- a/games-fps/soldieroffortune-demo/ChangeLog
+++ b/games-fps/soldieroffortune-demo/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for games-fps/soldieroffortune-demo
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune-demo/ChangeLog,v 1.11 2012/12/28 20:28:30 tupone Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune-demo/ChangeLog,v 1.12 2014/07/10 22:14:04 axs Exp $
+
+*soldieroffortune-demo-0.57-r1 (10 Jul 2014)
+
+ 10 Jul 2014; Ian Stakenvicius (_AxS_) <axs@gentoo.org>
+ +soldieroffortune-demo-0.57-r1.ebuild:
+ Bumped EAPI to 5, adjusted deps for gx86-multilib, added some vars to the
+ wrapper so that it won't segfault with newer mesa or nvidia GL, added postinst
+ reminder about /dev/dsp
28 Dec 2012; Tupone Alfredo <tupone@gentoo.org>
soldieroffortune-demo-0.57.ebuild:
@@ -44,4 +52,3 @@
+soldieroffortune-demo-0.57.ebuild:
Initial import. Ebuild by Paul Bredbury <brebs@sent.com>. Closing bug
#120422.
-
diff --git a/games-fps/soldieroffortune-demo/Manifest b/games-fps/soldieroffortune-demo/Manifest
index 63eec3e0edcc..64acf9bedfcc 100644
--- a/games-fps/soldieroffortune-demo/Manifest
+++ b/games-fps/soldieroffortune-demo/Manifest
@@ -2,13 +2,14 @@
Hash: SHA256
DIST sof-demo.run 92496052 SHA256 30f671a7e53c9005fea8ef5760e4174e7f7a31114ed5bfd6c8525ceb1bb6d929 SHA512 d285cffe5ed9017409737120d63f1bb14a4ae2f54a83bc2b4d838e82440f43fe430ea63b7765496121633e6fbf40053fe2c5bbda37e48e6da8b18aaa2ff540a6 WHIRLPOOL f1744b789eb7818753e4287e60ec2ad0359697f622fb8a043a4d4ab8cec64f2f77150a81865d87b769ed4650e0bb1588a8364aa471f7b6a0881d8d958442309e
+EBUILD soldieroffortune-demo-0.57-r1.ebuild 2019 SHA256 6dd1d88620a3696e73847086cddc1093b9821cb7f60a613792dc16ee1bae1eb2 SHA512 503edb5a1dd5f02e8f60e7bb41b983cf976e33470ef0242ebc6aeaafcf46a2e2740b9f148490b3b6f433eab8a0786f111771a2cab890679a89a685164f9e534f WHIRLPOOL a0d037707be1e49c5e39e27dd08b6dd386e7d079b31b5678163f2ff888c04c4984e8f6db58f317e52c2d27763d5025a069289a2404bb77345070e88e12b131d2
EBUILD soldieroffortune-demo-0.57.ebuild 1536 SHA256 bed5e160045006884b65272087af5c1d04c0918be29f2aa685af631a73bf6750 SHA512 bab6a6455cee02d4292c24985f4d5a56895a44e5dea1203d16cedae53628d0abdd4daf6d1dc24a037e4fae2ced2976ba3d5ce2ff20372eefbd06152351abf6b3 WHIRLPOOL 2e02124cfd761693c6053b26bad012ce8cb602439afb6d48fe1009b181215e270f88257d181915a06c79e5be3b95fd377481f5aaa6f25618ecb61cdd2f558940
-MISC ChangeLog 1720 SHA256 8f97298306f5d04f517774a8dc6e3deb1bf40c05f4004965978615f9e0dc596c SHA512 710df79671374bdb75363dc27f8c89ec7908ad30b3c731a2514831f12049006f64b4e95881eb8dc9a24447124ae6af186ce90dd32e5a95dd36a34c83c76fc6e1 WHIRLPOOL 7f9d0ea3fecc97f691363106a1f61a1037af4d675c8548c4b573caea933de8c40e98ae33c1b9f550cc6428bff8414e85373a2b98a2164044a0748f7ee3de01d7
+MISC ChangeLog 2044 SHA256 d1742906ca9cfdbb7c51740534e50b416ba87157664919ddd53830f0638b41c4 SHA512 79c31ccd11adddee707579a25c3954c9b6f099ef991e688d9dc4fd8768ad4ad9cd3fe909e7666a2929ea46d8c6873a9eb9b6591daba7eb669ba72bcb47f7cb0d WHIRLPOOL 8d1addfd1cc0597f18b64fe093987d76fd7b09717721e3386fecde302e6544f5593b0165f13d85199f975aa965abc650774cc299ffb096d57eff67a897aa94d8
MISC metadata.xml 675 SHA256 9fcdec5fe5ebdb8a27e627810da92f91169502c2a8931d58985af9e425ad488c SHA512 933a035df22987984bcba54f270d2314d05a6959efbb62cf96c0bef339ca6214a68d0d52f804ae2f9d3038946aebdfc9c0d0e93d603fe4b5de6984a01d2a0ffd WHIRLPOOL 2c1665b73b335d3a5bda6fd9c33caa604e23badf61910c1c1987e9da0ebcba89f717254a45c89519f27f5dbc3e8d2af7174c62f5cf952a8a0361fe02710d99fe
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlDeAPUACgkQIY77eQFFFC0LogCg5Fpc2qb58sW8QxOT8p9LjXn7
-9mAAoJBUu3Gv0pJiNq/ggFexgGLdeYMT
-=M2a6
+iF4EAREIAAYFAlO/ECgACgkQ2ugaI38ACPBCMgD9Eev9+jBhg+oPxVvt311eJKLa
+sGXtwhAnem9FesQxAQcA/RZJjfP071TJsTyms/XKBe4+HnUdphqdJIht2Yg3YdNU
+=K2LH
-----END PGP SIGNATURE-----
diff --git a/games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57-r1.ebuild b/games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57-r1.ebuild
new file mode 100644
index 000000000000..dbc8c5c442d2
--- /dev/null
+++ b/games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57-r1.ebuild,v 1.1 2014/07/10 22:14:04 axs Exp $
+
+EAPI=5
+inherit eutils unpacker games
+
+MY_PN=${PN/soldieroffortune/sof}
+
+DESCRIPTION="First-person shooter based on the mercenary trade"
+HOMEPAGE="http://www.lokigames.com/products/sof/"
+SRC_URI="mirror://lokigames/loki_demos/${MY_PN}.run"
+
+LICENSE="LOKI-EULA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="strip"
+
+DEPEND="games-util/loki_patch"
+RDEPEND="|| (
+ (
+ 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(-)]
+ x11-libs/libXcursor[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=${D}/${dir}
+QA_PREBUILT="${dir:1}/* ${dir:1}/base/*so"
+
+src_install() {
+ local demo="data/demos/sof_demo"
+ local exe="sof-bin.x86"
+
+ loki_patch patch.dat data/ || die "loki patch failed"
+
+ insinto "${dir}"
+ exeinto "${dir}"
+ doins -r "${demo}"/*
+ doexe "${demo}/${exe}"
+
+ # Replace bad library
+ dosym /usr/$(use amd64 && echo lib32 || echo lib)/libSDL.so "${dir}"/libSDL-1.1.so.0
+
+ games_make_wrapper ${PN} "./${exe}" "${dir}" "${dir}"
+
+ # fix buffer overflow
+ sed -i -e '/^exec/i \
+export MESA_EXTENSION_MAX_YEAR=2003 \
+export __GL_ExtensionStringVersion=17700' "${ED}"/usr/games/bin/${PN}
+
+ newicon "${demo}"/launch/box.png ${PN}.png
+ make_desktop_entry ${PN} "Soldier of Fortune (Demo)"
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ ewarn "This game requires OSS sound device /dev/dsp ; make sure the module"
+ ewarn "snd_pcm_oss is loaded and/or built into your kernel or there will be no sound"
+ elog
+ elog "Run '${PN}' to start the game"
+}