void-packages/srcpkgs/xcb-proto/template

41 lines
1.5 KiB
Text
Raw Normal View History

# Template build for 'xcb-proto'.
pkgname=xcb-proto
2012-10-06 11:59:43 +00:00
version=1.8
2013-03-29 12:24:57 +00:00
revision=2
build_style=gnu-configure
2013-04-23 12:38:49 +00:00
hostmakedepends="python"
makedepends="libxml2"
short_desc="XML-XCB (X C Bindings) protocol descriptions"
maintainer="Juan RP <xtraeme@gmail.com>"
2013-03-29 12:24:57 +00:00
homepage="http://xcb.freedesktop.org"
license="MIT"
2012-09-17 15:29:00 +00:00
distfiles="http://xcb.freedesktop.org/dist/$pkgname-$version.tar.bz2"
2012-10-06 11:59:43 +00:00
checksum=233d16c7a019235b3092111e7c11429119357eb13754a607b75eea04453121b0
long_desc="
The xcb-proto package provides the XML-XCB (X C Bindings) protocol
descriptions that libxcb uses to generate the majority of its code and API.
We provide them separately from libxcb to allow reuse by other projects,
such as additional language bindings, protocol dissectors, or
documentation generators.
Separation of XCB's transport and protocol layers simplifies both
writing extensions and client-side support for extensions.
By contrast, with the xlib infrastructure, client-side support for
new extensions requires significant duplication of effort. With XCB and
the XML-XCB protocol descriptions, client-side support for a new
extension requires only an XML description of the extension--and not a
single line of code.
Python libraries: xcb-proto also contains language-independent Python
libraries that are used to parse an XML description and create objects
used by Python code generators in individual language bindings."
xcb-proto_package() {
depends="python"
noarch="yes"
pycompile_module="xcbgen"
pkg_install() {
vmove usr
}
}