require avahi.inc

PR = "r6"

# FIXME: without --enable-gtk, avahi-discover (pygtk) won't be built
FILES_avahi-discover = ""

PROVIDES = "avahi"
DEPENDS += "python-native"

SRC_URI += "file://dbus-pre-1.1.1-support.patch;patch=1 \
            file://configure-check-pymod.patch;patch=1"
S = "${WORKDIR}/avahi-${PV}"

RDEPENDS_avahi-discover = "python-avahi python-pygtk"
RDEPENDS_python-avahi = "python-dbus"
PACKAGES =+ "python-avahi"

AVAHI_PYTHON = "--enable-python"