mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-13 22:05:27 +01:00
python3-wxgtk4: add distro feature check to match dependency
Add REQUIRED_DISTRO_FEATURE to match wxwidgets, this fix build error (not buildable target) when x11 is not supported Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
parent
173352732d
commit
b1645981ff
|
|
@ -4,6 +4,10 @@ HOMEPAGE = "http://www.wxpython.org"
|
|||
LICENSE = "WXwindows"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fce1d18e2d633d41786c0a8dfbc80917"
|
||||
|
||||
inherit features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'no_gui', '', 'x11', d)}"
|
||||
|
||||
DEPENDS = "wxwidgets-native wxwidgets"
|
||||
|
||||
PYPI_PACKAGE = "wxPython"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user