summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2023-01-31 15:46:22 +0100
committerConrad Kostecki <conikost@gentoo.org>2023-01-31 16:15:33 +0100
commit824bbff73dcbb6b62aefef9fb97ffc9706be9615 (patch)
tree81a472a7c9a6ddc331ebe6d4ba1641800bd6050c /dev-libs
parentdev-libs/metee: drop 3.1.3 (diff)
downloadgentoo-824bbff73dcbb6b62aefef9fb97ffc9706be9615.tar.gz
gentoo-824bbff73dcbb6b62aefef9fb97ffc9706be9615.tar.bz2
gentoo-824bbff73dcbb6b62aefef9fb97ffc9706be9615.zip
dev-libs/level-zero: add 1.9.4
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/level-zero/Manifest1
-rw-r--r--dev-libs/level-zero/level-zero-1.9.4.ebuild22
2 files changed, 23 insertions, 0 deletions
diff --git a/dev-libs/level-zero/Manifest b/dev-libs/level-zero/Manifest
index d2f24445429d..a0cc8bd0132e 100644
--- a/dev-libs/level-zero/Manifest
+++ b/dev-libs/level-zero/Manifest
@@ -1 +1,2 @@
DIST level-zero-1.8.12.tar.gz 696435 BLAKE2B 31dfb05e947e05f7892c289071fc61f3f874009cf3b0c73c6e8c666a7ecbe1e71be6dab8bada9a56c9f993e0ba4c3bbecb975f9173e0c03672cdd31fb2a54450 SHA512 8e4025c15426e7593b45c65a09ad51282ba65156205eafbc10fa1e91aa351e2a3e2911e4b2f1bfc8fad78179f684469a3587ed164a3a702caad5aa4e5788284e
+DIST level-zero-1.9.4.tar.gz 742767 BLAKE2B 191bb317a5d9ac3b7806172f2e42ced3a3f1a82bf806fc5afe85e7f2976f27c733c9f13c1b68b3fdc99e1bbff2c2dceffe2d9621c755b3e5c9e0c3aec341c111 SHA512 aff8f7965c70541bfbc5db05d3c2306d11c69f7b20396618520e0eb141fa021b0d89872e362e8137311d9b5ba68667754357c917f0108a5a5eb030e9883bddea
diff --git a/dev-libs/level-zero/level-zero-1.9.4.ebuild b/dev-libs/level-zero/level-zero-1.9.4.ebuild
new file mode 100644
index 000000000000..f019194f4f68
--- /dev/null
+++ b/dev-libs/level-zero/level-zero-1.9.4.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="oneAPI Level Zero headers, loader and validation layer"
+HOMEPAGE="https://github.com/oneapi-src/level-zero"
+SRC_URI="https://github.com/oneapi-src/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+
+src_prepare() {
+ cmake_src_prepare
+
+ # According to upstream, release tarballs should contain this file but at least
+ # some of them do not. Fortunately it is trivial to make one ourselves.
+ echo "$(ver_cut 3)" > "${S}"/VERSION_PATCH || die
+}