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-01-04 14:38:31 +01:00
|
|
|
XCB_PROTO_VERSION = 1.10
|
2007-08-10 21:07:51 +02:00
|
|
|
XCB_PROTO_SOURCE = xcb-proto-$(XCB_PROTO_VERSION).tar.bz2
|
|
|
|
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)|' \
|
|
|
|
-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
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|