From 89788fbd10fdfbbe54927339d7ec516d0e4d7ef5 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 17 Apr 2012 13:06:56 +0000 Subject: libproxy: Allow to build in non-gplv3 configuration Signed-off-by: Richard Purdie --- meta/recipes-support/libproxy/libproxy_0.4.7.bb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta/recipes-support/libproxy') diff --git a/meta/recipes-support/libproxy/libproxy_0.4.7.bb b/meta/recipes-support/libproxy/libproxy_0.4.7.bb index 2cb8ed36b..11b2abfe5 100644 --- a/meta/recipes-support/libproxy/libproxy_0.4.7.bb +++ b/meta/recipes-support/libproxy/libproxy_0.4.7.bb @@ -29,3 +29,9 @@ do_configure_prepend() { export HOST_SYS=${HOST_SYS} export BUILD_SYS=${BUILD_SYS} } + +python() { + if (d.getVar("INCOMPATIBLE_LICENSE", True) or "").find("GPLv3") != -1: + d.setVar("EXTRA_OECMAKE", d.getVar("EXTRA_OECMAKE").replace("-DWITH_GNOME=yes", "-DWITH_GNOME=no")) + d.setVar("DEPENDS", " ".join(i for i in d.getVar("DEPENDS").split() if i != "gconf")) +} -- cgit v1.2.3