2023-03-15 17:40:40 +03:00
|
|
|
distributable:
|
2023-05-01 20:14:59 +03:00
|
|
|
url: https://xorg.freedesktop.org/archive/individual/proto/xcb-proto-{{version.raw}}.tar.gz
|
2023-03-15 17:40:40 +03:00
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
url: https://xorg.freedesktop.org/archive/individual/proto/
|
|
|
|
match: /xcb-proto-\d+\.\d+(\.\d+)?\.tar\.gz/
|
|
|
|
strip:
|
|
|
|
- /xcb-proto-/
|
|
|
|
- /.tar.gz/
|
2023-03-15 17:40:40 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
tea.xyz/gx/cc: c99
|
|
|
|
tea.xyz/gx/make: '*'
|
|
|
|
python.org: ^3.11
|
|
|
|
freedesktop.org/pkg-config: ~0.29
|
|
|
|
script: |
|
|
|
|
./configure \
|
|
|
|
--prefix="{{prefix}}" \
|
|
|
|
--sysconfdir="$SHELF"/etc \
|
|
|
|
--localstatedir="$SHELF"/var
|
|
|
|
make --jobs {{ hw.concurrency }} install
|
|
|
|
env:
|
|
|
|
SHELF: ${{tea.prefix}}/x.org
|
|
|
|
|
|
|
|
runtime:
|
|
|
|
env:
|
|
|
|
PYTHONPATH: ${{prefix}}/lib/python3.11/site-packages
|
|
|
|
|
|
|
|
test:
|
|
|
|
dependencies:
|
|
|
|
freedesktop.org/pkg-config: ~0.29
|
|
|
|
python.org: ^3.11
|
|
|
|
script: |
|
|
|
|
pkg-config --variable=xcbincludedir xcb-proto
|
|
|
|
|
|
|
|
python -c "
|
|
|
|
import collections
|
|
|
|
output = collections.defaultdict(int)
|
|
|
|
from xcbgen import xtypes"
|