1 |
mgorny 14/06/25 17:10:07 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: savage-bin-2.00e-r1.ebuild |
5 |
Log: |
6 |
Support multilib dependencies aside to emul-linux-x86. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.18 games-strategy/savage-bin/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/savage-bin/ChangeLog?rev=1.18&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/savage-bin/ChangeLog?rev=1.18&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/savage-bin/ChangeLog?r1=1.17&r2=1.18 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/games-strategy/savage-bin/ChangeLog,v |
20 |
retrieving revision 1.17 |
21 |
retrieving revision 1.18 |
22 |
diff -u -r1.17 -r1.18 |
23 |
--- ChangeLog 26 Apr 2014 09:48:06 -0000 1.17 |
24 |
+++ ChangeLog 25 Jun 2014 17:10:07 -0000 1.18 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for games-strategy/savage-bin |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/savage-bin/ChangeLog,v 1.17 2014/04/26 09:48:06 ulm Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/savage-bin/ChangeLog,v 1.18 2014/06/25 17:10:07 mgorny Exp $ |
30 |
+ |
31 |
+*savage-bin-2.00e-r1 (25 Jun 2014) |
32 |
+ |
33 |
+ 25 Jun 2014; Michał Górny <mgorny@g.o> +savage-bin-2.00e-r1.ebuild: |
34 |
+ Support multilib dependencies aside to emul-linux-x86. |
35 |
|
36 |
26 Apr 2014; Ulrich Müller <ulm@g.o> savage-bin-2.00e.ebuild: |
37 |
Fix LICENSE, add bindist restriction, bug 505778. |
38 |
|
39 |
|
40 |
|
41 |
1.1 games-strategy/savage-bin/savage-bin-2.00e-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/savage-bin/savage-bin-2.00e-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/savage-bin/savage-bin-2.00e-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: savage-bin-2.00e-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/games-strategy/savage-bin/savage-bin-2.00e-r1.ebuild,v 1.1 2014/06/25 17:10:07 mgorny Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
inherit eutils games |
54 |
|
55 |
DESCRIPTION="Unique mix of strategy and FPS" |
56 |
HOMEPAGE="http://www.s2games.com/savage/ |
57 |
http://www.notforidiots.com/SFE/ |
58 |
http://www.newerth.com/" |
59 |
SRC_URI="http://www.newerth.com/?id=downloads&op=downloadFile&file=SFE-Standalone.tar.gz&mirrorid=1 -> SFE-Standalone.tar.gz |
60 |
http://www.newerth.com/?id=downloads&op=downloadFile&file=SFE-Standalone.tar.gz&mirrorid=2 -> SFE-Standalone.tar.gz |
61 |
http://www.newerth.com/?id=downloads&op=downloadFile&file=SFE-Standalone.tar.gz&mirrorid=3 -> SFE-Standalone.tar.gz |
62 |
http://www.newerth.com/?id=downloads&op=downloadFile&file=lin-client-auth-patch.zip&mirrorid=1 -> lin-client-auth-patch.zip |
63 |
http://www.newerth.com/?id=downloads&op=downloadFile&file=lin-client-auth-patch.zip&mirrorid=2 -> lin-client-auth-patch.zip |
64 |
http://www.newerth.com/?id=downloads&op=downloadFile&file=lin-client-auth-patch.zip&mirrorid=3 -> lin-client-auth-patch.zip" |
65 |
|
66 |
LICENSE="all-rights-reserved" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64 ~x86" |
69 |
IUSE="" |
70 |
RESTRICT="mirror bindist strip" |
71 |
|
72 |
RDEPEND=" |
73 |
|| ( |
74 |
( |
75 |
>=media-libs/freetype-2[abi_x86_32(-)] |
76 |
media-libs/libsdl[abi_x86_32(-)] |
77 |
virtual/jpeg:62[abi_x86_32(-)] |
78 |
virtual/opengl[abi_x86_32(-)] |
79 |
) |
80 |
amd64? ( |
81 |
( |
82 |
app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
83 |
app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] |
84 |
app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)] |
85 |
app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)] |
86 |
) |
87 |
) |
88 |
)" |
89 |
DEPEND="app-arch/unzip" |
90 |
|
91 |
S=${WORKDIR} |
92 |
|
93 |
dir=${GAMES_PREFIX_OPT}/savage |
94 |
|
95 |
QA_TEXTRELS="${dir:1}/libs/libfmod.so |
96 |
${dir:1}/libs/libfmod-3.75.so |
97 |
${dir:1}/game/game.so" |
98 |
QA_EXECSTACK="${dir:1}/libs/libfmod.so |
99 |
${dir:1}/libs/libfmod-3.75.so" |
100 |
|
101 |
src_prepare() { |
102 |
cp -f lin-client-auth-patch/silverback.bin . |
103 |
cp -f lin-client-auth-patch/game/game.so game/. |
104 |
cp -f lin-client-auth-patch/libs/libpng12.so.0 libs/. |
105 |
rm -rf lin-client-auth-patch/ |
106 |
rm -f graveyard/game.dll *.sh |
107 |
sed -e "s:%GAMES_PREFIX_OPT%:${GAMES_PREFIX_OPT}:" \ |
108 |
-e 's/^exec /__GL_ExtensionStringVersion=17700 exec /' \ |
109 |
"${FILESDIR}"/savage > "${T}"/savage || die |
110 |
# Here, we default to the best resolution |
111 |
sed -i \ |
112 |
-e 's/setsave vid_mode -1/setsave vid_mode 1/' \ |
113 |
game/settings/default.cfg || die |
114 |
} |
115 |
|
116 |
src_install() { |
117 |
insinto "${dir}" |
118 |
doins -r * |
119 |
fperms g+x "${dir}"/silverback.bin |
120 |
dosym /dev/null "${dir}"/scripts.log |
121 |
|
122 |
dogamesbin "${T}"/savage |
123 |
make_desktop_entry savage "Savage: The Battle For Newerth" |
124 |
|
125 |
games_make_wrapper savage-graveyard "./silverback.bin set mod graveyard" \ |
126 |
"${dir}" "${dir}"/libs |
127 |
sed -i \ |
128 |
-e 's/^exec /__GL_ExtensionStringVersion=17700 exec /' \ |
129 |
"${D}/${GAMES_BINDIR}/savage-graveyard" || die |
130 |
make_desktop_entry savage-graveyard "Savage: Graveyard" |
131 |
|
132 |
prepgamesdirs |
133 |
} |
134 |
|
135 |
pkg_postinst() { |
136 |
games_pkg_postinst |
137 |
elog "In order to play \"Savage: The Battle For Newerth\", use:" |
138 |
elog "savage" |
139 |
elog "In order to start Editor, use:" |
140 |
elog "savage-graveyard" |
141 |
} |