summaryrefslogtreecommitdiffstats
path: root/common/recipes-graphics/directfb/directfb_git.bb
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2015-03-25 10:47:45 +0900
committerNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2015-03-25 10:47:45 +0900
commit1c35920d85e424b3f65aa6df1dbde689dd6ec007 (patch)
tree58b2cacb3674111aad5a4ded694db0cef5cf55f3 /common/recipes-graphics/directfb/directfb_git.bb
commit BSP v1.8.0
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Diffstat (limited to 'common/recipes-graphics/directfb/directfb_git.bb')
-rw-r--r--common/recipes-graphics/directfb/directfb_git.bb68
1 files changed, 68 insertions, 0 deletions
diff --git a/common/recipes-graphics/directfb/directfb_git.bb b/common/recipes-graphics/directfb/directfb_git.bb
new file mode 100644
index 0000000..87da7c8
--- /dev/null
+++ b/common/recipes-graphics/directfb/directfb_git.bb
@@ -0,0 +1,68 @@
+DEFAULT_PREFERENCE = "-1"
+
+require directfb_git.inc
+
+RV = "1.8-0"
+PR = "r6"
+S = "${WORKDIR}/git"
+
+DEPENDS += "flux-native sysfsutils libuiomux libdrm linux-fusion khronos-headers"
+
+SRC_URI += "file://fix-compilation-with-zlib.patch \
+ file://directfbrc \
+ file://0001-drmkms-fix-property-to-check-when-setting-source-col.patch \
+ file://0002-drmkms-mute-plane-when-opacity-is-set-to-zero.patch \
+ "
+
+SRCREV = "b5301bba8c0878d86cb5a1901ccc587ecea20673"
+
+EXTRA_OECONF = "\
+ --enable-freetype \
+ --enable-zlib \
+ --disable-sdl \
+ --disable-vnc \
+ --disable-x11 \
+ --disable-imlib2 \
+ --disable-mesa \
+ --enable-trace \
+ --enable-debug \
+ --enable-debug-support \
+ --disable-one \
+ --enable-multi \
+ --enable-multicore \
+ --enable-network \
+ --enable-voodoo \
+ --enable-sawman \
+ --enable-fusiondale \
+ --enable-fusionsound \
+ --disable-unique \
+ --with-tests \
+ --with-fs-drivers=dummy \
+ --with-inputdrivers=linuxinput \
+ --without-smooth-scaling \
+ --without-vorbis \
+ --enable-fbdev \
+ --enable-png \
+ --disable-x11vdpau \
+ --disable-devmem \
+ --disable-linotype \
+ --enable-drmkms \
+ --enable-idirectfbgl-egl \
+ --with-gfxdrivers=gp2d \
+"
+
+TARGET_CFLAGS += "-I${STAGING_INCDIR}/libdrm"
+
+do_configure_prepend() {
+ export GP2D_LIBS="-ldrm"
+ export DRMKMS_LIBS="-ldrm -lkms"
+}
+
+do_install_append () {
+ install -d ${D}/etc
+ install -m 0644 ${WORKDIR}/directfbrc ${D}/etc/
+ rm -rf ${D}/usr/lib/nm-n.*
+}
+
+LEAD_SONAME = "libdirectfb-1.8.so.0"
+