Brad Bishop | e327803 | 2016-11-09 20:43:11 -0500 | [diff] [blame] | 1 | SUMMARY = "C++ bindings for systemd dbus APIs" |
| 2 | DESCRIPTION = "C++ bindings for systemd dbus APIs." |
Brad Bishop | e327803 | 2016-11-09 20:43:11 -0500 | [diff] [blame] | 3 | |
| 4 | inherit autotools pkgconfig |
Patrick Williams | 2a24241 | 2020-02-24 16:29:47 -0600 | [diff] [blame] | 5 | inherit obmc-phosphor-python3-autotools |
Brad Bishop | e327803 | 2016-11-09 20:43:11 -0500 | [diff] [blame] | 6 | |
Patrick Williams | 2e59532 | 2020-03-31 12:51:05 -0500 | [diff] [blame] | 7 | include sdbusplus-rev.inc |
| 8 | |
Nagaraju Goruganti | 9940d4f | 2017-08-22 05:24:26 -0500 | [diff] [blame] | 9 | DEPENDS += " \ |
| 10 | autoconf-archive-native \ |
Patrick Williams | 853ff1b | 2020-02-24 16:27:10 -0600 | [diff] [blame] | 11 | ${PYTHON_PN}-inflection-native \ |
| 12 | ${PYTHON_PN}-mako-native \ |
| 13 | ${PYTHON_PN}-pyyaml-native \ |
Nagaraju Goruganti | 9940d4f | 2017-08-22 05:24:26 -0500 | [diff] [blame] | 14 | " |
Brad Bishop | 6b4da62 | 2017-01-18 13:59:33 -0500 | [diff] [blame] | 15 | |
Adriana Kobylak | 9bcfdbb | 2017-02-12 17:40:26 -0600 | [diff] [blame] | 16 | PACKAGECONFIG ??= "libsdbusplus transaction" |
Brad Bishop | e327803 | 2016-11-09 20:43:11 -0500 | [diff] [blame] | 17 | PACKAGECONFIG[libsdbusplus] = "--enable-libsdbusplus,--disable-libsdbusplus,systemd,libsystemd" |
Adriana Kobylak | 9bcfdbb | 2017-02-12 17:40:26 -0600 | [diff] [blame] | 18 | PACKAGECONFIG[transaction] = "--enable-transaction,--disable-transaction" |
Brad Bishop | e327803 | 2016-11-09 20:43:11 -0500 | [diff] [blame] | 19 | |
Patrick Williams | 8a35fe1 | 2020-03-31 14:22:32 -0500 | [diff] [blame] | 20 | # Remove unused sdbus++ contents (included in python3-sdbus++ package). |
| 21 | do_install_append() { |
| 22 | rm ${D}/${bindir}/sdbus++ |
| 23 | rmdir ${D}/${bindir} || true |
| 24 | rm -rf ${D}/${PYTHON_SITEPACKAGES_DIR} |
| 25 | rmdir ${D}/${libdir}/${PYTHON_DIR} || true |
| 26 | } |