diff options
-rw-r--r-- | meta/packages/ohm/ohm_git.bb | 37 |
1 files changed, 32 insertions, 5 deletions
diff --git a/meta/packages/ohm/ohm_git.bb b/meta/packages/ohm/ohm_git.bb index dfad988df6..ae338bf2da 100644 --- a/meta/packages/ohm/ohm_git.bb +++ b/meta/packages/ohm/ohm_git.bb | |||
@@ -2,19 +2,46 @@ DESCRIPTION = "Open Hardware Manager" | |||
2 | HOMEPAGE = "http://freedesktop.org/Software/ohm" | 2 | HOMEPAGE = "http://freedesktop.org/Software/ohm" |
3 | LICENSE = "LGPL" | 3 | LICENSE = "LGPL" |
4 | 4 | ||
5 | DEPENDS = "dbus-glib intltool-native hal" | 5 | DEPENDS = "gtk+ dbus-glib intltool-native hal" |
6 | RDEPENDS += "udev hal-info" | 6 | RDEPENDS_${PN} += "udev hal-info" |
7 | SRC_URI = "git://anongit.freedesktop.org/git/ohm/;protocol=git" | 7 | SRC_URI = "git://anongit.freedesktop.org/git/ohm/;protocol=git" |
8 | 8 | ||
9 | PV = "0.0+git${SRCDATE}" | 9 | PV = "0.0+git${SRCDATE}" |
10 | PR = "r2" | 10 | PR = "r3" |
11 | 11 | ||
12 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
13 | 13 | ||
14 | inherit autotools pkgconfig | 14 | inherit autotools pkgconfig |
15 | 15 | ||
16 | EXTRA_OECONF = "--with-distro=debian --disable-gtk-doc --with-xauth-dir=/home/root" | ||
17 | |||
16 | do_configure_prepend() { | 18 | do_configure_prepend() { |
17 | touch gtk-doc.make | 19 | touch gtk-doc.make |
18 | } | 20 | } |
19 | 21 | ||
20 | EXTRA_OECONF = "--with-distro=debian --disable-gtk-doc --with-xauth-dir=/home/root" | 22 | do_configure_append() { |
23 | rm config.log | ||
24 | } | ||
25 | |||
26 | OE_LT_RPATH_ALLOW=":${libdir}/libohm:" | ||
27 | OE_LT_RPATH_ALLOW[export]="1" | ||
28 | |||
29 | PACKAGES =+ "libohm ohm-plugin-x11" | ||
30 | |||
31 | FILES_${PN}-dev += "${libdir}/ohm/*.la \ | ||
32 | ${libdir}/ohm/*.a " | ||
33 | |||
34 | FILES_${PN} = "${sysconfdir} \ | ||
35 | ${bindir}/* \ | ||
36 | ${sbindir}/* \ | ||
37 | ${libdir}/ohm/*.so \ | ||
38 | " | ||
39 | |||
40 | FILES_libohm = "${libdir}/libohm.so.*" | ||
41 | FILES_ohm-plugin-x11 = "${libdir}/ohm/libohm_x*.so \ | ||
42 | ${libdir}/ohm/libohm_idle.so \ | ||
43 | ${sysconfdir}/ohm/plugins.d/x* \ | ||
44 | ${sysconfdir}/ohm/plugins.d/idle* \ | ||
45 | " | ||
46 | |||
47 | |||