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-sports/stormbaancoureur/files/, games-sports/stormbaancoureur/
Date: Thu, 29 Sep 2016 21:50:40
Message-Id: 1475185830.6a26a6d75ad86729649dfe694cb86ba720a35ae5.wizardedit@gentoo
1 commit: 6a26a6d75ad86729649dfe694cb86ba720a35ae5
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 29 21:49:35 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 29 21:50:30 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a26a6d7
7
8 games-sports/stormbaancoureur: 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.0
15
16 .../files/stormbaancoureur-2.1.6-gentoo.patch | 8 ++--
17 .../stormbaancoureur-2.1.6-r1.ebuild | 44 ++++++++++++++++++++++
18 2 files changed, 48 insertions(+), 4 deletions(-)
19
20 diff --git a/games-sports/stormbaancoureur/files/stormbaancoureur-2.1.6-gentoo.patch b/games-sports/stormbaancoureur/files/stormbaancoureur-2.1.6-gentoo.patch
21 index 07413ec..4523d67 100644
22 --- a/games-sports/stormbaancoureur/files/stormbaancoureur-2.1.6-gentoo.patch
23 +++ b/games-sports/stormbaancoureur/files/stormbaancoureur-2.1.6-gentoo.patch
24 @@ -1,5 +1,5 @@
25 ---- stormbaancoureur-2.1.6.orig/src-stormbaancoureur/Makefile
26 -+++ stormbaancoureur-2.1.6/src-stormbaancoureur/Makefile
27 +--- src-stormbaancoureur/Makefile
28 ++++ src-stormbaancoureur/Makefile
29 @@ -5,21 +5,21 @@
30 GLPREFIX=/usr
31 PLIBPREFIX=/usr
32 @@ -89,8 +89,8 @@
33
34 debugrun: stormbaancoureur
35 PLODE_DATADIR=`pwd` gdb ./stormbaancoureur
36 ---- stormbaancoureur-2.1.6.orig/src-stormbaancoureur/main.cxx
37 -+++ stormbaancoureur-2.1.6/src-stormbaancoureur/main.cxx
38 +--- src-stormbaancoureur/main.cxx
39 ++++ src-stormbaancoureur/main.cxx
40 @@ -836,15 +836,7 @@
41 fprintf(stderr,"plib is (c) by Steve Baker\n");
42 fprintf(stderr,"OpenDE is (c) by Russel L. Smith\n");
43
44 diff --git a/games-sports/stormbaancoureur/stormbaancoureur-2.1.6-r1.ebuild b/games-sports/stormbaancoureur/stormbaancoureur-2.1.6-r1.ebuild
45 new file mode 100644
46 index 00000000..08683c7
47 --- /dev/null
48 +++ b/games-sports/stormbaancoureur/stormbaancoureur-2.1.6-r1.ebuild
49 @@ -0,0 +1,44 @@
50 +# Copyright 1999-2016 Gentoo Foundation
51 +# Distributed under the terms of the GNU General Public License v2
52 +# $Id$
53 +
54 +EAPI=6
55 +inherit eutils
56 +
57 +DESCRIPTION="Simulated obstacle course for automobiles"
58 +HOMEPAGE="http://www.stolk.org/stormbaancoureur/"
59 +SRC_URI="http://www.stolk.org/stormbaancoureur/download/${P}.tar.gz"
60 +
61 +LICENSE="GPL-3"
62 +SLOT="0"
63 +KEYWORDS="~amd64 ~ppc ~x86"
64 +IUSE=""
65 +
66 +DEPEND="
67 + >=dev-games/ode-0.8
68 + media-libs/alsa-lib
69 + media-libs/freeglut
70 + >=media-libs/plib-1.8.4
71 + virtual/glu
72 + virtual/opengl"
73 +RDEPEND=${DEPEND}
74 +
75 +S=${WORKDIR}/${P}/src-${PN}
76 +
77 +PATCHES=(
78 + "${FILESDIR}"/${P}-gentoo.patch
79 +)
80 +
81 +src_prepare() {
82 + default
83 +
84 + sed -ie "s:GENTOODIR:/usr/share/${PN}:" main.cxx || die
85 +}
86 +
87 +src_install() {
88 + dobin ${PN}
89 + insinto /usr/share/${PN}
90 + doins -r images/ models/ sounds/ shaders/
91 + dodoc JOYSTICKS README TODO
92 + make_desktop_entry ${PN} "Stormbaan Coureur"
93 +}