diff options
Diffstat (limited to 'meta/packages/devicekit/devicekit_git.bb')
-rw-r--r-- | meta/packages/devicekit/devicekit_git.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/packages/devicekit/devicekit_git.bb b/meta/packages/devicekit/devicekit_git.bb new file mode 100644 index 0000000000..1f08570ba8 --- /dev/null +++ b/meta/packages/devicekit/devicekit_git.bb | |||
@@ -0,0 +1,34 @@ | |||
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 | SRCREV = "014d168ba4bf40c9bae487bacff8bf2aa054b5f6" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | inherit autotools pkgconfig | ||
13 | |||
14 | do_install_append() { | ||
15 | install -d ${D}/etc/default/volatiles | ||
16 | install -m 0644 ${WORKDIR}/volatile ${D}/etc/default/volatiles/devicekit | ||
17 | } | ||
18 | |||
19 | pkg_postinst_devicekit () { | ||
20 | # can't do this offline | ||
21 | if [ "x$D" != "x" ]; then | ||
22 | exit 1 | ||
23 | fi | ||
24 | |||
25 | /etc/init.d/populate-volatile.sh update | ||
26 | |||
27 | DBUSPID=`pidof dbus-daemon` | ||
28 | |||
29 | if [ "x$DBUSPID" != "x" ]; then | ||
30 | /etc/init.d/dbus-1 reload | ||
31 | fi | ||
32 | } | ||
33 | |||
34 | FILES_${PN} += "${datadir}/dbus-1/" | ||