From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0301715808B for ; Sat, 5 Oct 2024 23:00:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD18CE29D0; Sat, 5 Oct 2024 23:00:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B21D7E29D0 for ; Sat, 5 Oct 2024 23:00:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC47A343167 for ; Sat, 5 Oct 2024 23:00:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 954B91FBE for ; Sat, 5 Oct 2024 23:00:31 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1728169085.656fdc34a36b33111cc53e453c4e55977ecd92cc.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/level-zero/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/level-zero/Manifest dev-libs/level-zero/level-zero-1.17.45.ebuild X-VCS-Directories: dev-libs/level-zero/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 656fdc34a36b33111cc53e453c4e55977ecd92cc X-VCS-Branch: master Date: Sat, 5 Oct 2024 23:00:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d26a9047-4ac2-45e8-bd34-c265232165cd X-Archives-Hash: 6d5e16eb7ebc9ce1a378b61ff540a6d4 commit: 656fdc34a36b33111cc53e453c4e55977ecd92cc Author: Conrad Kostecki gentoo org> AuthorDate: Sat Oct 5 22:56:30 2024 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Oct 5 22:58:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=656fdc34 dev-libs/level-zero: add 1.17.45 Signed-off-by: Conrad Kostecki gentoo.org> dev-libs/level-zero/Manifest | 1 + dev-libs/level-zero/level-zero-1.17.45.ebuild | 36 +++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-libs/level-zero/Manifest b/dev-libs/level-zero/Manifest index 55cb032044cd..83f161b3529a 100644 --- a/dev-libs/level-zero/Manifest +++ b/dev-libs/level-zero/Manifest @@ -1 +1,2 @@ DIST level-zero-1.17.42.tar.gz 1152554 BLAKE2B a9b2054a620735490d1ff0f0a7e35e96bfe80531cf738e11ae3316bc0ce06108304e6f55ca57c2392a7854d7015bf2bcab93aa9778784ec546da41e174a08298 SHA512 c16c8269c82888c80c226e2e67641a3dbe0dd49b7e00ce5b2b8f90ab1233ac4bba1032f0b00c9dd702b85e1f635210bc383ec0c7e74651514ac104f5d9e8300c +DIST level-zero-1.17.45.tar.gz 1152376 BLAKE2B 24ed5569431cd116808f48f2b718666baa8ecbdf0f69b56e7ca5a25fe5266cba48ba05c06946abd4a57562c8342aefc7f9c34b707435b793fe723412f64180d6 SHA512 83d97ffe43c21286a845bb9d11504414972c944d9b06975ba9e7680802a92a260b6246f3605ed32e5e5dec358972fbb5cab49543559dc36cb164a9c3b6a69d73 diff --git a/dev-libs/level-zero/level-zero-1.17.45.ebuild b/dev-libs/level-zero/level-zero-1.17.45.ebuild new file mode 100644 index 000000000000..4034c8711d28 --- /dev/null +++ b/dev-libs/level-zero/level-zero-1.17.45.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 +}