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 <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle committed 2026-09-26 10:21:06 +01:00
1 parent e54dc4ed6b
commit 6968dd1804
1 file changed
+7 -1
+7 -1
View File
@@ -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