From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id CD1641582EF for ; Fri, 14 Feb 2025 22:06:28 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id B8ED4343050 for ; Fri, 14 Feb 2025 22:06:28 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 9D5A3110473; Fri, 14 Feb 2025 22:06:20 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 93D5A110473 for ; Fri, 14 Feb 2025 22:06:20 +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 48C66343058 for ; Fri, 14 Feb 2025 22:06:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D12462712 for ; Fri, 14 Feb 2025 22:06:18 +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: <1739570772.1b5d097a2e32809e46f3c4d9a5ab175dc287b4f4.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.20.4.ebuild X-VCS-Directories: dev-libs/level-zero/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 1b5d097a2e32809e46f3c4d9a5ab175dc287b4f4 X-VCS-Branch: master Date: Fri, 14 Feb 2025 22:06:18 +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: 559ab547-2750-49cf-bc48-b784d76c2d4c X-Archives-Hash: daf105c1b789795e8432d74fe62d4f3c commit: 1b5d097a2e32809e46f3c4d9a5ab175dc287b4f4 Author: Conrad Kostecki gentoo org> AuthorDate: Fri Feb 14 22:03:58 2025 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Fri Feb 14 22:06:12 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b5d097a dev-libs/level-zero: add 1.20.4 Signed-off-by: Conrad Kostecki gentoo.org> dev-libs/level-zero/Manifest | 1 + dev-libs/level-zero/level-zero-1.20.4.ebuild | 36 ++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-libs/level-zero/Manifest b/dev-libs/level-zero/Manifest index fcc4f7184256..01e3f8496234 100644 --- a/dev-libs/level-zero/Manifest +++ b/dev-libs/level-zero/Manifest @@ -1,2 +1,3 @@ DIST level-zero-1.20.2.tar.gz 900836 BLAKE2B 9dd22b518b72a08906f4fa4538b7f6642e5627d7659e5e52e3733bfcd9a85cae89874b4b1caf305ce3e5c03b40292fc97d53923cb0f886a1c2b9c3a9f937a652 SHA512 86bd21b034aaa4e0ce8f554a6563f41e622fcf39895c012dcc79d472e35f878dc759b103e9d2b7daac71e4943344a7afddd1f3c7ab889949b09b4cf8e0947589 DIST level-zero-1.20.3.tar.gz 906836 BLAKE2B 6311430a6517b69a417141e28e6bfb7e7b276fd0110330f647932bc0bdb9dd3229281b973389b07589d2f3d9ee0ff53d2b2bf08be697f63a521df3992be68412 SHA512 51bae0cc2113e9a2d634b9569a4846e5a993dddb101c30284ffba13ab2473bc642efd53c8bdd5df38727a64753e38285ac7cf3f5d109185da5d0e5dafde67222 +DIST level-zero-1.20.4.tar.gz 906450 BLAKE2B 7acaa19280e5b37a81f6e7bda3ed2c3afc66a655141a61107c665dfa0e5cdcdda4103e766b33ea78c93110bb5ad708cb7d70a3a50237bba3ad859c30ea536eb9 SHA512 ebbdd3b849df4d5a5e561ebb4ae4743c777f2ab047e81e31822c0d29e3b5661c56b0dafded0103e31e65bbf98491b856d13b79a79c0fa41b6e5ad7aa7bf7a5e5 diff --git a/dev-libs/level-zero/level-zero-1.20.4.ebuild b/dev-libs/level-zero/level-zero-1.20.4.ebuild new file mode 100644 index 000000000000..7855ea438290 --- /dev/null +++ b/dev-libs/level-zero/level-zero-1.20.4.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2025 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 +}