Patchwork [09/10] task-core-gtk-directfb.bb: Add task list to run gtk over directfb

login
register
mail settings
Submitter Xiaofeng Yan
Date Dec. 8, 2011, 9:34 a.m.
Message ID <c551cb2bfe4a077e3fae0946038871527c348503.1323327959.git.xiaofeng.yan@windriver.com>
Download mbox | patch
Permalink /patch/16515/
State New
Headers show

Comments

Xiaofeng Yan - Dec. 8, 2011, 9:34 a.m.
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>

Add task-core-gtk-directfb.bb to OE core for running gtk over directfb.

[YOCTO #1674]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
 .../tasks/task-core-gtk-directfb.bb                |   26 ++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-graphics/tasks/task-core-gtk-directfb.bb
Phil Blundell - Dec. 8, 2011, 11:22 a.m.
On Thu, 2011-12-08 at 17:34 +0800, Xiaofeng Yan wrote:
> +RDEPENDS_${PN}-base = " \
> +		directfb \
> +		directfb-examples \
> +		pango \
> +		pango-modules \
> +		fontconfig \
> +		gtk+ \
> +		gtk-demo \
> +		dropbear \
> +		${TOUCH} \
> +"

That looks like it's going to fail in the presence of library renaming.
And do you really want dropbear in there?

p.

Patch

diff --git a/meta/recipes-graphics/tasks/task-core-gtk-directfb.bb b/meta/recipes-graphics/tasks/task-core-gtk-directfb.bb
new file mode 100644
index 0000000..239e0c1
--- /dev/null
+++ b/meta/recipes-graphics/tasks/task-core-gtk-directfb.bb
@@ -0,0 +1,26 @@ 
+DESCRIPTION = "gkt+ over directfb without x11"
+PR = "r0"
+LICENSE = "MIT"
+
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+inherit task
+
+TOUCH = ' ${@base_contains("MACHINE_FEATURES", "touchscreen", "tslib tslib-calibrate tslib-tests", "",d)}'
+
+PACKAGES += " \
+	${PN}-base \
+"
+
+RDEPENDS_${PN}-base = " \
+		directfb \
+		directfb-examples \
+		pango \
+		pango-modules \
+		fontconfig \
+		gtk+ \
+		gtk-demo \
+		dropbear \
+		${TOUCH} \
+"