blob: e48f31d117534c4c58a4c982f2fdb7f7b2fa2c3e [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001PACKAGECONFIG_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)}"
Brad Bishop19323692019-04-05 15:28:33 -04004PACKAGECONFIG_GL_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', ' kms', '', d)}"
5PACKAGECONFIG_GL_append_rpi = " gbm"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08006PACKAGECONFIG_FONTS_rpi = "fontconfig"
Andrew Geissler062316f2020-05-15 14:19:14 -05007PACKAGECONFIG_append_rpi = " libinput examples tslib xkbcommon"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08008PACKAGECONFIG_remove_rpi = "tests"
9
Andrew Geissler1c349142019-02-19 19:49:56 -060010OE_QTBASE_EGLFS_DEVICE_INTEGRATION_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'eglfs_brcm', d)}"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080011
12do_configure_prepend_rpi() {
13 # 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}
Andrew Geissler062316f2020-05-15 14:19:14 -050018RDEPENDS_${PN}_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' userland', d)}"
Brad Bishop19323692019-04-05 15:28:33 -040019DEPENDS_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' userland', d)}"