Gentoo Archives: gentoo-commits

From: "Alfredo Tupone (tupone)" <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-sports/miniracer: ChangeLog miniracer-1.04.ebuild
Date: Sat, 27 Feb 2010 21:04:16
Message-Id: E1NlTpd-0005nP-3I@stork.gentoo.org
1 tupone 10/02/27 21:04:13
2
3 Modified: ChangeLog miniracer-1.04.ebuild
4 Log:
5 ELF file installed under game_libdir. Fix bug #304943
6 (Portage version: 2.1.7.16/cvs/Linux i686)
7
8 Revision Changes Path
9 1.7 games-sports/miniracer/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/miniracer/ChangeLog?rev=1.7&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/miniracer/ChangeLog?rev=1.7&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/miniracer/ChangeLog?r1=1.6&r2=1.7
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-sports/miniracer/ChangeLog,v
18 retrieving revision 1.6
19 retrieving revision 1.7
20 diff -u -r1.6 -r1.7
21 --- ChangeLog 30 Jan 2008 17:10:40 -0000 1.6
22 +++ ChangeLog 27 Feb 2010 21:04:12 -0000 1.7
23 @@ -1,6 +1,11 @@
24 # ChangeLog for games-sports/miniracer
25 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/games-sports/miniracer/ChangeLog,v 1.6 2008/01/30 17:10:40 nyhm Exp $
27 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/games-sports/miniracer/ChangeLog,v 1.7 2010/02/27 21:04:12 tupone Exp $
29 +
30 + 27 Feb 2010; Tupone Alfredo <tupone@g.o> miniracer-1.04.ebuild,
31 + +files/miniracer-1.04-nosharedelf.patch:
32 + ELF file installed under game_libdir. Fix bug #304943 by
33 + flameeyes@g.o
34
35 30 Jan 2008; Tristan Heaven <nyhm@g.o> miniracer-1.04.ebuild:
36 Depend on virtual/opengl and not media-libs/mesa
37
38
39
40 1.6 games-sports/miniracer/miniracer-1.04.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/miniracer/miniracer-1.04.ebuild?rev=1.6&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/miniracer/miniracer-1.04.ebuild?rev=1.6&content-type=text/plain
44 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/miniracer/miniracer-1.04.ebuild?r1=1.5&r2=1.6
45
46 Index: miniracer-1.04.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/games-sports/miniracer/miniracer-1.04.ebuild,v
49 retrieving revision 1.5
50 retrieving revision 1.6
51 diff -u -r1.5 -r1.6
52 --- miniracer-1.04.ebuild 30 Jan 2008 17:10:40 -0000 1.5
53 +++ miniracer-1.04.ebuild 27 Feb 2010 21:04:12 -0000 1.6
54 @@ -1,8 +1,9 @@
55 -# Copyright 1999-2008 Gentoo Foundation
56 +# Copyright 1999-2010 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 -# $Header: /var/cvsroot/gentoo-x86/games-sports/miniracer/miniracer-1.04.ebuild,v 1.5 2008/01/30 17:10:40 nyhm Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/games-sports/miniracer/miniracer-1.04.ebuild,v 1.6 2010/02/27 21:04:12 tupone Exp $
60 +EAPI=2
61
62 -inherit games
63 +inherit eutils games
64
65 DESCRIPTION="an OpenGL car racing game, based on ID's famous Quake engine"
66 HOMEPAGE="http://miniracer.sourceforge.net/"
67 @@ -25,9 +26,8 @@
68 x11-proto/xf86vidmodeproto
69 x11-proto/xproto"
70
71 -src_unpack() {
72 - unpack ${A}
73 - cd "${S}"
74 +src_prepare() {
75 + epatch "${FILESDIR}"/${P}-nosharedelf.patch
76 sed -i \
77 -e '/^CC=/d' \
78 -e "s:\$(DESTDIR)/usr/bin:\$(DESTDIR)${GAMES_BINDIR}:" \
79 @@ -36,6 +36,11 @@
80 -e "/LDFLAGS/s:-lSDL -lSDL_mixer -lpthread:$(sdl-config --libs) -lSDL_mixer:" \
81 Makefile \
82 || die "sed failed"
83 + sed -i \
84 + -e "s:@GAMES_LIBDIR@:$(games_get_libdir)/${PN}:" \
85 + miniracer \
86 + Makefile \
87 + || die "2nd sed failed"
88 }
89
90 src_install() {