From 13337528b3fe5ece895a994a5a15ad650265dd81 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 17 Nov 2018 01:08:47 -0800 Subject: [PATCH] images: Add QT5 sample images for eglfs/X11/wayland systems Signed-off-by: Khem Raj --- recipes-core/images/qt5.inc | 40 ++++++++++++++++++++ recipes-core/images/yoe-qt5-eglfs-image.bb | 17 +++++++++ recipes-core/images/yoe-qt5-wayland-image.bb | 21 ++++++++++ recipes-core/images/yoe-qt5-x11-image.bb | 17 +++++++++ 4 files changed, 95 insertions(+) create mode 100644 recipes-core/images/qt5.inc create mode 100644 recipes-core/images/yoe-qt5-eglfs-image.bb create mode 100644 recipes-core/images/yoe-qt5-wayland-image.bb create mode 100644 recipes-core/images/yoe-qt5-x11-image.bb diff --git a/recipes-core/images/qt5.inc b/recipes-core/images/qt5.inc new file mode 100644 index 000000000..fe7ede8fe --- /dev/null +++ b/recipes-core/images/qt5.inc @@ -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 \ +" diff --git a/recipes-core/images/yoe-qt5-eglfs-image.bb b/recipes-core/images/yoe-qt5-eglfs-image.bb new file mode 100644 index 000000000..9863bca25 --- /dev/null +++ b/recipes-core/images/yoe-qt5-eglfs-image.bb @@ -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" diff --git a/recipes-core/images/yoe-qt5-wayland-image.bb b/recipes-core/images/yoe-qt5-wayland-image.bb new file mode 100644 index 000000000..c4bdfd368 --- /dev/null +++ b/recipes-core/images/yoe-qt5-wayland-image.bb @@ -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" diff --git a/recipes-core/images/yoe-qt5-x11-image.bb b/recipes-core/images/yoe-qt5-x11-image.bb new file mode 100644 index 000000000..914051d8f --- /dev/null +++ b/recipes-core/images/yoe-qt5-x11-image.bb @@ -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"