directfb: Add zlib PACKAGECONFIG

zlib 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:43 +02:00 committed by Khem Raj
parent ebc0a3f2e2
commit 3f825482d3
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 zlib sysfsutils"
DEPENDS = "jpeg libpng sysfsutils"
SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/DirectFB-${PV}.tar.gz \
file://configurefix.patch \
@ -40,7 +40,7 @@ BINCONFIG = "${bindir}/directfb-config"
inherit autotools binconfig-disabled pkgconfig
PACKAGECONFIG ??= "freetype linuxinput"
PACKAGECONFIG ??= "freetype linuxinput zlib"
PACKAGECONFIG[drmkms] = "--enable-drmkms,--disable-drmkms,libdrm"
PACKAGECONFIG[freetype] = "--enable-freetype,--disable-freetype,freetype"
PACKAGECONFIG[jpeg2000] = "--enable-jpeg2000,--disable-jpeg2000,jasper"
@ -51,10 +51,10 @@ PACKAGECONFIG[tiff] = "--enable-tiff,--disable-tiff,tiff"
PACKAGECONFIG[tslib] = "--with-inputdrivers=tslib,,tslib"
PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp"
PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,xserver-xorg,"
PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib"
EXTRA_OECONF = "\
--with-gfxdrivers=none \
--enable-zlib \
--disable-imlib2 \
--disable-sdl \
--disable-vnc \