summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-08-24 15:01:55 +0200
committerMarek Szuba <marecki@gentoo.org>2020-08-24 19:07:20 +0200
commit50fcdc002db9f7e4c8f1b8b9c7b81669ac738615 (patch)
treee7f9f9b8a070ded74a9842b3e3ac463f9498407f /dev-libs/level-zero
parentnet-libs/xrootd-ceph: bump to 5.0.1 (diff)
downloadgentoo-50fcdc002db9f7e4c8f1b8b9c7b81669ac738615.tar.gz
gentoo-50fcdc002db9f7e4c8f1b8b9c7b81669ac738615.tar.bz2
gentoo-50fcdc002db9f7e4c8f1b8b9c7b81669ac738615.zip
dev-libs/level-zero: bump to 1.0.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-libs/level-zero')
-rw-r--r--dev-libs/level-zero/Manifest1
-rw-r--r--dev-libs/level-zero/level-zero-1.0.0.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-libs/level-zero/Manifest b/dev-libs/level-zero/Manifest
index 816e0bc2bddb..6d7265c98cf4 100644
--- a/dev-libs/level-zero/Manifest
+++ b/dev-libs/level-zero/Manifest
@@ -1 +1,2 @@
DIST level-zero-0.91.10.tar.gz 291352 BLAKE2B eaec1aa89b529b84d312f21c91e03c9ae2911193ad25a3884b677108bd3cf18d70b56174f515ac6ec2d61de0a80bb70bdf98834e4f932729e5809855ba42d087 SHA512 d98caa0ec135dc111ba8d34c2102f704e384cf6f6eb8ff147642cb1ce1de2fc96804e4f35e68df41a7e5404ba3702e87ec29f2334b19d39752351af5f5c999cc
+DIST level-zero-1.0.0.tar.gz 448583 BLAKE2B 21c3bfe3b960c153e5bfd2f57d84d5297fc0cbcdb2cab954f1e9669e966d02e756c8a5726b2aaead01a834b8b362130d30c12b7590384d629de36c713c0629c1 SHA512 69fd0f8a951dba44be8e41897824261d105ff27ba7924b86bcd97c00d3be41f4ad1ad5eeb08f1c8361c802fd3e76715cfd6c2e21ca83c16a603490b2ce111887
diff --git a/dev-libs/level-zero/level-zero-1.0.0.ebuild b/dev-libs/level-zero/level-zero-1.0.0.ebuild
new file mode 100644
index 000000000000..f2b9ea21cd99
--- /dev/null
+++ b/dev-libs/level-zero/level-zero-1.0.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PV="$(ver_cut 1-2)"
+MY_P="${PN}-${MY_PV}"
+
+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/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+S="${WORKDIR}/${MY_P}"
+
+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 "Failed to seed the version file"
+}