dev-libs/level-zero: add 1.24.3

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2025-10-04 15:37:24 +02:00
parent 78ff830640
commit 1abca1a299
2 changed files with 37 additions and 0 deletions

View File

@@ -1 +1,2 @@
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

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
}