dev-libs/level-zero: add 1.26.0

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki 2025-11-09 01:45:39 +01:00
parent e7d74c643f
commit 054537af8a
No known key found for this signature in database
GPG Key ID: 7A96AB564BF498FB
2 changed files with 37 additions and 0 deletions

View File

@ -1,2 +1,3 @@
DIST level-zero-1.24.2.tar.gz 1122743 BLAKE2B 973c15875011e6f0d41f5c1c4dc244518f565b8993481620febd7e60f6147dcd44b020110c76676205eb9ec37a6678024829f1ba3736ee5b8741e0cbab5d5503 SHA512 77b45561a66aaeb6234eb46624c6caa444883210f111c24db6bd8c1c234f168667cd097c3b9b23d91409893673f490d4d4a872569078089aaf52f424dcfa5c2c
DIST level-zero-1.24.3.tar.gz 1132862 BLAKE2B 1baa8f932bf58348822ca5678e32aa554c3108988098d09b8b4958b983c40abd1291b57a28a874f6e1d1e5f8dd8f04ae83891c317c422c68d5dcf5f2afbf9aca SHA512 8813f763e949001b3bf5b53f9d211563a4910bdbabda643460b6fbd51ec6970612e4109909368c90d469ebf63c4d222c3e92c6a26fcb78299eaf85fd047d5087
DIST level-zero-1.26.0.tar.gz 1174465 BLAKE2B 57f2e5be979a513f56157f83df2c513a29692645e8a4edad1fa869fd56381b38ec38b91493e1cd1523cbef81ced5b896a6f1473464f266649a057654c69a271e SHA512 d7ef6ee4fb1f22b4ce401676996b17999b5bee58b1716c3cf2adf136a8aa62f1ab8019272f97edb7edd0a982bc43e8450bc8e056c5f89ba309bb3e9c4e9b15f4

View File

@ -0,0 +1,36 @@
# Copyright 1999-2025 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"
RDEPEND="dev-libs/spdlog:="
DEPEND="${RDEPEND}"
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
}
src_configure() {
local mycmakeargs=(
-DSYSTEM_SPDLOG="ON"
)
cmake_src_configure
}