Files
meta-openembedded/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb
Robert Yang 46612115db 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>
2022-04-11 09:22:30 -04:00

35 lines
993 B
BlitzBasic

DESCRIPTION = "Python3 interface to the wxWidgets Cross-platform C++ GUI toolkit."
HOMEPAGE = "http://www.wxpython.org"
LICENSE = "WXwindows"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fce1d18e2d633d41786c0a8dfbc80917"
DEPENDS = "wxwidgets-native wxwidgets"
PYPI_PACKAGE = "wxPython"
SRC_URI += "file://add-back-option-build-base.patch \
file://wxgtk-fixup-build-scripts.patch \
file://sip-fix-override-functions.patch \
"
SRC_URI[sha256sum] = "00e5e3180ac7f2852f342ad341d57c44e7e4326de0b550b9a5c4a8361b6c3528"
S = "${WORKDIR}/wxPython-${PV}"
inherit pypi setuptools3 pkgconfig features_check
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
export WX_CONFIG = "'${RECIPE_SYSROOT_NATIVE}${bindir}/wx-config --prefix=${STAGING_EXECPREFIXDIR} --baselib=${baselib}'"
RDEPENDS:${PN} = "\
python3-difflib \
python3-image \
python3-numpy \
python3-pillow \
python3-pprint \
python3-pycairo \
python3-six \
python3-xml \
"