From a8cf1b5b632c41c7885c76fb2a92ccebc327a901 Mon Sep 17 00:00:00 2001 From: Zoltán Böszörményi Date: Sun, 26 Feb 2023 05:35:52 +0100 Subject: bindgen-cli: New recipe for version 0.64.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is used by Mesa to build Rusticl. Signed-off-by: Zoltán Böszörményi --- recipes-devtools/bindgen-cli/bindgen-cli_0.64.0.bb | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 recipes-devtools/bindgen-cli/bindgen-cli_0.64.0.bb diff --git a/recipes-devtools/bindgen-cli/bindgen-cli_0.64.0.bb b/recipes-devtools/bindgen-cli/bindgen-cli_0.64.0.bb new file mode 100644 index 0000000..6f66549 --- /dev/null +++ b/recipes-devtools/bindgen-cli/bindgen-cli_0.64.0.bb @@ -0,0 +1,23 @@ +SUMMARY = "Automatically generates Rust FFI bindings to C and C++ libraries." +HOMEPAGE = "https://rust-lang.github.io/rust-bindgen/" +LICENSE = "BSD-3-Clause" + +LIC_FILES_CHKSUM = "file://bindgen-cli/LICENSE;md5=0b9a98cb3dcdefcceb145324693fda9b" + +inherit rust cargo cargo-update-recipe-crates + +SRC_URI = "git://github.com/rust-lang/rust-bindgen.git;protocol=https;nobranch=1;branch=main" +SRCREV = "ae6817256ac557981906e93a1f866349db85053e" + +S = "${WORKDIR}/git" + +CARGO_SRC_DIR = "bindgen-cli" +CARGO_LOCK_SRC_DIR = "bindgen-cli" + +do_install:append:class-native() { + create_wrapper ${D}/${bindir}/bindgen LIBCLANG_PATH="${STAGING_LIBDIR_NATIVE}" +} + +RDEPENDS:${PN} = "libclang" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf