474b4832c1
Since version 0.9.x the autotools build system is removed from libxkbcommon ([1]), so convert to meson build system. Remove the CFLAGS force of '-std=gnu99', believing meson sets it automatically (a test build used '-std=c99'). For details see [1]. [1] https://lists.freedesktop.org/archives/wayland-devel/2019-October/040962.html Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Reviewed-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
24 lines
741 B
Makefile
24 lines
741 B
Makefile
################################################################################
|
|
#
|
|
# libxkbcommon
|
|
#
|
|
################################################################################
|
|
|
|
LIBXKBCOMMON_VERSION = 0.10.0
|
|
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
|
|
|
|
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))
|