2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-08-10 21:07:51 +02:00
|
|
|
#
|
|
|
|
# xcb-proto
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2014-08-02 11:18:31 +02:00
|
|
|
XCB_PROTO_VERSION = 1.11
|
2007-08-10 21:07:51 +02:00
|
|
|
XCB_PROTO_SOURCE = xcb-proto-$(XCB_PROTO_VERSION).tar.bz2
|
2014-07-31 10:46:58 +02:00
|
|
|
XCB_PROTO_SITE = http://xcb.freedesktop.org/dist
|
2013-05-09 07:51:02 +02:00
|
|
|
XCB_PROTO_LICENSE = MIT
|
|
|
|
XCB_PROTO_LICENSE_FILES = COPYING
|
2007-08-10 21:07:51 +02:00
|
|
|
|
|
|
|
XCB_PROTO_INSTALL_STAGING = YES
|
|
|
|
|
2011-01-27 23:34:39 +01:00
|
|
|
XCB_PROTO_DEPENDENCIES = host-python
|
|
|
|
|
2014-01-04 14:38:31 +01:00
|
|
|
# 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)|' \
|
2014-10-27 09:25:28 +01:00
|
|
|
-e 's|^\(pythondir=\)|\1$(STAGING_DIR)|' \
|
2014-01-04 14:38:31 +01:00
|
|
|
$(STAGING_DIR)/usr/lib/pkgconfig/xcb-proto.pc
|
|
|
|
endef
|
|
|
|
|
|
|
|
XCB_PROTO_POST_INSTALL_STAGING_HOOKS += XCB_PROTO_FIXUP_PC_FILE
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|