[OE-core] [PATCH 1/1] l3afpad: Use distro_features_check for gtk+3

Hongxu Jia hongxu.jia at windriver.com
Wed Jun 29 03:26:13 UTC 2016


Since l3afpad depends gtk+3, use distro_features_check to fix
bitbake world dependency problems while DISTRO_FEATURES_remove = "x11"

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
 meta/recipes-sato/l3afpad/l3afpad_git.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-sato/l3afpad/l3afpad_git.bb b/meta/recipes-sato/l3afpad/l3afpad_git.bb
index 1e7c82f..8f8a7ec 100644
--- a/meta/recipes-sato/l3afpad/l3afpad_git.bb
+++ b/meta/recipes-sato/l3afpad/l3afpad_git.bb
@@ -9,6 +9,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
                     file://src/l3afpad.h;endline=20;md5=8848fd645cd45115d8cb47ca5c42a50e \
                     file://src/utils.c;endline=20;md5=ae4792f69d3bb7b7ba91d582ba9b1a05"
 
+inherit distro_features_check
+ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
+
 DEPENDS = "gtk+3 intltool-native gettext-native"
 
 PV = "0.8.18.1.11+git${SRCPV}"
-- 
2.8.1




More information about the Openembedded-core mailing list