dev-util/webgpu-headers - 20240512 (guru)

Search

Install

Install this version:

emerge -a =dev-util/webgpu-headers-20240512

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/webgpu-headers-20240512

Or alternatively:

emerge --autounmask-write -a =dev-util/webgpu-headers-20240512

Package Information

Description:
Webgpu Header files
Homepage:
https://github.com/webgpu-native/webgpu-headers
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
20240512 8 ~amd64 ~x86 0
View Raw Ebuild
# 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"
SLOT="0"

src_prepare() {
	default

	rm "${S}"/Makefile || die
}

src_install() {
	insinto /usr/include/webgpu
	doins "${S}"/webgpu.h
}

Inherited Eclasses

Manifest for 20240512

Type File Size Source URLs
DIST webgpu-headers-20240512.tar.gz 34726 bytes https://github.com/webgpu-native/webgpu-headers/archive/aef5e428a1fdab2ea770581ae7c95d8779984e0a.tar.gz