Diff stratagus-2.4.3-r100 with a stratagus-3.0.0-r100

/usr/portage/games-engines/stratagus/stratagus-3.0.0-r100.ebuild 2020-12-25 14:39:00.000000000 +0300
5 5

  
6 6
LUA_COMPAT=( lua5-1 )
7 7

  
8
inherit cmake lua-single
8
inherit cmake lua-single optfeature
9 9

  
10 10
DESCRIPTION="A realtime strategy game engine"
11 11
HOMEPAGE="https://wargus.github.io/stratagus.html
......
13 13
SRC_URI="https://github.com/Wargus/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
14 14

  
15 15
LICENSE="GPL-2"
16
SLOT="0"
16
SLOT="0/3"
17 17
KEYWORDS="~amd64 ~x86"
18
IUSE="bzip2 debug doc fluidsynth mikmod mng theora vorbis"
19
REQUIRED_USE="${LUA_REQUIRED_USE}
18
IUSE="bzip2 debug doc mng theora vorbis"
19
REQUIRED_USE="
20
	${LUA_REQUIRED_USE}
20 21
	theora? ( vorbis )"
21 22

  
22
RDEPEND="${LUA_DEPS}
23
RDEPEND="
24
	${LUA_DEPS}
23 25
	dev-db/sqlite:3
24 26
	dev-lua/toluapp[${LUA_SINGLE_USEDEP}]
25 27
	media-libs/libpng:0
26
	virtual/opengl
27 28
	x11-libs/libX11
28
	media-libs/libsdl[sound,opengl,video]
29
	media-libs/libsdl2[sound,opengl,video]
30
	media-libs/sdl2-mixer[vorbis]
31
	media-libs/sdl2-image[png]
29 32
	sys-libs/zlib
30 33
	bzip2? ( app-arch/bzip2 )
31
	fluidsynth? ( media-sound/fluidsynth )
32
	mikmod? ( media-libs/libmikmod )
33 34
	mng? ( media-libs/libmng )
34 35
	vorbis? (
35 36
		media-libs/libogg
......
58 59
		-DGAMEDIR="/usr/bin"
59 60
		-DDOCDIR="/usr/share/doc/${PF}"
60 61
		-DWITH_BZIP2=$(usex bzip2)
61
		-DWITH_FLUIDSYNTH=$(usex fluidsynth)
62
		-DWITH_MIKMOD=$(usex mikmod)
63 62
		-DWITH_MNG=$(usex mng)
64 63
		-DWITH_OGGVORBIS=$(usex vorbis)
65 64
		-DWITH_THEORA=$(usex theora)
......
69 68

  
70 69
	cmake_src_configure
71 70
}
71

  
72
pkg_postinst() {
73
	optfeature "MIDI music support" "media-libs/sdl2-mixer[midi]"
74
}
Thank you!