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: Sat, 02 Nov 2019 00:07:51
Message-Id: 1572653237.ee55466cb1e36bc5a8dd9eff8c86ba08f879501d.stasibear@gentoo
1 commit: ee55466cb1e36bc5a8dd9eff8c86ba08f879501d
2 Author: Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 2 00:07:17 2019 +0000
4 Commit: Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 2 00:07:17 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee55466c
7
8 games-roguelike/stone-soup: Remove old
9
10 Signed-off-by: Erik Mackdanz <stasibear <AT> gentoo.org>
11 Package-Manager: Portage-2.3.78, Repoman-2.3.17
12
13 games-roguelike/stone-soup/Manifest | 1 -
14 .../stone-soup/stone-soup-0.23.0.ebuild | 143 ---------------------
15 2 files changed, 144 deletions(-)
16
17 diff --git a/games-roguelike/stone-soup/Manifest b/games-roguelike/stone-soup/Manifest
18 index 38495e024f3..a428119bdb6 100644
19 --- a/games-roguelike/stone-soup/Manifest
20 +++ b/games-roguelike/stone-soup/Manifest
21 @@ -1,5 +1,4 @@
22 DIST stone-soup.png 1351 BLAKE2B cc31abd59701aa6f0fb0bdcd90630ceebf7b3cb8b60f0e2817f8800c5bc4b3a5b9fef63c90a97b6248f306e7e3da0df3863a2195b8771863344d2443e7956d59 SHA512 4695204c8b936f7aac1ba15b02a6115a955fb2c56aa9a0b968ff007bc9a1a59b608110d60cce5625a9b92cd2c869bbea7e15433a53c1a338622809477a5846bc
23 DIST stone-soup.svg 68546 BLAKE2B 7c66286c9e8a3516e8483b3edb628a59fce29d8d248c3fd5b06e308782bbc651814f21ec958b30c36074a2576ced4bb10f291b5236da6f6e865ce1d7cefdf96d SHA512 dca555271faf704eb8ecdf5ee8a763df42cdeba94e9c163608c438cfc73c6fbf53416547050cad57f477ade191842e701785b65b7a9f18e27ceab05df8f2f75f
24 -DIST stone_soup-0.23.0.tar.xz 29899848 BLAKE2B 138f3c9fe1ad395d05d0654ea42788c6312e92839c6b92edfa538123b8b566f62d263862b05c6da64d589938c820b876e12475b0eeb16af7dd2e3f62c441eecb SHA512 6b53b5d670130aac451d09fe842e7654f61c131d126b34ed729d4542e9d2cbe2beaa6cd5f0b2bb78744ae6c643040996e39db8b0b3840c8946e442aaff54ff58
25 DIST stone_soup-0.23.2.tar.xz 30157732 BLAKE2B 5d264fa33abeb2254efbdef461774c987f65ef28160d43d90848b77d46a8f0e63c4e59a9cb7257257551a08c509e53758d72acbb0edf5a0e8b70e5d3ca09ea14 SHA512 61ccb0ac262a798e7c06fdb5e821c9885a690e082c33f6255358561929d6800b272106632279d27320e8ae240d903e2002f59d908d5db4841065a5cfa97bbee8
26 DIST stone_soup-0.24.0.tar.xz 29746940 BLAKE2B 429fd9bb5a5bcd36d11f66ac93a96c4d378a50bb9197edcd92d9bd7d7c463ace60c5c59c4bb762fb61555e6612ecca2267b6d68b6bba8afa79861d7b8d4ea6a1 SHA512 d43d3c43551394c0730427a1adf561bc29ac679c13475292908f942aa8b6e077861245536ff3c932c7478f1ec1c72cf51c9aca8b8ce30f3a99c311c292765194
27
28 diff --git a/games-roguelike/stone-soup/stone-soup-0.23.0.ebuild b/games-roguelike/stone-soup/stone-soup-0.23.0.ebuild
29 deleted file mode 100644
30 index 92ce93f41ce..00000000000
31 --- a/games-roguelike/stone-soup/stone-soup-0.23.0.ebuild
32 +++ /dev/null
33 @@ -1,143 +0,0 @@
34 -# Copyright 1999-2019 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -## TODO
38 -# add sound support (no sound files)
39 -
40 -EAPI=6
41 -VIRTUALX_REQUIRED="manual"
42 -inherit eutils gnome2-utils toolchain-funcs eapi7-ver
43 -
44 -MY_P="stone_soup-${PV}"
45 -DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons"
46 -HOMEPAGE="http://crawl.develz.org/wordpress/"
47 -SRC_URI="
48 - https://crawl.develz.org/release/$(ver_cut 1-2)/${PN/-/_}-${PV}.tar.xz
49 - https://dev.gentoo.org/~hasufell/distfiles/${PN}.png
50 - https://dev.gentoo.org/~hasufell/distfiles/${PN}.svg
51 -"
52 -
53 -# 3-clause BSD: mt19937ar.cc, MSVC/stdint.h
54 -# 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs
55 -# Public Domain|CC0: most of tiles
56 -# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/
57 -LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT"
58 -SLOT="0"
59 -KEYWORDS="~amd64 ~x86"
60 -IUSE="debug luajit ncurses test +tiles"
61 -# test is broken
62 -# see https://crawl.develz.org/mantis/view.php?id=6121
63 -RESTRICT="test"
64 -
65 -RDEPEND="
66 - dev-db/sqlite:3
67 - luajit? ( >=dev-lang/luajit-2.0.0 )
68 - sys-libs/zlib
69 - !ncurses? ( !tiles? ( sys-libs/ncurses:0 ) )
70 - ncurses? ( sys-libs/ncurses:0 )
71 - tiles? (
72 - media-fonts/dejavu
73 - media-libs/freetype:2
74 - media-libs/libpng:0
75 - media-libs/libsdl2[X,opengl,video]
76 - media-libs/sdl2-image[png]
77 - virtual/glu
78 - virtual/opengl
79 - )"
80 -DEPEND="${RDEPEND}
81 - dev-lang/perl
82 - sys-devel/flex
83 - virtual/pkgconfig
84 - virtual/yacc
85 - tiles? (
86 - sys-libs/ncurses:0
87 - )"
88 -
89 -S=${WORKDIR}/${MY_P}/source
90 -S_TEST=${WORKDIR}/${MY_P}_test/source
91 -PATCHES=(
92 - "${FILESDIR}"/rltiles-ldflags-libs.patch
93 -)
94 -
95 -pkg_setup() {
96 - if use !ncurses && use !tiles ; then
97 - ewarn "Neither ncurses nor tiles frontend"
98 - ewarn "selected, choosing ncurses only."
99 - ewarn "Note that you can also enable both."
100 - fi
101 -}
102 -
103 -src_prepare() {
104 - default
105 -
106 - rm -r contrib/{fonts,freetype,libpng,pcre,sdl2,sdl2-image,sdl2-mixer,sqlite,zlib} || die
107 -}
108 -
109 -src_compile() {
110 - export HOSTCXX=$(tc-getBUILD_CXX)
111 -
112 - # leave DATADIR at the top
113 - myemakeargs=(
114 - $(usex debug "FULLDEBUG=y DEBUG=y" "")
115 - $(usex luajit "" "BUILD_LUA=yes") # luajit is not bundled
116 - AR="$(tc-getAR)"
117 - CFOPTIMIZE=''
118 - CFOTHERS="${CXXFLAGS}"
119 - DATADIR="/usr/share/${PN}"
120 - GCC="$(tc-getCC)"
121 - GXX="$(tc-getCXX)"
122 - LDFLAGS="${LDFLAGS}"
123 - MAKEOPTS="${MAKEOPTS}"
124 - PKGCONFIG="$(tc-getPKG_CONFIG)"
125 - RANLIB="$(tc-getRANLIB)"
126 - SAVEDIR="~/.crawl"
127 - STRIP=touch
128 - USE_LUAJIT=$(usex luajit "yes" "")
129 - V=1
130 - prefix="/usr"
131 - )
132 -
133 - if use ncurses || (use !ncurses && use !tiles) ; then
134 - emake "${myemakeargs[@]}"
135 - # move it in case we build both variants
136 - use tiles && { mv crawl "${WORKDIR}"/crawl-ncurses || die ;}
137 - fi
138 -
139 - if use tiles ; then
140 - emake clean
141 - emake "${myemakeargs[@]}" "TILES=y"
142 - fi
143 -}
144 -
145 -src_install() {
146 - emake "${myemakeargs[@]}" $(usex tiles "TILES=y" "") DESTDIR="${D}" prefix_fp="" bin_prefix="${D}/usr/bin" install
147 - [[ -e "${WORKDIR}"/crawl-ncurses ]] && dobin "${WORKDIR}"/crawl-ncurses
148 -
149 - # don't relocate docs, needed at runtime
150 - rm -rf "${D}/usr/share/${PN}"/docs/license
151 -
152 - # icons and menu for graphical build
153 - if use tiles ; then
154 - doicon -s 48 "${DISTDIR}"/${PN}.png
155 - doicon -s scalable "${DISTDIR}"/${PN}.svg
156 - make_desktop_entry crawl
157 - fi
158 -}
159 -
160 -pkg_preinst() {
161 - gnome2_icon_savelist
162 -}
163 -
164 -pkg_postinst() {
165 - gnome2_icon_cache_update
166 -
167 - if use tiles && use ncurses ; then
168 - elog "Since you have enabled both tiles and ncurses frontends"
169 - elog "the ncurses binary is called 'crawl-ncurses' and the"
170 - elog "tiles binary is called 'crawl'."
171 - fi
172 -}
173 -
174 -pkg_postrm() {
175 - gnome2_icon_cache_update
176 -}