Skip to content

Commit

Permalink
images: Add QT5 sample images for eglfs/X11/wayland systems
Browse files Browse the repository at this point in the history
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Nov 17, 2018
1 parent 4b481fa commit 1333752
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 0 deletions.
40 changes: 40 additions & 0 deletions recipes-core/images/qt5.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
QT5APPS += " \
cinematicexperience \
qt5-demo-extrafiles \
qt5everywheredemo \
qt5nmapcarousedemo \
qt5ledscreen \
qt5nmapper \
qtsmarthome \
quitbattery \
quitindicators \
"
QT5BASE = "\
qtbase \
qtbase-plugins \
qtbase-tools \
qtmultimedia \
qtmultimedia-plugins \
qtmultimedia-qmlplugins \
qtsvg \
qtsvg-plugins \
qtsensors \
qtsystems \
qtsystems-tools \
qtsystems-qmlplugins \
qtscript \
qtgraphicaleffects-qmlplugins \
qtconnectivity-qmlplugins \
qtlocation-plugins \
qtlocation-qmlplugins \
qtdeclarative \
qtdeclarative-qmlplugins \
qtdeclarative-plugins \
"
QTWEBKIT ??= "\
qtquick1 \
qtquick1-qmlplugins \
qtquick1-plugins \
qtwebkit \
qtwebkit-qmlplugins \
"
17 changes: 17 additions & 0 deletions recipes-core/images/yoe-qt5-eglfs-image.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Yoe QT5 sample image

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690"

require yoe-simple-image.bb
require qt5.inc

CONFLICT_DISTRO_FEATURES = "wayland x11"

REQUIRED_DISTRO_FEATURES = "opengl"

IMAGE_INSTALL += " \
${QT5APPS} \
${QT5BASE} \
"
export IMAGE_BASENAME = "yoe-qt5-eglfs-image"
21 changes: 21 additions & 0 deletions recipes-core/images/yoe-qt5-wayland-image.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Yoe QT5/Wayland sample image

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690"

require yoe-simple-image.bb
require qt5.inc

REQUIRED_DISTRO_FEATURES = "wayland"

IMAGE_FEATURES += "splash"

CORE_IMAGE_BASE_INSTALL += " \
weston weston-init \
weston-examples \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'weston-xwayland', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland-plugins', '', d)} \
${QT5APPS} \
${QT5BASE} \
"
export IMAGE_BASENAME = "yoe-qt5-wayland-image"
17 changes: 17 additions & 0 deletions recipes-core/images/yoe-qt5-x11-image.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Yoe QT5/X11 sample image

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690"

require yoe-simple-image.bb
require qt5.inc

REQUIRED_DISTRO_FEATURES = "x11"

IMAGE_FEATURES += "splash x11-base"

IMAGE_INSTALL += " \
${QT5APPS} \
${QT5BASE} \
"
export IMAGE_BASENAME = "yoe-qt5-x11-image"

0 comments on commit 1333752

Please sign in to comment.