summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-12-20 11:19:04 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-12-20 11:19:04 +0100
commitaac2b929615b32640041032a1d889f3a49e72f8c (patch)
treebd840e2d100156d58b1bb7eaafde7e6a2d643a1e /dev-libs/level-zero
parentdev-lua/dkjson: add 2.6 (diff)
downloadgentoo-aac2b929615b32640041032a1d889f3a49e72f8c.tar.gz
gentoo-aac2b929615b32640041032a1d889f3a49e72f8c.tar.bz2
gentoo-aac2b929615b32640041032a1d889f3a49e72f8c.zip
dev-libs/level-zero: add 1.7.4
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs/level-zero')
-rw-r--r--dev-libs/level-zero/Manifest1
-rw-r--r--dev-libs/level-zero/level-zero-1.7.4.ebuild22
2 files changed, 23 insertions, 0 deletions
diff --git a/dev-libs/level-zero/Manifest b/dev-libs/level-zero/Manifest
index 928b28ddfe66..0f952e8532a8 100644
--- a/dev-libs/level-zero/Manifest
+++ b/dev-libs/level-zero/Manifest
@@ -1 +1,2 @@
DIST level-zero-1.6.2.tar.gz 394003 BLAKE2B 3e4de24ee9abef1d2b21bf277c5ac13b9e9e7a3361d2ad2623893e3d0edaed14c5fa04624f3edc57725bf5303133caca9bd1686947900cc2e4c52bc2b76582e7 SHA512 589736a41d213a9834d06d2e668dcc91edb5d40e93dfb59b98df7ec4f6f26a9ad3e9379ede3b6bb570ba415b1d488c83f60cd43abafe15a692dc507965323497
+DIST level-zero-1.7.4.tar.gz 395803 BLAKE2B 09b977cbd7bd438daeb1cf4b97c4a6e586239b01a873604282a925458e8c2abb896dbce7e3199cc27ef4e85fa6dbae8b77186bedc9f942427c81aa2bdf81c97c SHA512 270c273fa7f3a90d3a3af8d7882c8dfca684eeeab9b6c01b9145aa802186d8a1a5eaaf1afd720fb12be3a6338a4d95698bb5dd175abb96b4c2916c94e4f4771c
diff --git a/dev-libs/level-zero/level-zero-1.7.4.ebuild b/dev-libs/level-zero/level-zero-1.7.4.ebuild
new file mode 100644
index 000000000000..c930117ab95b
--- /dev/null
+++ b/dev-libs/level-zero/level-zero-1.7.4.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2021 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"
+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
+}