From 67a96673830383028018f254611a9968b9efeffc Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Mon, 29 Apr 2013 10:26:03 +0000 Subject: [PATCH] libxkbcommon: new package [Peter: set gnu99 C mode] Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/libxkbcommon/Config.in | 8 ++++++++ package/libxkbcommon/libxkbcommon.mk | 18 ++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 package/libxkbcommon/Config.in create mode 100644 package/libxkbcommon/libxkbcommon.mk diff --git a/package/Config.in b/package/Config.in index f39ecf6a83..83234c13df 100644 --- a/package/Config.in +++ b/package/Config.in @@ -470,6 +470,7 @@ source "package/libserial/Config.in" source "package/libusb/Config.in" source "package/libusb-compat/Config.in" source "package/libv4l/Config.in" +source "package/libxkbcommon/Config.in" source "package/mtdev/Config.in" source "package/ne10/Config.in" source "package/neardal/Config.in" diff --git a/package/libxkbcommon/Config.in b/package/libxkbcommon/Config.in new file mode 100644 index 0000000000..0a52c6f43f --- /dev/null +++ b/package/libxkbcommon/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_LIBXKBCOMMON + bool "libxkbcommon" + help + xkbcommon is a keymap compiler and support library which + processes a reduced subset of keymaps as defined by the XKB + specification. + + http://xkbcommon.org/ diff --git a/package/libxkbcommon/libxkbcommon.mk b/package/libxkbcommon/libxkbcommon.mk new file mode 100644 index 0000000000..6f668242d2 --- /dev/null +++ b/package/libxkbcommon/libxkbcommon.mk @@ -0,0 +1,18 @@ +############################################################# +# +# libxkbcommon +# +############################################################# + +LIBXKBCOMMON_VERSION = 0.3.0 +LIBXKBCOMMON_SITE = http://xkbcommon.org/download/ +LIBXKBCOMMON_SOURCE = libxkbcommon-$(LIBXKBCOMMON_VERSION).tar.xz +LIBXKBCOMMON_LICENSE = MIT/X11 +LIBXKBCOMMON_LICENSE_FILES = COPYING + +LIBXKBCOMMON_INSTALL_STAGING = YES +LIBXKBCOMMON_DEPENDENCIES = host-bison host-flex +# uses C99 features +LIBXKBCOMMON_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99" + +$(eval $(autotools-package)) -- 2.30.2