diff options
Diffstat (limited to 'meta-oe/recipes-graphics/directfb/directfb.inc')
-rw-r--r-- | meta-oe/recipes-graphics/directfb/directfb.inc | 25 |
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" | |||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=dcf3c825659e82539645da41a7908589" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=dcf3c825659e82539645da41a7908589" |
10 | 10 | ||
11 | HOMEPAGE = "http://directfb.org" | 11 | HOMEPAGE = "http://directfb.org" |
12 | DEPENDS = "jpeg libpng freetype zlib sysfsutils" | 12 | DEPENDS = "jpeg libpng" |
13 | 13 | ||
14 | SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/DirectFB-${PV}.tar.gz \ | 14 | SRC_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 | ||
29 | S = "${WORKDIR}/DirectFB-${PV}" | 31 | S = "${UNPACKDIR}/DirectFB-${PV}" |
30 | 32 | ||
31 | LDFLAGS:append = " -lm" | 33 | LDFLAGS:append = " -lm" |
32 | 34 | ||
33 | CXXFLAGS:append:toolchain-clang = " -Wno-error=dtor-typedef" | 35 | CXXFLAGS:append:toolchain-clang = " -Wno-error=dtor-typedef" |
34 | 36 | ||
35 | # Workaround for linking issues seen with armv7a + gold | ||
36 | LDFLAGS:append:arm = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | ||
37 | |||
38 | BINCONFIG = "${bindir}/directfb-config" | 37 | BINCONFIG = "${bindir}/directfb-config" |
39 | 38 | ||
40 | inherit autotools binconfig-disabled pkgconfig | 39 | inherit autotools binconfig-disabled pkgconfig |
41 | 40 | ||
42 | PACKAGECONFIG ??= "linuxinput" | 41 | PACKAGECONFIG ??= "freetype linuxinput zlib" |
43 | PACKAGECONFIG[jpeg2000] = "--enable-jpeg2000,--disable-jpeg2000,jasper" | ||
44 | PACKAGECONFIG[drmkms] = "--enable-drmkms,--disable-drmkms,libdrm" | 42 | PACKAGECONFIG[drmkms] = "--enable-drmkms,--disable-drmkms,libdrm" |
45 | PACKAGECONFIG[tiff] = "--enable-tiff,--disable-tiff,tiff" | 43 | PACKAGECONFIG[freetype] = "--enable-freetype,--disable-freetype,freetype" |
46 | PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" | 44 | PACKAGECONFIG[jpeg2000] = "--enable-jpeg2000,--disable-jpeg2000,jasper" |
47 | PACKAGECONFIG[tslib] = "--with-inputdrivers=tslib,,tslib" | 45 | PACKAGECONFIG[mesa] = "--enable-mesa,--disable-mesa,virtual/mesa," |
48 | PACKAGECONFIG[linuxinput] = "--with-inputdrivers=linuxinput,," | 46 | PACKAGECONFIG[linuxinput] = "--with-inputdrivers=linuxinput,," |
49 | PACKAGECONFIG[noinput] = "--with-inputdrivers=none,," | 47 | PACKAGECONFIG[noinput] = "--with-inputdrivers=none,," |
50 | PACKAGECONFIG[mesa] = "--enable-mesa,--disable-mesa,virtual/mesa," | 48 | PACKAGECONFIG[tiff] = "--enable-tiff,--disable-tiff,tiff" |
49 | PACKAGECONFIG[tslib] = "--with-inputdrivers=tslib,,tslib" | ||
50 | PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" | ||
51 | PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,xserver-xorg," | 51 | PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,xserver-xorg," |
52 | PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" | ||
52 | 53 | ||
53 | EXTRA_OECONF = "\ | 54 | EXTRA_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 \ |