2007-06-27 10:51:19 +00:00
|
|
|
DESCRIPTION = "Open Hardware Manager"
|
|
|
|
HOMEPAGE = "http://freedesktop.org/Software/ohm"
|
|
|
|
LICENSE = "LGPL"
|
|
|
|
|
2007-08-23 08:26:55 +00:00
|
|
|
DEPENDS = "gtk+ dbus-glib intltool-native hal"
|
|
|
|
RDEPENDS_${PN} += "udev hal-info"
|
2008-03-07 00:02:28 +00:00
|
|
|
SRC_URI = "git://anongit.freedesktop.org/git/ohm/;protocol=git \
|
|
|
|
file://fix_configure.patch;patch=1"
|
2007-06-27 10:51:19 +00:00
|
|
|
|
2007-12-19 13:21:32 +00:00
|
|
|
PV = "0.1.2+git-locrev${SRCREV}"
|
2008-03-07 00:02:28 +00:00
|
|
|
PR = "r1"
|
2007-06-27 10:51:19 +00:00
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
|
2007-09-04 13:22:03 +00:00
|
|
|
EXTRA_OECONF = "--with-distro=debian \
|
2007-09-13 12:30:11 +00:00
|
|
|
--without-xauth \
|
2007-09-04 13:22:03 +00:00
|
|
|
--disable-gtk-doc \
|
|
|
|
--disable-docbook-docs"
|
2007-08-23 08:26:55 +00:00
|
|
|
|
2007-08-17 14:24:16 +00:00
|
|
|
do_configure_prepend() {
|
2007-09-04 13:22:03 +00:00
|
|
|
touch gtk-doc.make
|
2007-08-23 08:26:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
OE_LT_RPATH_ALLOW=":${libdir}/libohm:"
|
|
|
|
OE_LT_RPATH_ALLOW[export]="1"
|
|
|
|
|
|
|
|
PACKAGES =+ "libohm ohm-plugin-x11"
|
|
|
|
|
2007-09-04 13:22:03 +00:00
|
|
|
FILES_${PN}-dev += "${libdir}/ohm/*.a"
|
2007-08-23 08:26:55 +00:00
|
|
|
|
|
|
|
FILES_${PN} = "${sysconfdir} \
|
|
|
|
${bindir}/* \
|
2007-09-04 13:22:03 +00:00
|
|
|
${sbindir}/* \
|
|
|
|
${libdir}/ohm/*.so \
|
|
|
|
"
|
2007-08-23 08:26:55 +00:00
|
|
|
|
|
|
|
FILES_libohm = "${libdir}/libohm.so.*"
|
|
|
|
FILES_ohm-plugin-x11 = "${libdir}/ohm/libohm_x*.so \
|
|
|
|
${libdir}/ohm/libohm_idle.so \
|
|
|
|
${sysconfdir}/ohm/plugins.d/x* \
|
2007-09-04 13:22:03 +00:00
|
|
|
${sysconfdir}/ohm/plugins.d/idle* \
|
|
|
|
"
|