Commit c7cf9fb0 authored by Florent Revest's avatar Florent Revest

qml-asteroid: define ROUND_SCREEN if the target device has one

parent 5d1da83b
......@@ -15,6 +15,11 @@ RDEPENDS_${PN} += "qtquickcontrols-qmlplugins asteroid-theme-moka qtsvg-plugins
do_configure_prepend() {
sed -i "s@examples@@" ${S}/qml-asteroid.pro
if [ ${MACHINE_DISPLAY_ROUND} = "true" ]
then
export EXTRA_QMAKEVARS_PRE="DEFINES+=ROUND_SCREEN"
fi
}
FILES_${PN} += "/usr/lib"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment