sci-libs/onnxruntime-bin: new package, add 1.22.0

Signed-off-by: Kai Krakow <kai@kaishome.de>
Part-of: https://github.com/gentoo/gentoo/pull/37646
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Kai Krakow authored and Viorel Munteanu committed 2025-07-07 10:55:33 +03:00
1 parent 8fc40d9629
commit 1134deb55c
3 files changed
+61

No files matched your search

+1
View File
@@ -0,0 +1 @@
DIST onnxruntime-linux-x64-1.22.0.tgz 7798730 BLAKE2B 71c36530f6f5ced92f7bba844f63900d785dd2caa6c8e17e0b055b382b8a9ded77d87efdf142ebc3d19c22023411148a74fbc841860d5a06857b2b027746574b SHA512 c49d927a39dc27fcdf3b41436806af74c24c79ead09289d986c359fc1380ea363cf83d4085212b8972cb752a0fa8b9b1a06b82ad19e2d4dd6e22e44c79050386
+16
View File
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>hurikhan77+bgo@gmail.com</email>
<name>Kai Krakow</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/microsoft/onnxruntime/issues</bugs-to>
<remote-id type="github">microsoft/onnxruntime</remote-id>
</upstream>
</pkgmetadata>
@@ -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
}