1 |
mr_bones_ 09/07/01 05:02:57 |
2 |
|
3 |
Modified: savage-bin-2.00e.ebuild ChangeLog |
4 |
Log: |
5 |
improvements patch from Pacho Ramos (bug #237487) |
6 |
(Portage version: 2.1.6.13/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.7 games-strategy/savage-bin/savage-bin-2.00e.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/savage-bin/savage-bin-2.00e.ebuild?rev=1.7&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/savage-bin/savage-bin-2.00e.ebuild?rev=1.7&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/savage-bin/savage-bin-2.00e.ebuild?r1=1.6&r2=1.7 |
14 |
|
15 |
Index: savage-bin-2.00e.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/games-strategy/savage-bin/savage-bin-2.00e.ebuild,v |
18 |
retrieving revision 1.6 |
19 |
retrieving revision 1.7 |
20 |
diff -u -r1.6 -r1.7 |
21 |
--- savage-bin-2.00e.ebuild 6 Dec 2008 14:57:20 -0000 1.6 |
22 |
+++ savage-bin-2.00e.ebuild 1 Jul 2009 05:02:57 -0000 1.7 |
23 |
@@ -1,13 +1,16 @@ |
24 |
-# Copyright 1999-2008 Gentoo Foundation |
25 |
+# Copyright 1999-2009 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/savage-bin/savage-bin-2.00e.ebuild,v 1.6 2008/12/06 14:57:20 nyhm Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/savage-bin/savage-bin-2.00e.ebuild,v 1.7 2009/07/01 05:02:57 mr_bones_ Exp $ |
29 |
|
30 |
+EAPI=2 |
31 |
inherit eutils games |
32 |
|
33 |
DESCRIPTION="Unique mix of strategy and FPS" |
34 |
HOMEPAGE="http://www.s2games.com/savage/ |
35 |
- http://www.notforidiots.com/SFE/" |
36 |
-SRC_URI="http://www.notforidiots.com/SFE/SFE-Standalone.tar.gz" |
37 |
+ http://www.notforidiots.com/SFE/ |
38 |
+ http://www.newerth.com/" |
39 |
+SRC_URI="http://www.newerth.com/downloads/SFE-Standalone.tar.gz |
40 |
+ http://www.newerth.com/downloads/lin-client-auth-patch.zip" |
41 |
|
42 |
LICENSE="as-is" |
43 |
SLOT="0" |
44 |
@@ -16,27 +19,35 @@ |
45 |
RESTRICT="mirror strip" |
46 |
|
47 |
RDEPEND="virtual/opengl |
48 |
- media-libs/libsdl |
49 |
- media-libs/jpeg |
50 |
- >=media-libs/freetype-2" |
51 |
+ x86? ( media-libs/libsdl |
52 |
+ media-libs/jpeg |
53 |
+ >=media-libs/freetype-2 ) |
54 |
+ amd64? ( app-emulation/emul-linux-x86-sdl )" |
55 |
|
56 |
S=${WORKDIR} |
57 |
|
58 |
dir=${GAMES_PREFIX_OPT}/savage |
59 |
|
60 |
QA_TEXTRELS="${dir:1}/libs/libfmod.so |
61 |
- ${dir:1}/libs/libfmod-3.75.so" |
62 |
+ ${dir:1}/libs/libfmod-3.75.so |
63 |
+ ${dir:1}/game/game.so" |
64 |
QA_EXECSTACK="${dir:1}/libs/libfmod.so |
65 |
${dir:1}/libs/libfmod-3.75.so" |
66 |
|
67 |
-src_unpack() { |
68 |
- unpack ${A} |
69 |
- cd "${S}" |
70 |
+src_prepare() { |
71 |
+ cp -f lin-client-auth-patch/silverback.bin . |
72 |
+ cp -f lin-client-auth-patch/game/game.so game/. |
73 |
+ cp -f lin-client-auth-patch/libs/libpng12.so.0 libs/. |
74 |
+ rm -rf lin-client-auth-patch/ |
75 |
rm -f graveyard/game.dll *.sh |
76 |
sed \ |
77 |
-e "s:%GAMES_PREFIX_OPT%:${GAMES_PREFIX_OPT}:" \ |
78 |
"${FILESDIR}"/savage > "${T}"/savage \ |
79 |
|| die "sed failed" |
80 |
+ # Here, we default to the best resolution |
81 |
+ sed -i -e \ |
82 |
+ 's/setsave vid_mode -1/setsave vid_mode 1/' \ |
83 |
+ game/settings/default.cfg || die "sed failed" |
84 |
} |
85 |
|
86 |
src_install() { |
87 |
|
88 |
|
89 |
|
90 |
1.8 games-strategy/savage-bin/ChangeLog |
91 |
|
92 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/savage-bin/ChangeLog?rev=1.8&view=markup |
93 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/savage-bin/ChangeLog?rev=1.8&content-type=text/plain |
94 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/savage-bin/ChangeLog?r1=1.7&r2=1.8 |
95 |
|
96 |
Index: ChangeLog |
97 |
=================================================================== |
98 |
RCS file: /var/cvsroot/gentoo-x86/games-strategy/savage-bin/ChangeLog,v |
99 |
retrieving revision 1.7 |
100 |
retrieving revision 1.8 |
101 |
diff -u -r1.7 -r1.8 |
102 |
--- ChangeLog 5 Sep 2008 15:43:44 -0000 1.7 |
103 |
+++ ChangeLog 1 Jul 2009 05:02:57 -0000 1.8 |
104 |
@@ -1,6 +1,10 @@ |
105 |
# ChangeLog for games-strategy/savage-bin |
106 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
107 |
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/savage-bin/ChangeLog,v 1.7 2008/09/05 15:43:44 mr_bones_ Exp $ |
108 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
109 |
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/savage-bin/ChangeLog,v 1.8 2009/07/01 05:02:57 mr_bones_ Exp $ |
110 |
+ |
111 |
+ 30 Jun 2009; Michael Sterrett <mr_bones_@g.o> |
112 |
+ savage-bin-2.00e.ebuild: |
113 |
+ improvements patch from Pacho Ramos (bug #237487) |
114 |
|
115 |
05 Sep 2008; Michael Sterrett <mr_bones_@g.o> +files/savage, |
116 |
savage-bin-2.00e.ebuild: |