diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2024-07-14 14:29:25 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-07-14 14:29:25 +0200 |
commit | 4f8dbb7d77a6e215e6a404fc16615b48cf677a3c (patch) | |
tree | 9be6cfca247d5543781649d8effdf2a17e4c8bec /dev-libs/level-zero | |
parent | dev-lua/luasystem: add 0.4.2 (diff) | |
download | gentoo-4f8dbb7d77a6e215e6a404fc16615b48cf677a3c.tar.gz gentoo-4f8dbb7d77a6e215e6a404fc16615b48cf677a3c.tar.bz2 gentoo-4f8dbb7d77a6e215e6a404fc16615b48cf677a3c.zip |
dev-libs/level-zero: add 1.17.19
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs/level-zero')
-rw-r--r-- | dev-libs/level-zero/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/level-zero/level-zero-1.17.19.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-libs/level-zero/Manifest b/dev-libs/level-zero/Manifest index 18deb0bb4516..e815255d25cc 100644 --- a/dev-libs/level-zero/Manifest +++ b/dev-libs/level-zero/Manifest @@ -1 +1,2 @@ +DIST level-zero-1.17.19.tar.gz 1150799 BLAKE2B 6c6077424c503b194b93801f0c1a4cab10e53d845ef88d75fae22d8c4ebd91387e03b1e9b37f6dfa43603216f64f20095b43b6b8331e282470c7c7ab1e49204e SHA512 bc5f65180c399a0fb9504db2f3db65c04e32e9fbedd6b0c4ae9eabd77c3586eb5116e553e2a6eab85f738d7a95a2f976062d2f7216fa0c239efb6661c2b6dd2c DIST level-zero-1.17.6.tar.gz 1136720 BLAKE2B 89aae9aad33f2aaebb1231dd0cd6aadde692f390fbbfd59933e8df06dc1c5bdd190cdf2887f1f43915f68da130e80e9451359269f8bec6f546f6004214552c13 SHA512 bb412e875d97d1c80a0e67087e6dac1a6ffb91fa50e22deb7649ee3250c0937679d225419b52bfd7938f71a66ac15742a6a215cee7714c27e0f935e04df5b88e diff --git a/dev-libs/level-zero/level-zero-1.17.19.ebuild b/dev-libs/level-zero/level-zero-1.17.19.ebuild new file mode 100644 index 000000000000..4034c8711d28 --- /dev/null +++ b/dev-libs/level-zero/level-zero-1.17.19.ebuild @@ -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 +} |