diff options
| author | Davide Gardenal <davidegarde2000@gmail.com> | 2022-04-04 14:44:25 +0200 |
|---|---|---|
| committer | Trevor Gamblin <trevor.gamblin@windriver.com> | 2022-04-06 14:55:16 -0400 |
| commit | b1645981ffd9915bea7836734c9aec74786a0c8e (patch) | |
| tree | 807c21576f5dfc4141473d6bec2f11cf5c3b6c1b /meta-python/recipes-devtools/python3-wxgtk4 | |
| parent | 173352732d17b3d1fa469b6eea43a2a3c8a670d3 (diff) | |
| download | meta-openembedded-b1645981ffd9915bea7836734c9aec74786a0c8e.tar.gz | |
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>
Diffstat (limited to 'meta-python/recipes-devtools/python3-wxgtk4')
| -rw-r--r-- | meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb index e61b00efa4..dcb373a1f3 100644 --- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb +++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb | |||
| @@ -4,6 +4,10 @@ HOMEPAGE = "http://www.wxpython.org" | |||
| 4 | LICENSE = "WXwindows" | 4 | LICENSE = "WXwindows" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fce1d18e2d633d41786c0a8dfbc80917" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fce1d18e2d633d41786c0a8dfbc80917" |
| 6 | 6 | ||
| 7 | inherit features_check | ||
| 8 | |||
| 9 | REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'no_gui', '', 'x11', d)}" | ||
| 10 | |||
| 7 | DEPENDS = "wxwidgets-native wxwidgets" | 11 | DEPENDS = "wxwidgets-native wxwidgets" |
| 8 | 12 | ||
| 9 | PYPI_PACKAGE = "wxPython" | 13 | PYPI_PACKAGE = "wxPython" |
