Diff corsix-th-0.66-r1 with a corsix-th-0.67

/usr/portage/games-simulation/corsix-th/corsix-th-0.67.ebuild 2023-10-09 14:52:31.132368392 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
8 8
inherit cmake lua-single xdg
9 9

  
10 10
MY_PN="CorsixTH"
11
MY_PV="${PV/_/-}"
12
MY_P="${MY_PN}-${MY_PV}"
11 13

  
12 14
DESCRIPTION="Open source clone of Theme Hospital"
13 15
HOMEPAGE="https://corsixth.com"
14
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
15
S="${WORKDIR}/${MY_PN}-${PV}"
16
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
17
S="${WORKDIR}/${MY_P}"
16 18

  
17 19
LICENSE="MIT"
18 20
SLOT="0"
19
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
20
IUSE="doc +midi +sound +truetype +videos"
21
if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then
22
	KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
23
fi
24
IUSE="doc +midi +sound tools +truetype +videos"
21 25

  
22 26
REQUIRED_USE="${LUA_REQUIRED_USE}"
23 27

  
......
57 61
src_configure() {
58 62
	local mycmakeargs=(
59 63
		-DLUA_VERSION=$(lua_get_version)
64
		-DBUILD_TOOLS=$(usex tools)
60 65
		-DWITH_AUDIO=$(usex sound)
61 66
		-DWITH_FREETYPE2=$(usex truetype)
62 67
		-DWITH_MOVIES=$(usex videos)
Thank you!