1 ################################################################################
5 ################################################################################
7 XCB_PROTO_VERSION
= 1.12
8 XCB_PROTO_SOURCE
= xcb-proto-
$(XCB_PROTO_VERSION
).
tar.bz2
9 XCB_PROTO_SITE
= http
://xcb.freedesktop.org
/dist
10 XCB_PROTO_LICENSE
= MIT
11 XCB_PROTO_LICENSE_FILES
= COPYING
13 XCB_PROTO_INSTALL_STAGING
= YES
15 XCB_PROTO_DEPENDENCIES
= host-python
16 HOST_XCB_PROTO_DEPENDENCIES
= host-python
18 # xcbincludedir/pythondir is used by E.G. libxcb at build time to find the
19 # xml / python files, so ensure these expand to their full (host) paths
20 define XCB_PROTO_FIXUP_PC_FILE
21 $(SED
) 's|^\(xcbincludedir=\)|\1$(STAGING_DIR)|' \
22 -e
's|^\(pythondir=\)|\1$(STAGING_DIR)|' \
23 $(STAGING_DIR
)/usr
/lib
/pkgconfig
/xcb-proto.
pc
26 XCB_PROTO_POST_INSTALL_STAGING_HOOKS
+= XCB_PROTO_FIXUP_PC_FILE
28 $(eval
$(autotools-package
))
29 $(eval
$(host-autotools-package
))