summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-05-21 15:06:30 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-05-21 15:51:41 +0200
commit3f74fd0cf8e9b740a27941073818ef2e106ae81f (patch)
treebe66d3359bb225db5ff57b8b728d29b4d4e02545 /dev-libs/level-zero/level-zero-1.8.1.ebuild
parentdev-python/cmd2: Remove obsolete test-dep on sys-apps/which (diff)
downloadgentoo-3f74fd0cf8e9b740a27941073818ef2e106ae81f.tar.gz
gentoo-3f74fd0cf8e9b740a27941073818ef2e106ae81f.tar.bz2
gentoo-3f74fd0cf8e9b740a27941073818ef2e106ae81f.zip
dev-libs/level-zero: add 1.8.1
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs/level-zero/level-zero-1.8.1.ebuild')
-rw-r--r--dev-libs/level-zero/level-zero-1.8.1.ebuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-libs/level-zero/level-zero-1.8.1.ebuild b/dev-libs/level-zero/level-zero-1.8.1.ebuild
new file mode 100644
index 000000000000..84d0079b1c54
--- /dev/null
+++ b/dev-libs/level-zero/level-zero-1.8.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2022 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
+}