mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 12:35:10 +03:00
99722be4a1
clean up *.la
47 lines
1 KiB
YAML
47 lines
1 KiB
YAML
distributable:
|
|
url: https://xcb.freedesktop.org/dist/libxcb-{{version.raw}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://xcb.freedesktop.org/dist/
|
|
match: /libxcb-\d+\.\d+(\.\d+)?.tar.gz/
|
|
strip:
|
|
- /libxcb-/
|
|
- /.tar.gz/
|
|
|
|
dependencies:
|
|
x.org/xau: ^1
|
|
x.org/xdmcp: ^1
|
|
|
|
build:
|
|
dependencies:
|
|
freedesktop.org/pkg-config: ^0.29
|
|
python.org: ~3.11
|
|
x.org/protocol/xcb: ^1
|
|
gnu.org/patch: '*'
|
|
script:
|
|
- run: patch -p1 <props/configure.patch
|
|
if: <1.16
|
|
- ./configure $ARGS
|
|
- make --jobs {{ hw.concurrency }} install
|
|
- run: sed -i 's/\+brewing//g' *.la
|
|
working-directory: ${{prefix}}/lib
|
|
env:
|
|
SHELF: ${{pkgx.prefix}}/x.org
|
|
ARGS:
|
|
- --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
|
|
|
|
test:
|
|
script: |
|
|
cc fixture.c -lxcb
|
|
./a.out
|