blob: 9cc4cdc3f2d8aa1cc138c0f4e3d91169f6845e62 [file] [log] [blame]
Brad Bishop595edcf2016-11-09 20:43:11 -05001SUMMARY = "C++ bindings for systemd dbus APIs"
2DESCRIPTION = "C++ bindings for systemd dbus APIs."
Brad Bishop595edcf2016-11-09 20:43:11 -05003
4inherit autotools pkgconfig
Patrick Williams11d59722020-02-24 16:29:47 -06005inherit obmc-phosphor-python3-autotools
Brad Bishop595edcf2016-11-09 20:43:11 -05006
Patrick Williams25448842020-03-31 12:51:05 -05007include sdbusplus-rev.inc
8
Nagaraju Goruganti78077a52017-08-22 05:24:26 -05009DEPENDS += " \
10 autoconf-archive-native \
Patrick Williams4cd22432020-02-24 16:27:10 -060011 ${PYTHON_PN}-inflection-native \
12 ${PYTHON_PN}-mako-native \
13 ${PYTHON_PN}-pyyaml-native \
Nagaraju Goruganti78077a52017-08-22 05:24:26 -050014 "
Brad Bishop32f0a9a2017-01-18 13:59:33 -050015
Adriana Kobylak178d6b52017-02-12 17:40:26 -060016PACKAGECONFIG ??= "libsdbusplus transaction"
Brad Bishop595edcf2016-11-09 20:43:11 -050017PACKAGECONFIG[libsdbusplus] = "--enable-libsdbusplus,--disable-libsdbusplus,systemd,libsystemd"
Adriana Kobylak178d6b52017-02-12 17:40:26 -060018PACKAGECONFIG[transaction] = "--enable-transaction,--disable-transaction"
Brad Bishop595edcf2016-11-09 20:43:11 -050019
Patrick Williams7aba8152020-03-31 14:22:32 -050020# Remove unused sdbus++ contents (included in python3-sdbus++ package).
21do_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}