networkmanager: fix introspection and vala support

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
This commit is contained in:
Alexander Kanavin
2016-02-22 19:28:50 +02:00
committed by Martin Jansa
parent 95650ac3e0
commit 7c34827f7b

View File

@@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b \
file://docs/api/html/license.html;md5=51d7fb67bde992e58533a8481cee070b \
"
DEPENDS = "libnl dbus dbus-glib libgudev util-linux libndp libnewt"
DEPENDS = "libnl dbus dbus-glib libgudev util-linux libndp libnewt polkit"
inherit gnomebase gettext systemd bluetooth bash-completion
inherit gnomebase gettext systemd bluetooth bash-completion vala gobject-introspection
SRC_URI = " \
${GNOME_MIRROR}/NetworkManager/${@gnome_verdir("${PV}")}/NetworkManager-${PV}.tar.xz \
@@ -35,6 +35,10 @@ EXTRA_OECONF = " \
--with-nmtui=yes \
"
do_compile_prepend() {
export GIR_EXTRA_LIBS_PATH="${B}/libnm-util/.libs"
}
PACKAGECONFIG ??= "nss ifupdown netconfig dhclient dnsmasq \
${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','consolekit',d)} \
${@bb.utils.contains('DISTRO_FEATURES','bluetooth','${BLUEZ}','',d)} \