1 |
commit: 4a1c0bf36412ba050ea0a51341f16c8bc2434b82 |
2 |
Author: Erik Mackdanz <stasibear <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 1 17:47:43 2021 +0000 |
4 |
Commit: Erik Mackdanz <stasibear <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 1 17:47:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1c0bf3 |
7 |
|
8 |
games-roguelike/stone-soup: remove old |
9 |
|
10 |
Signed-off-by: Erik Mackdanz <stasibear <AT> gentoo.org> |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
12 |
|
13 |
games-roguelike/stone-soup/Manifest | 1 - |
14 |
.../stone-soup/stone-soup-0.26.0.ebuild | 184 --------------------- |
15 |
2 files changed, 185 deletions(-) |
16 |
|
17 |
diff --git a/games-roguelike/stone-soup/Manifest b/games-roguelike/stone-soup/Manifest |
18 |
index 0b709c69217..2e1ed3d0615 100644 |
19 |
--- a/games-roguelike/stone-soup/Manifest |
20 |
+++ b/games-roguelike/stone-soup/Manifest |
21 |
@@ -3,5 +3,4 @@ DIST stone-soup-0.25.svg 68546 BLAKE2B 7c66286c9e8a3516e8483b3edb628a59fce29d8d2 |
22 |
DIST stone-soup-0.26.png 1351 BLAKE2B cc31abd59701aa6f0fb0bdcd90630ceebf7b3cb8b60f0e2817f8800c5bc4b3a5b9fef63c90a97b6248f306e7e3da0df3863a2195b8771863344d2443e7956d59 SHA512 4695204c8b936f7aac1ba15b02a6115a955fb2c56aa9a0b968ff007bc9a1a59b608110d60cce5625a9b92cd2c869bbea7e15433a53c1a338622809477a5846bc |
23 |
DIST stone-soup-0.26.svg 68546 BLAKE2B 7c66286c9e8a3516e8483b3edb628a59fce29d8d248c3fd5b06e308782bbc651814f21ec958b30c36074a2576ced4bb10f291b5236da6f6e865ce1d7cefdf96d SHA512 dca555271faf704eb8ecdf5ee8a763df42cdeba94e9c163608c438cfc73c6fbf53416547050cad57f477ade191842e701785b65b7a9f18e27ceab05df8f2f75f |
24 |
DIST stone_soup-0.25.1.zip 95477710 BLAKE2B 0b38a6c7cb7c4c87acccb861b5aae665cd2b6b532f6e86d4a9fa594e0d363b86b4af1ea47275f7fd026ea69d85215be8cdf46258bd620e738b4850e5eceed006 SHA512 fa7e8be582c5c6615531884ade4c113542c06c164b6912095c1adf2f16a31cb2ecce057d74132b11b1b1c256a77433037948d4e54819739b7e222cc896cd5220 |
25 |
-DIST stone_soup-0.26.0.zip 95554775 BLAKE2B 03389bae0471efe674b68dd6b99184d77cae50beaa1a82e26afa2b12e0cd06a3bd7b3eecaf5b11a78150cf3eb4694cd07e62f524630b9113fb49ef9cd328d265 SHA512 269b687ce75d8f6e888f1bcc811be2544cb9d82a1a48689187631aa2e6e0a7999bfc3ac7da81cdc44488db5d97bde48b4d6215ebd994f7ebaa6b89bdc2cba281 |
26 |
DIST stone_soup-0.26.1.zip 95585384 BLAKE2B 6d1cb99fc44e918cad4144608f259e67a26df444b93c8501590ff209e8856fd08c514d4c8c78cb0848d8e6127cdf4360b47d21ced5d919da982421934b46102d SHA512 637f1a07e9f35e18eda10c17dc28449364c56aee8456497e30552acb55608a9433cff8b64af877049c21cb2a42eb2fcad28f58a7e57a1d835eb8c252e580205d |
27 |
|
28 |
diff --git a/games-roguelike/stone-soup/stone-soup-0.26.0.ebuild b/games-roguelike/stone-soup/stone-soup-0.26.0.ebuild |
29 |
deleted file mode 100644 |
30 |
index cc9cc94cf89..00000000000 |
31 |
--- a/games-roguelike/stone-soup/stone-soup-0.26.0.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,184 +0,0 @@ |
34 |
-# Copyright 1999-2021 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-# TODO |
38 |
-# - attempt +test, linked bug claims to be fixed |
39 |
- |
40 |
-EAPI=7 |
41 |
- |
42 |
-LUA_COMPAT=( lua5-{1..3} ) |
43 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
44 |
-VIRTUALX_REQUIRED="manual" |
45 |
-inherit desktop python-any-r1 lua-single xdg-utils toolchain-funcs |
46 |
- |
47 |
-MY_P="stone_soup-${PV}" |
48 |
-DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons" |
49 |
-HOMEPAGE="https://crawl.develz.org" |
50 |
-SLOT="0.26" |
51 |
-SRC_URI=" |
52 |
- https://github.com/crawl/crawl/releases/download/${PV}/${PN/-/_}-${PV}.zip |
53 |
- https://dev.gentoo.org/~stasibear/distfiles/${PN}.png -> ${PN}-${SLOT}.png |
54 |
- https://dev.gentoo.org/~stasibear/distfiles/${PN}.svg -> ${PN}-${SLOT}.svg |
55 |
-" |
56 |
- |
57 |
-# 3-clause BSD: mt19937ar.cc, MSVC/stdint.h |
58 |
-# 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs |
59 |
-# Public Domain|CC0: most of tiles |
60 |
-# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/ |
61 |
-LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT" |
62 |
-KEYWORDS="amd64 x86" |
63 |
-IUSE="debug ncurses sound test +tiles" |
64 |
-# test is broken |
65 |
-# see https://crawl.develz.org/mantis/view.php?id=6121 |
66 |
-RESTRICT="test" |
67 |
- |
68 |
-RDEPEND=" |
69 |
- ${LUA_DEPS} |
70 |
- dev-db/sqlite:3 |
71 |
- sys-libs/zlib |
72 |
- !ncurses? ( !tiles? ( sys-libs/ncurses:0 ) ) |
73 |
- ncurses? ( sys-libs/ncurses:0 ) |
74 |
- tiles? ( |
75 |
- media-fonts/dejavu |
76 |
- media-libs/freetype:2 |
77 |
- media-libs/libpng:0 |
78 |
- sound? ( |
79 |
- media-libs/libsdl2[X,opengl,sound,video] |
80 |
- media-libs/sdl2-mixer |
81 |
- ) |
82 |
- !sound? ( media-libs/libsdl2[X,opengl,video] ) |
83 |
- media-libs/sdl2-image[png] |
84 |
- virtual/glu |
85 |
- virtual/opengl |
86 |
- )" |
87 |
-DEPEND="${RDEPEND} |
88 |
- app-arch/unzip |
89 |
- dev-lang/perl |
90 |
- ${PYTHON_DEPS} |
91 |
- $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') |
92 |
- sys-devel/flex |
93 |
- tiles? ( |
94 |
- sys-libs/ncurses:0 |
95 |
- ) |
96 |
- virtual/pkgconfig |
97 |
- virtual/yacc |
98 |
- " |
99 |
- |
100 |
-S=${WORKDIR}/${MY_P}/source |
101 |
-S_TEST=${WORKDIR}/${MY_P}_test/source |
102 |
-PATCHES=( |
103 |
- "${FILESDIR}"/fixed-font-path.patch |
104 |
- "${FILESDIR}"/gitless-1.patch |
105 |
- "${FILESDIR}"/rltiles-ldflags-libs.patch |
106 |
-) |
107 |
- |
108 |
-python_check_deps() { |
109 |
- has_version "dev-python/pyyaml[${PYTHON_USEDEP}]" |
110 |
-} |
111 |
- |
112 |
-pkg_setup() { |
113 |
- |
114 |
- python-any-r1_pkg_setup |
115 |
- |
116 |
- if use !ncurses && use !tiles ; then |
117 |
- ewarn "Neither ncurses nor tiles frontend" |
118 |
- ewarn "selected, choosing ncurses only." |
119 |
- ewarn "Note that you can also enable both." |
120 |
- fi |
121 |
- |
122 |
- if use sound && use !tiles ; then |
123 |
- ewarn "Sound support is only available with tiles." |
124 |
- fi |
125 |
-} |
126 |
- |
127 |
-src_prepare() { |
128 |
- default |
129 |
- python_fix_shebang "${S}/util/species-gen.py" |
130 |
- |
131 |
- sed -i -e "s/GAME = crawl$/GAME = crawl-${SLOT}/" "${S}/Makefile" \ |
132 |
- || die "Couldn't append slot to executable name" |
133 |
-} |
134 |
- |
135 |
-src_compile() { |
136 |
- |
137 |
- # Insurance that we're not using bundled lib sources |
138 |
- rm -rf contrib || die "Couldn't delete contrib directory" |
139 |
- |
140 |
- export HOSTCXX=$(tc-getBUILD_CXX) |
141 |
- |
142 |
- # leave DATADIR at the top |
143 |
- myemakeargs=( |
144 |
- $(usex debug "FULLDEBUG=y DEBUG=y" "") |
145 |
- BUILD_LUA= |
146 |
- AR="$(tc-getAR)" |
147 |
- CFOPTIMIZE='' |
148 |
- CFOTHERS="${CXXFLAGS}" |
149 |
- CONTRIBS= |
150 |
- DATADIR="/usr/share/${PN}-${SLOT}" |
151 |
- GCC="$(tc-getCC)" |
152 |
- GXX="$(tc-getCXX)" |
153 |
- LDFLAGS="${LDFLAGS}" |
154 |
- MAKEOPTS="${MAKEOPTS}" |
155 |
- PKGCONFIG="$(tc-getPKG_CONFIG)" |
156 |
- RANLIB="$(tc-getRANLIB)" |
157 |
- SAVEDIR="~/.crawl-${SLOT}" |
158 |
- SOUND=$(usex sound "y" "") |
159 |
- STRIP=touch |
160 |
- USE_LUAJIT= |
161 |
- V=1 |
162 |
- prefix="/usr" |
163 |
- ) |
164 |
- |
165 |
- if use ncurses || (use !ncurses && use !tiles) ; then |
166 |
- emake "${myemakeargs[@]}" |
167 |
- # move it in case we build both variants |
168 |
- use tiles && { mv "crawl-${SLOT}" "${WORKDIR}"/crawl-ncurses-${SLOT} || die ;} |
169 |
- fi |
170 |
- |
171 |
- if use tiles ; then |
172 |
- emake clean |
173 |
- emake "${myemakeargs[@]}" "TILES=y" |
174 |
- fi |
175 |
-} |
176 |
- |
177 |
-src_install() { |
178 |
- emake "${myemakeargs[@]}" $(usex tiles "TILES=y" "") DESTDIR="${D}" prefix_fp="" bin_prefix="${D}/usr/bin" install |
179 |
- [[ -e "${WORKDIR}/crawl-ncurses-${SLOT}" ]] && dobin "${WORKDIR}/crawl-ncurses-${SLOT}" |
180 |
- |
181 |
- # don't relocate docs, needed at runtime |
182 |
- rm -rf "${D}/usr/share/${PN}-${SLOT}"/docs/license |
183 |
- |
184 |
- mv "${WORKDIR}/${MY_P}"/docs/crawl.6 "${WORKDIR}/${MY_P}/docs/crawl-${SLOT}.6" \ |
185 |
- || die "Couldn't append slot to man page name" |
186 |
- doman "${WORKDIR}/${MY_P}/docs/crawl-${SLOT}.6" |
187 |
- |
188 |
- # icons and menu for graphical build |
189 |
- if use tiles ; then |
190 |
- doicon -s 48 "${DISTDIR}"/${PN}-${SLOT}.png |
191 |
- doicon -s scalable "${DISTDIR}"/${PN}-${SLOT}.svg |
192 |
- make_desktop_entry "crawl-${SLOT}" "crawl-${SLOT}" "crawl-${SLOT}" |
193 |
- fi |
194 |
-} |
195 |
- |
196 |
-pkg_postinst() { |
197 |
- xdg_icon_cache_update |
198 |
- |
199 |
- elog "Since version 0.25.1-r101, crawl is a slotted install" |
200 |
- elog "that supports having multiple versions installed. The" |
201 |
- elog "binary has the slot appened, e.g. 'crawl-"${SLOT}"'." |
202 |
- elog |
203 |
- elog "The local save directory also has the slot appended." |
204 |
- elog "If you have saved games from 0.25 but before 0.25.1-r101" |
205 |
- elog "you can 'mv ~/.crawl ~/.crawl-0.25' to fix it" |
206 |
- |
207 |
- if use tiles && use ncurses ; then |
208 |
- elog |
209 |
- elog "Since you have enabled both tiles and ncurses frontends" |
210 |
- elog "the ncurses binary is called 'crawl-ncurses-"${SLOT}"' and the" |
211 |
- elog "tiles binary is called 'crawl-"${SLOT}"'." |
212 |
- fi |
213 |
-} |
214 |
- |
215 |
-pkg_postrm() { |
216 |
- xdg_icon_cache_update |
217 |
-} |