DESCRIPTION = "User interface for the OProfile tool"
SECTION = "x11"
LICENSE = "GPLv2"
-DEPENDS = "glib-2.0 gtk+ libglade gnome-vfs libxml2"
-PR = "r2"
+DEPENDS = "glib-2.0 gtk+ libglade gnome-vfs libxml2 avahi"
+PR = "r3"
inherit autotools pkgconfig
PACKAGES =+ "oprofileui-server oprofileui-viewer"
+EXTRA_OECONF = "--with-avahi"
+
FILES_oprofileui-viewer = "${bindir}/oparchconv ${bindir}/oprofile-viewer ${datadir}/applications/ ${datadir}/oprofileui/"
RDEPENDS_oprofile-viewer = "oprofile"