diff --git a/sci-libs/onnxruntime-bin/Manifest b/sci-libs/onnxruntime-bin/Manifest new file mode 100644 index 0000000000..8b408739a3 --- /dev/null +++ b/sci-libs/onnxruntime-bin/Manifest @@ -0,0 +1 @@ +DIST onnxruntime-linux-x64-1.22.0.tgz 7798730 BLAKE2B 71c36530f6f5ced92f7bba844f63900d785dd2caa6c8e17e0b055b382b8a9ded77d87efdf142ebc3d19c22023411148a74fbc841860d5a06857b2b027746574b SHA512 c49d927a39dc27fcdf3b41436806af74c24c79ead09289d986c359fc1380ea363cf83d4085212b8972cb752a0fa8b9b1a06b82ad19e2d4dd6e22e44c79050386 diff --git a/sci-libs/onnxruntime-bin/metadata.xml b/sci-libs/onnxruntime-bin/metadata.xml new file mode 100644 index 0000000000..6467d32032 --- /dev/null +++ b/sci-libs/onnxruntime-bin/metadata.xml @@ -0,0 +1,16 @@ + + + + + hurikhan77+bgo@gmail.com + Kai Krakow + + + proxy-maint@gentoo.org + Proxy Maintainers + + + https://github.com/microsoft/onnxruntime/issues + microsoft/onnxruntime + + diff --git a/sci-libs/onnxruntime-bin/onnxruntime-bin-1.22.0.ebuild b/sci-libs/onnxruntime-bin/onnxruntime-bin-1.22.0.ebuild new file mode 100644 index 0000000000..62703ed97b --- /dev/null +++ b/sci-libs/onnxruntime-bin/onnxruntime-bin-1.22.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="cross-platform, high performance ML inferencing and training accelerator" +HOMEPAGE="https://onnxruntime.ai/" + +SRC_URI=" + https://github.com/microsoft/onnxruntime/releases/download/v${PV}/onnxruntime-linux-x64-${PV}.tgz +" + +LICENSE="MIT" + +SLOT="0" + +KEYWORDS="~amd64" + +DOCS=" + README.md + Privacy.md + ThirdPartyNotices.txt + LICENSE +" + +QA_PREBUILT=" + lib*/lib*.so* +" + +src_unpack() { + unpack ${A} + cd "${WORKDIR}" || die + mv onnxruntime-linux-* ${P} || die +} + +src_install() { + dodir /usr/include + cp -R include/. "${ED}"/usr/include/. || die + + dodir $(get_libdir) + cp -R lib/. "${ED}"/$(get_libdir)/. || die + + einstalldocs +}