pantry/projects/x.org/xdamage/package.yml
2023-07-05 15:15:48 -04:00

38 lines
912 B
YAML

distributable:
url: https://www.x.org/archive/individual/lib/libXdamage-{{version}}.tar.xz
strip-components: 1
versions:
url: https://xorg.freedesktop.org/archive/individual/lib/
match: /libXdamage-\d+\.\d+(\.\d+)?\.tar\.xz/
strip:
- /libXdamage-/
- /.tar.xz/
dependencies:
x.org/x11: '*'
x.org/protocol: '*'
x.org/xfixes: '*'
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
freedesktop.org/pkg-config: '*'
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }}
- make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --disable-dependency-tracking
- --disable-silent-rules
- --sysconfdir={{tea.prefix}}/x.org/etc
- --localstatedir={{tea.prefix}}/x.org/var
test:
dependencies:
freedesktop.org/pkg-config: '*'
script: pkg-config --modversion xdamage | grep {{version}}