blob: 04d191eb7d1b49bd38c875c219f1141a3e5e7c1a [file] [log] [blame]
Brad Bishopce086742015-10-27 17:12:45 -04001SUMMARY = "Phosphor DBUS Object Manager"
2DESCRIPTION = "Phosphor DBUS object manager."
3HOMEPAGE = "http://github.com/openbmc/phosphor-objmgr"
4PR = "r1"
5LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"
7
Matthew Barthe9972912016-10-05 16:20:54 -05008inherit autotools pkgconfig
Matthew Barth67cb5a52016-11-16 10:17:02 -06009inherit obmc-phosphor-python-autotools
Brad Bishopce086742015-10-27 17:12:45 -040010inherit obmc-phosphor-dbus-service
11inherit obmc-phosphor-systemd
Brad Bishopce086742015-10-27 17:12:45 -040012
Brad Bishop48b19612016-08-07 23:18:32 -040013DEPENDS += "systemd"
Matthew Barthe9972912016-10-05 16:20:54 -050014DEPENDS += "autoconf-archive-native"
Rick Altherrc38aae02016-08-01 14:20:50 -070015
Brad Bishop7476cd12016-11-02 15:21:22 -040016DBUS_SERVICE_${PN} += "xyz.openbmc_project.ObjectMapper.service"
Adriana Kobylak545f8742017-04-11 11:06:59 -050017SYSTEMD_SERVICE_${PN} += " \
18 mapper-wait@.service \
19 mapper-subtree-remove@.service \
20 "
Matthew Barthe9972912016-10-05 16:20:54 -050021RDEPENDS_libmapper += "libsystemd"
Brad Bishopce086742015-10-27 17:12:45 -040022RDEPENDS_${PN} += " \
23 python-xml \
24 python-dbus \
25 python-pygobject \
Patrick Williamsfee25822017-03-03 12:52:30 -060026 pyphosphor-dbus \
Brad Bishopce086742015-10-27 17:12:45 -040027 "
Chris Austen350def12015-12-02 22:32:06 -060028SRC_URI += "git://github.com/openbmc/phosphor-objmgr"
Brad Bishopce086742015-10-27 17:12:45 -040029
Patrick Williamsdaebc702017-06-01 22:30:05 -050030SRCREV = "a33fbf51b5133d9e984aa9863b75896ee220ef1a"
Brad Bishopce086742015-10-27 17:12:45 -040031
32S = "${WORKDIR}/git"
Brad Bishop9a701b42016-07-26 15:52:01 -040033
Brad Bishop9a701b42016-07-26 15:52:01 -040034python populate_packages_prepend () {
35 mapperlibdir = d.getVar("libdir", True)
36 do_split_packages(d, mapperlibdir, '^lib(.*)\.so\.*', 'lib%s', 'Phosphor mapper %s library', extra_depends='', allow_links=True)
37}
38PACKAGES_DYNAMIC += "^libmapper.*"
39FILES_${PN}_remove = "${libdir}/lib*.so.* ${libdir}/*"