diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-28 11:53:35 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-01 07:43:32 +0100 |
| commit | 5bfcd13c074a69cfb1cf9108cbccee472bad4409 (patch) | |
| tree | dd7184e90b27bd4f5c36e390a1bcddaf3252e2cf /meta/recipes-connectivity | |
| parent | 5b629a962d05aa1ae9d017058d078476d3675850 (diff) | |
| download | poky-5bfcd13c074a69cfb1cf9108cbccee472bad4409.tar.gz | |
classes/meta: Add DISTRO_FEATURES check for gtk+/gtk3+
If you currently do a DISTRO_FEATURES_remove = "x11" with OE-Core, you
see failures due to dependency problems. The work in resolving this was
partially completed a while back. This adds in the markup mainly for
gtk/gtk3+ recipes and means "bitbake world" will work successfully.
Rather than code the gtk/gtk+ specific distro features into each recipe,
a shared variable is used.
(From OE-Core rev: ef967c70182eeccb59c7511d838a7ecb0b2315c1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
| -rw-r--r-- | meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb | 3 | ||||
| -rw-r--r-- | meta/recipes-connectivity/connman/connman-gnome_0.7.bb | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb b/meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb index eea4d70fab..0d42b90e71 100644 --- a/meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb +++ b/meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb | |||
| @@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | |||
| 6 | 6 | ||
| 7 | require avahi.inc | 7 | require avahi.inc |
| 8 | 8 | ||
| 9 | inherit python-dir pythonnative | 9 | inherit python-dir pythonnative distro_features_check |
| 10 | ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" | ||
| 10 | 11 | ||
| 11 | PACKAGECONFIG ??= "python" | 12 | PACKAGECONFIG ??= "python" |
| 12 | PACKAGECONFIG[python] = "--enable-python,--disable-python,python-native python" | 13 | PACKAGECONFIG[python] = "--enable-python,--disable-python,python-native python" |
diff --git a/meta/recipes-connectivity/connman/connman-gnome_0.7.bb b/meta/recipes-connectivity/connman/connman-gnome_0.7.bb index f5575d2938..0fd1c65a3b 100644 --- a/meta/recipes-connectivity/connman/connman-gnome_0.7.bb +++ b/meta/recipes-connectivity/connman/connman-gnome_0.7.bb | |||
| @@ -19,7 +19,8 @@ SRC_URI = "git://github.com/connectivity/connman-gnome.git \ | |||
| 19 | 19 | ||
| 20 | S = "${WORKDIR}/git" | 20 | S = "${WORKDIR}/git" |
| 21 | 21 | ||
| 22 | inherit autotools-brokensep gtk-icon-cache pkgconfig | 22 | inherit autotools-brokensep gtk-icon-cache pkgconfig distro_features_check |
| 23 | ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" | ||
| 23 | 24 | ||
| 24 | RDEPENDS_${PN} = "connman" | 25 | RDEPENDS_${PN} = "connman" |
| 25 | 26 | ||
