mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 23:05:34 +01:00
sip/cpp/sip_corewxWindow.cpp requires gdk/gdkx.h which wont be built
when gtk is built without x11, therefore require x11 when building this
recipe, if gdkx.h is removed form includes then it fails
../../../../sip/cpp/sip_corewxWindow.cpp:56:16: error: unknown type name 'XID'
static XID GetXWindow(const wxWindow* wxwin) {
^
../../../../sip/cpp/sip_corewxWindow.cpp:59:28: error: use of undeclared identifier 'GDK_WINDOW_XID'
return GDK_WINDOW_XID(gtk_widget_get_window((wxwin)->m_wxwindow));
^
../../../../sip/cpp/sip_corewxWindow.cpp:64:28: error: use of undeclared identifier 'GDK_WINDOW_XID'
return GDK_WINDOW_XID(gtk_widget_get_window((wxwin)->m_widget));
^
so it is using it and will need some work to get it going without x11
until then disable building it on non-x11 distros
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Robert Yang <liezhi.yang@windriver.com>
35 lines
977 B
BlitzBasic
35 lines
977 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
|
|
|
|
REQUIRED_DISTRO_FEATURES = "x11"
|
|
|
|
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 \
|
|
"
|