dev-libs/level-zero: add 1.15.8

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2023-12-26 03:43:33 +01:00
parent 49ec06dfd7
commit 44bcfc50f1
2 changed files with 26 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST level-zero-1.15.1.tar.gz 935483 BLAKE2B 3478698f1976ea10557c28a44618417f4d2e65da328787210cd0da481ebcdf2a507ce738ac1d01101540ee6653c72254521afe7069f13219d7c8a4d5a5aec822 SHA512 594fc39f971fd06be9eb63f894ac9c720ee5ee110963c25f7861c348c4484793a529e39aec12f8aeb02b91666c41eacb3cebc2ebaac4c9e67d2c6ee66f682963
DIST level-zero-1.15.8.tar.gz 937224 BLAKE2B b433e5ae2396715cd58bdce508d22b44f6b3083a4686f26dfba8a2117ea7547955bedf454d75c06a66e2c36ab4478da345fc86479486d50290ec96cf751a0b23 SHA512 68e531af5a39c8a6a2e242b25871d9177b2c8079837e0f736829ec0959fdb021eb518849e340a0f94abbe8ef879e3fb33e8b277eb676d2f8889bf2f4c3c10d82

View File

@@ -0,0 +1,25 @@
# 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() {
# Don't hardcore -Werror
sed -e 's/-Werror//g' -i CMakeLists.txt || die
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
}