Diff handbrake-1.9.2-r1 with a handbrake-9999

/usr/portage/media-video/handbrake/handbrake-9999.ebuild 2025-07-29 16:22:14.912457734 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_{11..13} )
6
PYTHON_COMPAT=( python3_{11..14} )
7 7

  
8 8
inherit edo flag-o-matic multiprocessing python-any-r1 toolchain-funcs xdg
9 9

  
......
17 17
	MY_P="HandBrake-${PV}"
18 18
	SRC_URI="https://github.com/HandBrake/HandBrake/releases/download/${PV}/${MY_P}-source.tar.bz2 -> ${P}.tar.bz2"
19 19
	S="${WORKDIR}/${MY_P}"
20
	KEYWORDS="amd64 ~arm64 ~x86"
20
	KEYWORDS="~amd64 ~arm64 ~x86"
21 21
fi
22 22

  
23 23
# contrib/<project>/module.defs
......
25 25
	# Heavily patched in an incompatible way.
26 26
	# Issues related to using system ffmpeg historically.
27 27
	# See bug #829595 and #922828
28
	[ffmpeg]="https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/ffmpeg-7.1.tar.bz2;"
28
	[ffmpeg]="https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/ffmpeg-7.1.1.tar.bz2;"
29 29
	# Patched in an incompatible way
30
	[x265]="https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/x265_4.1.tar.gz;x265"
31
	[x265_8bit]="https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/x265_4.1.tar.gz;x265"
32
	[x265_10bit]="https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/x265_4.1.tar.gz;x265"
33
	[x265_12bit]="https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/x265_4.1.tar.gz;x265"
30
	[x265]="https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/x265-snapshot-20250507-13244.tar.gz;x265"
31
	[x265_8bit]="https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/x265-snapshot-20250507-13244.tar.gz;x265"
32
	[x265_10bit]="https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/x265-snapshot-20250507-13244.tar.gz;x265"
33
	[x265_12bit]="https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/x265-snapshot-20250507-13244.tar.gz;x265"
34 34
)
35 35

  
36 36
bundle_src_uri() {
......
53 53

  
54 54
REQUIRED_USE="numa? ( x265 )"
55 55

  
56
# <media-libs/svt-av1-3.0.0: breaking change
57 56
# >=media-libs/libvpl-1.13.0: bug #957811 (check libhb/qsvcommon.h for new platform codenames)
58 57
COMMON_DEPEND="
59 58
	app-arch/bzip2
......
70 69
	>=media-libs/libvpx-1.12.0:=
71 70
	media-libs/opus
72 71
	>=media-libs/speex-1.2.1
73
	<media-libs/svt-av1-3.0.0
74
	>=media-libs/svt-av1-1.4.1:=
72
	>=media-libs/svt-av1-3.0.0:=
75 73
	>=media-libs/x264-0.0.20220222:=
76 74
	>=media-libs/zimg-3.0.4
77 75
	media-sound/lame
......
139 137
		cp "${DISTDIR}/handbrake-${tarball}" download/${tarball} || die
140 138
	done
141 139

  
142
	if use x265; then
143
		# bug #958194
144
		cp "${FILESDIR}"/handbrake-1.9.2-x265-cmake4.patch contrib/x265/A99-cmake4.patch || die
145
	fi
146

  
147 140
	# Get rid of leftover bundled library build definitions
148 141
	sed -i -E \
149 142
		-e "/MODULES \+= contrib\// { /($(IFS=$'|'; echo "${!BUNDLED[*]}"))$/! d }" \
Thank you!