commit: ab1dc2011eac23bc3b2bc861ddff0cc105d1c28b Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> AuthorDate: Thu May 12 21:15:48 2022 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Thu May 12 21:20:20 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab1dc201
dev-libs/level-zero: add 1.8.0 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> dev-libs/level-zero/Manifest | 1 + dev-libs/level-zero/level-zero-1.8.0.ebuild | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/dev-libs/level-zero/Manifest b/dev-libs/level-zero/Manifest index fe14bd04b0c2..f2739dacf95c 100644 --- a/dev-libs/level-zero/Manifest +++ b/dev-libs/level-zero/Manifest @@ -1 +1,2 @@ DIST level-zero-1.7.15.tar.gz 396788 BLAKE2B 794b1ee0955ffaa8671918cba8b31f388bfd8464bd59c3e041cc976d36831ee8e11ec64b1428613bd1621a6118b7794c908071756060f1bd8f2239e77f3c6817 SHA512 84600ff4fd18abffc8765c071454e7fef7a49d7ff711c97e326bae4a8e4295f2e611fac99bcaaf7ad555916d7078b36dd91b45cf57a00bd9e995fc028a40fd2e +DIST level-zero-1.8.0.tar.gz 418939 BLAKE2B c07cf99bed347458fe1680ed572575591eefa2e5cc0a4c4390f2bac603d872dd42173ff691960831900ad9a00e0346c217376d233e07e49ee1f17be13f6dcada SHA512 87c5e3b60e01d7bfd0ddb80403207dffef36eca77119364d92b8b39c7a2d34fd9c59921790395414e162394060c79dd7a73f14bfc1b7fa5d4b05adc1274dd48b diff --git a/dev-libs/level-zero/level-zero-1.8.0.ebuild b/dev-libs/level-zero/level-zero-1.8.0.ebuild new file mode 100644 index 000000000000..84d0079b1c54 --- /dev/null +++ b/dev-libs/level-zero/level-zero-1.8.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2022 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" +KEYWORDS="~amd64" + +src_prepare() { + 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 +}