Diff onnx-1.12.0 with a onnx-1.13.1-r1

/usr/portage/sci-libs/onnx/onnx-1.13.1-r1.ebuild 2023-10-09 14:52:35.092368491 +0300
20 20
	dev-libs/protobuf:="
21 21
BDEPEND="
22 22
	${PYTHON_DEPS}
23
	dev-util/patchelf
24 23
"
25 24

  
25
PATCHES=( "${FILESDIR}"/${PN}-1.14.0-cxx_14.patch )
26

  
26 27
src_configure() {
27 28
	local mycmakeargs=(
28 29
		-DONNX_USE_PROTOBUF_SHARED_LIBS=ON
29 30
	)
30 31
	cmake_src_configure
31 32
}
32

  
33
src_install() {
34
	cmake_src_install
35

  
36
	patchelf --set-soname libonnxifi.so "${ED}"/usr/lib/libonnxifi.so \
37
		|| die
38
	mv "${ED}"/usr/lib/libonnxifi.so "${ED}"/usr/$(get_libdir)/libonnxifi.so \
39
		|| die
40
}
Thank you!