meta-qt6/recipes-python/pyside6/python3-shiboken6_git.bb
Samuli Piippo 140cfda309 pyside6: adapt to changed header location
Pyside6 is using unconventional header location which needs
special handling.

Task-number: PYSIDE-3211
Change-Id: I00cd14f0fdf1f8a5a1af3afb8e092b1c7fa27df2
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-10-24 13:12:49 +00:00

21 lines
555 B
BlitzBasic

require python3-pyside6.inc
DEPENDS += "qtbase clang-native python3-shiboken6-native"
OECMAKE_SOURCEPATH = "${S}/sources/shiboken6"
EXTRA_OECMAKE += "-DSHIBOKEN_BUILD_LIBS=ON"
do_install:append() {
# shiboken6.pc in package python3-shiboken6-dev contains reference to TMPDIR [buildpaths]
sed -i ${D}${QT6_INSTALL_LIBDIR}/pkgconfig/shiboken6.pc \
-e '/^python_/d' \
-e 's|${RECIPE_SYSROOT}||'
}
FILES:${PN}-dev += "${prefix}/shiboken6/include"
SYSROOT_DIRS += "${prefix}/shiboken6/include"
BBCLASSEXTEND = "native nativesdk"