dev-util/webgpu-headers: new package, add 9999, 20240512

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
Gonçalo Negrier Duarte
2024-05-12 20:22:19 +01:00
parent 65717702d7
commit 7c79b7e238
4 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST webgpu-headers-20240512.tar.gz 34726 BLAKE2B 68f1803039b6691cad7d3a100cdbb416ec910c5f5d7368fea31f8c797f042d0ab5c7c92c435bc8750f316440766b2b1b87c46ef1f70f8a3e18c50404b911c4c2 SHA512 fcd2a04115a045b9335cb31b8922fd35d7e3db2a9631871c5a3728e88d73e12fe86061c32ab7dc2bd74087a1368fa2d8e5a8fd79f03d3b66da025151f7a4a415

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gonegrier.duarte@gmail.com</email>
<name>Gonçalo Negrier Duarte</name>
</maintainer>
<upstream>
<remote-id type="github">webgpu-native/webgpu-headers</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,27 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
COMMIT="aef5e428a1fdab2ea770581ae7c95d8779984e0a"
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/webgpu-native/${PN}.git"
inherit git-r3
else
SRC_URI="https://github.com/webgpu-native/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}"/${PN}-${COMMIT}
fi
DESCRIPTION="Webgpu Header files"
HOMEPAGE="https://github.com/webgpu-native/webgpu-headers"
LICENSE="BSD-3"
SLOT="0"
multilib_src_install() {
insinto /usr/include/webgpu
doins "${S}"/webgpu.h
insinto /usr/share/licenses
newins "${S}"/LICENSE ${PN}
}

View File

@@ -0,0 +1,27 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
COMMIT="aef5e428a1fdab2ea770581ae7c95d8779984e0a"
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/webgpu-native/${PN}.git"
inherit git-r3
else
SRC_URI="https://github.com/webgpu-native/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}"/${PN}-${COMMIT}
fi
DESCRIPTION="Webgpu Header files"
HOMEPAGE="https://github.com/webgpu-native/webgpu-headers"
LICENSE="BSD-3"
SLOT="0"
multilib_src_install() {
insinto /usr/include/webgpu
doins "${S}"/webgpu.h
insinto /usr/share/licenses
newins "${S}"/LICENSE ${PN}
}