python3-pyatspi: restrict with GTK2DISTROFEATURES

* fixes:
  NOTE: Resolving any missing task queue dependencies
  ERROR: Nothing PROVIDES 'gtk+' (but meta-oe/meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb DEPENDS on or otherwise requires it)
  gtk+ was skipped: one of 'x11 directfb' needs to be in DISTRO_FEATURES
  ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
  Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'python3-pyatspi', 'gtk+']

  Summary: There was 1 WARNING message shown.
  Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Martin Jansa 2019-09-03 09:16:01 +00:00 committed by Khem Raj
parent a1a0e8d91e
commit c20f2aa82f

View File

@ -11,6 +11,10 @@ SRC_URI = "git://github.com/GNOME/pyatspi2.git;protocol=https;branch=gnome-3-32"
SRCREV = "dc4565208fca00da06b972915a080ad3c63f640d" SRCREV = "dc4565208fca00da06b972915a080ad3c63f640d"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
# Same restriction as gtk+
inherit distro_features_check
ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
inherit pkgconfig autotools python3native inherit pkgconfig autotools python3native
FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/pyatspi/*" FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/pyatspi/*"