Diff stone-soup-0.27.1-r1 with a stone-soup-0.28.0-r1

/usr/portage/games-roguelike/stone-soup/stone-soup-0.28.0-r1.ebuild 2025-07-29 16:22:14.280455118 +0300
20 20
VIRTUALX_REQUIRED="manual"
21 21
inherit desktop python-any-r1 lua-single xdg-utils toolchain-funcs
22 22

  
23
MY_P="stone_soup-${PV}"
24 23
DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons"
25 24
HOMEPAGE="https://crawl.develz.org"
25

  
26
# Leave empty string if not a _pre release
27
COMMITSHA=""
26 28
# MY_SLOT to satisfy pkgcheck variable order checking
27
MY_SLOT="0.27"
28
SRC_URI="
29
	https://github.com/crawl/crawl/releases/download/${PV}/${PN/-/_}-${PV}.zip
30
	https://dev.gentoo.org/~stasibear/distfiles/${PN}.png -> ${PN}-${MY_SLOT}.png
31
	https://dev.gentoo.org/~stasibear/distfiles/${PN}.svg -> ${PN}-${MY_SLOT}.svg
32
"
29
MY_SLOT="0.28"
30
if [ -z "${COMMITSHA}" ]; then
31
	# This is a proper release
32
	SRC_URI="
33
		https://github.com/crawl/crawl/releases/download/${PV}/${PN/-/_}-${PV}.zip
34
		https://dev.gentoo.org/~stasibear/distfiles/${PN}.png -> ${PN}-${MY_SLOT}.png
35
		https://dev.gentoo.org/~stasibear/distfiles/${PN}.svg -> ${PN}-${MY_SLOT}.svg
36
	"
37
	MY_P="stone_soup-${PV}"
38
else
39
	# This is a _pre release
40
	SRC_URI="
41
		https://github.com/crawl/crawl/archive/${COMMITSHA}.tar.gz -> ${P}.tar.gz
42
		https://dev.gentoo.org/~stasibear/distfiles/${PN}.png -> ${PN}-${MY_SLOT}.png
43
		https://dev.gentoo.org/~stasibear/distfiles/${PN}.svg -> ${PN}-${MY_SLOT}.svg
44
	"
45
	MY_P="crawl-${COMMITSHA}/crawl-ref"
46
fi
33 47

  
34 48
S=${WORKDIR}/${MY_P}/source
35 49
# 3-clause BSD: mt19937ar.cc, MSVC/stdint.h
......
121 135
	sed -i -e "s/GAME = crawl$/GAME = crawl-${SLOT}/" "${S}/Makefile" \
122 136
		|| die "Couldn't append slot to executable name"
123 137

  
138
	# File required for a _pre build
139
	if ! [ -f "${S}/util/release_ver" ]; then
140
		echo "${SLOT}" >"${S}/util/release_ver" || die "Couldn't write release_ver"
141
	fi
142

  
124 143
	# Replace bundled catch2 package with system implementation
125 144
	# https://bugs.gentoo.org/829950
126 145
	if use test; then
Thank you!