Diff colobot-0.2.0_alpha with a colobot-0.2.1_alpha

/usr/portage/games-strategy/colobot/colobot-0.2.1_alpha.ebuild 2023-10-09 14:52:31.140368392 +0300
1 1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit cmake xdg-utils
7 7

  
8 8
MY_P=colobot-gold-${PV/_/-}
9 9
DESCRIPTION="A real-time strategy game, where you can program your bots"
10
HOMEPAGE="https://colobot.info/"
10
HOMEPAGE="
11
	https://colobot.info/
12
	https://github.com/colobot/colobot/
13
"
11 14
SRC_URI="https://github.com/colobot/colobot/archive/${MY_P}.tar.gz"
12 15
S=${WORKDIR}/${PN}-${MY_P}
13 16

  
......
20 23
# perl for pod2man
21 24
BDEPEND="
22 25
	app-text/po4a
26
	app-text/xmlstarlet
23 27
	dev-lang/perl
24
	sys-devel/gettext"
28
	sys-devel/gettext
29
"
25 30
DEPEND="
26 31
	dev-games/physfs
27 32
	dev-libs/boost:=
......
34 39
	media-libs/sdl2-image
35 40
	media-libs/sdl2-ttf
36 41
	media-sound/vorbis-tools
37
	openal? ( media-libs/openal )"
38
RDEPEND="${DEPEND}
39
	~games-strategy/colobot-data-${PV}"
40

  
41
PATCHES=(
42
	# https://github.com/colobot/colobot/pull/1453
43
	"${FILESDIR}"/colobot-0.1.12-sndfile-link.patch
44
	# https://github.com/colobot/colobot/pull/1576
45
	"${FILESDIR}"/colobot-0.2.0_alpha-gcc13.patch
46
	# No -Werror
47
	"${FILESDIR}"/colobot-0.2.0_alpha-werror.patch
48
)
42
	openal? ( media-libs/openal )
43
"
44
RDEPEND="
45
	${DEPEND}
46
	~games-strategy/colobot-data-${PV}
47
"
48
DEPEND+="
49
	test? ( dev-cpp/gtest )
50
"
49 51

  
50 52
src_prepare() {
51 53
	cmake_src_prepare
Thank you!