blob: 9cc4cdc3f2d8aa1cc138c0f4e3d91169f6845e62 [file] [log] [blame]
Brad Bishope3278032016-11-09 20:43:11 -05001SUMMARY = "C++ bindings for systemd dbus APIs"
2DESCRIPTION = "C++ bindings for systemd dbus APIs."
Brad Bishope3278032016-11-09 20:43:11 -05003
4inherit autotools pkgconfig
Patrick Williams2a242412020-02-24 16:29:47 -06005inherit obmc-phosphor-python3-autotools
Brad Bishope3278032016-11-09 20:43:11 -05006
Patrick Williams2e595322020-03-31 12:51:05 -05007include sdbusplus-rev.inc
8
Nagaraju Goruganti9940d4f2017-08-22 05:24:26 -05009DEPENDS += " \
10 autoconf-archive-native \
Patrick Williams853ff1b2020-02-24 16:27:10 -060011 ${PYTHON_PN}-inflection-native \
12 ${PYTHON_PN}-mako-native \
13 ${PYTHON_PN}-pyyaml-native \
Nagaraju Goruganti9940d4f2017-08-22 05:24:26 -050014 "
Brad Bishop6b4da622017-01-18 13:59:33 -050015
Adriana Kobylak9bcfdbb2017-02-12 17:40:26 -060016PACKAGECONFIG ??= "libsdbusplus transaction"
Brad Bishope3278032016-11-09 20:43:11 -050017PACKAGECONFIG[libsdbusplus] = "--enable-libsdbusplus,--disable-libsdbusplus,systemd,libsystemd"
Adriana Kobylak9bcfdbb2017-02-12 17:40:26 -060018PACKAGECONFIG[transaction] = "--enable-transaction,--disable-transaction"
Brad Bishope3278032016-11-09 20:43:11 -050019
Patrick Williams8a35fe12020-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}