summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-01-05 12:23:03 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2022-01-05 12:23:03 +0100
commit9a1fbcea2d9b98972d8aff8d473ff34243178db4 (patch)
treea8919a9f387594b83bf45b80bdfaaa8797e479a5 /package
parent91cb860fa3ed6bfcacca3f7ca884b14d313ba31e (diff)
xcb-proto: workaround no longer required with latest pkgconf
Diffstat (limited to 'package')
-rw-r--r--package/xcb-proto/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/package/xcb-proto/Makefile b/package/xcb-proto/Makefile
index 67947e882..db4a7c63b 100644
--- a/package/xcb-proto/Makefile
+++ b/package/xcb-proto/Makefile
@@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xcb-proto
PKG_VERSION:= 1.12
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_HASH:= cfa49e65dd390233d560ce4476575e4b76e505a0e0bacdfb5ba6f8d0af53fd59
PKG_DESCR:= xml-xcb protocol descriptions
PKG_SECTION:= dev/header
@@ -30,16 +30,13 @@ include $(ADK_TOPDIR)/mk/python.mk
HOST_STYLE:= auto
CONFIGURE_ENV+= PYTHON=$(PYTHON)
-# pkg-config variables are not fixed up with sysroot
hostpost-install:
- $(SED) 's|^\(xcbincludedir=\)|\1$(STAGING_HOST_DIR)|' \
- $(STAGING_HOST_DIR)/usr/lib/pkgconfig/xcb-proto.pc
+ ${INSTALL_DIR} ${STAGING_HOST_DIR}/usr/share/xcb
+ ${CP} ${WRKBUILD}/src/*.xml ${STAGING_HOST_DIR}/usr/share/xcb
post-build:
${INSTALL_DIR} ${STAGING_TARGET_DIR}/usr/share/xcb
${CP} ${WRKBUILD}/src/*.xml ${STAGING_TARGET_DIR}/usr/share/xcb
- $(SED) 's|^\(xcbincludedir=\)|\1$(STAGING_TARGET_DIR)|' \
- $(WRKBUILD)/xcb-proto.pc
xcb-python-install:
$(INSTALL_DIR) ${STAGING_TARGET_DIR}/usr/lib/python${PYTHON_VERSION}/site-packages/xcbgen