1 |
commit: 9fd71f237569e488673b9416bb8cb95e8a5ed398 |
2 |
Author: Nils Freydank <holgersson <AT> posteo <DOT> de> |
3 |
AuthorDate: Tue Feb 6 14:25:25 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 7 19:19:38 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fd71f23 |
7 |
|
8 |
games-fps/urbanterror: Cleanup old ebuilds. |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/7091 |
11 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
12 |
|
13 |
games-fps/urbanterror/Manifest | 2 - |
14 |
.../urbanterror/urbanterror-4.3.2_p20171208.ebuild | 163 --------------------- |
15 |
.../urbanterror/urbanterror-4.3.2_p20180103.ebuild | 163 --------------------- |
16 |
3 files changed, 328 deletions(-) |
17 |
|
18 |
diff --git a/games-fps/urbanterror/Manifest b/games-fps/urbanterror/Manifest |
19 |
index 29ec1dc5609..e00fb4d8e24 100644 |
20 |
--- a/games-fps/urbanterror/Manifest |
21 |
+++ b/games-fps/urbanterror/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
-DIST urbanterror-4.3.2_p20171208.tar.gz 10072373 BLAKE2B 9934317fb649e652628639f9ea35cdaa0466363b52ea7325198aaaa6360e07e41ec590342cd35fa1bb352ff35ba5994e9152caaf308aa0e0d8c3c2d94ea36a91 SHA512 1dd3affa8fe23f8cca4ee3c90a8d6fc86f5df2122e0121d57263be745d0af13f52cb47802636a22cb09b1bae8a100b491dc8cc0c81c413dd9cbb2ad29a69039a |
24 |
-DIST urbanterror-4.3.2_p20180103.tar.gz 10071977 BLAKE2B c204b0f3eee19d4c426df60827a6e9651e93e71445cad73a5b0133e1ec794c752668df9c3412d7a9b1f1599f33923873afe6cb9b2472a14fea6adc52cb599bed SHA512 8bfba46580b16f89e6cea5ffbb1f81ad91ece63e1058928d84778e4ea2cee621d3fae7131801f5bb35e9267763e824521dfc0191f512d334d7f07a3b970be768 |
25 |
DIST urbanterror-4.3.2_p20180206.tar.gz 10071986 BLAKE2B b809793f8bc1d878a97d882f60eef80124cff63ca5754f9178cdf9067acc2c6b52478362b8799c7b3718484d1a680ca932df8d97ebb34e35fc90eb2ae17582d6 SHA512 e4fcc53f9a7b8db1f5bc069acce5265db7009acc0588b29fff2a2b19b05d09f42cdb2c3f1811920221c75b6d3fc5f2e67fbb0f8476ee50644d8db9dd4f0b7c63 |
26 |
|
27 |
diff --git a/games-fps/urbanterror/urbanterror-4.3.2_p20171208.ebuild b/games-fps/urbanterror/urbanterror-4.3.2_p20171208.ebuild |
28 |
deleted file mode 100644 |
29 |
index 32cf683aeac..00000000000 |
30 |
--- a/games-fps/urbanterror/urbanterror-4.3.2_p20171208.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,163 +0,0 @@ |
33 |
-# Copyright 1999-2017 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI="6" |
37 |
-inherit eapi7-ver flag-o-matic toolchain-funcs xdg-utils |
38 |
- |
39 |
-DESCRIPTION="Hollywood tactical shooter based on the ioquake3 engine" |
40 |
-HOMEPAGE="http://urbanterror.info https://github.com/mickael9/ioq3" |
41 |
- |
42 |
-if [[ ${PV} == *9999 ]]; then |
43 |
- inherit git-r3 |
44 |
- EGIT_REPO_URI="https://github.com/mickael9/ioq3.git" |
45 |
- EGIT_BRANCH="urt" |
46 |
-else |
47 |
- COMMIT_ID="e3bc50248c9d6c319d4822ca23caa5d46fc118ab" |
48 |
- SRC_URI="https://github.com/mickael9/ioq3/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" |
49 |
- S="${WORKDIR}/ioq3-${COMMIT_ID}" |
50 |
- KEYWORDS="~amd64 ~x86" |
51 |
-fi |
52 |
- |
53 |
-LICENSE="GPL-2" |
54 |
-SLOT="0" |
55 |
-IUSE="+altgamma +client +curl debug mumble openal +opus server +skeetshootmod voip vorbis" |
56 |
-REQUIRED_USE=" || ( client server )" |
57 |
- |
58 |
-PATCHES=( "${FILESDIR}"/${PN}-4.3-fix-build_system.patch ) |
59 |
-RDEPEND=" |
60 |
- client? ( |
61 |
- media-libs/libsdl2:=[X,sound,joystick,opengl,video] |
62 |
- mumble? ( media-sound/mumble:= ) |
63 |
- openal? ( media-libs/openal:= ) |
64 |
- opus? ( media-libs/opusfile:= ) |
65 |
- vorbis? ( |
66 |
- media-libs/libogg:= |
67 |
- media-libs/libvorbis:= |
68 |
- ) |
69 |
- ) |
70 |
- curl? ( net-misc/curl ) |
71 |
- ~games-fps/urbanterror-data-4.3.2 |
72 |
- sys-libs/zlib:=[minizip] |
73 |
- virtual/jpeg:0 |
74 |
-" |
75 |
- |
76 |
-DEPEND="${RDEPEND}" |
77 |
- |
78 |
-pkg_pretend() { |
79 |
- if use client; then |
80 |
- if ! use openal && ! use opus && ! use vorbis; then |
81 |
- ewarn |
82 |
- ewarn "No sound implementation selected. Enable 'openal', 'opus' or 'vorbis' USE flag to get sound!" |
83 |
- fi |
84 |
- fi |
85 |
-} |
86 |
- |
87 |
-src_configure() { |
88 |
- default |
89 |
- |
90 |
- tc-export CC |
91 |
-} |
92 |
- |
93 |
-src_compile() { |
94 |
- # Workaround for used zlib macro, which got renamed in Gentoo |
95 |
- # wrt bug #449510 |
96 |
- append-cppflags "-DOF=_Z_OF" |
97 |
- |
98 |
- local my_arch=$(usex amd64 "x86_64" "i386") |
99 |
- |
100 |
- emake \ |
101 |
- ARCH=${my_arch} \ |
102 |
- DEFAULT_BASEDIR="/usr/share/urbanterror" \ |
103 |
- BUILD_CLIENT=$(usex "client" 1 0) \ |
104 |
- BUILD_SERVER=$(usex "server" 1 0) \ |
105 |
- BUILD_BASEGAME=1 \ |
106 |
- BUILD_MISSIONPACK=0 \ |
107 |
- BUILD_GAME_SO=0 \ |
108 |
- BUILD_GAME_QVM=0 \ |
109 |
- BUILD_STANDALONE=1 \ |
110 |
- SERVERBIN="Quake3-UrT-Ded" \ |
111 |
- CLIENTBIN="Quake3-UrT" \ |
112 |
- USE_RENDERER_DLOPEN=0 \ |
113 |
- USE_YACC=0 \ |
114 |
- BASEGAME="q3ut4"\ |
115 |
- BASEGAME_CFLAGS="${CFLAGS}" \ |
116 |
- USE_OPENAL=$(usex "openal" 1 0) \ |
117 |
- USE_OPENAL_DLOPEN=$(usex "openal" 1 0) \ |
118 |
- USE_CURL=$(usex "curl" 1 0) \ |
119 |
- USE_CURL_DLOPEN=$(usex "curl" 1 0) \ |
120 |
- USE_CODEC_VORBIS=$(usex "vorbis" 1 0) \ |
121 |
- USE_CODEC_OPUS=$(usex "opus" 1 0) \ |
122 |
- USE_MUMBLE=$(usex "mumble" 1 0) \ |
123 |
- USE_SKEETMOD=$(usex "skeetshootmod" 1 0) \ |
124 |
- USE_VOIP=$(usex "mumble" 1 0) \ |
125 |
- USE_INTERNAL_LIBS=0 \ |
126 |
- USE_LOCAL_HEADERS=0 \ |
127 |
- USE_ALTGAMMA=$(usex "altgamma" 1 0) |
128 |
-} |
129 |
- |
130 |
-src_install() { |
131 |
- local my_arch=$(usex amd64 "x86_64" "i386") |
132 |
- # docs from ioq3, not from UrbanTerror ZIP file |
133 |
- dodoc ChangeLog README.md README.ioq3.md md4-readme.txt |
134 |
- |
135 |
- if use client; then |
136 |
- newbin build/$(usex debug "debug" "release")-linux-${my_arch}/Quake3-UrT.${my_arch} ${PN} |
137 |
- # Shooter as defined in https://specifications.freedesktop.org/menu-spec/latest/apas02.html |
138 |
- make_desktop_entry ${PN} "UrbanTerror" ${PN} |
139 |
- fi |
140 |
- |
141 |
- if use server && ! use client; then |
142 |
- # dedicated server only |
143 |
- newbin build/$(usex debug "debug" "release")-linux-${my_arch}/Quake3-UrT-Ded.${my_arch} ${PN}-ded |
144 |
- fi |
145 |
-} |
146 |
- |
147 |
-pkg_postinst() { |
148 |
- use client && xdg_desktop_database_update |
149 |
- |
150 |
- if [[ -z "${REPLACING_VERSIONS}" ]]; then |
151 |
- # This is a new installation |
152 |
- if use openal; then |
153 |
- elog "" |
154 |
- elog "You might need to set:" |
155 |
- elog " seta s_useopenal \"1\"" |
156 |
- elog "in your ~/.q3a/q3ut4/q3config.cfg for openal to work." |
157 |
- fi |
158 |
- |
159 |
- if use altgamma; then |
160 |
- elog "" |
161 |
- elog "You might need to set:" |
162 |
- elog " seta r_altgamma \"1\"" |
163 |
- elog "in your ~/.q3a/q3ut4/q3config.cfg for altgamma to work." |
164 |
- fi |
165 |
- |
166 |
- if ! use altgamma; then |
167 |
- elog "" |
168 |
- elog "If you are using a modesetting graphics driver you might" |
169 |
- elog "consider setting USE=\"altgamma\"." |
170 |
- elog "For details take a look at:" |
171 |
- elog "https://bugs.freedesktop.org/show_bug.cgi?id=27222" |
172 |
- fi |
173 |
- |
174 |
- if ! use client; then |
175 |
- elog "" |
176 |
- elog "You disabled client support. You won't be able to connect" |
177 |
- elog "to any servers and play. If you want to do so, enable" |
178 |
- elog "USE=\"client\"." |
179 |
- fi |
180 |
- fi |
181 |
- |
182 |
- if ver_test -ge 4.3.2_p20171105; then |
183 |
- # Yippee, new features! |
184 |
- if use skeetshootmod; then |
185 |
- elog "" |
186 |
- elog "You might need to set:" |
187 |
- elog " seta sv_skeetshoot \"1\"" |
188 |
- elog "in your ~/.q3a/q3ut4/q3config.cfg to use the skeetshoot mod." |
189 |
- fi |
190 |
- fi |
191 |
-} |
192 |
- |
193 |
-pkg_postrm() { |
194 |
- use client && xdg_desktop_database_update |
195 |
-} |
196 |
|
197 |
diff --git a/games-fps/urbanterror/urbanterror-4.3.2_p20180103.ebuild b/games-fps/urbanterror/urbanterror-4.3.2_p20180103.ebuild |
198 |
deleted file mode 100644 |
199 |
index 27cb31a404f..00000000000 |
200 |
--- a/games-fps/urbanterror/urbanterror-4.3.2_p20180103.ebuild |
201 |
+++ /dev/null |
202 |
@@ -1,163 +0,0 @@ |
203 |
-# Copyright 1999-2018 Gentoo Foundation |
204 |
-# Distributed under the terms of the GNU General Public License v2 |
205 |
- |
206 |
-EAPI="6" |
207 |
-inherit eapi7-ver flag-o-matic toolchain-funcs xdg-utils |
208 |
- |
209 |
-DESCRIPTION="Hollywood tactical shooter based on the ioquake3 engine" |
210 |
-HOMEPAGE="http://urbanterror.info https://github.com/mickael9/ioq3" |
211 |
- |
212 |
-if [[ ${PV} == *9999 ]]; then |
213 |
- inherit git-r3 |
214 |
- EGIT_REPO_URI="https://github.com/mickael9/ioq3.git" |
215 |
- EGIT_BRANCH="urt" |
216 |
-else |
217 |
- COMMIT_ID="36ac852bc7ecfb3b847b021305b14a363f7c7f9c" |
218 |
- SRC_URI="https://github.com/mickael9/ioq3/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" |
219 |
- S="${WORKDIR}/ioq3-${COMMIT_ID}" |
220 |
- KEYWORDS="~amd64 ~x86" |
221 |
-fi |
222 |
- |
223 |
-LICENSE="GPL-2" |
224 |
-SLOT="0" |
225 |
-IUSE="+altgamma +client +curl debug mumble openal +opus server +skeetshootmod voip vorbis" |
226 |
-REQUIRED_USE=" || ( client server )" |
227 |
- |
228 |
-PATCHES=( "${FILESDIR}"/${PN}-4.3-fix-build_system.patch ) |
229 |
-RDEPEND=" |
230 |
- client? ( |
231 |
- media-libs/libsdl2:=[X,sound,joystick,opengl,video] |
232 |
- mumble? ( media-sound/mumble:= ) |
233 |
- openal? ( media-libs/openal:= ) |
234 |
- opus? ( media-libs/opusfile:= ) |
235 |
- vorbis? ( |
236 |
- media-libs/libogg:= |
237 |
- media-libs/libvorbis:= |
238 |
- ) |
239 |
- ) |
240 |
- curl? ( net-misc/curl ) |
241 |
- ~games-fps/urbanterror-data-4.3.2 |
242 |
- sys-libs/zlib:=[minizip] |
243 |
- virtual/jpeg:0 |
244 |
-" |
245 |
- |
246 |
-DEPEND="${RDEPEND}" |
247 |
- |
248 |
-pkg_pretend() { |
249 |
- if use client; then |
250 |
- if ! use openal && ! use opus && ! use vorbis; then |
251 |
- ewarn |
252 |
- ewarn "No sound implementation selected. Enable 'openal', 'opus' or 'vorbis' USE flag to get sound!" |
253 |
- fi |
254 |
- fi |
255 |
-} |
256 |
- |
257 |
-src_configure() { |
258 |
- default |
259 |
- |
260 |
- tc-export CC |
261 |
-} |
262 |
- |
263 |
-src_compile() { |
264 |
- # Workaround for used zlib macro, which got renamed in Gentoo |
265 |
- # wrt bug #449510 |
266 |
- append-cppflags "-DOF=_Z_OF" |
267 |
- |
268 |
- local my_arch=$(usex amd64 "x86_64" "i386") |
269 |
- |
270 |
- emake \ |
271 |
- ARCH=${my_arch} \ |
272 |
- DEFAULT_BASEDIR="/usr/share/urbanterror" \ |
273 |
- BUILD_CLIENT=$(usex "client" 1 0) \ |
274 |
- BUILD_SERVER=$(usex "server" 1 0) \ |
275 |
- BUILD_BASEGAME=1 \ |
276 |
- BUILD_MISSIONPACK=0 \ |
277 |
- BUILD_GAME_SO=0 \ |
278 |
- BUILD_GAME_QVM=0 \ |
279 |
- BUILD_STANDALONE=1 \ |
280 |
- SERVERBIN="Quake3-UrT-Ded" \ |
281 |
- CLIENTBIN="Quake3-UrT" \ |
282 |
- USE_RENDERER_DLOPEN=0 \ |
283 |
- USE_YACC=0 \ |
284 |
- BASEGAME="q3ut4"\ |
285 |
- BASEGAME_CFLAGS="${CFLAGS}" \ |
286 |
- USE_OPENAL=$(usex "openal" 1 0) \ |
287 |
- USE_OPENAL_DLOPEN=$(usex "openal" 1 0) \ |
288 |
- USE_CURL=$(usex "curl" 1 0) \ |
289 |
- USE_CURL_DLOPEN=$(usex "curl" 1 0) \ |
290 |
- USE_CODEC_VORBIS=$(usex "vorbis" 1 0) \ |
291 |
- USE_CODEC_OPUS=$(usex "opus" 1 0) \ |
292 |
- USE_MUMBLE=$(usex "mumble" 1 0) \ |
293 |
- USE_SKEETMOD=$(usex "skeetshootmod" 1 0) \ |
294 |
- USE_VOIP=$(usex "mumble" 1 0) \ |
295 |
- USE_INTERNAL_LIBS=0 \ |
296 |
- USE_LOCAL_HEADERS=0 \ |
297 |
- USE_ALTGAMMA=$(usex "altgamma" 1 0) |
298 |
-} |
299 |
- |
300 |
-src_install() { |
301 |
- local my_arch=$(usex amd64 "x86_64" "i386") |
302 |
- # docs from ioq3, not from UrbanTerror ZIP file |
303 |
- dodoc ChangeLog README.md README.ioq3.md md4-readme.txt |
304 |
- |
305 |
- if use client; then |
306 |
- newbin build/$(usex debug "debug" "release")-linux-${my_arch}/Quake3-UrT.${my_arch} ${PN} |
307 |
- # Shooter as defined in https://specifications.freedesktop.org/menu-spec/latest/apas02.html |
308 |
- make_desktop_entry ${PN} "UrbanTerror" ${PN} |
309 |
- fi |
310 |
- |
311 |
- if use server && ! use client; then |
312 |
- # dedicated server only |
313 |
- newbin build/$(usex debug "debug" "release")-linux-${my_arch}/Quake3-UrT-Ded.${my_arch} ${PN}-ded |
314 |
- fi |
315 |
-} |
316 |
- |
317 |
-pkg_postinst() { |
318 |
- use client && xdg_desktop_database_update |
319 |
- |
320 |
- if [[ -z "${REPLACING_VERSIONS}" ]]; then |
321 |
- # This is a new installation |
322 |
- if use openal; then |
323 |
- elog "" |
324 |
- elog "You might need to set:" |
325 |
- elog " seta s_useopenal \"1\"" |
326 |
- elog "in your ~/.q3a/q3ut4/q3config.cfg for openal to work." |
327 |
- fi |
328 |
- |
329 |
- if use altgamma; then |
330 |
- elog "" |
331 |
- elog "You might need to set:" |
332 |
- elog " seta r_altgamma \"1\"" |
333 |
- elog "in your ~/.q3a/q3ut4/q3config.cfg for altgamma to work." |
334 |
- fi |
335 |
- |
336 |
- if ! use altgamma; then |
337 |
- elog "" |
338 |
- elog "If you are using a modesetting graphics driver you might" |
339 |
- elog "consider setting USE=\"altgamma\"." |
340 |
- elog "For details take a look at:" |
341 |
- elog "https://bugs.freedesktop.org/show_bug.cgi?id=27222" |
342 |
- fi |
343 |
- |
344 |
- if ! use client; then |
345 |
- elog "" |
346 |
- elog "You disabled client support. You won't be able to connect" |
347 |
- elog "to any servers and play. If you want to do so, enable" |
348 |
- elog "USE=\"client\"." |
349 |
- fi |
350 |
- fi |
351 |
- |
352 |
- if ver_test -ge 4.3.2_p20171105; then |
353 |
- # Yippee, new features! |
354 |
- if use skeetshootmod; then |
355 |
- elog "" |
356 |
- elog "You might need to set:" |
357 |
- elog " seta sv_skeetshoot \"1\"" |
358 |
- elog "in your ~/.q3a/q3ut4/q3config.cfg to use the skeetshoot mod." |
359 |
- fi |
360 |
- fi |
361 |
-} |
362 |
- |
363 |
-pkg_postrm() { |
364 |
- use client && xdg_desktop_database_update |
365 |
-} |