1 |
axs 14/07/07 19:05:33 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: enemy-territory-2.60b-r1.ebuild |
5 |
Log: |
6 |
Bumped EAPI to 5, adjusted deps for gx86-multilib |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED) |
9 |
|
10 |
Revision Changes Path |
11 |
1.51 games-fps/enemy-territory/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/enemy-territory/ChangeLog?rev=1.51&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/enemy-territory/ChangeLog?rev=1.51&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/enemy-territory/ChangeLog?r1=1.50&r2=1.51 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/games-fps/enemy-territory/ChangeLog,v |
20 |
retrieving revision 1.50 |
21 |
retrieving revision 1.51 |
22 |
diff -u -r1.50 -r1.51 |
23 |
--- ChangeLog 24 Sep 2012 00:33:35 -0000 1.50 |
24 |
+++ ChangeLog 7 Jul 2014 19:05:33 -0000 1.51 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for games-fps/enemy-territory |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/games-fps/enemy-territory/ChangeLog,v 1.50 2012/09/24 00:33:35 vapier Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/games-fps/enemy-territory/ChangeLog,v 1.51 2014/07/07 19:05:33 axs Exp $ |
31 |
+ |
32 |
+*enemy-territory-2.60b-r1 (07 Jul 2014) |
33 |
+ |
34 |
+ 07 Jul 2014; Ian Stakenvicius (_AxS_) <axs@g.o> |
35 |
+ +enemy-territory-2.60b-r1.ebuild: |
36 |
+ Bumped EAPI to 5, adjusted deps for gx86-multilib |
37 |
|
38 |
24 Sep 2012; Mike Frysinger <vapier@g.o> enemy-territory-2.60b.ebuild: |
39 |
QA_DT_HASH (old/deprecated) -> QA_FLAGS_IGNORED (new hotness). |
40 |
|
41 |
|
42 |
|
43 |
1.1 games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: enemy-territory-2.60b-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild,v 1.1 2014/07/07 19:05:33 axs Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
inherit eutils unpacker games |
56 |
|
57 |
DESCRIPTION="standalone multi-player game based on Return to Castle Wolfenstein" |
58 |
HOMEPAGE="http://www.idsoftware.com/" |
59 |
SRC_URI="mirror://3dgamers/wolfensteinet/et-linux-2.60.x86.run |
60 |
mirror://idsoftware/et/linux/et-linux-2.60.x86.run |
61 |
ftp://ftp.red.telefonica-wholesale.net/GAMES/ET/linux/et-linux-2.60.x86.run |
62 |
mirror://idsoftware/et/ET-${PV}.zip |
63 |
dedicated? ( |
64 |
http://dev.gentoo.org/~wolf31o2/sources/dump/${PN}-all-0.1.tar.bz2 |
65 |
mirror://gentoo/${PN}-all-0.1.tar.bz2 |
66 |
)" |
67 |
|
68 |
LICENSE="RTCW-ETEULA" |
69 |
SLOT="0" |
70 |
KEYWORDS="-* ~amd64 ~x86" |
71 |
IUSE="dedicated opengl" |
72 |
RESTRICT="mirror strip" |
73 |
|
74 |
DEPEND="app-arch/unzip" |
75 |
RDEPEND="sys-libs/glibc |
76 |
amd64? ( sys-libs/glibc[multilib] ) |
77 |
dedicated? ( app-misc/screen ) |
78 |
opengl? ( || ( virtual/opengl[abi_x86_32(-)] |
79 |
app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] |
80 |
) ) |
81 |
!dedicated? ( || ( |
82 |
( |
83 |
x11-libs/libX11[abi_x86_32(-)] |
84 |
x11-libs/libXext[abi_x86_32(-)] |
85 |
) |
86 |
app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)] |
87 |
) )" |
88 |
|
89 |
S=${WORKDIR} |
90 |
|
91 |
dir=${GAMES_PREFIX_OPT}/${PN} |
92 |
Ddir=${D}/${dir} |
93 |
|
94 |
QA_TEXTRELS="${dir:1}/pb/pbags.so |
95 |
${dir:1}/pb/pbcls.so |
96 |
${dir:1}/pb/pbag.so |
97 |
${dir:1}/pb/pbcl.so |
98 |
${dir:1}/pb/pbsv.so" |
99 |
QA_EXECSTACK="${dir:1}/et.x86 |
100 |
${dir:1}/etmain/cgame.mp.i386.so |
101 |
${dir:1}/etmain/qagame.mp.i386.so |
102 |
${dir:1}/etmain/ui.mp.i386.so" |
103 |
QA_FLAGS_IGNORED="${QA_TEXTRELS} |
104 |
${QA_EXECSTACK} |
105 |
${dir:1}/pb/pbweb.x86" |
106 |
QA_EXECSTACK_x86=${QA_EXECSTACK} |
107 |
QA_EXECSTACK_amd64=${QA_EXECSTACK} |
108 |
|
109 |
src_unpack() { |
110 |
unpack_makeself et-linux-2.60.x86.run |
111 |
if use dedicated; then |
112 |
unpack ${PN}-all-0.1.tar.bz2 || die |
113 |
fi |
114 |
unpack ET-${PV}.zip |
115 |
} |
116 |
|
117 |
src_install() { |
118 |
exeinto "${dir}" |
119 |
doexe openurl.sh || die "doexe failed" |
120 |
doexe "Enemy Territory 2.60b"/linux/et.x86 || die "doexe et" |
121 |
insinto "${dir}" |
122 |
dodoc CHANGES README || die "doins failed" |
123 |
doicon ET.xpm |
124 |
|
125 |
cp -r Docs pb etmain "${Ddir}" || die "cp failed" |
126 |
chmod og+x "${Ddir}"/pb/pbweb.x86 || die "chmod failed" |
127 |
|
128 |
games_make_wrapper et ./et.x86 "${dir}" "${dir}" |
129 |
|
130 |
if use dedicated ; then |
131 |
doexe "Enemy Territory 2.60b"/linux/etded.x86 || die "doexe failed" |
132 |
games_make_wrapper et-ded ./etded.x86 "${dir}" |
133 |
newinitd "${S}"/et-ded.rc et-ded || die "newinitd failed" |
134 |
sed -i \ |
135 |
-e "s:GAMES_USER_DED:${GAMES_USER_DED}:" \ |
136 |
-e "s:GENTOO_DIR:${GAMES_BINDIR}:" \ |
137 |
"${D}"/etc/init.d/et-ded \ |
138 |
|| die "sed failed" |
139 |
newconfd "${S}"/et-ded.conf.d et-ded || die "newconfd failed" |
140 |
# TODO: move this to /var/ perhaps ? |
141 |
keepdir "${dir}/etwolf-homedir" |
142 |
chmod g+rw "${Ddir}/etwolf-homedir" |
143 |
dosym "${dir}/etwolf-homedir" "${GAMES_PREFIX}/.etwolf" |
144 |
fi |
145 |
|
146 |
make_desktop_entry et "Enemy Territory" ET |
147 |
|
148 |
prepgamesdirs |
149 |
chmod g+rw "${Ddir}" "${Ddir}/etmain" |
150 |
} |
151 |
|
152 |
pkg_postinst() { |
153 |
games_pkg_postinst |
154 |
ewarn "There are two possible security bugs in this package, both causing a" |
155 |
ewarn "denial of service. One affects the game when running a server, the" |
156 |
ewarn "other when running as a client." |
157 |
ewarn "For more information, see bug #82149." |
158 |
echo |
159 |
elog "To play the game run:" |
160 |
elog " et" |
161 |
echo |
162 |
if use dedicated; then |
163 |
elog "To start a dedicated server run:" |
164 |
elog " /etc/init.d/et-ded start" |
165 |
echo |
166 |
elog "To run the dedicated server at boot, type:" |
167 |
elog " rc-update add et-ded default" |
168 |
echo |
169 |
elog "The dedicated server is started under the ${GAMES_USER_DED} user account." |
170 |
echo |
171 |
ewarn "Store your configurations under ${dir}/etwolf-homedir or they" |
172 |
ewarn "will be erased on the next upgrade." |
173 |
ewarn "See bug #132795 for more info." |
174 |
echo |
175 |
fi |
176 |
if use amd64; then |
177 |
elog "If you are running an amd64 system and using ALSA, you must have" |
178 |
elog "ALSA 32-bit emulation enabled in your kernel for this to function properly." |
179 |
echo |
180 |
fi |
181 |
} |