2013-05-07 13:30:56 +00:00
|
|
|
require qt5.inc
|
2013-03-06 20:31:29 +00:00
|
|
|
|
|
|
|
# wayland-native is already in wayland DEPENDS, but add it here
|
|
|
|
# explicitly, because it's native wayland-scanner we're looking for
|
2013-11-02 18:06:14 +00:00
|
|
|
# libxkbcommon isn't mandatory make it easier to remove by .bbappend
|
|
|
|
# (e.g. for building qtwayland with danny which doesn't have libxkbcommon in oe-core).
|
2013-07-03 14:42:59 +00:00
|
|
|
XKB_DEPENDS = "libxkbcommon xproto"
|
2013-08-03 13:27:50 +00:00
|
|
|
DEPENDS += "qtbase qtdeclarative wayland wayland-native qtwayland-native ${XKB_DEPENDS}"
|
2013-03-06 20:31:29 +00:00
|
|
|
|
|
|
|
QT_WAYLAND_CONFIG ?= "wayland-compositor"
|
|
|
|
QT_WAYLAND_DEFINES ?= ""
|
2013-08-10 09:17:13 +00:00
|
|
|
QT_WAYLAND_BUILD_PARTS ?= "examples"
|
2013-03-06 20:31:29 +00:00
|
|
|
|
|
|
|
EXTRA_QMAKEVARS_PRE += "CONFIG+=${QT_WAYLAND_CONFIG}"
|
|
|
|
EXTRA_QMAKEVARS_PRE += "DEFINES+=${QT_WAYLAND_DEFINES}"
|
2013-08-10 09:17:13 +00:00
|
|
|
EXTRA_QMAKEVARS_PRE += "QT_BUILD_PARTS+=${QT_WAYLAND_BUILD_PARTS}"
|
2014-02-10 20:45:00 +00:00
|
|
|
|
|
|
|
FILES_${PN}-plugins += " \
|
|
|
|
${OE_QMAKE_PATH_PLUGINS}/*/*/*${SOLIBSDEV} \
|
|
|
|
"
|
|
|
|
|
|
|
|
FILES_${PN}-plugins-dbg += " \
|
|
|
|
${OE_QMAKE_PATH_PLUGINS}/*/*/.debug/* \
|
|
|
|
"
|