|
root / base / xcb-proto
xcb-proto Plain Text 42 lines 1.2 KB
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/sh
# Build script for xcb-proto (autotools + python, Template A).
# Installs XML protocol descriptions + the xcbgen python module libxcb needs.
set -e
cd "$SRCDIR"

export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig:$PKG_CONFIG_PATH"
export PYTHON=/usr/local/bin/python3

./configure \
    --prefix="$PREFIX" \
    --build="$BUILD_TRIPLE" \
    --host="$BUILD_TRIPLE" \
    --sysconfdir="$SYSCONFDIR"

gmake -j${JOBS:-1}
gmake install DESTDIR="$PKGDIR"
# xcb-proto - XCB protocol descriptions (XML) + xcbgen python codegen module
# https://gitlab.freedesktop.org/xorg/proto/xcbproto

[package]
name = "xcb-proto"
version = "1.17.0"
release = 1
description = "XML-XCB protocol descriptions and the xcbgen Python code generator used by libxcb"
url = "https://xorg.freedesktop.org/releases/individual/xcb/"
license = "MIT"
maintainer = "Chris Tusa <chris.tusa@leafscale.com>"
arch = "x86_64"

[dependencies]
runtime = ["python"]
build = ["python"]

[[source]]
file = "xcb-proto-1.17.0.tar.xz"
urls = ["https://xorg.freedesktop.org/releases/individual/xcb/xcb-proto-1.17.0.tar.xz"]
checksum = "2c1bacd2110f4799f74de6ebb714b94cf6f80fb112316b1219480fd22562148c"

[build]
parallel = true