1 |
mr_bones_ 09/02/03 23:37:21 |
2 |
|
3 |
Modified: ChangeLog excido-0.1.5c-r1.ebuild |
4 |
Log: |
5 |
EAPI=2; clean up build a bit |
6 |
(Portage version: 2.1.6.4/cvs/Linux 2.6.28.1 i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.16 games-arcade/excido/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/excido/ChangeLog?rev=1.16&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/excido/ChangeLog?rev=1.16&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/excido/ChangeLog?r1=1.15&r2=1.16 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/games-arcade/excido/ChangeLog,v |
18 |
retrieving revision 1.15 |
19 |
retrieving revision 1.16 |
20 |
diff -u -r1.15 -r1.16 |
21 |
--- ChangeLog 6 Dec 2006 20:14:40 -0000 1.15 |
22 |
+++ ChangeLog 3 Feb 2009 23:37:20 -0000 1.16 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for games-arcade/excido |
25 |
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/excido/ChangeLog,v 1.15 2006/12/06 20:14:40 wolf31o2 Exp $ |
27 |
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/excido/ChangeLog,v 1.16 2009/02/03 23:37:20 mr_bones_ Exp $ |
29 |
+ |
30 |
+ 03 Feb 2009; Michael Sterrett <mr_bones_@g.o> |
31 |
+ excido-0.1.5c-r1.ebuild: |
32 |
+ EAPI=2; clean up build a bit |
33 |
|
34 |
06 Dec 2006; Chris Gianelloni <wolf31o2@g.o> |
35 |
excido-0.1.5c-r1.ebuild: |
36 |
|
37 |
|
38 |
|
39 |
1.8 games-arcade/excido/excido-0.1.5c-r1.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/excido/excido-0.1.5c-r1.ebuild?rev=1.8&view=markup |
42 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/excido/excido-0.1.5c-r1.ebuild?rev=1.8&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/excido/excido-0.1.5c-r1.ebuild?r1=1.7&r2=1.8 |
44 |
|
45 |
Index: excido-0.1.5c-r1.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/games-arcade/excido/excido-0.1.5c-r1.ebuild,v |
48 |
retrieving revision 1.7 |
49 |
retrieving revision 1.8 |
50 |
diff -u -r1.7 -r1.8 |
51 |
--- excido-0.1.5c-r1.ebuild 6 Dec 2006 20:14:40 -0000 1.7 |
52 |
+++ excido-0.1.5c-r1.ebuild 3 Feb 2009 23:37:20 -0000 1.8 |
53 |
@@ -1,8 +1,9 @@ |
54 |
-# Copyright 1999-2006 Gentoo Foundation |
55 |
+# Copyright 1999-2009 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/excido/excido-0.1.5c-r1.ebuild,v 1.7 2006/12/06 20:14:40 wolf31o2 Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/excido/excido-0.1.5c-r1.ebuild,v 1.8 2009/02/03 23:37:20 mr_bones_ Exp $ |
59 |
|
60 |
-inherit eutils toolchain-funcs games |
61 |
+EAPI=2 |
62 |
+inherit eutils games |
63 |
|
64 |
DESCRIPTION="A fast paced action game" |
65 |
HOMEPAGE="http://icculus.org/excido/" |
66 |
@@ -14,17 +15,26 @@ |
67 |
IUSE="" |
68 |
|
69 |
DEPEND="dev-games/physfs |
70 |
- media-libs/libsdl |
71 |
+ media-libs/libsdl[opengl] |
72 |
media-libs/sdl-mixer |
73 |
media-libs/sdl-ttf |
74 |
- media-libs/sdl-image |
75 |
+ media-libs/sdl-image[png] |
76 |
media-libs/openal |
77 |
media-libs/freealut" |
78 |
|
79 |
-src_unpack() { |
80 |
- unpack ${A} |
81 |
- cd "${S}" |
82 |
+src_prepare() { |
83 |
epatch "${FILESDIR}"/${P}-alut.patch |
84 |
+ sed -i \ |
85 |
+ -e '/^CC=/d' \ |
86 |
+ -e '/^LIBS/s/-s -Bstatic//' \ |
87 |
+ -e 's/-static//' \ |
88 |
+ -e 's/-L./`sdl-config --libs`/' \ |
89 |
+ -e '/^CFLAGS=/s/CFLAGS/CXXFLAGS+/' \ |
90 |
+ -e 's/(CC)/(CXX)/g' \ |
91 |
+ -e 's/(CFLAGS)/(CXXFLAGS)/g' \ |
92 |
+ -e '/(LIBS)/s/$(LIBS)/$(LDFLAGS) $(LIBS)/' \ |
93 |
+ Makefile \ |
94 |
+ || die "sed failed" |
95 |
} |
96 |
|
97 |
src_compile() { |
98 |
@@ -38,11 +48,11 @@ |
99 |
|
100 |
src_install() { |
101 |
dodir "${GAMES_BINDIR}" "${GAMES_DATADIR}/${PN}" |
102 |
- make \ |
103 |
+ emake \ |
104 |
PREFIX="${D}/usr" \ |
105 |
BINDIR="${D}${GAMES_BINDIR}/" \ |
106 |
DATADIR="${D}${GAMES_DATADIR}/${PN}/" \ |
107 |
- install || die "make install failed" |
108 |
+ install || die "emake install failed" |
109 |
dodoc BUGS CHANGELOG HACKING README TODO \ |
110 |
keyguide.txt data/CREDITS data/*.txt |
111 |
prepgamesdirs |