diff options
author | Austin English <wizardedit@gentoo.org> | 2016-09-29 16:49:35 -0500 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2016-09-29 16:50:30 -0500 |
commit | 6a26a6d75ad86729649dfe694cb86ba720a35ae5 (patch) | |
tree | 824d5e7272b0a3dc3465f332c75d4d52ca702cba /games-sports/stormbaancoureur | |
parent | games-sports/speed-dreams: remove deprecated games eclass (diff) | |
download | gentoo-6a26a6d75ad86729649dfe694cb86ba720a35ae5.tar.gz gentoo-6a26a6d75ad86729649dfe694cb86ba720a35ae5.tar.bz2 gentoo-6a26a6d75ad86729649dfe694cb86ba720a35ae5.zip |
games-sports/stormbaancoureur: remove deprecated games eclass
Also update to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: portage-2.3.0
Diffstat (limited to 'games-sports/stormbaancoureur')
-rw-r--r-- | games-sports/stormbaancoureur/files/stormbaancoureur-2.1.6-gentoo.patch | 8 | ||||
-rw-r--r-- | games-sports/stormbaancoureur/stormbaancoureur-2.1.6-r1.ebuild | 44 |
2 files changed, 48 insertions, 4 deletions
diff --git a/games-sports/stormbaancoureur/files/stormbaancoureur-2.1.6-gentoo.patch b/games-sports/stormbaancoureur/files/stormbaancoureur-2.1.6-gentoo.patch index 07413ecb5448..4523d677e9f8 100644 --- a/games-sports/stormbaancoureur/files/stormbaancoureur-2.1.6-gentoo.patch +++ b/games-sports/stormbaancoureur/files/stormbaancoureur-2.1.6-gentoo.patch @@ -1,5 +1,5 @@ ---- stormbaancoureur-2.1.6.orig/src-stormbaancoureur/Makefile -+++ stormbaancoureur-2.1.6/src-stormbaancoureur/Makefile +--- src-stormbaancoureur/Makefile ++++ src-stormbaancoureur/Makefile @@ -5,21 +5,21 @@ GLPREFIX=/usr PLIBPREFIX=/usr @@ -89,8 +89,8 @@ debugrun: stormbaancoureur PLODE_DATADIR=`pwd` gdb ./stormbaancoureur ---- stormbaancoureur-2.1.6.orig/src-stormbaancoureur/main.cxx -+++ stormbaancoureur-2.1.6/src-stormbaancoureur/main.cxx +--- src-stormbaancoureur/main.cxx ++++ src-stormbaancoureur/main.cxx @@ -836,15 +836,7 @@ fprintf(stderr,"plib is (c) by Steve Baker\n"); fprintf(stderr,"OpenDE is (c) by Russel L. Smith\n"); diff --git a/games-sports/stormbaancoureur/stormbaancoureur-2.1.6-r1.ebuild b/games-sports/stormbaancoureur/stormbaancoureur-2.1.6-r1.ebuild new file mode 100644 index 000000000000..08683c7a1a3b --- /dev/null +++ b/games-sports/stormbaancoureur/stormbaancoureur-2.1.6-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils + +DESCRIPTION="Simulated obstacle course for automobiles" +HOMEPAGE="http://www.stolk.org/stormbaancoureur/" +SRC_URI="http://www.stolk.org/stormbaancoureur/download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND=" + >=dev-games/ode-0.8 + media-libs/alsa-lib + media-libs/freeglut + >=media-libs/plib-1.8.4 + virtual/glu + virtual/opengl" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${P}/src-${PN} + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch +) + +src_prepare() { + default + + sed -ie "s:GENTOODIR:/usr/share/${PN}:" main.cxx || die +} + +src_install() { + dobin ${PN} + insinto /usr/share/${PN} + doins -r images/ models/ sounds/ shaders/ + dodoc JOYSTICKS README TODO + make_desktop_entry ${PN} "Stormbaan Coureur" +} |