kumquat-buildroot/package/x11r7/xcb-proto/xcb-proto.mk
Thomas Petazzoni 0b7ada5558 Revert "package/x11r7/xcb-proto: remove pkgconf fix"
This reverts commit 598cd3dc55,
following the modification of the pkg-config behavior to be like it
used to be.

Fixes:

  http://autobuild.buildroot.net/results/41a4e6b9e17adc75b023e89b231a2e00e3484979/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-12-22 17:26:41 +01:00

30 lines
941 B
Makefile

################################################################################
#
# xcb-proto
#
################################################################################
XCB_PROTO_VERSION = 1.13
XCB_PROTO_SOURCE = xcb-proto-$(XCB_PROTO_VERSION).tar.bz2
XCB_PROTO_SITE = http://xcb.freedesktop.org/dist
XCB_PROTO_LICENSE = MIT
XCB_PROTO_LICENSE_FILES = COPYING
XCB_PROTO_INSTALL_STAGING = YES
XCB_PROTO_DEPENDENCIES = host-python
HOST_XCB_PROTO_DEPENDENCIES = host-python
# xcbincludedir/pythondir is used by E.G. libxcb at build time to find the
# xml / python files, so ensure these expand to their full (host) paths
define XCB_PROTO_FIXUP_PC_FILE
$(SED) 's|^\(xcbincludedir=\)|\1$(STAGING_DIR)|' \
-e 's|^\(pythondir=\)|\1$(STAGING_DIR)|' \
$(STAGING_DIR)/usr/lib/pkgconfig/xcb-proto.pc
endef
XCB_PROTO_POST_INSTALL_STAGING_HOOKS += XCB_PROTO_FIXUP_PC_FILE
$(eval $(autotools-package))
$(eval $(host-autotools-package))