From 0c97fd9d721cea9786e89a557418649ef4576cfd Mon Sep 17 00:00:00 2001 From: Xiaofeng Yan Date: Fri, 16 Dec 2011 16:12:38 +0800 Subject: core-image-gtk-directfb: add a bb file to build an image for gtk over directfb This file can make an image to run gtk over directfb. [YOCTO #1674] Signed-off-by: Xiaofeng Yan Signed-off-by: Richard Purdie --- .../images/core-image-gtk-directfb.bb | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 meta/recipes-graphics/images/core-image-gtk-directfb.bb (limited to 'meta/recipes-graphics/images') 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 000000000..87b3a86de --- /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") +} -- cgit v1.2.3