public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: dev-util/webgpu-headers/
@ 2024-05-13 17:48 Julien Roy
  0 siblings, 0 replies; 7+ messages in thread
From: Julien Roy @ 2024-05-13 17:48 UTC (permalink / raw
  To: gentoo-commits

commit:     7c79b7e2385e89b57d83ca83542742314697b38d
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Sun May 12 19:22:19 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sun May 12 19:26:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7c79b7e2

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

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 dev-util/webgpu-headers/Manifest                   |  1 +
 dev-util/webgpu-headers/metadata.xml               | 12 ++++++++++
 .../webgpu-headers/webgpu-headers-20240512.ebuild  | 27 ++++++++++++++++++++++
 dev-util/webgpu-headers/webgpu-headers-9999.ebuild | 27 ++++++++++++++++++++++
 4 files changed, 67 insertions(+)

diff --git a/dev-util/webgpu-headers/Manifest b/dev-util/webgpu-headers/Manifest
new file mode 100644
index 0000000000..e99a177c10
--- /dev/null
+++ b/dev-util/webgpu-headers/Manifest
@@ -0,0 +1 @@
+DIST webgpu-headers-20240512.tar.gz 34726 BLAKE2B 68f1803039b6691cad7d3a100cdbb416ec910c5f5d7368fea31f8c797f042d0ab5c7c92c435bc8750f316440766b2b1b87c46ef1f70f8a3e18c50404b911c4c2 SHA512 fcd2a04115a045b9335cb31b8922fd35d7e3db2a9631871c5a3728e88d73e12fe86061c32ab7dc2bd74087a1368fa2d8e5a8fd79f03d3b66da025151f7a4a415

diff --git a/dev-util/webgpu-headers/metadata.xml b/dev-util/webgpu-headers/metadata.xml
new file mode 100644
index 0000000000..e7d7eb08b3
--- /dev/null
+++ b/dev-util/webgpu-headers/metadata.xml
@@ -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>
+

diff --git a/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild b/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild
new file mode 100644
index 0000000000..df35f785dd
--- /dev/null
+++ b/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild
@@ -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}
+}

diff --git a/dev-util/webgpu-headers/webgpu-headers-9999.ebuild b/dev-util/webgpu-headers/webgpu-headers-9999.ebuild
new file mode 100644
index 0000000000..df35f785dd
--- /dev/null
+++ b/dev-util/webgpu-headers/webgpu-headers-9999.ebuild
@@ -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}
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-util/webgpu-headers/
@ 2024-05-14 15:51 Julien Roy
  0 siblings, 0 replies; 7+ messages in thread
From: Julien Roy @ 2024-05-14 15:51 UTC (permalink / raw
  To: gentoo-commits

commit:     f27c5d4c1ba55d36ee04f281261020446ce8458d
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Tue May 14 15:30:54 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue May 14 15:31:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f27c5d4c

dev-util/webgpu-headers: update LICENSE

Fix metadata.xml indentation

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-util/webgpu-headers/metadata.xml                   | 2 +-
 dev-util/webgpu-headers/webgpu-headers-20240512.ebuild | 2 +-
 dev-util/webgpu-headers/webgpu-headers-9999.ebuild     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-util/webgpu-headers/metadata.xml b/dev-util/webgpu-headers/metadata.xml
index e7d7eb08b3..c6bb520941 100644
--- a/dev-util/webgpu-headers/metadata.xml
+++ b/dev-util/webgpu-headers/metadata.xml
@@ -6,7 +6,7 @@
 		<name>Gonçalo Negrier Duarte</name>
 	</maintainer>
 	<upstream>
-      <remote-id type="github">webgpu-native/webgpu-headers</remote-id>
+		<remote-id type="github">webgpu-native/webgpu-headers</remote-id>
 	</upstream>
 </pkgmetadata>
 

diff --git a/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild b/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild
index e9220d7c2a..8374aa8f18 100644
--- a/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild
+++ b/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild
@@ -16,7 +16,7 @@ fi
 DESCRIPTION="Webgpu Header files"
 HOMEPAGE="https://github.com/webgpu-native/webgpu-headers"
 
-LICENSE="BSD-3"
+LICENSE="BSD"
 SLOT="0"
 
 DEPEND="dev-lang/go"

diff --git a/dev-util/webgpu-headers/webgpu-headers-9999.ebuild b/dev-util/webgpu-headers/webgpu-headers-9999.ebuild
index e9220d7c2a..8374aa8f18 100644
--- a/dev-util/webgpu-headers/webgpu-headers-9999.ebuild
+++ b/dev-util/webgpu-headers/webgpu-headers-9999.ebuild
@@ -16,7 +16,7 @@ fi
 DESCRIPTION="Webgpu Header files"
 HOMEPAGE="https://github.com/webgpu-native/webgpu-headers"
 
-LICENSE="BSD-3"
+LICENSE="BSD"
 SLOT="0"
 
 DEPEND="dev-lang/go"


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-util/webgpu-headers/
@ 2024-05-14 15:51 Julien Roy
  0 siblings, 0 replies; 7+ messages in thread
From: Julien Roy @ 2024-05-14 15:51 UTC (permalink / raw
  To: gentoo-commits

commit:     d2b3f219b793bda910451fa111f8407bd9e800e6
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Tue May 14 09:24:16 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue May 14 09:25:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d2b3f219

dev-util/webgpu-headers: add missing dev-lang/go

* by default the makefile will run (besides not being need)

Closes: https://bugs.gentoo.org/931896
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 dev-util/webgpu-headers/webgpu-headers-20240512.ebuild | 4 +++-
 dev-util/webgpu-headers/webgpu-headers-9999.ebuild     | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild b/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild
index df35f785dd..e9220d7c2a 100644
--- a/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild
+++ b/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild
@@ -19,7 +19,9 @@ HOMEPAGE="https://github.com/webgpu-native/webgpu-headers"
 LICENSE="BSD-3"
 SLOT="0"
 
-multilib_src_install() {
+DEPEND="dev-lang/go"
+
+src_install() {
 	insinto /usr/include/webgpu
 	doins "${S}"/webgpu.h
 	insinto /usr/share/licenses

diff --git a/dev-util/webgpu-headers/webgpu-headers-9999.ebuild b/dev-util/webgpu-headers/webgpu-headers-9999.ebuild
index df35f785dd..e9220d7c2a 100644
--- a/dev-util/webgpu-headers/webgpu-headers-9999.ebuild
+++ b/dev-util/webgpu-headers/webgpu-headers-9999.ebuild
@@ -19,7 +19,9 @@ HOMEPAGE="https://github.com/webgpu-native/webgpu-headers"
 LICENSE="BSD-3"
 SLOT="0"
 
-multilib_src_install() {
+DEPEND="dev-lang/go"
+
+src_install() {
 	insinto /usr/include/webgpu
 	doins "${S}"/webgpu.h
 	insinto /usr/share/licenses


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-util/webgpu-headers/
@ 2024-05-14 15:51 Julien Roy
  0 siblings, 0 replies; 7+ messages in thread
From: Julien Roy @ 2024-05-14 15:51 UTC (permalink / raw
  To: gentoo-commits

commit:     3b5e830c76a1830c82fbda4eefa1db17a8aba606
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Tue May 14 15:43:22 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue May 14 15:44:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3b5e830c

dev-util/webgpu-headers: improve ebuild

* fix LICENSE name and move go to BDEPEND

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 dev-util/webgpu-headers/webgpu-headers-20240512.ebuild | 4 +---
 dev-util/webgpu-headers/webgpu-headers-9999.ebuild     | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild b/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild
index 8374aa8f18..7c10d28d24 100644
--- a/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild
+++ b/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild
@@ -19,11 +19,9 @@ HOMEPAGE="https://github.com/webgpu-native/webgpu-headers"
 LICENSE="BSD"
 SLOT="0"
 
-DEPEND="dev-lang/go"
+BDEPEND="dev-lang/go"
 
 src_install() {
 	insinto /usr/include/webgpu
 	doins "${S}"/webgpu.h
-	insinto /usr/share/licenses
-	newins "${S}"/LICENSE ${PN}
 }

diff --git a/dev-util/webgpu-headers/webgpu-headers-9999.ebuild b/dev-util/webgpu-headers/webgpu-headers-9999.ebuild
index 8374aa8f18..7c10d28d24 100644
--- a/dev-util/webgpu-headers/webgpu-headers-9999.ebuild
+++ b/dev-util/webgpu-headers/webgpu-headers-9999.ebuild
@@ -19,11 +19,9 @@ HOMEPAGE="https://github.com/webgpu-native/webgpu-headers"
 LICENSE="BSD"
 SLOT="0"
 
-DEPEND="dev-lang/go"
+BDEPEND="dev-lang/go"
 
 src_install() {
 	insinto /usr/include/webgpu
 	doins "${S}"/webgpu.h
-	insinto /usr/share/licenses
-	newins "${S}"/LICENSE ${PN}
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-util/webgpu-headers/
@ 2024-05-15 14:46 Julien Roy
  0 siblings, 0 replies; 7+ messages in thread
From: Julien Roy @ 2024-05-15 14:46 UTC (permalink / raw
  To: gentoo-commits

commit:     a24f6f5a1b2ef69807da9b3e80537ac7c23fbb1f
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Wed May 15 13:14:50 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Wed May 15 13:18:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a24f6f5a

dev-util/webgpu-headers: remove dev-lang/go depedency

* since the webgpu-headers.h is the only required file for most packages
* including media-libs/imgui[webgpu]
* the go generation of webgpu-headers.yaml is not required to be
  packaged

Closes: https://bugs.gentoo.org/931927
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 dev-util/webgpu-headers/webgpu-headers-20240512.ebuild | 6 +++++-
 dev-util/webgpu-headers/webgpu-headers-9999.ebuild     | 4 +++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild b/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild
index 7c10d28d24..e57a24601d 100644
--- a/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild
+++ b/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild
@@ -19,7 +19,11 @@ HOMEPAGE="https://github.com/webgpu-native/webgpu-headers"
 LICENSE="BSD"
 SLOT="0"
 
-BDEPEND="dev-lang/go"
+src_prepare() {
+	default
+
+	rm ${S}/Makefile || die
+}
 
 src_install() {
 	insinto /usr/include/webgpu

diff --git a/dev-util/webgpu-headers/webgpu-headers-9999.ebuild b/dev-util/webgpu-headers/webgpu-headers-9999.ebuild
index 7c10d28d24..dd6dfe6a72 100644
--- a/dev-util/webgpu-headers/webgpu-headers-9999.ebuild
+++ b/dev-util/webgpu-headers/webgpu-headers-9999.ebuild
@@ -19,7 +19,9 @@ HOMEPAGE="https://github.com/webgpu-native/webgpu-headers"
 LICENSE="BSD"
 SLOT="0"
 
-BDEPEND="dev-lang/go"
+src_prepare() {
+	rm ${S}/makefile || die
+}
 
 src_install() {
 	insinto /usr/include/webgpu


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-util/webgpu-headers/
@ 2024-05-15 17:00 Julien Roy
  0 siblings, 0 replies; 7+ messages in thread
From: Julien Roy @ 2024-05-15 17:00 UTC (permalink / raw
  To: gentoo-commits

commit:     7ea0211e9c78249a39ca318845e5593dc3340b9b
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed May 15 16:31:29 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Wed May 15 16:31:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7ea0211e

dev-util/webgpu-headers: quote S variable

Bug: https://bugs.gentoo.org/931927
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 dev-util/webgpu-headers/webgpu-headers-20240512.ebuild | 2 +-
 dev-util/webgpu-headers/webgpu-headers-9999.ebuild     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild b/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild
index e57a24601d..a80c066266 100644
--- a/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild
+++ b/dev-util/webgpu-headers/webgpu-headers-20240512.ebuild
@@ -22,7 +22,7 @@ SLOT="0"
 src_prepare() {
 	default
 
-	rm ${S}/Makefile || die
+	rm "${S}"/Makefile || die
 }
 
 src_install() {

diff --git a/dev-util/webgpu-headers/webgpu-headers-9999.ebuild b/dev-util/webgpu-headers/webgpu-headers-9999.ebuild
index e57a24601d..a80c066266 100644
--- a/dev-util/webgpu-headers/webgpu-headers-9999.ebuild
+++ b/dev-util/webgpu-headers/webgpu-headers-9999.ebuild
@@ -22,7 +22,7 @@ SLOT="0"
 src_prepare() {
 	default
 
-	rm ${S}/Makefile || die
+	rm "${S}"/Makefile || die
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-util/webgpu-headers/
@ 2024-05-15 17:00 Julien Roy
  0 siblings, 0 replies; 7+ messages in thread
From: Julien Roy @ 2024-05-15 17:00 UTC (permalink / raw
  To: gentoo-commits

commit:     061038ae91792002055d7078e425943b5004fb01
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Wed May 15 16:20:21 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Wed May 15 16:21:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=061038ae

dev-util/webgpu-headers: fix 9999

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 dev-util/webgpu-headers/webgpu-headers-9999.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-util/webgpu-headers/webgpu-headers-9999.ebuild b/dev-util/webgpu-headers/webgpu-headers-9999.ebuild
index dd6dfe6a72..e57a24601d 100644
--- a/dev-util/webgpu-headers/webgpu-headers-9999.ebuild
+++ b/dev-util/webgpu-headers/webgpu-headers-9999.ebuild
@@ -20,7 +20,9 @@ LICENSE="BSD"
 SLOT="0"
 
 src_prepare() {
-	rm ${S}/makefile || die
+	default
+
+	rm ${S}/Makefile || die
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-05-15 17:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-15 17:00 [gentoo-commits] repo/proj/guru:master commit in: dev-util/webgpu-headers/ Julien Roy
  -- strict thread matches above, loose matches on Subject: below --
2024-05-15 17:00 Julien Roy
2024-05-15 14:46 Julien Roy
2024-05-14 15:51 Julien Roy
2024-05-14 15:51 Julien Roy
2024-05-14 15:51 Julien Roy
2024-05-13 17:48 Julien Roy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox