Diff opencv-4.8.0 with a opencv-4.8.0-r1

/usr/portage/media-libs/opencv/opencv-4.8.0-r1.ebuild 2023-10-09 14:52:31.704368406 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_{9..11} )
6
# No 3.12 yet for bug #912987
7
PYTHON_COMPAT=( python3_{10..11} )
7 8
inherit flag-o-matic java-pkg-opt-2 java-ant-2 cmake-multilib python-r1 toolchain-funcs
8 9

  
9 10
DESCRIPTION="A collection of algorithms and sample code for various computer vision problems"
......
86 87

  
87 88
RDEPEND="
88 89
	app-arch/bzip2[${MULTILIB_USEDEP}]
89
	<dev-libs/protobuf-23:=[${MULTILIB_USEDEP}]
90
	dev-libs/protobuf:=[${MULTILIB_USEDEP}]
90 91
	sys-libs/zlib[${MULTILIB_USEDEP}]
91 92
	cuda? ( dev-util/nvidia-cuda-toolkit:0= )
93
	contribdnn? ( dev-libs/flatbuffers:= )
92 94
	contribhdf? ( sci-libs/hdf5:= )
93 95
	contribfreetype? (
94 96
		media-libs/freetype:2[${MULTILIB_USEDEP}]
......
290 292
	"${FILESDIR}"/${PN}-4.1.2-opencl-license.patch
291 293
	"${FILESDIR}"/${PN}-4.4.0-disable-native-cpuflag-detect.patch
292 294
	"${FILESDIR}"/${PN}-4.5.0-link-with-cblas-for-lapack.patch
295
	"${FILESDIR}"/${PN}-4.8.0-fix-protobuf.patch
296
	"${FILESDIR}"/${PN}-4.8.0-fix-flatbuffer.patch
297
	"${FILESDIR}"/${PN}-4.8.0-arm64-fp16.patch
293 298
)
294 299

  
295 300
pkg_pretend() {
......
346 351
	# ===================================================
347 352
		-DENABLE_DOWNLOAD=$(usex download)
348 353
		-DWITH_QUIRC=OFF # Do not have dependencies
349
		-DWITH_FLATBUFFERS=OFF # Requires removed third party component
354
		-DWITH_FLATBUFFERS=$(usex contribdnn)
350 355
		-DWITH_1394=$(usex ieee1394)
351 356
	#	-DWITH_AVFOUNDATION=OFF # IOS
352 357
		-DWITH_VTK=$(multilib_native_usex vtk)
......
471 476
	# ===================================================
472 477
	# Not building protobuf but update files bug #631418
473 478
	# ===================================================
479
		-DWITH_PROTOBUF=ON
474 480
		-DBUILD_PROTOBUF=OFF
475 481
		-DPROTOBUF_UPDATE_FILES=ON
482
		-Dprotobuf_MODULE_COMPATIBLE=ON
476 483
	# ===================================================
477 484
	# things we want to be hard enabled not worth useflag
478 485
	# ===================================================
Thank you!