mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-libs/level-zero: add 1.24.2
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST level-zero-1.24.1.tar.gz 1122568 BLAKE2B b9dfe00c4f3d9a6f9411cd1f17c566dd40cf816e15a7d72dfc9b7017762a89b47f48fc7e6ab6b0381fdf6a1808a16b3f410bdc3f68dbb250fcc573b863f304ee SHA512 e580e192a84006bf338ffa6e4ac1b41d7806d25589defc57899b90594ab8799c147337513b2787172455ec94d08564b2250913a142529b8225d164837ee567da
|
||||
DIST level-zero-1.24.2.tar.gz 1122743 BLAKE2B 973c15875011e6f0d41f5c1c4dc244518f565b8993481620febd7e60f6147dcd44b020110c76676205eb9ec37a6678024829f1ba3736ee5b8741e0cbab5d5503 SHA512 77b45561a66aaeb6234eb46624c6caa444883210f111c24db6bd8c1c234f168667cd097c3b9b23d91409893673f490d4d4a872569078089aaf52f424dcfa5c2c
|
||||
|
||||
36
dev-libs/level-zero/level-zero-1.24.2.ebuild
Normal file
36
dev-libs/level-zero/level-zero-1.24.2.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user