Diff atari800-4.2.0-r1 with a atari800-5.0.0

/usr/portage/games-emulation/atari800/atari800-5.0.0.ebuild 2023-10-09 14:52:31.084368390 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
......
14 14
LICENSE="GPL-2+"
15 15
SLOT="0"
16 16
KEYWORDS="~amd64 ~x86"
17
IUSE="opengl readline +sdl +sound"
18
REQUIRED_USE="opengl? ( sdl )"
17
IUSE="encode-mp3 opengl readline +sdl +sound"
18
REQUIRED_USE="
19
	encode-mp3? ( sound )
20
	opengl? ( sdl )
21
"
19 22

  
20
RDEPEND="
23
DEPEND="
24
	encode-mp3? (
25
		media-sound/lame
26
	)
21 27
	sdl? (
22 28
		>=media-libs/libsdl-1.2.0[joystick,opengl?,sound?,video]
23 29
	)
......
31 37
	media-libs/libpng:=
32 38
	sys-libs/zlib
33 39
"
34
DEPEND="${RDEPEND}"
40
RDEPEND="
41
	${DEPEND}
42
"
35 43
BDEPEND="
36 44
	app-arch/unzip
37 45
"
......
40 48
	local PATCHES=(
41 49
		# Bug 544608
42 50
		"${FILESDIR}"/atari800-3.1.0-tgetent-detection.patch
43
		# https://github.com/atari800/atari800/pull/140
44
		"${FILESDIR}"/${P}-bashisms.patch
45 51
	)
46 52

  
47 53
	default
......
62 68
	local myconf=(
63 69
		$(use_with opengl)
64 70
		$(use_with readline)
71
		$(use_with encode-mp3 mp3)
65 72
		--with-video=${video}
66 73
		--with-sound=${sound}
67 74
	)
Thank you!