blob: 1737cddb074ad3fdb32236c643802c8c0d1acfe5 [file] [log] [blame]
Zhenfei Taicd9f5f02021-04-02 17:03:31 -07001SUMMARY = "Nanopb library"
2DESCRIPTION = "Nanopb - Protocol Buffers for Embedded Systems"
3HOMEPAGE = "https://github.com/nanopb/nanopb"
4PR = "r1"
5LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9db4b73a55a3994384112efcdb37c01f"
7
8inherit cmake python3native
9
10SRC_URI = "git://github.com/nanopb/nanopb"
11SRCREV = "f7e4140a27d9e63517b5d596bc117bd6d5248888"
12S = "${WORKDIR}/git"
13
14DEPENDS = "protobuf-native python3-protobuf"
15
Willy Tu4dd03ca2021-08-06 09:37:35 -070016RDEPENDS:${PN}-generator += "python3 python3-protobuf"
Zhenfei Taicd9f5f02021-04-02 17:03:31 -070017
Willy Tu4dd03ca2021-08-06 09:37:35 -070018PACKAGES:prepend = "${PN}-generator ${PN}-runtime "
Zhenfei Taicd9f5f02021-04-02 17:03:31 -070019
Willy Tu4dd03ca2021-08-06 09:37:35 -070020FILES:${PN}-generator = "${libdir}/python* ${bindir}"
Zhenfei Taicd9f5f02021-04-02 17:03:31 -070021
Willy Tu4dd03ca2021-08-06 09:37:35 -070022FILES:${PN}-runtime = "${libdir}/*.so.*"
Zhenfei Taicd9f5f02021-04-02 17:03:31 -070023
24BBCLASSEXTEND = "native"