Diff supertuxkart-1.3 with a supertuxkart-1.4-r1

/usr/portage/games-action/supertuxkart/supertuxkart-1.4-r1.ebuild 2023-10-09 14:52:31.052368389 +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
MY_P="SuperTuxKart-${PV}-src"
9 9
DESCRIPTION="A kart racing game starring Tux, the linux penguin (TuxKart fork)"
10 10
HOMEPAGE="https://supertuxkart.net/"
11
SRC_URI="https://github.com/${PN}/stk-code/releases/download/${PV}/${MY_P}.tar.xz
12
	mirror://gentoo/${PN}.png"
11
SRC_URI="
12
	https://github.com/${PN}/stk-code/releases/download/${PV}/${MY_P}.tar.xz
13
	mirror://gentoo/${PN}.png
14
"
13 15

  
14 16
LICENSE="GPL-2 GPL-3 CC-BY-SA-3.0 CC-BY-SA-4.0 CC0-1.0 public-domain ZLIB"
15 17
SLOT="0"
16
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
18
KEYWORDS="~amd64 ~ppc64 ~x86"
17 19
IUSE="debug nettle recorder sqlite wiimote"
18 20

  
19
# don't unbundle irrlicht and bullet
21
# - Don't unbundle irrlicht and bullet
20 22
# both are modified and system versions will break the game
21 23
# https://sourceforge.net/p/irrlicht/feature-requests/138/
22

  
24
# - For >1.4, restore USE=vulkan and make shaderc dep optional,
25
# and pass -DNO_SHADERC to cmake.
23 26
RDEPEND="
24 27
	dev-cpp/libmcpp
25
	sqlite? ( dev-db/sqlite:3 )
26 28
	dev-libs/angelscript:=
27 29
	media-libs/freetype:2
28
	media-libs/glew:0=
29 30
	media-libs/harfbuzz:=
30
	media-libs/libpng:0=
31
	media-libs/libjpeg-turbo:=
32
	media-libs/libpng:=
31 33
	media-libs/libsdl2[opengl,video]
32 34
	media-libs/libvorbis
33 35
	media-libs/openal
36
	media-libs/shaderc
34 37
	net-libs/enet:1.3=
35 38
	net-misc/curl
36 39
	sys-libs/zlib
37
	virtual/glu
38
	virtual/jpeg:0
39 40
	virtual/libintl
40
	virtual/opengl
41
	x11-libs/libX11
42
	x11-libs/libXxf86vm
43 41
	nettle? ( dev-libs/nettle:= )
44
	!nettle? (
45
		>=dev-libs/openssl-1.0.1d:0=
46
	)
42
	!nettle? ( >=dev-libs/openssl-1.0.1d:= )
47 43
	recorder? ( media-libs/libopenglrecorder )
48
	wiimote? ( net-wireless/bluez )"
44
	sqlite? ( dev-db/sqlite:3 )
45
	wiimote? ( net-wireless/bluez )
46
"
49 47
DEPEND="${RDEPEND}"
50 48
BDEPEND="
51 49
	sys-devel/gettext
52
	virtual/pkgconfig"
50
	virtual/pkgconfig
51
"
53 52

  
54 53
S="${WORKDIR}/${MY_P}"
55 54

  
56 55
PATCHES=(
57 56
	"${FILESDIR}"/${PN}-1.1-irrlicht-arch-support.patch
58 57
	"${FILESDIR}"/${PN}-1.3-irrlicht-system-libs.patch
58
	"${FILESDIR}"/${P}-gcc-13.patch
59 59
)
60 60

  
61
src_prepare() {
62
	cmake_src_prepare
63
}
64

  
65 61
src_configure() {
66 62
	local mycmakeargs=(
67 63
		-DUSE_SQLITE3=$(usex sqlite)
Thank you!