diff options
-rw-r--r-- | dev-libs/level-zero/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/level-zero/level-zero-1.8.8.ebuild | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/dev-libs/level-zero/Manifest b/dev-libs/level-zero/Manifest index dd5c297457e2..1a68856ba431 100644 --- a/dev-libs/level-zero/Manifest +++ b/dev-libs/level-zero/Manifest @@ -1 +1,2 @@ DIST level-zero-1.8.5.tar.gz 694514 BLAKE2B ba0a247f07662bca58938600980196a03cc1f5588cbd80b6797a595e6781d7e23ca80d9256530625c1c07317e26cc799b06e4b66433496e5c61da4c45f814958 SHA512 42fde1f57ac86857563573e5367e68640b8e864704d779c3b337fab80d9f9ed85a6f6ca71700e87da92afbc4560eae73a6552a38b8a90f1e8cf039cf5937ae4b +DIST level-zero-1.8.8.tar.gz 695251 BLAKE2B cca0c35bcd9bd168187804eb3600d4ea17276be58a3a7db6da62908d9469e480dde966191e450fc80411f7caf60302bdb6c0cbaf741e7c7b59ad962a85d0d1c5 SHA512 b9b416beebbe96cd75d18d4cf888f539d908007629085f8692cd0898545e564b56671d060bc4961847df57a6c3b3beccbaa6f31539b6f4c201487961236ab83d diff --git a/dev-libs/level-zero/level-zero-1.8.8.ebuild b/dev-libs/level-zero/level-zero-1.8.8.ebuild new file mode 100644 index 000000000000..fc6029d86bbc --- /dev/null +++ b/dev-libs/level-zero/level-zero-1.8.8.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/${PV}" +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 +} |