diff options
author | Zoltán Böszörményi <zboszor@gmail.com> | 2023-02-26 05:35:52 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-03-06 09:07:48 -0800 |
commit | a8cf1b5b632c41c7885c76fb2a92ccebc327a901 (patch) | |
tree | a15cb414ca2d76e4d1241874e4ca13554be5ea1a | |
parent | 4a6e449063d21cee79d9d054739cd44fb0bf455d (diff) | |
download | meta-clang-a8cf1b5b632c41c7885c76fb2a92ccebc327a901.tar.gz |
bindgen-cli: New recipe for version 0.64.0
It is used by Mesa to build Rusticl.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
-rw-r--r-- | recipes-devtools/bindgen-cli/bindgen-cli_0.64.0.bb | 23 |
1 files changed, 23 insertions, 0 deletions
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 @@ | |||
1 | SUMMARY = "Automatically generates Rust FFI bindings to C and C++ libraries." | ||
2 | HOMEPAGE = "https://rust-lang.github.io/rust-bindgen/" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | |||
5 | LIC_FILES_CHKSUM = "file://bindgen-cli/LICENSE;md5=0b9a98cb3dcdefcceb145324693fda9b" | ||
6 | |||
7 | inherit rust cargo cargo-update-recipe-crates | ||
8 | |||
9 | SRC_URI = "git://github.com/rust-lang/rust-bindgen.git;protocol=https;nobranch=1;branch=main" | ||
10 | SRCREV = "ae6817256ac557981906e93a1f866349db85053e" | ||
11 | |||
12 | S = "${WORKDIR}/git" | ||
13 | |||
14 | CARGO_SRC_DIR = "bindgen-cli" | ||
15 | CARGO_LOCK_SRC_DIR = "bindgen-cli" | ||
16 | |||
17 | do_install:append:class-native() { | ||
18 | create_wrapper ${D}/${bindir}/bindgen LIBCLANG_PATH="${STAGING_LIBDIR_NATIVE}" | ||
19 | } | ||
20 | |||
21 | RDEPENDS:${PN} = "libclang" | ||
22 | |||
23 | BBCLASSEXTEND = "native" | ||