pantry/projects/x.org/x11/package.yml

45 lines
918 B
YAML
Raw Normal View History

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:
- 1.8.4
dependencies:
x.org/xcb: ^1
x.org/protocol: '*'
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
freedesktop.org/pkg-config: ~0.29
x.org/util-macros: '*'
x.org/xtrans: ^1
gnu.org/sed: '*' # or build fails on macOS
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
SHELF: ${{tea.prefix}}/x.org
ARGS:
- --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-04-19 02:03:38 +03:00
test:
dependencies:
tea.xyz/gx/cc: c99
script: |
cc fixture.c -lX11
./a.out