summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/cbindgen/cbindgen_0.29.2.bb
blob: 6b5fac9d47a24c906feb1fdadfc93631cc59e748 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
SUMMARY = "cbindgen creates C/C++11 headers for Rust libraries which expose a public C API"
HOMEPAGE = "https://github.com/mozilla/cbindgen"
LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3"

require cbindgen-crates.inc
SRC_URI += "git://github.com/mozilla/cbindgen.git;protocol=https;branch=main;tag=v${PV}"
SRC_URI += "file://0001-Use-libc-SYS_futex_time64-on-riscv32.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/getrandom-0.3.3/"

SRCREV = "76f41c090c0587d940a0ef81a41c8b995f074926"

inherit cargo pkgconfig

BBCLASSEXTEND += "native"