diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2024-05-05 20:54:08 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-05-05 20:56:10 +0200 |
commit | e5c0bf08ec2dc90b8bb76638a6e9f47b13a4c214 (patch) | |
tree | ebdc32bba2b8ca806f30b249c81aef60100e118b /dev-libs | |
parent | sys-block/arcconf: add 4.17.00.26540 (diff) | |
download | gentoo-e5c0bf08ec2dc90b8bb76638a6e9f47b13a4c214.tar.gz gentoo-e5c0bf08ec2dc90b8bb76638a6e9f47b13a4c214.tar.bz2 gentoo-e5c0bf08ec2dc90b8bb76638a6e9f47b13a4c214.zip |
dev-libs/level-zero: add 1.16.15
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/level-zero/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/level-zero/level-zero-1.16.15.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-libs/level-zero/Manifest b/dev-libs/level-zero/Manifest index f17819ae97f2..707fcb4c8640 100644 --- a/dev-libs/level-zero/Manifest +++ b/dev-libs/level-zero/Manifest @@ -1,2 +1,3 @@ DIST level-zero-1.16.1.tar.gz 999641 BLAKE2B 845964416526428d4848ccc3beebf0eac426ba39ce292cea3dced13803dbeb1d4393930b46a60fc2c59dc9e2f4bba1188b211a57574c58fb7180c44b7a8a028b SHA512 c53b5663494613b7a536816bf8367895aa055ce74d9abc8e8aacc3efb7c081de60480d03693861e2b348698b7da6224ac21fb590bf9311d342a19ca4f416b051 DIST level-zero-1.16.14.tar.gz 1001744 BLAKE2B a02d3b04a127bb43a3b2507c00f6c536d319d11e6196ad347f3d82a22d11f094118b5115589f463945b8763c9fb5c22a09965c637e72b14c7364813f8d69e05f SHA512 8c80d75909398245c0173a4198748d1a1e469e21a09138f60b314061ff556e7f529807e02c6ec1f3a47f2871e17c24b7be6d363810a25fee11e73b5c97c7c62a +DIST level-zero-1.16.15.tar.gz 1001798 BLAKE2B 176a2152f9dbc292d221b3a75f7fbf28b863eb2fc3d83e54d3b0b7d504cde866ce376bd57d30b64f4619297732480c7a9add60538953a0cb600af43e465eaf65 SHA512 37f1770f1bfa71fa08d56afed53a4dd1107ff36d8790f7bb0f921237d9d0e90076ef22349e8f289cf8f154ca0e1e0fff6a7dcd55b71468989322b9892962b874 diff --git a/dev-libs/level-zero/level-zero-1.16.15.ebuild b/dev-libs/level-zero/level-zero-1.16.15.ebuild new file mode 100644 index 000000000000..64493a4f0926 --- /dev/null +++ b/dev-libs/level-zero/level-zero-1.16.15.ebuild @@ -0,0 +1,33 @@ +# 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/libfmt:= + dev-libs/spdlog:= +" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${PN}-1.16.14-spdlog-libfmt.patch" ) + +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 +} |