blob: 0e8a69c7ef9c75c171b69789b1cdfb24ecb7192e [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
Patrick Williamsbb99d222022-01-24 15:55:09 -060010SRC_URI = "git://github.com/nanopb/nanopb;branch=master;protocol=https"
Zhenfei Taicd9f5f02021-04-02 17:03:31 -070011SRCREV = "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"