Patrick Williams | bb27bf2 | 2020-04-08 10:26:49 -0500 | [diff] [blame] | 1 | SUMMARY = "sdbus++ dbus API / binding generator" |
| 2 | DESCRIPTION = "Generates bindings against sdbusplus for dbus APIs" |
| 3 | |
Patrick Williams | 1914bbb | 2020-05-19 06:56:04 -0500 | [diff] [blame] | 4 | inherit setuptools3 |
Patrick Williams | bb27bf2 | 2020-04-08 10:26:49 -0500 | [diff] [blame] | 5 | |
| 6 | include sdbusplus-rev.inc |
| 7 | |
Patrick Williams | 1914bbb | 2020-05-19 06:56:04 -0500 | [diff] [blame] | 8 | ## The sdbusplus repository has an Apache LICENSE file, which we would |
| 9 | ## normally check here, but the python setup script is in a subdirectory |
| 10 | ## which requires us to set ${S} below. When we change ${S} from the root |
| 11 | ## of the repository, bitbake can no longer find the LICENSE file. Point |
| 12 | ## to the common Apache license file in poky's meta instead. |
| 13 | LICENSE = "Apache-2.0" |
| 14 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
| 15 | |
| 16 | S="${WORKDIR}/git/tools" |
| 17 | |
Patrick Williams | bb27bf2 | 2020-04-08 10:26:49 -0500 | [diff] [blame] | 18 | DEPENDS += " \ |
| 19 | autoconf-archive-native \ |
| 20 | ${PYTHON_PN}-inflection-native \ |
| 21 | ${PYTHON_PN}-mako-native \ |
| 22 | ${PYTHON_PN}-pyyaml-native \ |
| 23 | " |
| 24 | |
| 25 | RDEPENDS_${PN} += " \ |
| 26 | ${PYTHON_PN}-inflection \ |
| 27 | ${PYTHON_PN}-mako \ |
| 28 | ${PYTHON_PN}-pyyaml \ |
| 29 | " |
| 30 | |
Patrick Williams | bb27bf2 | 2020-04-08 10:26:49 -0500 | [diff] [blame] | 31 | BBCLASSEXTEND += "native nativesdk" |