summaryrefslogtreecommitdiffstats
path: root/package/libxkbcommon
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-04-29 10:26:03 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-04-30 09:34:53 +0200
commit67a96673830383028018f254611a9968b9efeffc (patch)
tree5c0f5a96e171a742a4623924d36767e7941cbd86 /package/libxkbcommon
parentdde83bc4639a7bf80ddd0d66b9ea3a8cc0157d65 (diff)
downloadbuildroot-novena-67a96673830383028018f254611a9968b9efeffc.tar.gz
buildroot-novena-67a96673830383028018f254611a9968b9efeffc.zip
libxkbcommon: new package
[Peter: set gnu99 C mode] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libxkbcommon')
-rw-r--r--package/libxkbcommon/Config.in8
-rw-r--r--package/libxkbcommon/libxkbcommon.mk18
2 files changed, 26 insertions, 0 deletions
diff --git a/package/libxkbcommon/Config.in b/package/libxkbcommon/Config.in
new file mode 100644
index 000000000..0a52c6f43
--- /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 000000000..6f668242d
--- /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))