mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
Some recipes require opengl
Qt3d, QtQuick3d and QtGraphicalEffects can be used only if we have opengl. Limit recipes and include them on packagegroups only when possible.
This commit is contained in:
parent
69b4e15f1c
commit
5d294b331d
|
|
@ -8,18 +8,18 @@ inherit packagegroup
|
|||
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
|
||||
|
||||
RDEPENDS_${PN} += " \
|
||||
qt3d \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qt3d', '', d)} \
|
||||
qt5compat \
|
||||
qtbase \
|
||||
qtcoap \
|
||||
qtconnectivity \
|
||||
qtdeclarative \
|
||||
qtgraphicaleffects \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtgraphicaleffects', '', d)} \
|
||||
qtimageformats \
|
||||
qtmqtt \
|
||||
qtnetworkauth \
|
||||
qtopcua \
|
||||
qtquick3d \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtquick3d', '', d)} \
|
||||
qtquickcontrols2 \
|
||||
qtquicktimeline \
|
||||
qtremoteobjects \
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
|
|||
|
||||
|
||||
RDEPENDS_${PN} += "\
|
||||
qt3d-dev \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qt3d-dev', '', d)} \
|
||||
qt5compat-dev \
|
||||
qtbase-dev \
|
||||
qtcoap-dev \
|
||||
|
|
@ -20,6 +20,7 @@ RDEPENDS_${PN} += "\
|
|||
qtmqtt-dev \
|
||||
qtnetworkauth-dev \
|
||||
qtopcua-dev \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtquick3d-dev', '', d)} \
|
||||
qtquick3d-dev \
|
||||
qtquickcontrols2-dev \
|
||||
qtquicktimeline-dev \
|
||||
|
|
|
|||
|
|
@ -6,6 +6,9 @@ LIC_FILES_CHKSUM = " \
|
|||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
inherit features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
|
|
|||
|
|
@ -4,6 +4,9 @@ LIC_FILES_CHKSUM = " \
|
|||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
inherit features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user