Gentoo Archives: gentoo-commits

From: Erik Mackdanz <stasibear@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-roguelike/stone-soup/
Date: Sun, 10 Feb 2019 00:09:20
Message-Id: 1549757191.ac4e6381cf4a5f131254926b177ab665d161997e.stasibear@gentoo
1 commit: ac4e6381cf4a5f131254926b177ab665d161997e
2 Author: Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 9 22:41:19 2019 +0000
4 Commit: Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 10 00:06:31 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac4e6381
7
8 games-roguelike/stone-soup: Remove old versions
9
10 Signed-off-by: Erik Mackdanz <stasibear <AT> gentoo.org>
11 Package-Manager: Portage-2.3.59, Repoman-2.3.12
12
13 games-roguelike/stone-soup/Manifest | 2 -
14 .../stone-soup/stone-soup-0.20.1.ebuild | 143 ---------------------
15 .../stone-soup/stone-soup-0.21.1.ebuild | 143 ---------------------
16 3 files changed, 288 deletions(-)
17
18 diff --git a/games-roguelike/stone-soup/Manifest b/games-roguelike/stone-soup/Manifest
19 index 86ea079c416..36ddd33178a 100644
20 --- a/games-roguelike/stone-soup/Manifest
21 +++ b/games-roguelike/stone-soup/Manifest
22 @@ -1,5 +1,3 @@
23 DIST stone-soup.png 1351 BLAKE2B cc31abd59701aa6f0fb0bdcd90630ceebf7b3cb8b60f0e2817f8800c5bc4b3a5b9fef63c90a97b6248f306e7e3da0df3863a2195b8771863344d2443e7956d59 SHA512 4695204c8b936f7aac1ba15b02a6115a955fb2c56aa9a0b968ff007bc9a1a59b608110d60cce5625a9b92cd2c869bbea7e15433a53c1a338622809477a5846bc
24 DIST stone-soup.svg 68546 BLAKE2B 7c66286c9e8a3516e8483b3edb628a59fce29d8d248c3fd5b06e308782bbc651814f21ec958b30c36074a2576ced4bb10f291b5236da6f6e865ce1d7cefdf96d SHA512 dca555271faf704eb8ecdf5ee8a763df42cdeba94e9c163608c438cfc73c6fbf53416547050cad57f477ade191842e701785b65b7a9f18e27ceab05df8f2f75f
25 -DIST stone_soup-0.20.1.tar.xz 28372712 BLAKE2B c12a76afcaf1691a74f23bc2b2927ac2573cb83c602a50aab1567b9e2077c6f12f0847c8c27f17c45941660ab0fac1c28b2531c176c1fc0d4e946b84456d4e75 SHA512 420ccc3c66977da8ae15f9c0465b01a6260ad5db450efced3041455674922e714d9aaed226e1bc32fa3c22bca1ec06bd91979a9378c6ab08fbe1d2bfc3f0da4a
26 -DIST stone_soup-0.21.1.tar.xz 29091300 BLAKE2B 0ce29554483eb244eb74ef08c3e2a7d253037cec141e90fba0bf5f59eebb30dad0668c997eba0d6ea12a354d515fe770cc7fcf6a2afb8c968a09cb9a337bcde4 SHA512 1fa50e5b434391b6f3abad62931318f28dd2af3d3148a72c1f2ff80142f3ce9128b8fe6e5b8fbcc502a3d7e79b777bd9f345f8cca06d7e3dbe7575a42f8bd9e7
27 DIST stone_soup-0.22.0.tar.xz 29263688 BLAKE2B e0a4d6953677583fafe1fce037d4d484c821b4d8782c63fa90b6b4f5db3df7b8fd4c5e843740517a7c2321f864df2a346fcd9bc69a1446c74685afc239d1fc55 SHA512 e8daa0f66a5212b116ce997b30b8f0f9ef01cef7e1213a1b6fe17c800d44fa7e318624902ce638dee79027ffaa3a4af8a10f6552de756a2045b5919d817498bd
28
29 diff --git a/games-roguelike/stone-soup/stone-soup-0.20.1.ebuild b/games-roguelike/stone-soup/stone-soup-0.20.1.ebuild
30 deleted file mode 100644
31 index 3b31a1d1f7c..00000000000
32 --- a/games-roguelike/stone-soup/stone-soup-0.20.1.ebuild
33 +++ /dev/null
34 @@ -1,143 +0,0 @@
35 -# Copyright 1999-2018 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -## TODO
39 -# add sound support (no sound files)
40 -
41 -EAPI=6
42 -VIRTUALX_REQUIRED="manual"
43 -inherit eutils gnome2-utils toolchain-funcs versionator
44 -
45 -MY_P="stone_soup-${PV}"
46 -DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons"
47 -HOMEPAGE="http://crawl.develz.org/wordpress/"
48 -SRC_URI="
49 - https://crawl.develz.org/release/$(get_version_component_range 1-2)/${PN/-/_}-${PV}.tar.xz
50 - https://dev.gentoo.org/~hasufell/distfiles/${PN}.png
51 - https://dev.gentoo.org/~hasufell/distfiles/${PN}.svg
52 -"
53 -
54 -# 3-clause BSD: mt19937ar.cc, MSVC/stdint.h
55 -# 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs
56 -# Public Domain|CC0: most of tiles
57 -# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/
58 -LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT"
59 -SLOT="0"
60 -KEYWORDS="amd64 x86"
61 -IUSE="debug luajit ncurses test +tiles"
62 -# test is broken
63 -# see https://crawl.develz.org/mantis/view.php?id=6121
64 -RESTRICT="test"
65 -
66 -RDEPEND="
67 - dev-db/sqlite:3
68 - luajit? ( >=dev-lang/luajit-2.0.0 )
69 - sys-libs/zlib
70 - !ncurses? ( !tiles? ( sys-libs/ncurses:0 ) )
71 - ncurses? ( sys-libs/ncurses:0 )
72 - tiles? (
73 - media-fonts/dejavu
74 - media-libs/freetype:2
75 - media-libs/libpng:0
76 - media-libs/libsdl2[X,opengl,video]
77 - media-libs/sdl2-image[png]
78 - virtual/glu
79 - virtual/opengl
80 - )"
81 -DEPEND="${RDEPEND}
82 - dev-lang/perl
83 - sys-devel/flex
84 - virtual/pkgconfig
85 - virtual/yacc
86 - tiles? (
87 - sys-libs/ncurses:0
88 - )"
89 -
90 -S=${WORKDIR}/${MY_P}/source
91 -S_TEST=${WORKDIR}/${MY_P}_test/source
92 -PATCHES=(
93 - "${FILESDIR}"/${PN}-0.20.1-rltiles-ldflags-libs.patch
94 -)
95 -
96 -pkg_setup() {
97 - if use !ncurses && use !tiles ; then
98 - ewarn "Neither ncurses nor tiles frontend"
99 - ewarn "selected, choosing ncurses only."
100 - ewarn "Note that you can also enable both."
101 - fi
102 -}
103 -
104 -src_prepare() {
105 - default
106 -
107 - rm -r contrib/{fonts,freetype,libpng,pcre,sdl2,sdl2-image,sdl2-mixer,sqlite,zlib} || die
108 -}
109 -
110 -src_compile() {
111 - export HOSTCXX=$(tc-getBUILD_CXX)
112 -
113 - # leave DATADIR at the top
114 - myemakeargs=(
115 - $(usex debug "FULLDEBUG=y DEBUG=y" "")
116 - $(usex luajit "" "BUILD_LUA=yes") # luajit is not bundled
117 - AR="$(tc-getAR)"
118 - CFOPTIMIZE=''
119 - CFOTHERS="${CXXFLAGS}"
120 - DATADIR="/usr/share/${PN}"
121 - GCC="$(tc-getCC)"
122 - GXX="$(tc-getCXX)"
123 - LDFLAGS="${LDFLAGS}"
124 - MAKEOPTS="${MAKEOPTS}"
125 - PKGCONFIG="$(tc-getPKG_CONFIG)"
126 - RANLIB="$(tc-getRANLIB)"
127 - SAVEDIR="~/.crawl"
128 - STRIP=touch
129 - USE_LUAJIT=$(usex luajit "yes" "")
130 - V=1
131 - prefix="/usr"
132 - )
133 -
134 - if use ncurses || (use !ncurses && use !tiles) ; then
135 - emake "${myemakeargs[@]}"
136 - # move it in case we build both variants
137 - use tiles && { mv crawl "${WORKDIR}"/crawl-ncurses || die ;}
138 - fi
139 -
140 - if use tiles ; then
141 - emake clean
142 - emake "${myemakeargs[@]}" "TILES=y"
143 - fi
144 -}
145 -
146 -src_install() {
147 - emake "${myemakeargs[@]}" $(usex tiles "TILES=y" "") DESTDIR="${D}" prefix_fp="" bin_prefix="${D}/usr/bin" install
148 - [[ -e "${WORKDIR}"/crawl-ncurses ]] && dobin "${WORKDIR}"/crawl-ncurses
149 -
150 - # don't relocate docs, needed at runtime
151 - rm -rf "${D}/usr/share/${PN}"/docs/license
152 -
153 - # icons and menu for graphical build
154 - if use tiles ; then
155 - doicon -s 48 "${DISTDIR}"/${PN}.png
156 - doicon -s scalable "${DISTDIR}"/${PN}.svg
157 - make_desktop_entry crawl
158 - fi
159 -}
160 -
161 -pkg_preinst() {
162 - gnome2_icon_savelist
163 -}
164 -
165 -pkg_postinst() {
166 - gnome2_icon_cache_update
167 -
168 - if use tiles && use ncurses ; then
169 - elog "Since you have enabled both tiles and ncurses frontends"
170 - elog "the ncurses binary is called 'crawl-ncurses' and the"
171 - elog "tiles binary is called 'crawl'."
172 - fi
173 -}
174 -
175 -pkg_postrm() {
176 - gnome2_icon_cache_update
177 -}
178
179 diff --git a/games-roguelike/stone-soup/stone-soup-0.21.1.ebuild b/games-roguelike/stone-soup/stone-soup-0.21.1.ebuild
180 deleted file mode 100644
181 index 14ea7d7dbe8..00000000000
182 --- a/games-roguelike/stone-soup/stone-soup-0.21.1.ebuild
183 +++ /dev/null
184 @@ -1,143 +0,0 @@
185 -# Copyright 1999-2018 Gentoo Foundation
186 -# Distributed under the terms of the GNU General Public License v2
187 -
188 -## TODO
189 -# add sound support (no sound files)
190 -
191 -EAPI=6
192 -VIRTUALX_REQUIRED="manual"
193 -inherit eutils gnome2-utils toolchain-funcs eapi7-ver
194 -
195 -MY_P="stone_soup-${PV}"
196 -DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons"
197 -HOMEPAGE="http://crawl.develz.org/wordpress/"
198 -SRC_URI="
199 - https://crawl.develz.org/release/$(ver_cut 1-2)/${PN/-/_}-${PV}.tar.xz
200 - https://dev.gentoo.org/~hasufell/distfiles/${PN}.png
201 - https://dev.gentoo.org/~hasufell/distfiles/${PN}.svg
202 -"
203 -
204 -# 3-clause BSD: mt19937ar.cc, MSVC/stdint.h
205 -# 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs
206 -# Public Domain|CC0: most of tiles
207 -# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/
208 -LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT"
209 -SLOT="0"
210 -KEYWORDS="~amd64 ~x86"
211 -IUSE="debug luajit ncurses test +tiles"
212 -# test is broken
213 -# see https://crawl.develz.org/mantis/view.php?id=6121
214 -RESTRICT="test"
215 -
216 -RDEPEND="
217 - dev-db/sqlite:3
218 - luajit? ( >=dev-lang/luajit-2.0.0 )
219 - sys-libs/zlib
220 - !ncurses? ( !tiles? ( sys-libs/ncurses:0 ) )
221 - ncurses? ( sys-libs/ncurses:0 )
222 - tiles? (
223 - media-fonts/dejavu
224 - media-libs/freetype:2
225 - media-libs/libpng:0
226 - media-libs/libsdl2[X,opengl,video]
227 - media-libs/sdl2-image[png]
228 - virtual/glu
229 - virtual/opengl
230 - )"
231 -DEPEND="${RDEPEND}
232 - dev-lang/perl
233 - sys-devel/flex
234 - virtual/pkgconfig
235 - virtual/yacc
236 - tiles? (
237 - sys-libs/ncurses:0
238 - )"
239 -
240 -S=${WORKDIR}/${MY_P}/source
241 -S_TEST=${WORKDIR}/${MY_P}_test/source
242 -PATCHES=(
243 - "${FILESDIR}"/${PN}-0.20.1-rltiles-ldflags-libs.patch
244 -)
245 -
246 -pkg_setup() {
247 - if use !ncurses && use !tiles ; then
248 - ewarn "Neither ncurses nor tiles frontend"
249 - ewarn "selected, choosing ncurses only."
250 - ewarn "Note that you can also enable both."
251 - fi
252 -}
253 -
254 -src_prepare() {
255 - default
256 -
257 - rm -r contrib/{fonts,freetype,libpng,pcre,sdl2,sdl2-image,sdl2-mixer,sqlite,zlib} || die
258 -}
259 -
260 -src_compile() {
261 - export HOSTCXX=$(tc-getBUILD_CXX)
262 -
263 - # leave DATADIR at the top
264 - myemakeargs=(
265 - $(usex debug "FULLDEBUG=y DEBUG=y" "")
266 - $(usex luajit "" "BUILD_LUA=yes") # luajit is not bundled
267 - AR="$(tc-getAR)"
268 - CFOPTIMIZE=''
269 - CFOTHERS="${CXXFLAGS}"
270 - DATADIR="/usr/share/${PN}"
271 - GCC="$(tc-getCC)"
272 - GXX="$(tc-getCXX)"
273 - LDFLAGS="${LDFLAGS}"
274 - MAKEOPTS="${MAKEOPTS}"
275 - PKGCONFIG="$(tc-getPKG_CONFIG)"
276 - RANLIB="$(tc-getRANLIB)"
277 - SAVEDIR="~/.crawl"
278 - STRIP=touch
279 - USE_LUAJIT=$(usex luajit "yes" "")
280 - V=1
281 - prefix="/usr"
282 - )
283 -
284 - if use ncurses || (use !ncurses && use !tiles) ; then
285 - emake "${myemakeargs[@]}"
286 - # move it in case we build both variants
287 - use tiles && { mv crawl "${WORKDIR}"/crawl-ncurses || die ;}
288 - fi
289 -
290 - if use tiles ; then
291 - emake clean
292 - emake "${myemakeargs[@]}" "TILES=y"
293 - fi
294 -}
295 -
296 -src_install() {
297 - emake "${myemakeargs[@]}" $(usex tiles "TILES=y" "") DESTDIR="${D}" prefix_fp="" bin_prefix="${D}/usr/bin" install
298 - [[ -e "${WORKDIR}"/crawl-ncurses ]] && dobin "${WORKDIR}"/crawl-ncurses
299 -
300 - # don't relocate docs, needed at runtime
301 - rm -rf "${D}/usr/share/${PN}"/docs/license
302 -
303 - # icons and menu for graphical build
304 - if use tiles ; then
305 - doicon -s 48 "${DISTDIR}"/${PN}.png
306 - doicon -s scalable "${DISTDIR}"/${PN}.svg
307 - make_desktop_entry crawl
308 - fi
309 -}
310 -
311 -pkg_preinst() {
312 - gnome2_icon_savelist
313 -}
314 -
315 -pkg_postinst() {
316 - gnome2_icon_cache_update
317 -
318 - if use tiles && use ncurses ; then
319 - elog "Since you have enabled both tiles and ncurses frontends"
320 - elog "the ncurses binary is called 'crawl-ncurses' and the"
321 - elog "tiles binary is called 'crawl'."
322 - fi
323 -}
324 -
325 -pkg_postrm() {
326 - gnome2_icon_cache_update
327 -}