| 1 | # $Id$ |
|---|
| 2 | |
|---|
| 3 | VERSION = 1.6 |
|---|
| 4 | CATEGORIES = lib |
|---|
| 5 | GARTYPE = v2 |
|---|
| 6 | PROTONAME = xcb-proto |
|---|
| 7 | NAME = $(PROTONAME) |
|---|
| 8 | DISTNAME = $(PROTONAME)-$(VERSION) |
|---|
| 9 | |
|---|
| 10 | DESCRIPTION = XCB protocol descriptions (in XML) |
|---|
| 11 | define BLURB |
|---|
| 12 | The xcb-proto package provides the XML-XCB (X C Bindings) protocol |
|---|
| 13 | descriptions that libxcb uses to generate the majority of its code and API. |
|---|
| 14 | We provide them separately from libxcb to allow reuse by other projects, |
|---|
| 15 | such as additional language bindings, protocol dissectors, or |
|---|
| 16 | documentation generators. |
|---|
| 17 | |
|---|
| 18 | Separation of XCB's transport and protocol layers simplifies both |
|---|
| 19 | writing extensions and client-side support for extensions. |
|---|
| 20 | By contrast, with the xlib infrastructure, client-side support for |
|---|
| 21 | new extensions requires significant duplication of effort. With XCB and |
|---|
| 22 | the XML-XCB protocol descriptions, client-side support for a new |
|---|
| 23 | extension requires only an XML description of the extension--and not a |
|---|
| 24 | single line of code. |
|---|
| 25 | |
|---|
| 26 | Python libraries: xcb-proto also contains language-independent Python |
|---|
| 27 | libraries that are used to parse an XML description and create objects |
|---|
| 28 | used by Python code generators in individual language bindings. |
|---|
| 29 | endef |
|---|
| 30 | |
|---|
| 31 | MASTER_SITES = http://xcb.freedesktop.org/dist/ |
|---|
| 32 | DISTFILES = $(DISTNAME).tar.gz |
|---|
| 33 | |
|---|
| 34 | PACKAGES = CSWxcbproto CSWpyxcbproto |
|---|
| 35 | |
|---|
| 36 | CATALOGNAME_CSWxcbproto = xcbproto |
|---|
| 37 | CATALOGNAME_CSWpyxcbproto = py_xcbproto |
|---|
| 38 | |
|---|
| 39 | BUILD_DEP_PKGS = CSWpython |
|---|
| 40 | RUNTIME_DEP_PKGS_CSWxcbproto = CSWx11common |
|---|
| 41 | RUNTIME_DEP_PKGS_CSWpyxcbproto = CSWxcbproto CSWpython |
|---|
| 42 | |
|---|
| 43 | SPKG_DESC_CSWxcbproto = XCB protocol descriptions (in XML) |
|---|
| 44 | SPKG_DESC_CSWpyxcbproto = $(SPKG_DESC_CSWxcbproto) Python Bindings |
|---|
| 45 | |
|---|
| 46 | UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz |
|---|
| 47 | |
|---|
| 48 | BUILD64_LIBS_ONLY = 1 |
|---|
| 49 | |
|---|
| 50 | CONFIGURE_ARGS = $(DIRPATHS) |
|---|
| 51 | |
|---|
| 52 | PYTHON_PREFIX = $(BUILD_PREFIX)/lib/python/site-packages |
|---|
| 53 | |
|---|
| 54 | PYCOMPILE = 1 |
|---|
| 55 | |
|---|
| 56 | PKGFILES_CSWpyxcbproto = .*\.py |
|---|
| 57 | ARCHALL_CSWpyxcbproto = 1 |
|---|
| 58 | |
|---|
| 59 | CHECKPKG_OVERRIDES_CSWpyxcbproto += surplus-dependency|CSWxcbproto |
|---|
| 60 | CHECKPKG_OVERRIDES_CSWxcbproto += surplus-dependency|CSWx11common |
|---|
| 61 | CHECKPKG_OVERRIDES_CSWpyxcbproto += pkgname-does-not-start-with-CSWpy- |
|---|
| 62 | |
|---|
| 63 | EXTRA_MERGE_EXCLUDE_FILES = .*.py[co] |
|---|
| 64 | |
|---|
| 65 | include gar/category.mk |
|---|