From 6968dd1804180d5bbe6c370ee745e963e129dfd5 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Thu, 24 Sep 2026 21:10:01 +0100 Subject: [PATCH] xkeyboard-config: stage the pkg-config file The package builds xkeyboard-config-2.pc and a compatibility symlink to it, but installs neither into the staging directory, so anything asking pkg-config for xkeyboard-config fails to configure. plymouth does, for the xkb_base path. Install both names; the symlink alone leaves a dangling link. Signed-off-by: Daniel Golle --- libs/xkeyboard-config/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libs/xkeyboard-config/Makefile b/libs/xkeyboard-config/Makefile index ff21028..d20d114 100644 --- a/libs/xkeyboard-config/Makefile +++ b/libs/xkeyboard-config/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=xkeyboard-config PKG_VERSION:=2.45 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://www.x.org/releases/individual/data/$(PKG_NAME)/ @@ -42,6 +42,12 @@ define Package/xkeyboard-config/description The non-arch keyboard configuration database for X Window. endef +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/share/pkgconfig + $(CP) $(PKG_INSTALL_DIR)/usr/share/pkgconfig/xkeyboard-config*.pc \ + $(1)/usr/share/pkgconfig/ +endef + define Package/xkeyboard-config/install $(INSTALL_DIR) $(1)/usr/share/xkeyboard-config-2 $(CP) $(PKG_INSTALL_DIR)/usr/share/xkeyboard-config-2/* $(1)/usr/share/xkeyboard-config-2