-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from YoeDistro/kraj/6.7
Bring latest changes from upstream 6.7 branch
- Loading branch information
Showing
7 changed files
with
117 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
RDEPENDS:${PN}:append:pn-packagegroup-qt6-addons = " python3-pyside6" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only)" | ||
LIC_FILES_CHKSUM = " \ | ||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \ | ||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \ | ||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \ | ||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \ | ||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \ | ||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \ | ||
" | ||
|
||
python() { | ||
if 'clang-layer' not in d.getVar('BBFILE_COLLECTIONS').split(): | ||
raise bb.parse.SkipRecipe('Requires meta-clang to be present.') | ||
} | ||
|
||
inherit setuptools3 | ||
inherit qt6-cmake | ||
|
||
require recipes-qt/qt6/qt6-git.inc | ||
|
||
QT_GIT_PROJECT = "pyside" | ||
QT_MODULE = "pyside-setup" | ||
QT_MODULE_BRANCH = "dev" | ||
|
||
FILESEXTRAPATHS:prepend := "${THISDIR}/pyside6:" | ||
|
||
S = "${WORKDIR}/git" | ||
|
||
EXTRA_OECMAKE += "-DBUILD_TESTS=FALSE" | ||
EXTRA_OECMAKE:append:class-target = " -DQFP_SHIBOKEN_HOST_PATH=${STAGING_EXECPREFIXDIR} -DQFP_PYTHON_HOST_PATH=${PYTHON}" | ||
|
||
INSANE_SKIP:${PN} += "already-stripped" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
require python3-pyside6.inc | ||
|
||
DEPENDS += "\ | ||
python3-shiboken6 \ | ||
python3-shiboken6-native \ | ||
${PYSIDE_QT_MODULES} \ | ||
" | ||
PYSIDE_QT_MODULES ?= "\ | ||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qt3d', '', d)} \ | ||
qtbase \ | ||
qtcharts \ | ||
qtconnectivity \ | ||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtdatavis3d', '', d)} \ | ||
qtdeclarative \ | ||
qtdeclarative-native \ | ||
qtgraphs \ | ||
${@bb.utils.contains('QT_COMMERCIAL_MODULES', '1', 'qthttpserver', '', d)} \ | ||
qtlocation \ | ||
qtmultimedia \ | ||
qtnetworkauth \ | ||
qtpositioning \ | ||
qtquick3d \ | ||
qtquick3d-native \ | ||
qtremoteobjects \ | ||
qtremoteobjects-native \ | ||
qtscxml \ | ||
qtscxml-native \ | ||
qtsensors \ | ||
qtserialbus \ | ||
qtserialport \ | ||
qtspeech \ | ||
qtsvg \ | ||
qttools \ | ||
qtwebchannel \ | ||
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine', '', d)} \ | ||
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtpdf', '', d)} \ | ||
qtwebsockets \ | ||
" | ||
|
||
OECMAKE_SOURCEPATH = "${S}/sources/pyside6" | ||
|
||
export LLVM_INSTALL_DIR = "${STAGING_DIR_NATIVE}${exec_prefix}" | ||
|
||
PYSIDE_COMPILER = "${HOST_SYS}-g++" | ||
PYSIDE_COMPILER:toolchain-clang = "${HOST_SYS}-clang++" | ||
|
||
EXTRA_OECMAKE += "\ | ||
-DSTANDALONE=ON \ | ||
-DPYSIDE_TREAT_QT_INCLUDE_DIRS_AS_NON_SYSTEM=ON \ | ||
-DSHIBOKEN_GENERATOR_EXTRA_FLAGS='\ | ||
--clang-options=--sysroot=${STAGING_DIR_TARGET},--target=${HOST_SYS},${@d.getVar('HOST_CC_ARCH').replace(' ',',')} \ | ||
--compiler-path=${PYSIDE_COMPILER} \ | ||
' \ | ||
" | ||
|
||
FILES:${PN} += "\ | ||
${QT6_INSTALL_PLUGINSDIR}/designer \ | ||
" | ||
FILES:${PN}-dev += "\ | ||
${datadir}/PySide6 \ | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
require python3-pyside6.inc | ||
|
||
DEPENDS += "qtbase clang-native python3-shiboken6-native" | ||
|
||
OECMAKE_SOURCEPATH = "${S}/sources/shiboken6" | ||
|
||
EXTRA_OECMAKE += "-DSHIBOKEN_BUILD_LIBS=ON" | ||
|
||
BBCLASSEXTEND = "native nativesdk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters