summaryrefslogtreecommitdiff
path: root/package/libxkbcommon
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2021-12-24 00:02:14 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2022-02-10 13:28:20 +0100
commit9879794a9be40d98570d8983885b8090da06aa4b (patch)
tree1e08686346a6c995291cb4e52c0bd418b5d7b779 /package/libxkbcommon
parent694fdfb78db45ffb88e48f18c703020a10bdd9fa (diff)
proof-of-concept weston/wayland packaging
Diffstat (limited to 'package/libxkbcommon')
-rw-r--r--package/libxkbcommon/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/libxkbcommon/Makefile b/package/libxkbcommon/Makefile
new file mode 100644
index 000000000..cdacda12e
--- /dev/null
+++ b/package/libxkbcommon/Makefile
@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= libxkbcommon
+PKG_VERSION:= 1.3.1
+PKG_RELEASE:= 1
+PKG_HASH:= b3c710d27a2630054e1e1399c85b7f330ef03359b460f0c1b3b587fd01fe9234
+PKG_DESCR:= library for handling of keyboard descriptions
+PKG_SECTION:= libs/misc
+PKG_URL:= add project url
+PKG_SITES:= https://xkbcommon.org/download/
+PKG_OPTS:= dev
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBXKBCOMMON,libxkbcommon,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+MESON_FLAGS+= -Denable-docs=false
+
+WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
+
+CONFIG_STYLE:= meson
+BUILD_STYLE:= meson
+INSTALL_STYLE:= meson
+
+libxkbcommon-install:
+ $(INSTALL_DIR) $(IDIR_LIBXKBCOMMON)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libxkbcommon*.so* \
+ $(IDIR_LIBXKBCOMMON)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk