73e3a8f8a8
Tweak the applied configuration options to flag support for Wayland if the wayland package is detected. This will allow the generation of the `interactive-wayland` utility (when `BR2_PACKAGE_LIBXKBCOMMON_TOOLS` is also configured). Signed-off-by: James Knight <james.d.knight@live.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# libxkbcommon
|
|
#
|
|
################################################################################
|
|
|
|
LIBXKBCOMMON_VERSION = 1.4.0
|
|
LIBXKBCOMMON_SITE = https://xkbcommon.org/download
|
|
LIBXKBCOMMON_SOURCE = libxkbcommon-$(LIBXKBCOMMON_VERSION).tar.xz
|
|
LIBXKBCOMMON_LICENSE = MIT/X11
|
|
LIBXKBCOMMON_LICENSE_FILES = LICENSE
|
|
LIBXKBCOMMON_CPE_ID_VENDOR = xkbcommon
|
|
LIBXKBCOMMON_INSTALL_STAGING = YES
|
|
LIBXKBCOMMON_DEPENDENCIES = host-bison host-flex
|
|
LIBXKBCOMMON_CONF_OPTS = \
|
|
-Denable-docs=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
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBXKBCOMMON_TOOLS),y)
|
|
LIBXKBCOMMON_CONF_OPTS += -Denable-tools=true
|
|
else
|
|
LIBXKBCOMMON_CONF_OPTS += -Denable-tools=false
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBXKBCOMMON_TOOLS)$(BR2_PACKAGE_WAYLAND),yy)
|
|
LIBXKBCOMMON_CONF_OPTS += -Denable-wayland=true
|
|
LIBXKBCOMMON_DEPENDENCIES += wayland wayland-protocols
|
|
else
|
|
LIBXKBCOMMON_CONF_OPTS += -Denable-wayland=false
|
|
endif
|
|
|
|
$(eval $(meson-package))
|