kumquat-buildroot/package/libxkbcommon/libxkbcommon.mk

27 lines
776 B
Makefile
Raw Normal View History

################################################################################
#
# libxkbcommon
#
################################################################################
LIBXKBCOMMON_VERSION = 1.0.3
LIBXKBCOMMON_SITE = http://xkbcommon.org/download
LIBXKBCOMMON_SOURCE = libxkbcommon-$(LIBXKBCOMMON_VERSION).tar.xz
LIBXKBCOMMON_LICENSE = MIT/X11
LIBXKBCOMMON_LICENSE_FILES = LICENSE
LIBXKBCOMMON_INSTALL_STAGING = YES
LIBXKBCOMMON_DEPENDENCIES = host-bison host-flex
LIBXKBCOMMON_CONF_OPTS = \
-Denable-docs=false \
-Denable-wayland=false \
-Denable-xkbregistry=false
ifeq ($(BR2_PACKAGE_XORG7),y)
LIBXKBCOMMON_CONF_OPTS += -Denable-x11=true
LIBXKBCOMMON_DEPENDENCIES += libxcb
else
LIBXKBCOMMON_CONF_OPTS += -Denable-x11=false
endif
$(eval $(meson-package))