Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
Date: Mon, 01 Aug 2022 11:07:18
Message-Id: 1659352026.ecc0601efb919df2f6b16c9ab818a7da3b7b4aac.mgorny@gentoo
1 commit: ecc0601efb919df2f6b16c9ab818a7da3b7b4aac
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 1 10:59:15 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 1 11:07:06 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecc0601e
7
8 games-strategy/wargus: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 games-strategy/wargus/Manifest | 5 --
13 games-strategy/wargus/wargus-2.4.3.ebuild | 71 ---------------------------
14 games-strategy/wargus/wargus-3.0.0-r1.ebuild | 72 ---------------------------
15 games-strategy/wargus/wargus-3.1.0.ebuild | 73 ----------------------------
16 games-strategy/wargus/wargus-3.1.1.ebuild | 73 ----------------------------
17 games-strategy/wargus/wargus-3.1.2.ebuild | 73 ----------------------------
18 6 files changed, 367 deletions(-)
19
20 diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest
21 index 9a547b9fb426..256fed47430f 100644
22 --- a/games-strategy/wargus/Manifest
23 +++ b/games-strategy/wargus/Manifest
24 @@ -1,8 +1,3 @@
25 -DIST wargus-2.4.3.tar.gz 46635465 BLAKE2B be559e6efdba7542e9ed65f4ece5419b781b61d7d6d43b40418ca8dffc446fa7478f608d7f24696281c7acbda4dc5bf8d808feeb3376ae3e8a04b3372d18ace1 SHA512 0c9eca898146c44e211e0da7061cb605eb04ab113fd9ad0c51f9b92df8724a5b28aea9b7cf9bfadd44f0183f8b5c519d7da0050b260624f4f7da4b9f8aee458c
26 -DIST wargus-3.0.0.tar.gz 4890178 BLAKE2B 7ab4a4b5e8171b2297e17f0338a5fd674cff7beb3457e33c7938c12f9a262d81b9faf2db6ae00fdbbef440624880c37bfe61c2b9957e943cf13d364544f58a65 SHA512 70bf6a5a3d489c9d88bf28e65eea85936ac42850b9c8f27c5cb4a7ba8ff28c609274235c735abb4de92e5c63113d4850adc1da313ff39cbdee797de6b9e1cc43
27 -DIST wargus-3.1.0.tar.gz 4977868 BLAKE2B 063d47f53b58360c3ccc1aea301f4731a0108a52867b529a1f3935e500e569c11775074241ed8acd58ee7b33064831abebee693a9720927a1432c3f4ed9b17dc SHA512 9e4c3ed955cbf0ff38fd8a847a9590fb3588923b88065a8eb3d2e82fa20b10cd00d507b74c5440486237eb20b71435f72c219efdf288eb67fca594050622f169
28 -DIST wargus-3.1.1.tar.gz 4982124 BLAKE2B 1dd583c46f841c03d0e859e3c79da72da5866c5f6c67d1e23bf186935f2ae8d539e6dec36bb7c41b6f74af3a4f93c308489c802890c982a13aa68ba2cfbc4626 SHA512 8ec6a3dd11db9cb5984c9d61882beac0851f744203f9d90f23783b8a6b7f2728a180d7354c2e85d7ec8105c731a3e6996f5a688ce6bf5fa9437040c09cea6a59
29 -DIST wargus-3.1.2.tar.gz 4981468 BLAKE2B 76e925a6cd469a583adffe67f53a407f919b93c6700aeaa182db05b07691d64e6040d6f9f80461b14b81b412882bb58b976253b382d9e4aced7d1429c28832d2 SHA512 6925eab28b63222c4957b40c7b9a57ca231a18a7b36509c90f72d563a43a2ac4bd82bda3ca02e68099045fcddf10dd36c5a93c6f114f7bdcfb67afa7c7471b1e
30 DIST wargus-3.2.0.tar.gz 5062175 BLAKE2B e742c2dae21aa5a8a05ef8a4cefc7d1245707d401aa9e14dfc633aeac0e4e4e54459c0ce07cbd32aed842c3dcf57ea8df39fcfc34a9316211146a61ce71464dc SHA512 bc85304c0994abf778cf157d1013d9dea18e1d761a3b432018641211824bcdb2e424c938842848d8c7a670d8660289b5860342a99be7af259cf8eaf883af1285
31 DIST wargus-3.3.0.tar.gz 5094634 BLAKE2B aa0b02d62dc8620ba9517e5c7d1e8193f2c4c0e20b9b96b91cd5aa57fefdfda7354c82d67507aea67704adc7c77d90b858f0f3fb78d2a1bf430b5c4c5251f432 SHA512 3a2bd04aed0ced18a11ab925ca3d4da98f8848b45a0716fe5164ee5e0f9c76a63d7783d9ba94f3de022622e841f0257cb59d507ea772b2cc42419cef01ea8cbc
32 DIST wargus-3.3.1.tar.gz 5094251 BLAKE2B b5f3674db93a8973f166e6dd0dcd9adeee330aa3932b97218b10e3540f5bc6123c977f45463d77c1cf6cc8d5dcadf39d799551311e9a891ec91200e668febcd8 SHA512 33a642d87a9a0d407fd8591fbb19d5357b5d7ae2fa3319512776feb0b6dbdc4d403e82de907235a9614302b5b0af466da37af21f7f4093715d39fe7e7da30468
33
34 diff --git a/games-strategy/wargus/wargus-2.4.3.ebuild b/games-strategy/wargus/wargus-2.4.3.ebuild
35 deleted file mode 100644
36 index 23954b3347a3..000000000000
37 --- a/games-strategy/wargus/wargus-2.4.3.ebuild
38 +++ /dev/null
39 @@ -1,71 +0,0 @@
40 -# Copyright 1999-2020 Gentoo Authors
41 -# Distributed under the terms of the GNU General Public License v2
42 -
43 -EAPI=7
44 -
45 -inherit cmake xdg-utils
46 -
47 -DESCRIPTION="Warcraft II for the Stratagus game engine"
48 -HOMEPAGE="https://wargus.github.io/
49 - https://github.com/Wargus/wargus"
50 -SRC_URI="https://github.com/Wargus/wargus/archive/v${PV}.tar.gz -> ${P}.tar.gz"
51 -
52 -LICENSE="GPL-2"
53 -SLOT="0"
54 -KEYWORDS="~amd64 ~x86"
55 -IUSE=""
56 -
57 -RDEPEND="
58 - =games-engines/stratagus-${PV}*[theora]
59 - media-libs/libpng:0=
60 - sys-libs/zlib:=
61 - x11-libs/gtk+:2
62 - x11-libs/libX11
63 - !games-strategy/wargus-data"
64 -DEPEND="${RDEPEND}"
65 -BDEPEND="
66 - virtual/pkgconfig"
67 -
68 -pkg_pretend() {
69 - if has_version games-strategy/wargus-data; then
70 - ewarn "The system-wide install of game data via games-strategy/wargus-data"
71 - ewarn "no longer works. The old data will be uninstalled after merging"
72 - ewarn "this version of Wargus. If you would like to preserve it, please"
73 - ewarn "abort the process and back /usr/share/stratagus/wargus up."
74 - fi
75 -}
76 -
77 -src_configure() {
78 - local mycmakeargs=(
79 - -DGAMEDIR="${EPREFIX}/usr/bin"
80 - -DBINDIR="${EPREFIX}/usr/bin"
81 - -DSTRATAGUS="${EPREFIX}/usr/bin/stratagus"
82 - -DSHAREDIR="${EPREFIX}/usr/share/stratagus/wargus"
83 - -DICONDIR=/usr/share/icons/hicolor/64x64/apps
84 - )
85 - cmake_src_configure
86 -}
87 -
88 -pkg_postinst() {
89 - elog "Wargus requires the data from the original game to run. The game"
90 - elog "will ask you for the location of the game data and extract/convert"
91 - elog "it automatically on the first run. Only the DOS version is supported"
92 - elog "at the moment."
93 -
94 - if ! has_version media-video/ffmpeg ||
95 - ! has_version media-sound/cdparanoia
96 - then
97 - elog
98 - elog "If you did not convert the game data yet, you may want to install"
99 - elog "the following optional dependencies:"
100 - elog
101 - elog "media-video/ffmpeg -- to convert game videos"
102 - elog "media-sound/cdparanoia -- to rip game music from the CD"
103 - fi
104 -
105 - xdg_icon_cache_update
106 -}
107 -
108 -pkg_postrm() {
109 - xdg_icon_cache_update
110 -}
111
112 diff --git a/games-strategy/wargus/wargus-3.0.0-r1.ebuild b/games-strategy/wargus/wargus-3.0.0-r1.ebuild
113 deleted file mode 100644
114 index a15e86163b5b..000000000000
115 --- a/games-strategy/wargus/wargus-3.0.0-r1.ebuild
116 +++ /dev/null
117 @@ -1,72 +0,0 @@
118 -# Copyright 1999-2020 Gentoo Authors
119 -# Distributed under the terms of the GNU General Public License v2
120 -
121 -EAPI=7
122 -
123 -inherit cmake xdg-utils
124 -
125 -DESCRIPTION="Warcraft II for the Stratagus game engine"
126 -HOMEPAGE="https://wargus.github.io/
127 - https://github.com/Wargus/wargus"
128 -SRC_URI="https://github.com/Wargus/wargus/archive/v${PV}.tar.gz -> ${P}.tar.gz"
129 -
130 -LICENSE="GPL-2"
131 -SLOT="0"
132 -KEYWORDS="~amd64 ~x86"
133 -IUSE="+bne"
134 -
135 -RDEPEND="
136 - =games-engines/stratagus-${PV}*[theora]
137 - media-libs/libpng:0=
138 - sys-libs/zlib:=
139 - x11-libs/gtk+:2
140 - x11-libs/libX11
141 - bne? ( app-arch/stormlib:= )
142 - !games-strategy/wargus-data"
143 -DEPEND="${RDEPEND}"
144 -BDEPEND="
145 - virtual/pkgconfig"
146 -
147 -pkg_pretend() {
148 - if has_version games-strategy/wargus-data; then
149 - ewarn "The system-wide install of game data via games-strategy/wargus-data"
150 - ewarn "no longer works. The old data will be uninstalled after merging"
151 - ewarn "this version of Wargus. If you would like to preserve it, please"
152 - ewarn "abort the process and back /usr/share/stratagus/wargus up."
153 - fi
154 -}
155 -
156 -src_configure() {
157 - local mycmakeargs=(
158 - -DGAMEDIR="${EPREFIX}/usr/bin"
159 - -DBINDIR="${EPREFIX}/usr/bin"
160 - -DSTRATAGUS="${EPREFIX}/usr/bin/stratagus"
161 - -DSHAREDIR="${EPREFIX}/usr/share/stratagus/wargus"
162 - -DICONDIR=/usr/share/icons/hicolor/64x64/apps
163 - -DWITH_STORMLIB=$(usex bne)
164 - )
165 - cmake_src_configure
166 -}
167 -
168 -pkg_postinst() {
169 - elog "Wargus requires the data from the original game to run. The game"
170 - elog "will ask you for the location of the game data and extract/convert"
171 - elog "it automatically on the first run."
172 -
173 - if ! has_version media-video/ffmpeg ||
174 - ! has_version media-sound/cdparanoia
175 - then
176 - elog
177 - elog "If you did not convert the game data yet, you may want to install"
178 - elog "the following optional dependencies:"
179 - elog
180 - elog "media-video/ffmpeg -- to convert game videos"
181 - elog "media-sound/cdparanoia -- to rip game music from the CD"
182 - fi
183 -
184 - xdg_icon_cache_update
185 -}
186 -
187 -pkg_postrm() {
188 - xdg_icon_cache_update
189 -}
190
191 diff --git a/games-strategy/wargus/wargus-3.1.0.ebuild b/games-strategy/wargus/wargus-3.1.0.ebuild
192 deleted file mode 100644
193 index 05c144af13dd..000000000000
194 --- a/games-strategy/wargus/wargus-3.1.0.ebuild
195 +++ /dev/null
196 @@ -1,73 +0,0 @@
197 -# Copyright 1999-2021 Gentoo Authors
198 -# Distributed under the terms of the GNU General Public License v2
199 -
200 -EAPI=7
201 -
202 -inherit cmake xdg-utils
203 -
204 -DESCRIPTION="Warcraft II for the Stratagus game engine"
205 -HOMEPAGE="
206 - https://stratagus.com/
207 - https://github.com/Wargus/wargus"
208 -SRC_URI="https://github.com/Wargus/wargus/archive/v${PV}.tar.gz -> ${P}.tar.gz"
209 -
210 -LICENSE="GPL-2"
211 -SLOT="0"
212 -KEYWORDS="~amd64 ~x86"
213 -IUSE="+bne"
214 -
215 -RDEPEND="
216 - =games-engines/stratagus-${PV}*[theora]
217 - media-libs/libpng:0=
218 - sys-libs/zlib:=
219 - x11-libs/gtk+:2
220 - x11-libs/libX11
221 - bne? ( app-arch/stormlib:= )
222 - !games-strategy/wargus-data"
223 -DEPEND="${RDEPEND}"
224 -BDEPEND="
225 - virtual/pkgconfig"
226 -
227 -pkg_pretend() {
228 - if has_version games-strategy/wargus-data; then
229 - ewarn "The system-wide install of game data via games-strategy/wargus-data"
230 - ewarn "no longer works. The old data will be uninstalled after merging"
231 - ewarn "this version of Wargus. If you would like to preserve it, please"
232 - ewarn "abort the process and back /usr/share/stratagus/wargus up."
233 - fi
234 -}
235 -
236 -src_configure() {
237 - local mycmakeargs=(
238 - -DGAMEDIR="${EPREFIX}/usr/bin"
239 - -DBINDIR="${EPREFIX}/usr/bin"
240 - -DSTRATAGUS="${EPREFIX}/usr/bin/stratagus"
241 - -DSHAREDIR="${EPREFIX}/usr/share/stratagus/wargus"
242 - -DICONDIR=/usr/share/icons/hicolor/64x64/apps
243 - -DWITH_STORMLIB=$(usex bne)
244 - )
245 - cmake_src_configure
246 -}
247 -
248 -pkg_postinst() {
249 - elog "Wargus requires the data from the original game to run. The game"
250 - elog "will ask you for the location of the game data and extract/convert"
251 - elog "it automatically on the first run."
252 -
253 - if ! has_version media-video/ffmpeg ||
254 - ! has_version media-sound/cdparanoia
255 - then
256 - elog
257 - elog "If you did not convert the game data yet, you may want to install"
258 - elog "the following optional dependencies:"
259 - elog
260 - elog "media-video/ffmpeg -- to convert game videos"
261 - elog "media-sound/cdparanoia -- to rip game music from the CD"
262 - fi
263 -
264 - xdg_icon_cache_update
265 -}
266 -
267 -pkg_postrm() {
268 - xdg_icon_cache_update
269 -}
270
271 diff --git a/games-strategy/wargus/wargus-3.1.1.ebuild b/games-strategy/wargus/wargus-3.1.1.ebuild
272 deleted file mode 100644
273 index 05c144af13dd..000000000000
274 --- a/games-strategy/wargus/wargus-3.1.1.ebuild
275 +++ /dev/null
276 @@ -1,73 +0,0 @@
277 -# Copyright 1999-2021 Gentoo Authors
278 -# Distributed under the terms of the GNU General Public License v2
279 -
280 -EAPI=7
281 -
282 -inherit cmake xdg-utils
283 -
284 -DESCRIPTION="Warcraft II for the Stratagus game engine"
285 -HOMEPAGE="
286 - https://stratagus.com/
287 - https://github.com/Wargus/wargus"
288 -SRC_URI="https://github.com/Wargus/wargus/archive/v${PV}.tar.gz -> ${P}.tar.gz"
289 -
290 -LICENSE="GPL-2"
291 -SLOT="0"
292 -KEYWORDS="~amd64 ~x86"
293 -IUSE="+bne"
294 -
295 -RDEPEND="
296 - =games-engines/stratagus-${PV}*[theora]
297 - media-libs/libpng:0=
298 - sys-libs/zlib:=
299 - x11-libs/gtk+:2
300 - x11-libs/libX11
301 - bne? ( app-arch/stormlib:= )
302 - !games-strategy/wargus-data"
303 -DEPEND="${RDEPEND}"
304 -BDEPEND="
305 - virtual/pkgconfig"
306 -
307 -pkg_pretend() {
308 - if has_version games-strategy/wargus-data; then
309 - ewarn "The system-wide install of game data via games-strategy/wargus-data"
310 - ewarn "no longer works. The old data will be uninstalled after merging"
311 - ewarn "this version of Wargus. If you would like to preserve it, please"
312 - ewarn "abort the process and back /usr/share/stratagus/wargus up."
313 - fi
314 -}
315 -
316 -src_configure() {
317 - local mycmakeargs=(
318 - -DGAMEDIR="${EPREFIX}/usr/bin"
319 - -DBINDIR="${EPREFIX}/usr/bin"
320 - -DSTRATAGUS="${EPREFIX}/usr/bin/stratagus"
321 - -DSHAREDIR="${EPREFIX}/usr/share/stratagus/wargus"
322 - -DICONDIR=/usr/share/icons/hicolor/64x64/apps
323 - -DWITH_STORMLIB=$(usex bne)
324 - )
325 - cmake_src_configure
326 -}
327 -
328 -pkg_postinst() {
329 - elog "Wargus requires the data from the original game to run. The game"
330 - elog "will ask you for the location of the game data and extract/convert"
331 - elog "it automatically on the first run."
332 -
333 - if ! has_version media-video/ffmpeg ||
334 - ! has_version media-sound/cdparanoia
335 - then
336 - elog
337 - elog "If you did not convert the game data yet, you may want to install"
338 - elog "the following optional dependencies:"
339 - elog
340 - elog "media-video/ffmpeg -- to convert game videos"
341 - elog "media-sound/cdparanoia -- to rip game music from the CD"
342 - fi
343 -
344 - xdg_icon_cache_update
345 -}
346 -
347 -pkg_postrm() {
348 - xdg_icon_cache_update
349 -}
350
351 diff --git a/games-strategy/wargus/wargus-3.1.2.ebuild b/games-strategy/wargus/wargus-3.1.2.ebuild
352 deleted file mode 100644
353 index 05c144af13dd..000000000000
354 --- a/games-strategy/wargus/wargus-3.1.2.ebuild
355 +++ /dev/null
356 @@ -1,73 +0,0 @@
357 -# Copyright 1999-2021 Gentoo Authors
358 -# Distributed under the terms of the GNU General Public License v2
359 -
360 -EAPI=7
361 -
362 -inherit cmake xdg-utils
363 -
364 -DESCRIPTION="Warcraft II for the Stratagus game engine"
365 -HOMEPAGE="
366 - https://stratagus.com/
367 - https://github.com/Wargus/wargus"
368 -SRC_URI="https://github.com/Wargus/wargus/archive/v${PV}.tar.gz -> ${P}.tar.gz"
369 -
370 -LICENSE="GPL-2"
371 -SLOT="0"
372 -KEYWORDS="~amd64 ~x86"
373 -IUSE="+bne"
374 -
375 -RDEPEND="
376 - =games-engines/stratagus-${PV}*[theora]
377 - media-libs/libpng:0=
378 - sys-libs/zlib:=
379 - x11-libs/gtk+:2
380 - x11-libs/libX11
381 - bne? ( app-arch/stormlib:= )
382 - !games-strategy/wargus-data"
383 -DEPEND="${RDEPEND}"
384 -BDEPEND="
385 - virtual/pkgconfig"
386 -
387 -pkg_pretend() {
388 - if has_version games-strategy/wargus-data; then
389 - ewarn "The system-wide install of game data via games-strategy/wargus-data"
390 - ewarn "no longer works. The old data will be uninstalled after merging"
391 - ewarn "this version of Wargus. If you would like to preserve it, please"
392 - ewarn "abort the process and back /usr/share/stratagus/wargus up."
393 - fi
394 -}
395 -
396 -src_configure() {
397 - local mycmakeargs=(
398 - -DGAMEDIR="${EPREFIX}/usr/bin"
399 - -DBINDIR="${EPREFIX}/usr/bin"
400 - -DSTRATAGUS="${EPREFIX}/usr/bin/stratagus"
401 - -DSHAREDIR="${EPREFIX}/usr/share/stratagus/wargus"
402 - -DICONDIR=/usr/share/icons/hicolor/64x64/apps
403 - -DWITH_STORMLIB=$(usex bne)
404 - )
405 - cmake_src_configure
406 -}
407 -
408 -pkg_postinst() {
409 - elog "Wargus requires the data from the original game to run. The game"
410 - elog "will ask you for the location of the game data and extract/convert"
411 - elog "it automatically on the first run."
412 -
413 - if ! has_version media-video/ffmpeg ||
414 - ! has_version media-sound/cdparanoia
415 - then
416 - elog
417 - elog "If you did not convert the game data yet, you may want to install"
418 - elog "the following optional dependencies:"
419 - elog
420 - elog "media-video/ffmpeg -- to convert game videos"
421 - elog "media-sound/cdparanoia -- to rip game music from the CD"
422 - fi
423 -
424 - xdg_icon_cache_update
425 -}
426 -
427 -pkg_postrm() {
428 - xdg_icon_cache_update
429 -}