Patchwork [1/1] core-image-gtk-directfb: add a bb file to build an image for gtk over directfb

login
register
mail settings
Submitter Xiaofeng Yan
Date Dec. 16, 2011, 8:12 a.m.
Message ID <f3e64282a610ee0dc8b4190e936709f909491d8c.1324022816.git.xiaofeng.yan@windriver.com>
Download mbox | patch
Permalink /patch/17105/
State Accepted
Commit 0c97fd9d721cea9786e89a557418649ef4576cfd
Headers show

Comments

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

This file can make an image to run gtk over directfb.

[YOCTO #1674]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
 .../images/core-image-gtk-directfb.bb              |   28 ++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-graphics/images/core-image-gtk-directfb.bb
Richard Purdie - Jan. 5, 2012, 11:26 a.m.
On Fri, 2011-12-16 at 16:12 +0800, Xiaofeng Yan wrote:
> From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
> 
> This file can make an image to run gtk over directfb.
> 
> [YOCTO #1674]
> 
> Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
> ---
>  .../images/core-image-gtk-directfb.bb              |   28 ++++++++++++++++++++
>  1 files changed, 28 insertions(+), 0 deletions(-)
>  create mode 100644 meta/recipes-graphics/images/core-image-gtk-directfb.bb

Merged to master, thanks.

Richard

Patch

diff --git a/meta/recipes-graphics/images/core-image-gtk-directfb.bb b/meta/recipes-graphics/images/core-image-gtk-directfb.bb
new file mode 100644
index 0000000..87b3a86
--- /dev/null
+++ b/meta/recipes-graphics/images/core-image-gtk-directfb.bb
@@ -0,0 +1,28 @@ 
+LICENSE = "MIT"
+PR="r0"
+
+
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+
+DEPENDS += "task-core-gtk-directfb"
+
+RDEPENDS_${PN} += " \
+	task-core-gtk-directfb-base \
+	"
+
+inherit core-image
+
+IMAGE_INSTALL += "\
+	${POKY_BASE_INSTALL} \
+	task-core-basic \
+	module-init-tools \
+	task-core-gtk-directfb-base \
+"
+
+python __anonymous () {
+	packages = d.getVar('DISTRO_FEATURES', True).split()
+	if "x11" in packages:
+		raise bb.parse.SkipPackage("FEATURE \"x11\" is in DISTRO_FEATURES, Please remove \"x11\" from DISTRO_FEATURES, use \"gtk-directfb\" instead of it\n")
+}