diff options
Diffstat (limited to 'meta/recipes-extended/devicekit/devicekit_git.bb')
| -rw-r--r-- | meta/recipes-extended/devicekit/devicekit_git.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-extended/devicekit/devicekit_git.bb b/meta/recipes-extended/devicekit/devicekit_git.bb new file mode 100644 index 0000000000..74b639f6c1 --- /dev/null +++ b/meta/recipes-extended/devicekit/devicekit_git.bb | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | LICENSE = "GPL" | ||
| 2 | DEPENDS = "dbus-glib" | ||
| 3 | |||
| 4 | SRC_URI = "git://anongit.freedesktop.org/DeviceKit/DeviceKit;protocol=git \ | ||
| 5 | file://volatile" | ||
| 6 | |||
| 7 | PV = "002+git${SRCREV}" | ||
| 8 | PR = "r2" | ||
| 9 | SRCREV = "014d168ba4bf40c9bae487bacff8bf2aa054b5f6" | ||
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | EXTRA_OECONF = "--disable-man-pages" | ||
| 14 | |||
| 15 | inherit autotools pkgconfig | ||
| 16 | |||
| 17 | do_install_append() { | ||
| 18 | install -d ${D}/etc/default/volatiles | ||
| 19 | install -m 0644 ${WORKDIR}/volatile ${D}/etc/default/volatiles/devicekit | ||
| 20 | } | ||
| 21 | |||
| 22 | pkg_postinst_devicekit () { | ||
| 23 | # can't do this offline | ||
| 24 | if [ "x$D" != "x" ]; then | ||
| 25 | exit 1 | ||
| 26 | fi | ||
| 27 | |||
| 28 | DBUSPID=`pidof dbus-daemon` | ||
| 29 | |||
| 30 | if [ "x$DBUSPID" != "x" ]; then | ||
| 31 | /etc/init.d/dbus-1 reload | ||
| 32 | fi | ||
| 33 | } | ||
| 34 | |||
| 35 | FILES_${PN} += "${datadir}/dbus-1/" | ||
