directfb: Add freetype PACKAGECONFIG

freetype was always enabled in DEPENDS and EXTRA_OEMAKE. Now it is
a PACKAGECONFIG which is enabled by default.

Signed-off-by: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Ricardo Simoes 2024-08-26 16:16:42 +02:00 committed by Khem Raj
parent 4553cbc127
commit ebc0a3f2e2
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -9,7 +9,7 @@ LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=dcf3c825659e82539645da41a7908589"
HOMEPAGE = "http://directfb.org"
DEPENDS = "jpeg libpng freetype zlib sysfsutils"
DEPENDS = "jpeg libpng zlib sysfsutils"
SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/DirectFB-${PV}.tar.gz \
file://configurefix.patch \
@ -40,8 +40,9 @@ BINCONFIG = "${bindir}/directfb-config"
inherit autotools binconfig-disabled pkgconfig
PACKAGECONFIG ??= "linuxinput"
PACKAGECONFIG ??= "freetype linuxinput"
PACKAGECONFIG[drmkms] = "--enable-drmkms,--disable-drmkms,libdrm"
PACKAGECONFIG[freetype] = "--enable-freetype,--disable-freetype,freetype"
PACKAGECONFIG[jpeg2000] = "--enable-jpeg2000,--disable-jpeg2000,jasper"
PACKAGECONFIG[mesa] = "--enable-mesa,--disable-mesa,virtual/mesa,"
PACKAGECONFIG[linuxinput] = "--with-inputdrivers=linuxinput,,"
@ -53,7 +54,6 @@ PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,xserver-xorg,"
EXTRA_OECONF = "\
--with-gfxdrivers=none \
--enable-freetype=yes \
--enable-zlib \
--disable-imlib2 \
--disable-sdl \