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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 90C201581FB for ; Sat, 23 Nov 2024 23:36:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8EA4BE089C; Sat, 23 Nov 2024 23:36:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 75DB8E089C for ; Sat, 23 Nov 2024 23:36:15 +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 3B0B0342FA2 for ; Sat, 23 Nov 2024 23:36:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CA0B71FBE for ; Sat, 23 Nov 2024 23:36:11 +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: <1732404780.081d55b2d784166d72ea8b2c53d232ce70f10e1a.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.18.5.ebuild X-VCS-Directories: dev-libs/level-zero/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 081d55b2d784166d72ea8b2c53d232ce70f10e1a X-VCS-Branch: master Date: Sat, 23 Nov 2024 23:36:11 +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: ea202818-7548-4f3a-838c-b409120311b5 X-Archives-Hash: d9ba6ae968e018c9509e3779245daaa5 commit: 081d55b2d784166d72ea8b2c53d232ce70f10e1a Author: Conrad Kostecki gentoo org> AuthorDate: Sat Nov 23 00:21:35 2024 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Nov 23 23:33:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=081d55b2 dev-libs/level-zero: add 1.18.5 Signed-off-by: Conrad Kostecki gentoo.org> dev-libs/level-zero/Manifest | 1 + dev-libs/level-zero/level-zero-1.18.5.ebuild | 36 ++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-libs/level-zero/Manifest b/dev-libs/level-zero/Manifest index 603f7b78c2b8..c232ff7a96cc 100644 --- a/dev-libs/level-zero/Manifest +++ b/dev-libs/level-zero/Manifest @@ -1 +1,2 @@ DIST level-zero-1.18.3.tar.gz 1186811 BLAKE2B ded186ca410e6d261e5139c6e4a8e02fd31d34a2fe14a3cd973586c286ddf86af074480daeed840183c96e8ba83a82826a9b504a99ec253377f2e94ad3c60b5a SHA512 b881a81cd4d0c83db7d68cb41ba50729686cb923161aca4e5f0b75b7a4d143cf51636bd1b19decbec1d70d70e20ac4e6b11fa8c207b556a147c5425c87a4f2ef +DIST level-zero-1.18.5.tar.gz 863581 BLAKE2B c726adc912b48ecd826998b6c1b566826ee8261a08b545d293450c36375015bf24dae1c24532e7b12fad7365df2e970184be7ae693cfaeecc88aa0472a2230de SHA512 68d7e0f7a4eba7b4b6d9e110348bd8ba700475cb13407ddbe3d275c1386eaeb785509cbb7f43ad8abf6a96a3de25c4e0e9b529ca994283eb885651944ec02760 diff --git a/dev-libs/level-zero/level-zero-1.18.5.ebuild b/dev-libs/level-zero/level-zero-1.18.5.ebuild new file mode 100644 index 000000000000..4034c8711d28 --- /dev/null +++ b/dev-libs/level-zero/level-zero-1.18.5.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 +}