summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/directfb/directfb.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-graphics/directfb/directfb.inc')
-rw-r--r--meta-oe/recipes-graphics/directfb/directfb.inc25
1 files changed, 12 insertions, 13 deletions
diff --git a/meta-oe/recipes-graphics/directfb/directfb.inc b/meta-oe/recipes-graphics/directfb/directfb.inc
index 4d38632e25..0dc410b2cb 100644
--- a/meta-oe/recipes-graphics/directfb/directfb.inc
+++ b/meta-oe/recipes-graphics/directfb/directfb.inc
@@ -9,7 +9,7 @@ LICENSE = "LGPL-2.1-only"
9LIC_FILES_CHKSUM = "file://COPYING;md5=dcf3c825659e82539645da41a7908589" 9LIC_FILES_CHKSUM = "file://COPYING;md5=dcf3c825659e82539645da41a7908589"
10 10
11HOMEPAGE = "http://directfb.org" 11HOMEPAGE = "http://directfb.org"
12DEPENDS = "jpeg libpng freetype zlib sysfsutils" 12DEPENDS = "jpeg libpng"
13 13
14SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/DirectFB-${PV}.tar.gz \ 14SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/DirectFB-${PV}.tar.gz \
15 file://configurefix.patch \ 15 file://configurefix.patch \
@@ -24,36 +24,35 @@ SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/DirectFB-${PV}.tar.g
24 file://0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch \ 24 file://0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch \
25 file://0001-os-linux-Fix-build-when-__NR_futex-is-not-available.patch \ 25 file://0001-os-linux-Fix-build-when-__NR_futex-is-not-available.patch \
26 file://0001-include-libgen.h-for-basename.patch \ 26 file://0001-include-libgen.h-for-basename.patch \
27 file://0001-inputdrivers-Correct-the-signature-of-bind-call-on-m.patch \
28 file://0001-libdirect-remove-use-of-keyword-register.patch \
27 " 29 "
28 30
29S = "${WORKDIR}/DirectFB-${PV}" 31S = "${UNPACKDIR}/DirectFB-${PV}"
30 32
31LDFLAGS:append = " -lm" 33LDFLAGS:append = " -lm"
32 34
33CXXFLAGS:append:toolchain-clang = " -Wno-error=dtor-typedef" 35CXXFLAGS:append:toolchain-clang = " -Wno-error=dtor-typedef"
34 36
35# Workaround for linking issues seen with armv7a + gold
36LDFLAGS:append:arm = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
37
38BINCONFIG = "${bindir}/directfb-config" 37BINCONFIG = "${bindir}/directfb-config"
39 38
40inherit autotools binconfig-disabled pkgconfig 39inherit autotools binconfig-disabled pkgconfig
41 40
42PACKAGECONFIG ??= "linuxinput" 41PACKAGECONFIG ??= "freetype linuxinput zlib"
43PACKAGECONFIG[jpeg2000] = "--enable-jpeg2000,--disable-jpeg2000,jasper"
44PACKAGECONFIG[drmkms] = "--enable-drmkms,--disable-drmkms,libdrm" 42PACKAGECONFIG[drmkms] = "--enable-drmkms,--disable-drmkms,libdrm"
45PACKAGECONFIG[tiff] = "--enable-tiff,--disable-tiff,tiff" 43PACKAGECONFIG[freetype] = "--enable-freetype,--disable-freetype,freetype"
46PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" 44PACKAGECONFIG[jpeg2000] = "--enable-jpeg2000,--disable-jpeg2000,jasper"
47PACKAGECONFIG[tslib] = "--with-inputdrivers=tslib,,tslib" 45PACKAGECONFIG[mesa] = "--enable-mesa,--disable-mesa,virtual/mesa,"
48PACKAGECONFIG[linuxinput] = "--with-inputdrivers=linuxinput,," 46PACKAGECONFIG[linuxinput] = "--with-inputdrivers=linuxinput,,"
49PACKAGECONFIG[noinput] = "--with-inputdrivers=none,," 47PACKAGECONFIG[noinput] = "--with-inputdrivers=none,,"
50PACKAGECONFIG[mesa] = "--enable-mesa,--disable-mesa,virtual/mesa," 48PACKAGECONFIG[tiff] = "--enable-tiff,--disable-tiff,tiff"
49PACKAGECONFIG[tslib] = "--with-inputdrivers=tslib,,tslib"
50PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp"
51PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,xserver-xorg," 51PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,xserver-xorg,"
52PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib"
52 53
53EXTRA_OECONF = "\ 54EXTRA_OECONF = "\
54 --with-gfxdrivers=none \ 55 --with-gfxdrivers=none \
55 --enable-freetype=yes \
56 --enable-zlib \
57 --disable-imlib2 \ 56 --disable-imlib2 \
58 --disable-sdl \ 57 --disable-sdl \
59 --disable-vnc \ 58 --disable-vnc \