diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:19:58 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:19:58 +0200 |
commit | f98b448ee835646be48f530b3e6fe13b32b093f5 (patch) | |
tree | 9d1062f1e8893e72829df650f5e558c5fb255955 /recipes-graphics/directfb/directfb.inc | |
download | meta-fsl-arm-f98b448ee835646be48f530b3e6fe13b32b093f5.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'recipes-graphics/directfb/directfb.inc')
-rw-r--r-- | recipes-graphics/directfb/directfb.inc | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/recipes-graphics/directfb/directfb.inc b/recipes-graphics/directfb/directfb.inc new file mode 100644 index 0000000..a23209f --- /dev/null +++ b/recipes-graphics/directfb/directfb.inc | |||
@@ -0,0 +1,73 @@ | |||
1 | SUMMARY = "Graphics abstraction library for the Linux Framebuffer Device" | ||
2 | DESCRIPTION = "DirectFB is a thin library that provides developers \ | ||
3 | with hardware graphics acceleration, input device handling and \ | ||
4 | abstraction, an integrated windowing system with support for \ | ||
5 | translucent windows and multiple display layers on top of the \ | ||
6 | Linux framebuffer device." | ||
7 | SECTION = "libs" | ||
8 | LICENSE = "LGPLv2.1" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=dcf3c825659e82539645da41a7908589" | ||
10 | |||
11 | HOMEPAGE = "http://directfb.org" | ||
12 | DEPENDS = "jpeg libpng freetype zlib tslib" | ||
13 | |||
14 | INC_PR = "r0" | ||
15 | |||
16 | SRC_URI = "http://directfb.org/downloads/Core/DirectFB-1.6/DirectFB-${PV}.tar.gz \ | ||
17 | file://configurefix.patch \ | ||
18 | file://fusion.patch" | ||
19 | |||
20 | S = "${WORKDIR}/DirectFB-${PV}" | ||
21 | |||
22 | LDFLAGS_append =" -lts -lm" | ||
23 | |||
24 | inherit autotools binconfig pkgconfig | ||
25 | |||
26 | PACKAGECONFIG ??= "" | ||
27 | PACKAGECONFIG[jpeg2000] = "--enable-jpeg2000,--disable-jpeg2000,jasper" | ||
28 | |||
29 | EXTRA_OECONF = "\ | ||
30 | --with-gfxdrivers=none \ | ||
31 | --enable-libmpeg3=no \ | ||
32 | --enable-freetype=yes \ | ||
33 | --enable-sdl=no \ | ||
34 | --enable-vnc=no \ | ||
35 | --disable-x11 \ | ||
36 | --disable-mesa \ | ||
37 | " | ||
38 | |||
39 | #Once -fno-omit-frame-pointer option of gcc is added into TARGET_CLFAGS as default | ||
40 | #this will cause directfb build failure on x86 arch, so filter out it. | ||
41 | TARGET_CFLAGS_x86 := "${@oe_filter_out('-fno-omit-frame-pointer', '${TARGET_CFLAGS}', d)}" | ||
42 | |||
43 | #PACKAGES_DYNAMIC += "^directfb-inputdrivers-.*" | ||
44 | # | ||
45 | #python populate_packages_prepend () { | ||
46 | # inputdrivers_libdir = d.expand('${libdir}/directfb-${RV}/inputdrivers') | ||
47 | # do_split_packages(d, inputdrivers_libdir, '*.so$', 'directfb-inputdrivers-%s', 'Directfb plugin for %s') | ||
48 | #} | ||
49 | |||
50 | # NOTE: monolithic packaging for now, should improve that eventually | ||
51 | |||
52 | |||
53 | |||
54 | FILES_${PN}-dbg += "\ | ||
55 | ${libdir}/directfb-${RV}/*/*/.debug/*.so \ | ||
56 | ${libdir}/directfb-${RV}/*/.debug/*.so \ | ||
57 | " | ||
58 | |||
59 | FILES_${PN}-dev += "\ | ||
60 | ${bindir}/directfb-config \ | ||
61 | ${libdir}/directfb-${RV}/systems/*.la \ | ||
62 | ${libdir}/directfb-${RV}/inputdrivers/*.la \ | ||
63 | ${libdir}/directfb-${RV}/interfaces/*/*.la \ | ||
64 | ${libdir}/directfb-${RV}/wm/*.la \ | ||
65 | " | ||
66 | |||
67 | FILES_${PN} += "\ | ||
68 | ${libdir}/directfb-${RV}/systems/*.so \ | ||
69 | ${libdir}/directfb-${RV}/inputdrivers/*.so \ | ||
70 | ${libdir}/directfb-${RV}/interfaces/*/*.so \ | ||
71 | ${libdir}/directfb-${RV}/wm/*.so \ | ||
72 | ${datadir}/directfb-${PV} \ | ||
73 | " | ||