package/xapp_xfd: add optional xlib_libxkbfile dependency

Fixes:
 - http://autobuild.buildroot.org/results/6a487750c0f08f1a87ae4e30e139e5a1a6004b81

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2019-03-16 19:25:24 +01:00 committed by Thomas Petazzoni
parent 0a34650cb1
commit 38b0aabea0

View File

@ -12,4 +12,11 @@ XAPP_XFD_LICENSE_FILES = COPYING
XAPP_XFD_DEPENDENCIES = freetype fontconfig xlib_libXaw xlib_libXft
XAPP_XFD_CONF_OPTS = --with-appdefaultdir=/usr/share/X11/app-defaults
ifeq ($(BR2_PACKAGE_XLIB_LIBXKBFILE),y)
XAPP_XFD_CONF_OPTS += --with-xkb
XAPP_XFD_DEPENDENCIES += xlib_libxkbfile
else
XAPP_XFD_CONF_OPTS += --without-xkb
endif
$(eval $(autotools-package))