summaryrefslogtreecommitdiff
path: root/dev-util/bindgen
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-util/bindgen
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-util/bindgen')
-rw-r--r--dev-util/bindgen/Manifest4
-rw-r--r--dev-util/bindgen/bindgen-0.72.0.ebuild40
-rw-r--r--dev-util/bindgen/bindgen-0.72.1.ebuild40
-rw-r--r--dev-util/bindgen/metadata.xml16
4 files changed, 100 insertions, 0 deletions
diff --git a/dev-util/bindgen/Manifest b/dev-util/bindgen/Manifest
new file mode 100644
index 000000000000..8ed67014c4a7
--- /dev/null
+++ b/dev-util/bindgen/Manifest
@@ -0,0 +1,4 @@
+DIST bindgen-0.72.0.tar.gz 2332610 BLAKE2B dd97e3dcdcd9e05ffd27e6eb050113be07183018bbec60a9cea14794c1515548eaa1178c64fa9ddaa2f19976ed71745a4a63491a859bf11cf38d578adf428745 SHA512 606bcf2bb087cfc16dbc28f47515684cb7cc0fa2bae624c789d6aa54e873d9b8970de020c8f19d5952a2263675a39bce91132a66dbfcb44bf3520ad86682d8f8
+DIST bindgen-0.72.1.tar.gz 2332812 BLAKE2B f943f143ecdfc8245dc4008501a71133c5abc3c05e0b69625e70174d31f8c222be3163a73e86a4d045b301a05737ac68542c4f23b0825a6b053f710f5f7871cf SHA512 b280e9386d2f1baae9c78ae0572bc7f807d59752812abb55742d1232cbb647c5c1dbc00847679eb3e597e600870cfe99b5d82199bd801d8e8f27b83320cd1149
+DIST rust-bindgen-0.72.0-crates.tar.xz 12311900 BLAKE2B 3309e6d3f187ccc2bccd462c2aae544b2e5e27f8264d3161daf64da800a38840e3e4c21daea9e7a7d1eaeb69a502bf2dc69fcb9189af46a1dc26eef760fa71ac SHA512 2321dc1954a933551bd285d7070d5e4f6fd2189087ce2813b4d90260350dc60381c8c9932567c827648e8b4a74a95b4356e0d8c05fee2d2601389e3eccb7fa39
+DIST rust-bindgen-0.72.1-crates.tar.xz 12311900 BLAKE2B 3309e6d3f187ccc2bccd462c2aae544b2e5e27f8264d3161daf64da800a38840e3e4c21daea9e7a7d1eaeb69a502bf2dc69fcb9189af46a1dc26eef760fa71ac SHA512 2321dc1954a933551bd285d7070d5e4f6fd2189087ce2813b4d90260350dc60381c8c9932567c827648e8b4a74a95b4356e0d8c05fee2d2601389e3eccb7fa39
diff --git a/dev-util/bindgen/bindgen-0.72.0.ebuild b/dev-util/bindgen/bindgen-0.72.0.ebuild
new file mode 100644
index 000000000000..4aafce229247
--- /dev/null
+++ b/dev-util/bindgen/bindgen-0.72.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2023-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES=" "
+inherit rust-toolchain cargo
+
+DESCRIPTION="Automatically generate Rust FFI bindings to C and C++ libraries"
+HOMEPAGE="https://rust-lang.github.io/rust-bindgen/"
+SRC_URI="https://github.com/rust-lang/rust-${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/gentoo-crate-dist/rust-${PN}/releases/download/v${PV}/rust-${P}-crates.tar.xz
+"
+S=${WORKDIR}/rust-${P}
+
+LICENSE="BSD"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 BSD ISC MIT Unicode-3.0"
+SLOT="0"
+KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv"
+
+DEPEND="${RUST_DEPEND}"
+RDEPEND="${DEPEND}
+ llvm-core/clang:*
+"
+
+QA_FLAGS_IGNORED="usr/bin/bindgen"
+
+src_test () {
+ # required by clang during tests
+ local -x TARGET=$(rust_abi)
+
+ cargo_src_test --bins --lib
+}
+
+src_install () {
+ cargo_src_install --path "${S}/bindgen-cli"
+
+ einstalldocs
+}
diff --git a/dev-util/bindgen/bindgen-0.72.1.ebuild b/dev-util/bindgen/bindgen-0.72.1.ebuild
new file mode 100644
index 000000000000..4aafce229247
--- /dev/null
+++ b/dev-util/bindgen/bindgen-0.72.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2023-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES=" "
+inherit rust-toolchain cargo
+
+DESCRIPTION="Automatically generate Rust FFI bindings to C and C++ libraries"
+HOMEPAGE="https://rust-lang.github.io/rust-bindgen/"
+SRC_URI="https://github.com/rust-lang/rust-${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/gentoo-crate-dist/rust-${PN}/releases/download/v${PV}/rust-${P}-crates.tar.xz
+"
+S=${WORKDIR}/rust-${P}
+
+LICENSE="BSD"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 BSD ISC MIT Unicode-3.0"
+SLOT="0"
+KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv"
+
+DEPEND="${RUST_DEPEND}"
+RDEPEND="${DEPEND}
+ llvm-core/clang:*
+"
+
+QA_FLAGS_IGNORED="usr/bin/bindgen"
+
+src_test () {
+ # required by clang during tests
+ local -x TARGET=$(rust_abi)
+
+ cargo_src_test --bins --lib
+}
+
+src_install () {
+ cargo_src_install --path "${S}/bindgen-cli"
+
+ einstalldocs
+}
diff --git a/dev-util/bindgen/metadata.xml b/dev-util/bindgen/metadata.xml
new file mode 100644
index 000000000000..4f8e398a5a76
--- /dev/null
+++ b/dev-util/bindgen/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <name>Rust Project</name>
+ <email>rust@gentoo.org</email>
+ </maintainer>
+ <maintainer type="project">
+ <name>Gentoo Kernel Project</name>
+ <email>kernel@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <changelog>https://github.com/rust-lang/rust-bindgen/blob/master/CHANGELOG.md</changelog>
+ </upstream>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>