2023-03-15 21:09:57 +03:00
|
|
|
distributable:
|
|
|
|
url: https://xcb.freedesktop.org/dist/libxcb-{{version.raw}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
url: https://xcb.freedesktop.org/dist/
|
|
|
|
match: /libxcb-\d+\.\d+(\.\d+)?.tar.gz/
|
|
|
|
strip:
|
|
|
|
- /libxcb-/
|
|
|
|
- /.tar.gz/
|
2023-03-15 21:09:57 +03:00
|
|
|
|
|
|
|
dependencies:
|
|
|
|
x.org/xau: ^1
|
|
|
|
x.org/xdmcp: ^1
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
freedesktop.org/pkg-config: ^0.29
|
2023-10-03 18:23:56 +03:00
|
|
|
python.org: ~3.11
|
2023-03-15 21:09:57 +03:00
|
|
|
x.org/protocol/xcb: ^1
|
|
|
|
gnu.org/patch: '*'
|
2023-09-10 23:27:21 +03:00
|
|
|
script:
|
|
|
|
- run: patch -p1 <props/configure.patch
|
|
|
|
if: <1.16
|
|
|
|
- ./configure $ARGS
|
|
|
|
- make --jobs {{ hw.concurrency }} install
|
2024-04-17 02:20:25 +03:00
|
|
|
# .la are unrelocatable, but only used if found
|
|
|
|
- run: rm *.la
|
2024-03-12 20:42:29 +03:00
|
|
|
working-directory: ${{prefix}}/lib
|
2023-03-15 21:09:57 +03:00
|
|
|
env:
|
2023-10-02 04:27:27 +03:00
|
|
|
SHELF: ${{pkgx.prefix}}/x.org
|
2023-03-15 21:09:57 +03:00
|
|
|
ARGS:
|
2023-09-10 23:27:21 +03:00
|
|
|
- --prefix="{{prefix}}"
|
|
|
|
- --sysconfdir="$SHELF"/etc
|
|
|
|
- --localstatedir="$SHELF"/var
|
|
|
|
- --enable-dri3
|
|
|
|
- --enable-ge
|
|
|
|
- --enable-xevie
|
|
|
|
- --enable-xprint
|
|
|
|
- --enable-selinux
|
|
|
|
- --disable-silent-rules
|
|
|
|
- --enable-devel-docs=no
|
|
|
|
- --with-doxygen=no
|
2023-03-15 21:09:57 +03:00
|
|
|
|
|
|
|
test:
|
|
|
|
script: |
|
|
|
|
cc fixture.c -lxcb
|
|
|
|
./a.out
|