mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
dev-libs/level-zero: add 1.18.5
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST level-zero-1.18.3.tar.gz 1186811 BLAKE2B ded186ca410e6d261e5139c6e4a8e02fd31d34a2fe14a3cd973586c286ddf86af074480daeed840183c96e8ba83a82826a9b504a99ec253377f2e94ad3c60b5a SHA512 b881a81cd4d0c83db7d68cb41ba50729686cb923161aca4e5f0b75b7a4d143cf51636bd1b19decbec1d70d70e20ac4e6b11fa8c207b556a147c5425c87a4f2ef
|
||||
DIST level-zero-1.18.5.tar.gz 863581 BLAKE2B c726adc912b48ecd826998b6c1b566826ee8261a08b545d293450c36375015bf24dae1c24532e7b12fad7365df2e970184be7ae693cfaeecc88aa0472a2230de SHA512 68d7e0f7a4eba7b4b6d9e110348bd8ba700475cb13407ddbe3d275c1386eaeb785509cbb7f43ad8abf6a96a3de25c4e0e9b529ca994283eb885651944ec02760
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2024 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
|
||||
}
|
||||
Reference in New Issue
Block a user