2023-03-15 21:23:41 +03:00
|
|
|
distributable:
|
|
|
|
url: https://www.x.org/archive/individual/lib/libX11-{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
url: https://www.x.org/archive/individual/lib/
|
|
|
|
match: /libX11-\d+\.\d+\.\d+.tar.gz/
|
|
|
|
strip:
|
|
|
|
- /libX11-/
|
|
|
|
- /.tar.gz/
|
2023-03-15 21:23:41 +03:00
|
|
|
|
|
|
|
dependencies:
|
|
|
|
x.org/xcb: ^1
|
|
|
|
x.org/protocol: '*'
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
freedesktop.org/pkg-config: ~0.29
|
|
|
|
x.org/util-macros: '*'
|
|
|
|
x.org/xtrans: ^1
|
2023-10-02 03:41:57 +03:00
|
|
|
gnu.org/sed: '*' # or build fails on macOS
|
2024-03-25 17:01:56 +03:00
|
|
|
script:
|
|
|
|
- ./configure $ARGS
|
|
|
|
- make --jobs {{ hw.concurrency }} install
|
|
|
|
- run: sed -i 's/\+brewing//g' *.la
|
|
|
|
working-directory: ${{prefix}}/lib
|
2023-03-15 21:23:41 +03:00
|
|
|
env:
|
2023-10-02 04:27:27 +03:00
|
|
|
SHELF: ${{pkgx.prefix}}/x.org
|
2023-03-15 21:23:41 +03:00
|
|
|
ARGS:
|
2023-10-02 03:41:57 +03:00
|
|
|
- --prefix="{{prefix}}"
|
|
|
|
- --sysconfdir="$SHELF"/etc
|
|
|
|
- --localstatedir="$SHELF"/var
|
|
|
|
- --disable-debug
|
|
|
|
- --enable-unix-transport
|
|
|
|
- --enable-tcp-transport
|
|
|
|
- --enable-ipv6
|
|
|
|
- --enable-local-transport
|
|
|
|
- --enable-loadable-i18n
|
|
|
|
- --enable-xthreads
|
|
|
|
- --enable-specs=no
|
2023-03-15 21:23:41 +03:00
|
|
|
|
2023-04-19 02:03:38 +03:00
|
|
|
test:
|
|
|
|
script: |
|
|
|
|
cc fixture.c -lX11
|
|
|
|
./a.out
|