blob: 6d3de3f8a7177ad191886d466e33160365e456f9 [file] [log] [blame]
Patrick Williams213cb262021-08-07 19:21:33 -05001PACKAGECONFIG_GL:rpi = "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'gl', \
Andrew Geissler1c349142019-02-19 19:49:56 -06002 bb.utils.contains('DISTRO_FEATURES', 'opengl', 'eglfs gles2', \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08003 '', d), d)}"
Patrick Williams213cb262021-08-07 19:21:33 -05004PACKAGECONFIG_GL:append:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', ' kms', '', d)}"
5PACKAGECONFIG_GL:append:rpi = " gbm"
6PACKAGECONFIG_FONTS:rpi = "fontconfig"
7PACKAGECONFIG:append:rpi = " libinput examples tslib xkbcommon"
8PACKAGECONFIG:remove:rpi = "tests"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08009
Patrick Williams213cb262021-08-07 19:21:33 -050010OE_QTBASE_EGLFS_DEVICE_INTEGRATION:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'eglfs_brcm', d)}"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080011
Patrick Williams213cb262021-08-07 19:21:33 -050012do_configure:prepend:rpi() {
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080013 # Add the appropriate EGLFS_DEVICE_INTEGRATION
14 if [ "${@d.getVar('OE_QTBASE_EGLFS_DEVICE_INTEGRATION')}" != "" ]; then
Andrew Geissler1c349142019-02-19 19:49:56 -060015 echo "EGLFS_DEVICE_INTEGRATION = ${OE_QTBASE_EGLFS_DEVICE_INTEGRATION}" >> ${S}/mkspecs/oe-device-extra.pri
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080016 fi
17}
Patrick Williams213cb262021-08-07 19:21:33 -050018RDEPENDS:${PN}:append:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' userland', d)}"
19DEPENDS:append:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' userland', d)}"