Brad Bishop | 83254dc | 2015-10-27 17:12:45 -0400 | [diff] [blame] | 1 | SUMMARY = "Phosphor DBUS Object Manager" |
| 2 | DESCRIPTION = "Phosphor DBUS object manager." |
| 3 | HOMEPAGE = "http://github.com/openbmc/phosphor-objmgr" |
| 4 | PR = "r1" |
| 5 | LICENSE = "Apache-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc" |
| 7 | |
Brad Bishop | 83254dc | 2015-10-27 17:12:45 -0400 | [diff] [blame] | 8 | inherit obmc-phosphor-dbus-service |
| 9 | inherit obmc-phosphor-systemd |
| 10 | inherit setuptools |
| 11 | |
Rick Altherr | 68aa140 | 2016-08-01 14:20:50 -0700 | [diff] [blame^] | 12 | DEPENDS += " systemd" |
| 13 | |
Brad Bishop | 8ffb402 | 2016-07-13 17:56:34 -0400 | [diff] [blame] | 14 | DBUS_SERVICE_${PN} += "org.openbmc.ObjectMapper" |
Brad Bishop | 83254dc | 2015-10-27 17:12:45 -0400 | [diff] [blame] | 15 | RDEPENDS_${PN} += " \ |
| 16 | python-xml \ |
| 17 | python-dbus \ |
| 18 | python-pygobject \ |
| 19 | " |
Chris Austen | b70cb7e | 2015-12-02 22:32:06 -0600 | [diff] [blame] | 20 | SRC_URI += "git://github.com/openbmc/phosphor-objmgr" |
Brad Bishop | 83254dc | 2015-10-27 17:12:45 -0400 | [diff] [blame] | 21 | |
Brad Bishop | ea4022a | 2016-07-26 15:52:01 -0400 | [diff] [blame] | 22 | SRCREV = "22ff24a6e668d00557ef6465f96d664fe33226f3" |
Brad Bishop | 83254dc | 2015-10-27 17:12:45 -0400 | [diff] [blame] | 23 | |
| 24 | S = "${WORKDIR}/git" |
Brad Bishop | ea4022a | 2016-07-26 15:52:01 -0400 | [diff] [blame] | 25 | |
| 26 | do_compile_append() { |
| 27 | oe_runmake -C libmapper |
| 28 | } |
| 29 | |
| 30 | do_install_append() { |
| 31 | oe_runmake -C libmapper install DESTDIR=${D} |
| 32 | } |
| 33 | |
| 34 | python 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 | } |
| 38 | PACKAGES_DYNAMIC += "^libmapper.*" |
| 39 | FILES_${PN}_remove = "${libdir}/lib*.so.* ${libdir}/*" |