[Buildroot] [git commit] package/xapp_xfd: add optional xlib_libxkbfile dependency
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sun Mar 17 11:15:34 UTC 2019
commit: https://git.buildroot.net/buildroot/commit/?id=38b0aabea070e9e0d48ae28f25f38b472e5f617d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes:
- http://autobuild.buildroot.org/results/6a487750c0f08f1a87ae4e30e139e5a1a6004b81
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/x11r7/xapp_xfd/xapp_xfd.mk | 7 +++++++
1 file changed, 7 insertions(+)
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))
More information about the buildroot
mailing list