Gentoo Archives: gentoo-commits

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