Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/spacetripper-demo/
Date: Mon, 30 Jan 2017 23:09:40
Message-Id: 1485817753.cfa71094f1e64c24742bd7ab7c4cfba88939ac78.wizardedit@gentoo
1 commit: cfa71094f1e64c24742bd7ab7c4cfba88939ac78
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 30 21:55:11 2017 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 30 23:09:13 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfa71094
7
8 games-action/spacetripper-demo: remove deprecated games eclass
9
10 Also update to EAPI 6
11
12 Gentoo-Bug: https://bugs.gentoo.org/574082
13
14 Package-Manager: Portage-2.3.2, Repoman-2.3.1
15
16 .../spacetripper-demo-1-r1.ebuild | 48 ++++++++++++++++++++++
17 1 file changed, 48 insertions(+)
18
19 diff --git a/games-action/spacetripper-demo/spacetripper-demo-1-r1.ebuild b/games-action/spacetripper-demo/spacetripper-demo-1-r1.ebuild
20 new file mode 100644
21 index 00000000..e428234
22 --- /dev/null
23 +++ b/games-action/spacetripper-demo/spacetripper-demo-1-r1.ebuild
24 @@ -0,0 +1,48 @@
25 +# Copyright 1999-2017 Gentoo Foundation
26 +# Distributed under the terms of the GNU General Public License v2
27 +# $Id$
28 +
29 +EAPI=6
30 +inherit eutils unpacker
31 +
32 +MY_P="spacetripperdemo"
33 +DESCRIPTION="Hardcore arcade shoot-em-up"
34 +HOMEPAGE="http://www.pompomgames.com/"
35 +SRC_URI="http://www.btinternet.com/~bongpig/${MY_P}.sh"
36 +
37 +LICENSE="POMPOM"
38 +SLOT="0"
39 +KEYWORDS="-* ~amd64 ~x86"
40 +IUSE=""
41 +RESTRICT="strip"
42 +
43 +RDEPEND="
44 + >=virtual/opengl-7.0-r1[abi_x86_32(-)]
45 + >=media-libs/libsdl-1.2.15-r4[abi_x86_32(-),X,video,joystick,opengl,sound]"
46 +
47 +S=${WORKDIR}
48 +
49 +dir=/opt/${PN}
50 +Ddir=${D}/${dir}
51 +
52 +QA_PREBUILT="${dir}/*"
53 +
54 +src_unpack() {
55 + unpack_makeself
56 +}
57 +
58 +src_install() {
59 + exeinto "${dir}"
60 + doexe bin/x86/*
61 + # Remove libSDL since we use the system version and our version doesn't
62 + # have TEXTRELs in it.
63 + rm -f "${Ddir}"/libSDL-1.2.so.0.0.5 || die
64 + sed -i -e "s:XYZZY:${dir}:" "${Ddir}/${MY_P}" || die
65 +
66 + insinto "${dir}"
67 + doins -r preview run styles README license.txt icon.xpm
68 + newicon icon.xpm spacetripper-demo.png
69 +
70 + make_wrapper spacetripper-demo ./spacetripperdemo "${dir}" "${dir}"
71 + make_desktop_entry spacetripper-demo spacetripper-demo spacetripper-demo
72 +}