Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/warzone2100/
Date: Mon, 27 Dec 2021 00:35:27
Message-Id: 1640565320.e0747475d19950cb2f536b21b11117cb3133f0fe.polynomial-c@gentoo
1 commit: e0747475d19950cb2f536b21b11117cb3133f0fe
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 27 00:35:11 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 27 00:35:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0747475
7
8 games-strategy/warzone2100: Removed old
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 games-strategy/warzone2100/Manifest | 2 -
13 .../warzone2100/warzone2100-4.1.3-r4.ebuild | 116 ---------------------
14 .../warzone2100/warzone2100-4.2.0.ebuild | 116 ---------------------
15 3 files changed, 234 deletions(-)
16
17 diff --git a/games-strategy/warzone2100/Manifest b/games-strategy/warzone2100/Manifest
18 index 06b8318d9b39..8ee4930b788e 100644
19 --- a/games-strategy/warzone2100/Manifest
20 +++ b/games-strategy/warzone2100/Manifest
21 @@ -1,5 +1,3 @@
22 -DIST warzone2100-4.1.3.tar.xz 337479212 BLAKE2B 07d1788fc2f8e5073a15231d5bf0c8c50dc0413522ea1589b064190144906fb58008faab66a295cec7759a1036f4d007ef8a42cffd9ef588fde1116b6cd7a38b SHA512 64126a1a5aab8b766cdfc70b8d96465ad451bd6a31e33be963eb89664b062dfe58e195ac3cbc087a9c008519c0e13003d9750bcb428b0e0ff12c82bf9940be3f
23 -DIST warzone2100-4.2.0.tar.xz 338587136 BLAKE2B e29147ce573c7a07e0ab856b1c74000bfc866437784e314393335d21e735fb78fcdbe71aa19f9c806f280f0ca2d33aff15815a09971c9e5ab85cf8b31e9a7864 SHA512 d2dfb8f2710493cbdacb01ca26cf69b476ad906f4851bc384a7a506a37bc296c2bd2e8c464f1a7a86e50924c66839459413d00c73031f9fe024afef8173c820c
24 DIST warzone2100-4.2.2.tar.xz 338585896 BLAKE2B e90ff6f5843a1750971a2cb7e77aac1e7c03ebeae90ea112d1eb735ea4a9cfee35de860e52f81824cde69543af6172ee630b6451ea39c141c188e4469f9200b9 SHA512 ea02207a27a01114daaf0819a98a63a5189570844dd69f50f493a1caafab7c05d85fb0d5c8a8b1b061ee3a050081e9786a1c090f4490134e93e8bbfa1903bd1b
25 DIST warzone2100-4.2.4.tar.xz 338685080 BLAKE2B d83fc41d7bb7ff062ca6d3ce924c5e50560737b309db5a31e9fa81ed4dd5c079cf53aed472d1686daaa2e758583e79c3310575191e95d0b01d0f692786ff015f SHA512 26f470c137d9f53b759d182058080a07b7a505aa900fc0e6ff8349783564e0e298216f162032ff43c15f1e5811a8192e161498f87d8cc624a1a653a4044fcfb7
26 DIST warzone2100-videos-2.2.wz 571937134 BLAKE2B 60b70a71bd920e2d72ded5d519b17db2f3db4b0289edadeb58059a21aba7038b95219dc44cb807754461d1a9bdca60f0d7698be68622b8bd64a55efa949622d3 SHA512 ca1a1af51296afdaca137114821508c5783f077090e665eae0f6df895855f57c43f84434706309e819417f5f35d1c649bd14e96dc9fbbb1252d30a4f9a223cf6
27
28 diff --git a/games-strategy/warzone2100/warzone2100-4.1.3-r4.ebuild b/games-strategy/warzone2100/warzone2100-4.1.3-r4.ebuild
29 deleted file mode 100644
30 index 929af63b820a..000000000000
31 --- a/games-strategy/warzone2100/warzone2100-4.1.3-r4.ebuild
32 +++ /dev/null
33 @@ -1,116 +0,0 @@
34 -# Copyright 2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -PLOCALES="af_ZA bg_BG ca_ES cs da de el en_GB eo es et_EE fa_IR fi fr fy ga he_IL hr hu id_ID id it ko la lt nb nl pl pt_BR pt ro ru sk sl tr tt_RU uk_UA zh_CN zh_TW"
40 -inherit cmake plocale xdg
41 -
42 -MY_PV=$(ver_cut 1-2)
43 -VIDEOS_PV=2.2
44 -VIDEOS_P=${PN}-videos-${VIDEOS_PV}.wz
45 -DESCRIPTION="3D real-time strategy game"
46 -HOMEPAGE="https://wz2100.net/"
47 -SRC_URI="mirror://sourceforge/warzone2100/releases/${PV}/${PN}_src.tar.xz -> ${P}.tar.xz
48 - videos? ( mirror://sourceforge/warzone2100/warzone2100/Videos/${VIDEOS_PV}/high-quality-en/sequences.wz -> ${VIDEOS_P} )"
49 -S="${WORKDIR}/${PN}"
50 -
51 -LICENSE="GPL-2+ CC-BY-SA-3.0 public-domain vulkan? ( GPL-3 )"
52 -SLOT="0"
53 -KEYWORDS="~amd64 ~x86"
54 -# Upstream requested debug support
55 -IUSE="debug discord nls videos vulkan"
56 -
57 -CDEPEND="
58 - >=dev-games/physfs-2[zip]
59 - dev-db/sqlite:3
60 - >=dev-libs/libsodium-1.0.14:=
61 - media-libs/freetype:2
62 - media-libs/harfbuzz:=
63 - media-libs/libogg
64 - media-libs/libpng:=
65 - media-libs/libsdl2[opengl,video,X]
66 - media-libs/libtheora
67 - media-libs/libvorbis
68 - media-libs/openal
69 - net-libs/miniupnpc:=
70 - net-misc/curl
71 - sys-libs/zlib
72 - nls? ( virtual/libintl )
73 - vulkan? ( media-libs/libsdl2:=[vulkan] )
74 -"
75 -DEPEND="
76 - ${CDEPEND}
77 - dev-libs/fribidi
78 - media-libs/fontconfig
79 -"
80 -RDEPEND="
81 - ${CDEPEND}
82 - media-fonts/dejavu
83 -"
84 -BDEPEND="
85 - app-arch/zip
86 - app-text/asciidoc
87 - virtual/pkgconfig
88 - nls? ( sys-devel/gettext )
89 -"
90 -
91 -HTML_DOCS=( doc/quickstartguide.html doc/docbook-xsl.css doc/ScriptingManual.htm )
92 -DOCS=( README.md doc/images doc/Scripting.md doc/js-globals.md )
93 -
94 -PATCHES=(
95 - "${FILESDIR}"/${PN}-4.1.3-no-compress-manpages.patch
96 -)
97 -
98 -src_unpack() {
99 - unpack ${P}.tar.xz
100 -}
101 -
102 -src_prepare() {
103 - sed -i -e 's/#top_builddir/top_builddir/' po/Makevars || die
104 -
105 - # Delete translations we're not using
106 - cleanup_po() {
107 - local locale=${1}
108 - einfo "Cleaning up disabled locale: ${locale}"
109 - rm po/${locale}.po || die
110 - }
111 -
112 - plocale_for_each_disabled_locale cleanup_po
113 -
114 - cmake_src_prepare
115 -}
116 -
117 -src_configure() {
118 - local mycmakeargs=(
119 - -DWZ_DISTRIBUTOR="Gentoo Linux"
120 - -DWZ_ENABLE_WARNINGS_AS_ERRORS=OFF
121 - -DWZ_ENABLE_BACKEND_VULKAN=$(usex vulkan)
122 - -DBUILD_SHARED_LIBS=OFF
123 - -DENABLE_NLS=$(usex nls)
124 - -DENABLE_DISCORD=$(usex discord)
125 - )
126 -
127 - cmake_src_configure
128 -}
129 -
130 -src_compile() {
131 - cmake_src_compile
132 -
133 - asciidoc -b html5 doc/quickstartguide.asciidoc || die
134 -}
135 -
136 -src_install() {
137 - cmake_src_install
138 -
139 - rm "${ED}"/usr/bin/.portable || die
140 -
141 - # We cover licencing within the ebuild itself
142 - rm "${ED}"/usr/share/doc/${PF}/COPYING* \
143 - "${ED}"/usr/share/doc/${PF}/copyright || die
144 -
145 - if use videos ; then
146 - insinto /usr/share/${PN}
147 - newins "${DISTDIR}"/${VIDEOS_P} sequences.wz
148 - fi
149 -}
150
151 diff --git a/games-strategy/warzone2100/warzone2100-4.2.0.ebuild b/games-strategy/warzone2100/warzone2100-4.2.0.ebuild
152 deleted file mode 100644
153 index 929af63b820a..000000000000
154 --- a/games-strategy/warzone2100/warzone2100-4.2.0.ebuild
155 +++ /dev/null
156 @@ -1,116 +0,0 @@
157 -# Copyright 2021 Gentoo Authors
158 -# Distributed under the terms of the GNU General Public License v2
159 -
160 -EAPI=7
161 -
162 -PLOCALES="af_ZA bg_BG ca_ES cs da de el en_GB eo es et_EE fa_IR fi fr fy ga he_IL hr hu id_ID id it ko la lt nb nl pl pt_BR pt ro ru sk sl tr tt_RU uk_UA zh_CN zh_TW"
163 -inherit cmake plocale xdg
164 -
165 -MY_PV=$(ver_cut 1-2)
166 -VIDEOS_PV=2.2
167 -VIDEOS_P=${PN}-videos-${VIDEOS_PV}.wz
168 -DESCRIPTION="3D real-time strategy game"
169 -HOMEPAGE="https://wz2100.net/"
170 -SRC_URI="mirror://sourceforge/warzone2100/releases/${PV}/${PN}_src.tar.xz -> ${P}.tar.xz
171 - videos? ( mirror://sourceforge/warzone2100/warzone2100/Videos/${VIDEOS_PV}/high-quality-en/sequences.wz -> ${VIDEOS_P} )"
172 -S="${WORKDIR}/${PN}"
173 -
174 -LICENSE="GPL-2+ CC-BY-SA-3.0 public-domain vulkan? ( GPL-3 )"
175 -SLOT="0"
176 -KEYWORDS="~amd64 ~x86"
177 -# Upstream requested debug support
178 -IUSE="debug discord nls videos vulkan"
179 -
180 -CDEPEND="
181 - >=dev-games/physfs-2[zip]
182 - dev-db/sqlite:3
183 - >=dev-libs/libsodium-1.0.14:=
184 - media-libs/freetype:2
185 - media-libs/harfbuzz:=
186 - media-libs/libogg
187 - media-libs/libpng:=
188 - media-libs/libsdl2[opengl,video,X]
189 - media-libs/libtheora
190 - media-libs/libvorbis
191 - media-libs/openal
192 - net-libs/miniupnpc:=
193 - net-misc/curl
194 - sys-libs/zlib
195 - nls? ( virtual/libintl )
196 - vulkan? ( media-libs/libsdl2:=[vulkan] )
197 -"
198 -DEPEND="
199 - ${CDEPEND}
200 - dev-libs/fribidi
201 - media-libs/fontconfig
202 -"
203 -RDEPEND="
204 - ${CDEPEND}
205 - media-fonts/dejavu
206 -"
207 -BDEPEND="
208 - app-arch/zip
209 - app-text/asciidoc
210 - virtual/pkgconfig
211 - nls? ( sys-devel/gettext )
212 -"
213 -
214 -HTML_DOCS=( doc/quickstartguide.html doc/docbook-xsl.css doc/ScriptingManual.htm )
215 -DOCS=( README.md doc/images doc/Scripting.md doc/js-globals.md )
216 -
217 -PATCHES=(
218 - "${FILESDIR}"/${PN}-4.1.3-no-compress-manpages.patch
219 -)
220 -
221 -src_unpack() {
222 - unpack ${P}.tar.xz
223 -}
224 -
225 -src_prepare() {
226 - sed -i -e 's/#top_builddir/top_builddir/' po/Makevars || die
227 -
228 - # Delete translations we're not using
229 - cleanup_po() {
230 - local locale=${1}
231 - einfo "Cleaning up disabled locale: ${locale}"
232 - rm po/${locale}.po || die
233 - }
234 -
235 - plocale_for_each_disabled_locale cleanup_po
236 -
237 - cmake_src_prepare
238 -}
239 -
240 -src_configure() {
241 - local mycmakeargs=(
242 - -DWZ_DISTRIBUTOR="Gentoo Linux"
243 - -DWZ_ENABLE_WARNINGS_AS_ERRORS=OFF
244 - -DWZ_ENABLE_BACKEND_VULKAN=$(usex vulkan)
245 - -DBUILD_SHARED_LIBS=OFF
246 - -DENABLE_NLS=$(usex nls)
247 - -DENABLE_DISCORD=$(usex discord)
248 - )
249 -
250 - cmake_src_configure
251 -}
252 -
253 -src_compile() {
254 - cmake_src_compile
255 -
256 - asciidoc -b html5 doc/quickstartguide.asciidoc || die
257 -}
258 -
259 -src_install() {
260 - cmake_src_install
261 -
262 - rm "${ED}"/usr/bin/.portable || die
263 -
264 - # We cover licencing within the ebuild itself
265 - rm "${ED}"/usr/share/doc/${PF}/COPYING* \
266 - "${ED}"/usr/share/doc/${PF}/copyright || die
267 -
268 - if use videos ; then
269 - insinto /usr/share/${PN}
270 - newins "${DISTDIR}"/${VIDEOS_P} sequences.wz
271 - fi
272 -}