From: Daniel Golle Date: Sun, 22 Aug 2021 20:10:57 +0000 (+0100) Subject: xkeyboard-config: add package X-Git-Url: http://git.openwrt.org/?p=feed%2Fvideo.git;a=commitdiff_plain;h=0dcb09116a9d872840e4e4d91291840cfff6a0ed xkeyboard-config: add package Package keyboard map data (keymaps). Signed-off-by: Daniel Golle --- diff --git a/libs/xkeyboard-config/Makefile b/libs/xkeyboard-config/Makefile new file mode 100644 index 0000000..4941389 --- /dev/null +++ b/libs/xkeyboard-config/Makefile @@ -0,0 +1,41 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=xkeyboard-config +PKG_VERSION:=2.24 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.x.org/releases/individual/data/$(PKG_NAME)/ +PKG_HASH:=91b18580f46b4e4ea913707f6c8d68ab5286879c3a6591462f3b9e760d3ac4d7 + +PKG_MAINTAINER:=Daniel Golle +PKG_LICENSE:=MIT +PKG_LICENSE_FILES:=COPYING + +PKG_INSTALL:=1 +PKG_BUILD_PARALLEL:=1 + +PKG_BUILD_DEPENDS:=libxslt/host intltool/host perl-xml-parser/host + +include $(INCLUDE_DIR)/package.mk + +CONFIGURE_ARGS += --disable-runtime-deps + +define Package/xkeyboard-config + SECTION:=libs + CATEGORY:=Libraries + TITLE:=xkeyboard-config + URL:=https://www.freedesktop.org/wiki/Software/XKeyboardConfig/ + DEPENDS:=+libxkbcommon $(INTL_DEPENDS) +endef + +define Package/xkeyboard-config/description + The non-arch keyboard configuration database for X Window. +endef + +define Package/xkeyboard-config/install + $(INSTALL_DIR) $(1)/usr/share/X11/xkb + $(CP) $(PKG_INSTALL_DIR)/usr/share/X11/xkb/* $(1)/usr/share/X11/xkb/ +endef + +$(eval $(call BuildPackage,xkeyboard-config))