x.org/xxf86vm

This commit is contained in:
Andrii 2023-07-02 17:17:02 +03:00 committed by Jacob Heider
parent b1349cf4c2
commit b5928caf42

View file

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