summaryrefslogtreecommitdiff
path: root/games-roguelike/stone-soup
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-09 15:43:36 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-09 15:43:36 +0100
commit2719f73b6813d11d13a9650cdd2ab8ec6e69385d (patch)
tree8c816148bcbd22757d892089c989ae614eae4f5a /games-roguelike/stone-soup
parent0f558761aa2dee1017b4751e4017205e015a9560 (diff)
gentoo resync : 09.07.2022
Diffstat (limited to 'games-roguelike/stone-soup')
-rw-r--r--games-roguelike/stone-soup/Manifest16
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.25.1-r102.ebuild190
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.25.1-r103.ebuild9
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.26.1-r1.ebuild194
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.26.1-r2.ebuild9
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.27.1-r1.ebuild9
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.27.1.ebuild190
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.28.0-r1.ebuild9
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.28.0.ebuild209
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.29.0_pre20220701.ebuild (renamed from games-roguelike/stone-soup/stone-soup-0.29.0_pre20220522.ebuild)9
10 files changed, 31 insertions, 813 deletions
diff --git a/games-roguelike/stone-soup/Manifest b/games-roguelike/stone-soup/Manifest
index 55f976d75da7..1e14a07950a0 100644
--- a/games-roguelike/stone-soup/Manifest
+++ b/games-roguelike/stone-soup/Manifest
@@ -10,20 +10,16 @@ DIST stone-soup-0.27.png 1351 BLAKE2B cc31abd59701aa6f0fb0bdcd90630ceebf7b3cb8b6
DIST stone-soup-0.27.svg 68546 BLAKE2B 7c66286c9e8a3516e8483b3edb628a59fce29d8d248c3fd5b06e308782bbc651814f21ec958b30c36074a2576ced4bb10f291b5236da6f6e865ce1d7cefdf96d SHA512 dca555271faf704eb8ecdf5ee8a763df42cdeba94e9c163608c438cfc73c6fbf53416547050cad57f477ade191842e701785b65b7a9f18e27ceab05df8f2f75f
DIST stone-soup-0.28.png 1351 BLAKE2B cc31abd59701aa6f0fb0bdcd90630ceebf7b3cb8b60f0e2817f8800c5bc4b3a5b9fef63c90a97b6248f306e7e3da0df3863a2195b8771863344d2443e7956d59 SHA512 4695204c8b936f7aac1ba15b02a6115a955fb2c56aa9a0b968ff007bc9a1a59b608110d60cce5625a9b92cd2c869bbea7e15433a53c1a338622809477a5846bc
DIST stone-soup-0.28.svg 68546 BLAKE2B 7c66286c9e8a3516e8483b3edb628a59fce29d8d248c3fd5b06e308782bbc651814f21ec958b30c36074a2576ced4bb10f291b5236da6f6e865ce1d7cefdf96d SHA512 dca555271faf704eb8ecdf5ee8a763df42cdeba94e9c163608c438cfc73c6fbf53416547050cad57f477ade191842e701785b65b7a9f18e27ceab05df8f2f75f
-DIST stone-soup-0.29.0_pre20220522.tar.gz 16361027 BLAKE2B 6155ce9a56a99b5845ae9ab1747adaed5c3b0e6155eeb42a3a7cba026819701e9b8de72a7e83996f8a3892bfc8119c446feffeb639831be76c626e130ccd8cda SHA512 e026b314d94c45bb91ca41d0ab52003902718dadd16c536fbef6a49348b837a04d48d7eccf43d3e6b810ab4b38d11fe5ede3cd88b6925762b6a7fcadfdf8f936
+DIST stone-soup-0.29.0_pre20220701.tar.gz 16490746 BLAKE2B dfc4251a3c4eda66867833ac2a97178c24ebd03ce23b63d067143d7c8046821bb9f658bc53242ad56053aa117b09a5ffb7dcf499035bf5ee1aff6c8bd06b64c8 SHA512 66e95e32067e281adb3195823d34e9a13fdc8089c4bc747e35844718a29657674a0c89d2c9823a60c2bc479caa5b6eb8b4cc7e7ade990c8f14bbc34ed11555ed
DIST stone-soup-0.29.png 1351 BLAKE2B cc31abd59701aa6f0fb0bdcd90630ceebf7b3cb8b60f0e2817f8800c5bc4b3a5b9fef63c90a97b6248f306e7e3da0df3863a2195b8771863344d2443e7956d59 SHA512 4695204c8b936f7aac1ba15b02a6115a955fb2c56aa9a0b968ff007bc9a1a59b608110d60cce5625a9b92cd2c869bbea7e15433a53c1a338622809477a5846bc
DIST stone-soup-0.29.svg 68546 BLAKE2B 7c66286c9e8a3516e8483b3edb628a59fce29d8d248c3fd5b06e308782bbc651814f21ec958b30c36074a2576ced4bb10f291b5236da6f6e865ce1d7cefdf96d SHA512 dca555271faf704eb8ecdf5ee8a763df42cdeba94e9c163608c438cfc73c6fbf53416547050cad57f477ade191842e701785b65b7a9f18e27ceab05df8f2f75f
DIST stone_soup-0.25.1.zip 95477710 BLAKE2B 0b38a6c7cb7c4c87acccb861b5aae665cd2b6b532f6e86d4a9fa594e0d363b86b4af1ea47275f7fd026ea69d85215be8cdf46258bd620e738b4850e5eceed006 SHA512 fa7e8be582c5c6615531884ade4c113542c06c164b6912095c1adf2f16a31cb2ecce057d74132b11b1b1c256a77433037948d4e54819739b7e222cc896cd5220
DIST stone_soup-0.26.1.zip 95585384 BLAKE2B 6d1cb99fc44e918cad4144608f259e67a26df444b93c8501590ff209e8856fd08c514d4c8c78cb0848d8e6127cdf4360b47d21ced5d919da982421934b46102d SHA512 637f1a07e9f35e18eda10c17dc28449364c56aee8456497e30552acb55608a9433cff8b64af877049c21cb2a42eb2fcad28f58a7e57a1d835eb8c252e580205d
DIST stone_soup-0.27.1.zip 96934633 BLAKE2B 8821920a4faad9474f08a34ae3c272cb9dcd3ddeb9029e033c22eb8e6650ef20bbc30e0c0ca1556d08c1b7b898fdbdd3667a3ac9a8527e0c322cd8c78ab391bb SHA512 845dafc9895ada3712903de63b95cca9eeb66160e4a04ba21193d916447fca8e7248b851f1e938f43b8d3937cf4f4437443bdc4fe2da893fe3918fed4e0b5204
DIST stone_soup-0.28.0.zip 98876317 BLAKE2B 10f554ea004778b6a2537caa2f994c8e7b12e190ddaaf55f9fb5d2499b91ee6d15d63a9d50167528c1625058bc262c5cba8ba08235fc377e83329ba5f80158be SHA512 7316175ccf6efea376a8a9157f9c4d1786f59c544af39e5ff28a9fcd889e23ef58c2a3680df46807c84b2ce0feb347e661c929195e8affb3d3f98c24832b17e0
-EBUILD stone-soup-0.25.1-r102.ebuild 4864 BLAKE2B db1579a905e9830253e473268b703d93bcdb4049ee4b8baf05727ba9e09546f60c384599fcbf55e7b17859b0cf50cdffdec6bafe3828ab862f43927e7e979cfc SHA512 d805258ec6059b690c9ba762ae39ec4e34d9d7a9b3bce7c0edb0645da8caf44bdabdf36e8d9b454cfb27179894ce81b3f01e32ae99d900f05261d2ef047f7cd0
-EBUILD stone-soup-0.25.1-r103.ebuild 5009 BLAKE2B f5b8398549c5795bd7be3f2fab6fa3f152b3df6a8fc12edaec850361d79edb429d8e155dc5ef36740f7776961fbd8f09275f2822553126bd401e8a39bbfdf72c SHA512 0bd3db7af966b4a880bcfb62cec62743aaf4ce071973f7f953f64095d19eb34fc4a40762b89a6973d198dce4a704ef89db53459472c8c4041feafbabdc8c0a9c
-EBUILD stone-soup-0.26.1-r1.ebuild 5077 BLAKE2B 2c5a311b29921349f247095ff15282510e6d9563a973a533bc49f25cb05a6d423befff60eeeea1739a1e39bcffc17b779663c423eef03322edfd968093d4f034 SHA512 ecb2951cdfb3f73e2c122eed0f7a86f6323e0eb28ae4ae40b2f6b8a455817ec07a216a782c9ed85449994ab735f0d93c7e17c95e1963a9e077da3a6fe7b21de3
-EBUILD stone-soup-0.26.1-r2.ebuild 5222 BLAKE2B 7191e7b373999c69b41a17615d30847d9c3adc03cf5a79ceffc9f7ad7d0b0660b09d87d00ae7fe087dd04fd44b18ce4019326f21420035d4273a698ce264f41f SHA512 d192d73c7be60ed413c05aa8b383b2158d81a40c7b875ac231943447fce6a72d26b0f5337c68adb4bc7518c832e51f5dcfe60049e7979a0eff2ae2fff1e62b2f
-EBUILD stone-soup-0.27.1-r1.ebuild 5009 BLAKE2B 7011dba6c4c08ad5d72192da939e87fa5431da161a6696c76382d8e53ac94d5dd02c218b66d80c2280304ca5730752e7ff1682da688fbec04158d8099a67a899 SHA512 1565168d6e6469fde1d27c493c5825eafaf663f167685969519d9526c5a1a0acbc96bd7468ba2aa860444af06d700bc9f5b3e18187819f1eb0df3efc585e47aa
-EBUILD stone-soup-0.27.1.ebuild 4864 BLAKE2B fe2fcb78fadb8e8dc9cd9084e511e82867d39d9254be85769aabf8e8075be5d1d3f35dcc7ae81ae027ed9826c1e0b092fe3887afdf72f9f41d6c518c6ab01de0 SHA512 4cf1ce6683e724bc2bc9d46aaec73f63e13a45837d594e4715731b1effa2152e51e7d79ea2ed969c0967c8a824688875fc8b89002bab904313b8e5868272fbfd
-EBUILD stone-soup-0.28.0-r1.ebuild 5606 BLAKE2B 16cb82e4f0a74ea25f8395c37495e0efe8016fda3c77b1c50fb19241a8bba7f6fd7b857ceea182389753061de622f64783089a8c703ba884fdb11ce0581592e9 SHA512 63c39af14be89ca6dcfc715ecf65c5ab4787985294cb3de8f2b1f8ca5b6ee12f00fd5e1f7776adf8c9f2560a1df30f46e7909602d0768c7305e459502aa93fe7
-EBUILD stone-soup-0.28.0.ebuild 5461 BLAKE2B ae415f1b9690d72a233697326651d44c5534d69a8e290ec12e06c42ca2df47c31d3572f229665f52ee70ada828e26b7ea4057c1ac64bce208274031df6efc45b SHA512 c7bf67b85583f0e0ef2e3ed394ba950574360fc804697f0f3fe90b35a8ab636855305616b677a83c9ad8c43005bea2088e2ceb7322d720d235a04f50eebe978f
-EBUILD stone-soup-0.29.0_pre20220522.ebuild 5646 BLAKE2B fc9496550abd9d4aac1e84e459c100f25cc470d15dc68823d46f423e2c7b374bc4f80fa7b72188595cafc934d37c212e798b5a65d4445321f6eebf11d2005270 SHA512 dfb0844d8b3a7b82179d15796ee8918eb5a4a4c5c4c009f755c40f41ae3d3a755ffe49b6ba6d8c9fee257112b0bd78780a055ff71476793ce17896d6a49f4fae
+EBUILD stone-soup-0.25.1-r103.ebuild 5045 BLAKE2B dd667e1a7aec2c09754368bcc5615d8414bcc1cc35196a22fe2bf91ee15a9caec22def457838b1cc2391dd18537da2031674b6ff6cd5f6c87ce5fa3cdd943cd0 SHA512 9ba30cfdf08045689e4d7d2492cd710c4d15b00bdd57bdc64424ec1a415ccfae7da9c5a1eab7ec1c759310458dd3903b07e5fe18803a724b5f0a427c5c44afaf
+EBUILD stone-soup-0.26.1-r2.ebuild 5258 BLAKE2B ee0d6bbfd5de52ac1e5b2bc3518220a3607f8999d1f9d5974690bede75ea4791878f561f5df4d185dc3985a57008c5bd153a369b1e86c5cf88b1c1a603661267 SHA512 c0c2186645788bb0a1e3828f8128af490e4ba9b83998de8e32015b49b42a6cf46cc4eb08e1b14e30e5d574d5bb17f11882959074a5686d6faae3bb9d1ceccd5b
+EBUILD stone-soup-0.27.1-r1.ebuild 5045 BLAKE2B 8e4b3dba98685164149d18286c2ff099fe8a056a8109753eed3b5739802365c7f724c17cce70809bbcbdb990d6cc6ec11b1b9dea2b7e02b537fa6189221a389c SHA512 679f39c530dea70ac4ad9d80aae30bd0163f61f7507b2886121a0db5c28919fc583724ba92ae2c777bdc7f0d99a580592c5e0b3f7434442554632ea348ece2f5
+EBUILD stone-soup-0.28.0-r1.ebuild 5642 BLAKE2B 94fc53cce648497c8a322909a124fd0cd76d35118bf79298321b21098d391f97eab34df479beab53ee3f96505984e89a969ee9dd74e5915692e214bb555509c8 SHA512 a7a9ef2963243322926b33d3fb36956924a8f1b4086bbd5aa69661d3042ed50761a749b59ab4b7af2a35db3fb9623a04aa0b57d81c02453e82f520206e2bca8e
+EBUILD stone-soup-0.29.0_pre20220701.ebuild 5684 BLAKE2B a9da6b0296448bfe1b17643ac19880ae982ee50dd6dbc33e92c702540e66b58acf66bcfa3580498deb3215bd7d15791c755c182f66ded009e2224e22f6fad039 SHA512 723c3a4e4f37da62143111624b1fdda29192995d17645db4488015b06922cc981a3963aa9cc7410fd5386423c14ea2e6fa09fd5cc28619e84a29e5adfa3f675e
MISC metadata.xml 1684 BLAKE2B 4d3fe12186ce860f5b049b5b2cdb626f9ab095d688163739a972e0f53a7d835c191dbec0ee4868bb575648cbd3c818ed2fdec44b75730855ea5d8bc3eaf4996c SHA512 9dbe6b3c720b81887c74b0a5e81a0ba5e410d947a6560f66cbb4605c090dfa46a897f8550191e6c6ce7ec06a7460d0e3c625afe7f5ee41e32ab3b800887463cd
diff --git a/games-roguelike/stone-soup/stone-soup-0.25.1-r102.ebuild b/games-roguelike/stone-soup/stone-soup-0.25.1-r102.ebuild
deleted file mode 100644
index caf09a0a1313..000000000000
--- a/games-roguelike/stone-soup/stone-soup-0.25.1-r102.ebuild
+++ /dev/null
@@ -1,190 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-{1..3} )
-PYTHON_COMPAT=( python3_{7,8,9,10} )
-VIRTUALX_REQUIRED="manual"
-inherit desktop python-any-r1 lua-single xdg-utils toolchain-funcs
-
-MY_P="stone_soup-${PV}"
-DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons"
-HOMEPAGE="https://crawl.develz.org"
-SLOT="0.25"
-SRC_URI="
- https://github.com/crawl/crawl/releases/download/${PV}/${PN/-/_}-${PV}.zip
- https://dev.gentoo.org/~stasibear/distfiles/${PN}.png -> ${PN}-${SLOT}.png
- https://dev.gentoo.org/~stasibear/distfiles/${PN}.svg -> ${PN}-${SLOT}.svg
-"
-
-# 3-clause BSD: mt19937ar.cc, MSVC/stdint.h
-# 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs
-# Public Domain|CC0: most of tiles
-# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/
-LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT"
-KEYWORDS="amd64 x86"
-IUSE="debug ncurses sound test +tiles"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- ${LUA_DEPS}
- dev-db/sqlite:3
- sys-libs/zlib
- !ncurses? ( !tiles? ( sys-libs/ncurses:0 ) )
- ncurses? ( sys-libs/ncurses:0 )
- tiles? (
- media-fonts/dejavu
- media-libs/freetype:2
- media-libs/libpng:0
- sound? (
- media-libs/libsdl2[X,opengl,sound,video]
- media-libs/sdl2-mixer
- )
- !sound? ( media-libs/libsdl2[X,opengl,video] )
- media-libs/sdl2-image[png]
- virtual/glu
- virtual/opengl
- )"
-DEPEND="${RDEPEND}
- app-arch/unzip
- dev-lang/perl
- ${PYTHON_DEPS}
- $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]')
- sys-devel/flex
- test? ( dev-cpp/catch:0 )
- tiles? (
- media-gfx/pngcrush
- sys-libs/ncurses:0
- )
- virtual/pkgconfig
- virtual/yacc
- "
-
-S=${WORKDIR}/${MY_P}/source
-PATCHES=(
- "${FILESDIR}"/make-no-png-dep-fix.patch
- "${FILESDIR}"/rltiles-make.patch
-)
-
-python_check_deps() {
- has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-
- python-any-r1_pkg_setup
-
- if use !ncurses && use !tiles ; then
- ewarn "Neither ncurses nor tiles frontend"
- ewarn "selected, choosing ncurses only."
- ewarn "Note that you can also enable both."
- fi
-
- if use sound && use !tiles ; then
- ewarn "Sound support is only available with tiles."
- fi
-}
-
-src_prepare() {
- default
- python_fix_shebang "${S}/util/species-gen.py"
-
- sed -i -e "s/GAME = crawl$/GAME = crawl-${SLOT}/" "${S}/Makefile" \
- || die "Couldn't append slot to executable name"
-
- # Replace bundled catch2 package with system implementation
- # https://bugs.gentoo.org/829950
- if use test; then
- cp /usr/include/catch2/catch.hpp "${S}/catch2-tests" || die "Couldn't substitute system catch2"
- fi
-}
-
-src_compile() {
-
- # Insurance that we're not using bundled lib sources
- rm -rf contrib || die "Couldn't delete contrib directory"
-
- myemakeargs=(
- $(usex debug "FULLDEBUG=y DEBUG=y" "")
- BUILD_LUA=
- AR="$(tc-getAR)"
- CFOPTIMIZE=''
- CFOTHERS="${CXXFLAGS}"
- CONTRIBS=
- DATADIR="/usr/share/${PN}-${SLOT}"
- FORCE_CC="$(tc-getCC)"
- FORCE_CXX="$(tc-getCXX)"
- LDFLAGS="${LDFLAGS}"
- MAKEOPTS="${MAKEOPTS}"
- PKGCONFIG="$(tc-getPKG_CONFIG)"
- RANLIB="$(tc-getRANLIB)"
- SAVEDIR="~/.crawl-${SLOT}"
- SOUND=$(usex sound "y" "")
- STRIP=touch
- USE_LUAJIT=
- V=1
- prefix="/usr"
- )
-
- if use ncurses || (use !ncurses && use !tiles) ; then
- emake "${myemakeargs[@]}"
- # move it in case we build both variants
- use tiles && { mv "crawl-${SLOT}" "${WORKDIR}"/crawl-ncurses-${SLOT} || die ;}
- fi
-
- if use tiles ; then
- emake "${myemakeargs[@]}" clean
- emake "${myemakeargs[@]}" "TILES=y"
- fi
-}
-
-src_test() {
- emake "${myemakeargs[@]}" \
- $(usex tiles "TILES=y" "") \
- catch2-tests
-}
-
-src_install() {
- emake "${myemakeargs[@]}" \
- $(usex tiles "TILES=y" "") \
- DESTDIR="${D}" \
- prefix_fp="" \
- bin_prefix="${D}/usr/bin" \
- install
-
- [[ -e "${WORKDIR}/crawl-ncurses-${SLOT}" ]] && dobin "${WORKDIR}/crawl-ncurses-${SLOT}"
-
- # don't relocate docs, needed at runtime
- rm -rf "${D}/usr/share/${PN}-${SLOT}"/docs/license
-
- mv "${WORKDIR}/${MY_P}"/docs/crawl.6 "${WORKDIR}/${MY_P}/docs/crawl-${SLOT}.6" \
- || die "Couldn't append slot to man page name"
- doman "${WORKDIR}/${MY_P}/docs/crawl-${SLOT}.6"
-
- # icons and menu for graphical build
- if use tiles ; then
- doicon -s 48 "${DISTDIR}"/${PN}-${SLOT}.png
- doicon -s scalable "${DISTDIR}"/${PN}-${SLOT}.svg
- make_desktop_entry "crawl-${SLOT}" "crawl-${SLOT}" "crawl-${SLOT}"
- fi
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-
- elog "crawl is a slotted install that supports having"
- elog "multiple versions installed. The binary has the"
- elog "slot appended, e.g. 'crawl-"${SLOT}"'."
-
- if use tiles && use ncurses ; then
- elog
- elog "Since you have enabled both tiles and ncurses frontends"
- elog "the ncurses binary is called 'crawl-ncurses-"${SLOT}"' and the"
- elog "tiles binary is called 'crawl-"${SLOT}"'."
- fi
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
diff --git a/games-roguelike/stone-soup/stone-soup-0.25.1-r103.ebuild b/games-roguelike/stone-soup/stone-soup-0.25.1-r103.ebuild
index 67a30f696915..4c0c3c29ddd9 100644
--- a/games-roguelike/stone-soup/stone-soup-0.25.1-r103.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.25.1-r103.ebuild
@@ -3,8 +3,8 @@
EAPI=8
-LUA_COMPAT=( lua5-{1..3} )
-PYTHON_COMPAT=( python3_{7,8,9,10} )
+LUA_COMPAT=( lua5-1 )
+PYTHON_COMPAT=( python3_{8,9,10,11} )
VIRTUALX_REQUIRED="manual"
inherit desktop python-any-r1 lua-single xdg-utils toolchain-funcs
@@ -23,9 +23,10 @@ SRC_URI="
# Public Domain|CC0: most of tiles
# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/
LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="advpng debug ncurses sound test +tiles"
RESTRICT="!test? ( test )"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
RDEPEND="
${LUA_DEPS}
@@ -47,7 +48,7 @@ RDEPEND="
virtual/opengl
)"
DEPEND="${RDEPEND}
- test? ( dev-cpp/catch:0 )
+ test? ( <dev-cpp/catch-3.0.0:0 )
tiles? (
sys-libs/ncurses:0
)
diff --git a/games-roguelike/stone-soup/stone-soup-0.26.1-r1.ebuild b/games-roguelike/stone-soup/stone-soup-0.26.1-r1.ebuild
deleted file mode 100644
index 21a11669794b..000000000000
--- a/games-roguelike/stone-soup/stone-soup-0.26.1-r1.ebuild
+++ /dev/null
@@ -1,194 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-{1..3} )
-PYTHON_COMPAT=( python3_{7,8,9,10} )
-VIRTUALX_REQUIRED="manual"
-inherit desktop python-any-r1 lua-single xdg-utils toolchain-funcs
-
-MY_P="stone_soup-${PV}"
-DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons"
-HOMEPAGE="https://crawl.develz.org"
-SLOT="0.26"
-SRC_URI="
- https://github.com/crawl/crawl/releases/download/${PV}/${PN/-/_}-${PV}.zip
- https://dev.gentoo.org/~stasibear/distfiles/${PN}.png -> ${PN}-${SLOT}.png
- https://dev.gentoo.org/~stasibear/distfiles/${PN}.svg -> ${PN}-${SLOT}.svg
-"
-
-# 3-clause BSD: mt19937ar.cc, MSVC/stdint.h
-# 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs
-# Public Domain|CC0: most of tiles
-# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/
-LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT"
-KEYWORDS="amd64 x86"
-IUSE="debug ncurses sound test +tiles"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- ${LUA_DEPS}
- dev-db/sqlite:3
- sys-libs/zlib
- !ncurses? ( !tiles? ( sys-libs/ncurses:0 ) )
- ncurses? ( sys-libs/ncurses:0 )
- tiles? (
- media-fonts/dejavu
- media-libs/freetype:2
- media-libs/libpng:0
- sound? (
- media-libs/libsdl2[X,opengl,sound,video]
- media-libs/sdl2-mixer
- )
- !sound? ( media-libs/libsdl2[X,opengl,video] )
- media-libs/sdl2-image[png]
- virtual/glu
- virtual/opengl
- )"
-DEPEND="${RDEPEND}
- app-arch/unzip
- dev-lang/perl
- ${PYTHON_DEPS}
- $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]')
- sys-devel/flex
- test? ( dev-cpp/catch:0 )
- tiles? (
- media-gfx/pngcrush
- sys-libs/ncurses:0
- )
- virtual/pkgconfig
- virtual/yacc
- "
-
-S=${WORKDIR}/${MY_P}/source
-PATCHES=(
- "${FILESDIR}"/make-no-png-dep-fix.patch
- "${FILESDIR}"/rltiles-make.patch
-)
-
-python_check_deps() {
- has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-
- python-any-r1_pkg_setup
-
- if use !ncurses && use !tiles ; then
- ewarn "Neither ncurses nor tiles frontend"
- ewarn "selected, choosing ncurses only."
- ewarn "Note that you can also enable both."
- fi
-
- if use sound && use !tiles ; then
- ewarn "Sound support is only available with tiles."
- fi
-}
-
-src_prepare() {
- default
- python_fix_shebang "${S}/util/species-gen.py"
-
- sed -i -e "s/GAME = crawl$/GAME = crawl-${SLOT}/" "${S}/Makefile" \
- || die "Couldn't append slot to executable name"
-
- # Replace bundled catch2 package with system implementation
- # https://bugs.gentoo.org/829950
- if use test; then
- cp /usr/include/catch2/catch.hpp "${S}/catch2-tests" || die "Couldn't substitute system catch2"
- fi
-}
-
-src_compile() {
-
- # Insurance that we're not using bundled lib sources
- rm -rf contrib || die "Couldn't delete contrib directory"
-
- myemakeargs=(
- $(usex debug "FULLDEBUG=y DEBUG=y" "")
- BUILD_LUA=
- AR="$(tc-getAR)"
- CFOPTIMIZE=''
- CFOTHERS="${CXXFLAGS}"
- CONTRIBS=
- DATADIR="/usr/share/${PN}-${SLOT}"
- FORCE_CC="$(tc-getCC)"
- FORCE_CXX="$(tc-getCXX)"
- LDFLAGS="${LDFLAGS}"
- MAKEOPTS="${MAKEOPTS}"
- PKGCONFIG="$(tc-getPKG_CONFIG)"
- RANLIB="$(tc-getRANLIB)"
- SAVEDIR="~/.crawl-${SLOT}"
- SOUND=$(usex sound "y" "")
- STRIP=touch
- USE_LUAJIT=
- V=1
- prefix="/usr"
- )
-
- if use ncurses || (use !ncurses && use !tiles) ; then
- emake "${myemakeargs[@]}"
- # move it in case we build both variants
- use tiles && { mv "crawl-${SLOT}" "${WORKDIR}"/crawl-ncurses-${SLOT} || die ;}
- fi
-
- if use tiles ; then
- emake "${myemakeargs[@]}" clean
- emake "${myemakeargs[@]}" "TILES=y"
- fi
-}
-
-src_test() {
- emake "${myemakeargs[@]}" \
- $(usex tiles "TILES=y" "") \
- catch2-tests
-}
-
-src_install() {
- emake "${myemakeargs[@]}" \
- $(usex tiles "TILES=y" "") \
- DESTDIR="${D}" \
- prefix_fp="" \
- bin_prefix="${D}/usr/bin" \
- install
-
- [[ -e "${WORKDIR}/crawl-ncurses-${SLOT}" ]] && dobin "${WORKDIR}/crawl-ncurses-${SLOT}"
-
- # don't relocate docs, needed at runtime
- rm -rf "${D}/usr/share/${PN}-${SLOT}"/docs/license
-
- mv "${WORKDIR}/${MY_P}"/docs/crawl.6 "${WORKDIR}/${MY_P}/docs/crawl-${SLOT}.6" \
- || die "Couldn't append slot to man page name"
- doman "${WORKDIR}/${MY_P}/docs/crawl-${SLOT}.6"
-
- # icons and menu for graphical build
- if use tiles ; then
- doicon -s 48 "${DISTDIR}"/${PN}-${SLOT}.png
- doicon -s scalable "${DISTDIR}"/${PN}-${SLOT}.svg
- make_desktop_entry "crawl-${SLOT}" "crawl-${SLOT}" "crawl-${SLOT}"
- fi
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-
- elog "Since version 0.25.1-r101, crawl is a slotted install"
- elog "that supports having multiple versions installed. The"
- elog "binary has the slot appended, e.g. 'crawl-"${SLOT}"'."
- elog
- elog "The local save directory also has the slot appended."
- elog "If you have saved games from 0.25 but before 0.25.1-r101"
- elog "you can 'mv ~/.crawl ~/.crawl-0.25' to fix it"
-
- if use tiles && use ncurses ; then
- elog
- elog "Since you have enabled both tiles and ncurses frontends"
- elog "the ncurses binary is called 'crawl-ncurses-"${SLOT}"' and the"
- elog "tiles binary is called 'crawl-"${SLOT}"'."
- fi
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
diff --git a/games-roguelike/stone-soup/stone-soup-0.26.1-r2.ebuild b/games-roguelike/stone-soup/stone-soup-0.26.1-r2.ebuild
index 0d4c15a1cafe..4c2d6d1cfdc7 100644
--- a/games-roguelike/stone-soup/stone-soup-0.26.1-r2.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.26.1-r2.ebuild
@@ -3,8 +3,8 @@
EAPI=8
-LUA_COMPAT=( lua5-{1..3} )
-PYTHON_COMPAT=( python3_{7,8,9,10} )
+LUA_COMPAT=( lua5-1 )
+PYTHON_COMPAT=( python3_{8,9,10,11} )
VIRTUALX_REQUIRED="manual"
inherit desktop python-any-r1 lua-single xdg-utils toolchain-funcs
@@ -23,9 +23,10 @@ SRC_URI="
# Public Domain|CC0: most of tiles
# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/
LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="advpng debug ncurses sound test +tiles"
RESTRICT="!test? ( test )"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
RDEPEND="
${LUA_DEPS}
@@ -47,7 +48,7 @@ RDEPEND="
virtual/opengl
)"
DEPEND="${RDEPEND}
- test? ( dev-cpp/catch:0 )
+ test? ( <dev-cpp/catch-3.0.0:0 )
tiles? (
sys-libs/ncurses:0
)
diff --git a/games-roguelike/stone-soup/stone-soup-0.27.1-r1.ebuild b/games-roguelike/stone-soup/stone-soup-0.27.1-r1.ebuild
index b4a89576bda6..92a8dd503ef3 100644
--- a/games-roguelike/stone-soup/stone-soup-0.27.1-r1.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.27.1-r1.ebuild
@@ -3,8 +3,8 @@
EAPI=8
-LUA_COMPAT=( lua5-{1..3} )
-PYTHON_COMPAT=( python3_{7,8,9,10} )
+LUA_COMPAT=( lua5-1 )
+PYTHON_COMPAT=( python3_{8,9,10,11} )
VIRTUALX_REQUIRED="manual"
inherit desktop python-any-r1 lua-single xdg-utils toolchain-funcs
@@ -23,9 +23,10 @@ SRC_URI="
# Public Domain|CC0: most of tiles
# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/
LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="advpng debug ncurses sound test +tiles"
RESTRICT="!test? ( test )"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
RDEPEND="
${LUA_DEPS}
@@ -47,7 +48,7 @@ RDEPEND="
virtual/opengl
)"
DEPEND="${RDEPEND}
- test? ( dev-cpp/catch:0 )
+ test? ( <dev-cpp/catch-3.0.0:0 )
tiles? (
sys-libs/ncurses:0
)
diff --git a/games-roguelike/stone-soup/stone-soup-0.27.1.ebuild b/games-roguelike/stone-soup/stone-soup-0.27.1.ebuild
deleted file mode 100644
index 8c7c910c42ba..000000000000
--- a/games-roguelike/stone-soup/stone-soup-0.27.1.ebuild
+++ /dev/null
@@ -1,190 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-{1..3} )
-PYTHON_COMPAT=( python3_{7,8,9,10} )
-VIRTUALX_REQUIRED="manual"
-inherit desktop python-any-r1 lua-single xdg-utils toolchain-funcs
-
-MY_P="stone_soup-${PV}"
-DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons"
-HOMEPAGE="https://crawl.develz.org"
-SLOT="0.27"
-SRC_URI="
- https://github.com/crawl/crawl/releases/download/${PV}/${PN/-/_}-${PV}.zip
- https://dev.gentoo.org/~stasibear/distfiles/${PN}.png -> ${PN}-${SLOT}.png
- https://dev.gentoo.org/~stasibear/distfiles/${PN}.svg -> ${PN}-${SLOT}.svg
-"
-
-# 3-clause BSD: mt19937ar.cc, MSVC/stdint.h
-# 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs
-# Public Domain|CC0: most of tiles
-# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/
-LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT"
-KEYWORDS="amd64 x86"
-IUSE="debug ncurses sound test +tiles"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- ${LUA_DEPS}
- dev-db/sqlite:3
- sys-libs/zlib
- !ncurses? ( !tiles? ( sys-libs/ncurses:0 ) )
- ncurses? ( sys-libs/ncurses:0 )
- tiles? (
- media-fonts/dejavu
- media-libs/freetype:2
- media-libs/libpng:0
- sound? (
- media-libs/libsdl2[X,opengl,sound,video]
- media-libs/sdl2-mixer
- )
- !sound? ( media-libs/libsdl2[X,opengl,video] )
- media-libs/sdl2-image[png]
- virtual/glu
- virtual/opengl
- )"
-DEPEND="${RDEPEND}
- app-arch/unzip
- dev-lang/perl
- ${PYTHON_DEPS}
- $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]')
- sys-devel/flex
- test? ( dev-cpp/catch:0 )
- tiles? (
- media-gfx/pngcrush
- sys-libs/ncurses:0
- )
- virtual/pkgconfig
- virtual/yacc
- "
-
-S=${WORKDIR}/${MY_P}/source
-PATCHES=(
- "${FILESDIR}"/make-no-png-dep-fix.patch
- "${FILESDIR}"/rltiles-make.patch
-)
-
-python_check_deps() {
- has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-
- python-any-r1_pkg_setup
-
- if use !ncurses && use !tiles ; then
- ewarn "Neither ncurses nor tiles frontend"
- ewarn "selected, choosing ncurses only."
- ewarn "Note that you can also enable both."
- fi
-
- if use sound && use !tiles ; then
- ewarn "Sound support is only available with tiles."
- fi
-}
-
-src_prepare() {
- default
- python_fix_shebang "${S}/util/species-gen.py"
-
- sed -i -e "s/GAME = crawl$/GAME = crawl-${SLOT}/" "${S}/Makefile" \
- || die "Couldn't append slot to executable name"
-
- # Replace bundled catch2 package with system implementation
- # https://bugs.gentoo.org/829950
- if use test; then
- cp /usr/include/catch2/catch.hpp "${S}/catch2-tests" || die "Couldn't substitute system catch2"
- fi
-}
-
-src_compile() {
-
- # Insurance that we're not using bundled lib sources
- rm -rf contrib || die "Couldn't delete contrib directory"
-
- myemakeargs=(
- $(usex debug "FULLDEBUG=y DEBUG=y" "")
- BUILD_LUA=
- AR="$(tc-getAR)"
- CFOPTIMIZE=''
- CFOTHERS="${CXXFLAGS}"
- CONTRIBS=
- DATADIR="/usr/share/${PN}-${SLOT}"
- FORCE_CC="$(tc-getCC)"
- FORCE_CXX="$(tc-getCXX)"
- LDFLAGS="${LDFLAGS}"
- MAKEOPTS="${MAKEOPTS}"
- PKGCONFIG="$(tc-getPKG_CONFIG)"
- RANLIB="$(tc-getRANLIB)"
- SAVEDIR="~/.crawl-${SLOT}"
- SOUND=$(usex sound "y" "")
- STRIP=touch
- USE_LUAJIT=
- V=1
- prefix="/usr"
- )
-
- if use ncurses || (use !ncurses && use !tiles) ; then
- emake "${myemakeargs[@]}"
- # move it in case we build both variants
- use tiles && { mv "crawl-${SLOT}" "${WORKDIR}"/crawl-ncurses-${SLOT} || die ;}
- fi
-
- if use tiles ; then
- emake "${myemakeargs[@]}" clean
- emake "${myemakeargs[@]}" "TILES=y"
- fi
-}
-
-src_test() {
- emake "${myemakeargs[@]}" \
- $(usex tiles "TILES=y" "") \
- catch2-tests
-}
-
-src_install() {
- emake "${myemakeargs[@]}" \
- $(usex tiles "TILES=y" "") \
- DESTDIR="${D}" \
- prefix_fp="" \
- bin_prefix="${D}/usr/bin" \
- install
-
- [[ -e "${WORKDIR}/crawl-ncurses-${SLOT}" ]] && dobin "${WORKDIR}/crawl-ncurses-${SLOT}"
-
- # don't relocate docs, needed at runtime
- rm -rf "${D}/usr/share/${PN}-${SLOT}"/docs/license
-
- mv "${WORKDIR}/${MY_P}"/docs/crawl.6 "${WORKDIR}/${MY_P}/docs/crawl-${SLOT}.6" \
- || die "Couldn't append slot to man page name"
- doman "${WORKDIR}/${MY_P}/docs/crawl-${SLOT}.6"
-
- # icons and menu for graphical build
- if use tiles ; then
- doicon -s 48 "${DISTDIR}"/${PN}-${SLOT}.png
- doicon -s scalable "${DISTDIR}"/${PN}-${SLOT}.svg
- make_desktop_entry "crawl-${SLOT}" "crawl-${SLOT}" "crawl-${SLOT}"
- fi
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-
- elog "crawl is a slotted install that supports having"
- elog "multiple versions installed. The binary has the"
- elog "slot appended, e.g. 'crawl-"${SLOT}"'."
-
- if use tiles && use ncurses ; then
- elog
- elog "Since you have enabled both tiles and ncurses frontends"
- elog "the ncurses binary is called 'crawl-ncurses-"${SLOT}"' and the"
- elog "tiles binary is called 'crawl-"${SLOT}"'."
- fi
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
diff --git a/games-roguelike/stone-soup/stone-soup-0.28.0-r1.ebuild b/games-roguelike/stone-soup/stone-soup-0.28.0-r1.ebuild
index c75e955a01e0..f0bb11286771 100644
--- a/games-roguelike/stone-soup/stone-soup-0.28.0-r1.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.28.0-r1.ebuild
@@ -3,8 +3,8 @@
EAPI=8
-LUA_COMPAT=( lua5-{1..3} )
-PYTHON_COMPAT=( python3_{7,8,9,10} )
+LUA_COMPAT=( lua5-1 )
+PYTHON_COMPAT=( python3_{8,9,10,11} )
VIRTUALX_REQUIRED="manual"
inherit desktop python-any-r1 lua-single xdg-utils toolchain-funcs
@@ -37,9 +37,10 @@ fi
# Public Domain|CC0: most of tiles
# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/
LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="advpng debug ncurses sound test +tiles"
RESTRICT="!test? ( test )"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
S=${WORKDIR}/${MY_P}/source
RDEPEND="
@@ -62,7 +63,7 @@ RDEPEND="
virtual/opengl
)"
DEPEND="${RDEPEND}
- test? ( dev-cpp/catch:0 )
+ test? ( <dev-cpp/catch-3.0.0:0 )
tiles? (
sys-libs/ncurses:0
)
diff --git a/games-roguelike/stone-soup/stone-soup-0.28.0.ebuild b/games-roguelike/stone-soup/stone-soup-0.28.0.ebuild
deleted file mode 100644
index 9922b64db97c..000000000000
--- a/games-roguelike/stone-soup/stone-soup-0.28.0.ebuild
+++ /dev/null
@@ -1,209 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-{1..3} )
-PYTHON_COMPAT=( python3_{7,8,9,10} )
-VIRTUALX_REQUIRED="manual"
-inherit desktop python-any-r1 lua-single xdg-utils toolchain-funcs
-
-DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons"
-HOMEPAGE="https://crawl.develz.org"
-SLOT="0.28"
-
-# Leave empty string if not a _pre release
-COMMITSHA=""
-if [ -z "${COMMITSHA}" ]; then
- # This is a proper release
- SRC_URI="
- https://github.com/crawl/crawl/releases/download/${PV}/${PN/-/_}-${PV}.zip
- https://dev.gentoo.org/~stasibear/distfiles/${PN}.png -> ${PN}-${SLOT}.png
- https://dev.gentoo.org/~stasibear/distfiles/${PN}.svg -> ${PN}-${SLOT}.svg
- "
- MY_P="stone_soup-${PV}"
-else
- # This is a _pre release
- SRC_URI="
- https://github.com/crawl/crawl/archive/${COMMITSHA}.tar.gz -> ${P}.tar.gz
- https://dev.gentoo.org/~stasibear/distfiles/${PN}.png -> ${PN}-${SLOT}.png
- https://dev.gentoo.org/~stasibear/distfiles/${PN}.svg -> ${PN}-${SLOT}.svg
- "
- MY_P="crawl-${COMMITSHA}/crawl-ref"
-fi
-
-# 3-clause BSD: mt19937ar.cc, MSVC/stdint.h
-# 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs
-# Public Domain|CC0: most of tiles
-# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/
-LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT"
-KEYWORDS="amd64 x86"
-IUSE="debug ncurses sound test +tiles"
-RESTRICT="!test? ( test )"
-
-S=${WORKDIR}/${MY_P}/source
-RDEPEND="
- ${LUA_DEPS}
- dev-db/sqlite:3
- sys-libs/zlib
- !ncurses? ( !tiles? ( sys-libs/ncurses:0 ) )
- ncurses? ( sys-libs/ncurses:0 )
- tiles? (
- media-fonts/dejavu
- media-libs/freetype:2
- media-libs/libpng:0
- sound? (
- media-libs/libsdl2[X,opengl,sound,video]
- media-libs/sdl2-mixer
- )
- !sound? ( media-libs/libsdl2[X,opengl,video] )
- media-libs/sdl2-image[png]
- virtual/glu
- virtual/opengl
- )"
-DEPEND="${RDEPEND}
- app-arch/unzip
- dev-lang/perl
- ${PYTHON_DEPS}
- $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]')
- sys-devel/flex
- test? ( dev-cpp/catch:0 )
- tiles? (
- media-gfx/pngcrush
- sys-libs/ncurses:0
- )
- virtual/pkgconfig
- virtual/yacc
- "
-
-PATCHES=(
- "${FILESDIR}"/make-no-png-dep-fix.patch
- "${FILESDIR}"/rltiles-make.patch
-)
-
-python_check_deps() {
- has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-
- python-any-r1_pkg_setup
-
- if use !ncurses && use !tiles ; then
- ewarn "Neither ncurses nor tiles frontend"
- ewarn "selected, choosing ncurses only."
- ewarn "Note that you can also enable both."
- fi
-
- if use sound && use !tiles ; then
- ewarn "Sound support is only available with tiles."
- fi
-}
-
-src_prepare() {
- default
- python_fix_shebang "${S}/util/species-gen.py"
-
- sed -i -e "s/GAME = crawl$/GAME = crawl-${SLOT}/" "${S}/Makefile" \
- || die "Couldn't append slot to executable name"
-
- # File required for a _pre build
- if ! [ -f "${S}/util/release_ver" ]; then
- echo "${SLOT}" >"${S}/util/release_ver" || die "Couldn't write release_ver"
- fi
-
- # Replace bundled catch2 package with system implementation
- # https://bugs.gentoo.org/829950
- if use test; then
- cp /usr/include/catch2/catch.hpp "${S}/catch2-tests" || die "Couldn't substitute system catch2"
- fi
-}
-
-src_compile() {
-
- # Insurance that we're not using bundled lib sources
- rm -rf contrib || die "Couldn't delete contrib directory"
-
- myemakeargs=(
- $(usex debug "FULLDEBUG=y DEBUG=y" "")
- BUILD_LUA=
- AR="$(tc-getAR)"
- CFOPTIMIZE=''
- CFOTHERS="${CXXFLAGS}"
- CONTRIBS=
- DATADIR="/usr/share/${PN}-${SLOT}"
- FORCE_CC="$(tc-getCC)"
- FORCE_CXX="$(tc-getCXX)"
- LDFLAGS="${LDFLAGS}"
- MAKEOPTS="${MAKEOPTS}"
- PKGCONFIG="$(tc-getPKG_CONFIG)"
- RANLIB="$(tc-getRANLIB)"
- SAVEDIR="~/.crawl-${SLOT}"
- SOUND=$(usex sound "y" "")
- STRIP=touch
- USE_LUAJIT=
- V=1
- prefix="/usr"
- )
-
- if use ncurses || (use !ncurses && use !tiles) ; then
- emake "${myemakeargs[@]}"
- # move it in case we build both variants
- use tiles && { mv "crawl-${SLOT}" "${WORKDIR}"/crawl-ncurses-${SLOT} || die ;}
- fi
-
- if use tiles ; then
- emake "${myemakeargs[@]}" clean
- emake "${myemakeargs[@]}" "TILES=y"
- fi
-}
-
-src_test() {
- emake "${myemakeargs[@]}" \
- $(usex tiles "TILES=y" "") \
- catch2-tests
-}
-
-src_install() {
- emake "${myemakeargs[@]}" \
- $(usex tiles "TILES=y" "") \
- DESTDIR="${D}" \
- prefix_fp="" \
- bin_prefix="${D}/usr/bin" \
- install
-
- [[ -e "${WORKDIR}/crawl-ncurses-${SLOT}" ]] && dobin "${WORKDIR}/crawl-ncurses-${SLOT}"
-
- # don't relocate docs, needed at runtime
- rm -rf "${D}/usr/share/${PN}-${SLOT}"/docs/license
-
- mv "${WORKDIR}/${MY_P}"/docs/crawl.6 "${WORKDIR}/${MY_P}/docs/crawl-${SLOT}.6" \
- || die "Couldn't append slot to man page name"
- doman "${WORKDIR}/${MY_P}/docs/crawl-${SLOT}.6"
-
- # icons and menu for graphical build
- if use tiles ; then
- doicon -s 48 "${DISTDIR}"/${PN}-${SLOT}.png
- doicon -s scalable "${DISTDIR}"/${PN}-${SLOT}.svg
- make_desktop_entry "crawl-${SLOT}" "crawl-${SLOT}" "crawl-${SLOT}"
- fi
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-
- elog "crawl is a slotted install that supports having"
- elog "multiple versions installed. The binary has the"
- elog "slot appended, e.g. 'crawl-"${SLOT}"'."
-
- if use tiles && use ncurses ; then
- elog
- elog "Since you have enabled both tiles and ncurses frontends"
- elog "the ncurses binary is called 'crawl-ncurses-"${SLOT}"' and the"
- elog "tiles binary is called 'crawl-"${SLOT}"'."
- fi
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
diff --git a/games-roguelike/stone-soup/stone-soup-0.29.0_pre20220522.ebuild b/games-roguelike/stone-soup/stone-soup-0.29.0_pre20220701.ebuild
index 581562af2424..a78e930788f1 100644
--- a/games-roguelike/stone-soup/stone-soup-0.29.0_pre20220522.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.29.0_pre20220701.ebuild
@@ -3,8 +3,8 @@
EAPI=8
-LUA_COMPAT=( lua5-{1..3} )
-PYTHON_COMPAT=( python3_{7,8,9,10} )
+LUA_COMPAT=( lua5-1 )
+PYTHON_COMPAT=( python3_{8,9,10,11} )
VIRTUALX_REQUIRED="manual"
inherit desktop python-any-r1 lua-single xdg-utils toolchain-funcs
@@ -13,7 +13,7 @@ HOMEPAGE="https://crawl.develz.org"
SLOT="0.29"
# Leave empty string if not a _pre release
-COMMITSHA="acb4ef3bc58aea425821c9a58552bf662dc29f07"
+COMMITSHA="40bbea3e7347d6647ea791ba38964496f292cc81"
if [ -z "${COMMITSHA}" ]; then
# This is a proper release
SRC_URI="
@@ -40,6 +40,7 @@ LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT"
KEYWORDS="~amd64 ~x86"
IUSE="advpng debug ncurses sound test +tiles"
RESTRICT="!test? ( test )"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
S=${WORKDIR}/${MY_P}/source
RDEPEND="
@@ -62,7 +63,7 @@ RDEPEND="
virtual/opengl
)"
DEPEND="${RDEPEND}
- test? ( dev-cpp/catch:0 )
+ test? ( <dev-cpp/catch-3.0.0:0 )
tiles? (
sys-libs/ncurses:0
)