diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2023-11-12 00:48:53 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2023-11-12 01:24:35 +0100 |
commit | a22a1036bd8112e87cbdf987a70839547b6ccf90 (patch) | |
tree | 7db59c250873b77f0d864c9d12994d64a51fa206 /dev-libs/level-zero | |
parent | dev-lua/busted: add 2.2.0 (diff) | |
download | gentoo-a22a1036bd8112e87cbdf987a70839547b6ccf90.tar.gz gentoo-a22a1036bd8112e87cbdf987a70839547b6ccf90.tar.bz2 gentoo-a22a1036bd8112e87cbdf987a70839547b6ccf90.zip |
dev-libs/level-zero: add 1.15.1
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.15.1.ebuild | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/dev-libs/level-zero/Manifest b/dev-libs/level-zero/Manifest index f36eaa75aef6..c81deb3ac00c 100644 --- a/dev-libs/level-zero/Manifest +++ b/dev-libs/level-zero/Manifest @@ -1 +1,2 @@ DIST level-zero-1.14.0.tar.gz 927330 BLAKE2B d025d7b6315037e9ae7fa037d3f86781ccb4f5a2736f5f2c8a8aa250eb0fa313c33b481a0a703781f17d0b3162c87b7f4a83d5d4668e79e82ef9a8aa1087f739 SHA512 6eb862492fb25fdebb5c2b93a24c02608f2a5e91a746e49ecdb8f5fa8f5c680644282ff4933fc7f6d15cb1d7db1f55534e5696b70d2553f0f59bfdf5f6ee1788 +DIST level-zero-1.15.1.tar.gz 935483 BLAKE2B 3478698f1976ea10557c28a44618417f4d2e65da328787210cd0da481ebcdf2a507ce738ac1d01101540ee6653c72254521afe7069f13219d7c8a4d5a5aec822 SHA512 594fc39f971fd06be9eb63f894ac9c720ee5ee110963c25f7861c348c4484793a529e39aec12f8aeb02b91666c41eacb3cebc2ebaac4c9e67d2c6ee66f682963 diff --git a/dev-libs/level-zero/level-zero-1.15.1.ebuild b/dev-libs/level-zero/level-zero-1.15.1.ebuild new file mode 100644 index 000000000000..5fb383635c28 --- /dev/null +++ b/dev-libs/level-zero/level-zero-1.15.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2023 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" + +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 +} |