diff options
author | Ian Stakenvicius <axs@gentoo.org> | 2014-07-16 19:45:18 +0000 |
---|---|---|
committer | Ian Stakenvicius <axs@gentoo.org> | 2014-07-16 19:45:18 +0000 |
commit | 7d9998fd4f05b62d65e9181cdedfd583c49dad63 (patch) | |
tree | 0c27944f1c07229938418d6fd7be96bfffaf9586 /games-fps/rtcwsp-demo | |
parent | Bump, includes fixes for bugs #516920 (ip6gre functionality) and #506966 (use... (diff) | |
download | gentoo-2-7d9998fd4f05b62d65e9181cdedfd583c49dad63.tar.gz gentoo-2-7d9998fd4f05b62d65e9181cdedfd583c49dad63.tar.bz2 gentoo-2-7d9998fd4f05b62d65e9181cdedfd583c49dad63.zip |
Bumped EAPI to 5, adjusted deps for gx86-multilib, added buffer overflow workaround. AFAICT, game will not run ever anywhere, but this commit at least makes the ebuild up to date
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED)
Diffstat (limited to 'games-fps/rtcwsp-demo')
-rw-r--r-- | games-fps/rtcwsp-demo/ChangeLog | 13 | ||||
-rw-r--r-- | games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r1.ebuild | 67 |
2 files changed, 77 insertions, 3 deletions
diff --git a/games-fps/rtcwsp-demo/ChangeLog b/games-fps/rtcwsp-demo/ChangeLog index c4f838f47331..d69a289cb512 100644 --- a/games-fps/rtcwsp-demo/ChangeLog +++ b/games-fps/rtcwsp-demo/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for games-fps/rtcwsp-demo -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/rtcwsp-demo/ChangeLog,v 1.10 2012/02/08 21:24:43 vapier Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/rtcwsp-demo/ChangeLog,v 1.11 2014/07/16 19:45:18 axs Exp $ + +*rtcwsp-demo-1.1b-r1 (16 Jul 2014) + + 16 Jul 2014; Ian Stakenvicius (_AxS_) <axs@gentoo.org> + +rtcwsp-demo-1.1b-r1.ebuild: + Bumped EAPI to 5, adjusted deps for gx86-multilib, added buffer overflow + workaround. AFAICT, game will not run ever anywhere, but this commit at least + makes the ebuild up to date 08 Feb 2012; Mike Frysinger <vapier@gentoo.org> rtcwsp-demo-1.1b.ebuild: Move to new unpacker eclass for unpack_makeself. @@ -42,4 +50,3 @@ +rtcwsp-demo-1.1b.ebuild: Initial import. Ebuild by Alexander Nicolaysen Sornes <alex@thehandofagony.com>. Closing bug #115778. - diff --git a/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r1.ebuild b/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r1.ebuild new file mode 100644 index 000000000000..5156ce72bce0 --- /dev/null +++ b/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r1.ebuild,v 1.1 2014/07/16 19:45:17 axs Exp $ + +EAPI=5 +inherit eutils unpacker games + +MY_P="wolfspdemo-linux-${PV}.x86.run" + +DESCRIPTION="Return to Castle Wolfenstein - Single-player demo" +HOMEPAGE="http://games.activision.com/games/wolfenstein/" +SRC_URI="mirror://idsoftware/wolf/linux/old/${MY_P} + mirror://3dgamers/returnwolfenstein/${MY_P}" + +LICENSE="RTCW" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="strip mirror" + +RDEPEND="sys-libs/glibc + amd64? ( sys-libs/glibc[multilib] ) + || ( + ( + virtual/opengl[abi_x86_32(-)] + x11-libs/libX11[abi_x86_32(-)] + x11-libs/libXext[abi_x86_32(-)] + ) + ( + app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)] + app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] + ) + )" + +S=${WORKDIR} + +dir=${GAMES_PREFIX_OPT}/${PN} +Ddir=${D}/${dir} + +src_install() { + insinto "${dir}" + doins -r demomain Docs + + exeinto "${dir}" + doexe bin/x86/wolfsp.x86 openurl.sh || die "copying exe" + + games_make_wrapper ${PN} ./wolfsp.x86 "${dir}" "${dir}" + + # fix buffer overflow + sed -i -e '/^exec/i \ +export MESA_EXTENSION_MAX_YEAR=2003 \ +export __GL_ExtensionStringVersion=17700' "${ED}/${GAMES_BINDIR}"/${PN} + + doins WolfSP.xpm CHANGES + newicon WolfSP.xpm ${PN}.xpm + + prepgamesdirs + make_desktop_entry ${PN} "Return to Castle Wolfenstein (SP demo)" \ + ${PN}.xpm +} + +pkg_postinst() { + games_pkg_postinst + elog "Install 'rtcwmp-demo' for multi-player" + elog + elog "Run '${PN}' for single-player" +} |