Diff kodi-22.0_rc1 with a kodi-9999

/usr/portage/media-tv/kodi/kodi-9999.ebuild 2026-11-03 20:01:06.053694197 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
CODENAME="Piers"
6
# No new codename for 23.x as of 2026/10/24
7
CODENAME=
7 8

  
8 9
# libdvd{css,read,nav} are not unbundlable without patching the buildsystem.
9 10

  
......
22 23
PYTHON_COMPAT=( python3_{12..15} )
23 24

  
24 25
# See cmake/scripts/common/ArchSetup.cmake for available options
25
CPU_FLAGS="cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_arm_neon"
26
declare -ga CPU_FLAGS=( cpu_flags_{x86_{sse,sse2,sse3,ssse3,sse4_1,sse4_2,avx,avx2},arm_neon} )
26 27

  
27 28
inherit autotools cmake desktop flag-o-matic libtool linux-info optfeature pax-utils python-single-r1 \
28 29
	toolchain-funcs xdg
......
78 79
# use flag is called libusb so that it doesn't fool people in thinking that
79 80
# it is _required_ for USB support. Otherwise they'll disable udev and
80 81
# that's going to be worse.
81
IUSE="airplay alsa bluetooth bluray caps cec +css dbus doc eventclients gbm gles lcms libusb lirc mariadb mysql nfs +optical pipewire postproc pulseaudio samba soc +system-ffmpeg system-swig test udf udev upnp vaapi vdpau wayland webserver X +xslt zeroconf ${CPU_FLAGS}"
82
IUSE="airplay alsa bluetooth bluray caps cec +css dbus doc eventclients gbm gles lcms libusb lirc mariadb mysql nfs +optical pipewire postproc pulseaudio samba soc +system-ffmpeg system-swig test udf udev upnp vaapi vdpau wayland webserver X +xslt zeroconf ${CPU_FLAGS[@]}"
82 83
REQUIRED_USE="
83 84
	${PYTHON_REQUIRED_USE}
84 85
	|| ( gbm wayland X )
......
198 199
		app-arch/bzip2
199 200
		app-arch/xz-utils
200 201
		media-libs/dav1d:=
202
		media-libs/opus:=
201 203
		net-libs/gnutls:=
202 204
	)
203 205
	udf? (
......
274 276

  
275 277
PATCHES=(
276 278
	"${FILESDIR}"/kodi-21-optional-ffmpeg-libx11.patch
277
	"${FILESDIR}"/kodi-22.0_rc1-test-fix.patch
278 279
)
279 280

  
280 281
# bug #544020
......
363 364
		-DENABLE_CLANGTIDY=OFF
364 365
		-DENABLE_CPPCHECK=OFF
365 366
		-DENABLE_INCLUDEWHATYOUUSE=OFF
367
		-DENABLE_PCH=OFF # doesn't make sense for Gentoo
366 368
		# https://bugs.gentoo.org/show_bug.cgi?id=606124
367 369
		-DENABLE_GOLD=OFF
368 370
		-DENABLE_LLD=OFF
......
418 420
		-DENABLE_INTERNAL_FLATBUFFERS=OFF
419 421
		-DENABLE_INTERNAL_FMT=OFF
420 422
		-DENABLE_INTERNAL_FSTRCMP=OFF
421
		-DENABLE_INTERNAL_GTEST=OFF
422 423
		-DENABLE_INTERNAL_LCMS2=OFF
423 424
		-DENABLE_INTERNAL_LZO2=OFF
424 425
		-DENABLE_INTERNAL_NLOHMANNJSON=OFF
425
		-DENABLE_INTERNAL_SWIG=$(usex !system-swig)
426
		-DENABLE_INTERNAL_OPUS=OFF
426 427
		-DENABLE_INTERNAL_PCRE2=OFF
427 428
		-DENABLE_INTERNAL_SPDLOG=OFF
429
		-DENABLE_INTERNAL_SWIG=$(usex !system-swig)
428 430
		-DENABLE_INTERNAL_TAGLIB=OFF
431
		#-DENABLE_INTERNAL_ZSTD=OFF # could be used by other vendored deps
429 432

  
430 433
		-DTARBALL_DIR="${DISTDIR}"
431 434
		-DLIBDVDNAV_URL="${DISTDIR}/libdvdnav-${LIBDVDNAV_VERSION}.tar.bz2"
......
449 452
	)
450 453
	use !system-swig && mycmakeargs+=( -DSWIG_URL="${DISTDIR}/swig-${SWIG_VERSION}.tar.gz" )
451 454
	use nfs && mycmakeargs+=( -DENABLE_INTERNAL_NFS=OFF )
455
	use test && mycmakeargs+=( -DENABLE_INTERNAL_GTEST=OFF )
452 456
	use !udev && mycmakeargs+=( -DENABLE_LIBUSB=$(usex libusb) )
453 457
	use udf && mycmakeargs+=( -DENABLE_INTERNAL_UDFREAD=OFF )
454 458
	use webserver && mycmakeargs+=( -DENABLE_INTERNAL_LIBMICROHTTPD=OFF )
Thank you!