From: Fabrice Fontaine Date: Sat, 16 Mar 2019 18:25:24 +0000 (+0100) Subject: package/xapp_xfd: add optional xlib_libxkbfile dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38b0aabea070e9e0d48ae28f25f38b472e5f617d;p=buildroot.git package/xapp_xfd: add optional xlib_libxkbfile dependency Fixes: - http://autobuild.buildroot.org/results/6a487750c0f08f1a87ae4e30e139e5a1a6004b81 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/x11r7/xapp_xfd/xapp_xfd.mk b/package/x11r7/xapp_xfd/xapp_xfd.mk index 84b4a77770..8bea7a2fa7 100644 --- a/package/x11r7/xapp_xfd/xapp_xfd.mk +++ b/package/x11r7/xapp_xfd/xapp_xfd.mk @@ -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))