x.org/xfixes (#2347)

* x.org/libXfixes

* libxfixes -> xfixes

* libxfixes -> xfixes
This commit is contained in:
Andrew 2023-07-02 22:48:26 +03:00 committed by GitHub
parent 2709fd7f1e
commit bbafd13ef4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,37 @@
distributable:
url: https://www.x.org/archive/individual/lib/libXfixes-{{version}}.tar.xz
strip-components: 1
versions:
url: https://xorg.freedesktop.org/archive/individual/lib/
match: /libXfixes-\d+\.\d+(\.\d+)?\.tar\.xz/
strip:
- /libXfixes-/
- /.tar.xz/
dependencies:
x.org/x11: '*'
x.org/protocol: '*'
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 xfixes | grep {{version}}