diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2022-04-09 16:54:39 +0800 |
|---|---|---|
| committer | Trevor Gamblin <trevor.gamblin@windriver.com> | 2022-04-11 09:22:30 -0400 |
| commit | 46612115db600abf90eb5cf35b3cf10be1e2f5ac (patch) | |
| tree | 5db2d660e4b39bc40c1c06c0aceeef36fc92833f | |
| parent | b924bc52ca64da65456e8c7f45fdaa1b4dda4ac3 (diff) | |
| download | meta-openembedded-46612115db600abf90eb5cf35b3cf10be1e2f5ac.tar.gz | |
python3-wxgtk4: Require DISTRO_FEATURES as gtk3
It can't be built without gtk3:
No package 'gtk+-3.0' found
So make it have the same DISTRO_FEATURES as gtk3. It may also support gtk2, but
it depends on wxwidgets which doesn't support gtk2, so we don't have to
consider that.
And python3-wxgtk4 doesn't have PACKAGECONFIG, so remove the checking for
PACKAGECONFIG.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
| -rw-r--r-- | meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb | 8 |
1 files changed, 3 insertions, 5 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 423d3bdae7..3583acc9cd 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,10 +4,6 @@ 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 | |||
| 11 | DEPENDS = "wxwidgets-native wxwidgets" | 7 | DEPENDS = "wxwidgets-native wxwidgets" |
| 12 | 8 | ||
| 13 | PYPI_PACKAGE = "wxPython" | 9 | PYPI_PACKAGE = "wxPython" |
| @@ -20,7 +16,9 @@ SRC_URI[sha256sum] = "00e5e3180ac7f2852f342ad341d57c44e7e4326de0b550b9a5c4a8361b | |||
| 20 | 16 | ||
| 21 | S = "${WORKDIR}/wxPython-${PV}" | 17 | S = "${WORKDIR}/wxPython-${PV}" |
| 22 | 18 | ||
| 23 | inherit pypi setuptools3 pkgconfig | 19 | inherit pypi setuptools3 pkgconfig features_check |
| 20 | |||
| 21 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | ||
| 24 | 22 | ||
| 25 | export WX_CONFIG = "'${RECIPE_SYSROOT_NATIVE}${bindir}/wx-config --prefix=${STAGING_EXECPREFIXDIR} --baselib=${baselib}'" | 23 | export WX_CONFIG = "'${RECIPE_SYSROOT_NATIVE}${bindir}/wx-config --prefix=${STAGING_EXECPREFIXDIR} --baselib=${baselib}'" |
| 26 | 24 | ||
