Diff handbrake-1.4.2-r2 with a handbrake-1.5.1-r1

/usr/portage/media-video/handbrake/handbrake-1.5.1-r1.ebuild 2023-10-09 14:52:31.820368409 +0300
14 14
	MY_P="HandBrake-${PV}"
15 15
	SRC_URI="https://github.com/HandBrake/HandBrake/releases/download/${PV}/${MY_P}-source.tar.bz2 -> ${P}.tar.bz2"
16 16
	S="${WORKDIR}/${MY_P}"
17
	KEYWORDS="amd64 ~x86"
17
	KEYWORDS="amd64 ~arm64 ~x86"
18 18
fi
19 19

  
20 20
DESCRIPTION="Open-source, GPL-licensed, multiplatform, multithreaded video transcoder"
......
26 26

  
27 27
REQUIRED_USE="^^ ( fdk libav-aac )"
28 28

  
29
# < ffmpeg-5.1 dep for bug #907406
29 30
RDEPEND="
30 31
	app-arch/xz-utils
31 32
	dev-libs/jansson:=
......
46 47
	media-libs/x264:=
47 48
	media-libs/zimg
48 49
	media-sound/lame
49
	>=media-video/ffmpeg-4.2.1:0=[postproc,fdk?]
50
	<media-video/ffmpeg-5.1:=[postproc,fdk?]
50 51
	sys-libs/zlib
51 52
	fdk? ( media-libs/fdk-aac:= )
52 53
	gstreamer? (
......
73 74
	nvenc? ( media-libs/nv-codec-headers )
74 75
	x265? ( >=media-libs/x265-3.2:0=[10bit,12bit,numa?] )
75 76
"
76
DEPEND="
77
DEPEND="${RDEPEND}"
78
# cmake needed for custom script: bug #852701
79
BDEPEND="
77 80
	${PYTHON_DEPS}
78
	${RDEPEND}
79 81
	dev-lang/nasm
80
	dev-util/intltool
82
	dev-util/cmake
81 83
"
82 84

  
83 85
PATCHES=(
......
96 98

  
97 99
	# Fix x265 linkage... again again #730034
98 100
	"${FILESDIR}/${PN}-1.3.3-x265-link.patch"
101

  
102
	# Fix compatability with ffmpeg-5.0
103
	"${FILESDIR}/${PN}-1.5.1-ffmpeg-5.0.patch"
99 104
)
100 105

  
101 106
src_prepare() {
Thank you!