summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiaofeng Yan <xiaofeng.yan@windriver.com>2011-08-26 10:13:11 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-29 13:48:03 +0100
commit73b8ac611b0bd53cd1f55c8716768dc935d3d15a (patch)
tree105feb7f4041e354f6946f00bfca863df382e357
parentc7850ddfebc6ae44a65cee212e6648033ae38b72 (diff)
downloadpoky-73b8ac611b0bd53cd1f55c8716768dc935d3d15a.tar.gz
qt4e-demo-image: Fix bug 999
[YOCTO #999] Copy metadata of qt4e-demo-image from OE for easy testing qt4embeded on embedded platform. This image was tested on qemuarm and can run program "qtdemoE". (From OE-Core rev: 612ab0aaf3e693b90bb18234e2517bfc87ee3f7c) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-qt/images/qt4e-demo-image.bb19
-rw-r--r--meta/recipes-qt/tasks/task-qt4e.bb56
2 files changed, 75 insertions, 0 deletions
diff --git a/meta/recipes-qt/images/qt4e-demo-image.bb b/meta/recipes-qt/images/qt4e-demo-image.bb
new file mode 100644
index 0000000000..f2150ca1ce
--- /dev/null
+++ b/meta/recipes-qt/images/qt4e-demo-image.bb
@@ -0,0 +1,19 @@
1LICENSE = "MIT"
2PR="r1"
3
4LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
5 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
6
7DEPENDS += "task-qt4e"
8
9RDEPENDS_${PN} += " \
10 task-qt4e-base \
11 "
12
13IMAGE_INSTALL += "\
14 module-init-tools \
15 task-qt4e-base \
16"
17
18inherit core-image
19
diff --git a/meta/recipes-qt/tasks/task-qt4e.bb b/meta/recipes-qt/tasks/task-qt4e.bb
new file mode 100644
index 0000000000..c95c898538
--- /dev/null
+++ b/meta/recipes-qt/tasks/task-qt4e.bb
@@ -0,0 +1,56 @@
1DESCRIPTION = "QT4 Embedded base Image Feed"
2PR = "r1"
3LICENSE = "MIT"
4
5LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
6 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
7
8inherit task
9
10TOUCH = ' ${@base_contains("MACHINE_FEATURES", "touchscreen", "tslib tslib-calibrate tslib-tests", "",d)}'
11
12PACKAGES += " \
13 ${PN}-base \
14"
15
16RDEPENDS_${PN}-base = " \
17 qt4-embedded \
18 libqt-embedded3support4 \
19 libqt-embeddedclucene4 \
20 libqt-embeddedcore4 \
21 libqt-embeddeddbus4 \
22 libqt-embeddedgui4 \
23 libqt-embeddedhelp4 \
24 libqt-embeddedmultimedia4 \
25 libqt-embeddednetwork4 \
26 libqt-embeddedscript4 \
27 libqt-embeddedscripttools4 \
28 libqt-embeddedsql4 \
29 libqt-embeddedsvg4 \
30 libqt-embeddedtest4 \
31 libqt-embeddedwebkit4 \
32 libqt-embeddedxml4 \
33 qt4-embedded-fonts-ttf-dejavu \
34 qt4-embedded-fonts-ttf-vera \
35 qt4-embedded-plugin-iconengine-svgicon \
36 qt4-embedded-plugin-imageformat-gif \
37 qt4-embedded-plugin-imageformat-ico \
38 qt4-embedded-plugin-imageformat-jpeg \
39 qt4-embedded-plugin-imageformat-mng \
40 qt4-embedded-plugin-imageformat-svg \
41 qt4-embedded-plugin-imageformat-tiff \
42 qt4-embedded-plugin-mousedriver-tslib \
43 qt4-embedded-plugin-phonon-backend-gstreamer \
44 qt4-embedded-plugin-script-dbus \
45 qt4-embedded-plugin-sqldriver-sqlite \
46 ${TOUCH} \
47 qt4-embedded-demos \
48 qt4-embedded-examples \
49 qt-demo-init \
50 qt4-embedded-assistant \
51"
52
53RRECOMMENDS_${PN}-base = " \
54 libqt-embeddedxmlpatterns4 \
55"
56