mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
38 lines
882 B
YAML
38 lines
882 B
YAML
distributable:
|
|
url: https://www.x.org/archive/individual/lib/libXrandr-{{version}}.tar.xz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://xorg.freedesktop.org/archive/individual/lib/
|
|
match: /libXrandr-\d+\.\d+(\.\d+)?\.tar\.xz/
|
|
strip:
|
|
- /libXrandr-/
|
|
- /.tar.xz/
|
|
|
|
dependencies:
|
|
x.org/x11: '*'
|
|
x.org/protocol: '*'
|
|
x.org/exts: '*'
|
|
x.org/xrender: '*'
|
|
|
|
build:
|
|
dependencies:
|
|
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={{pkgx.prefix}}/x.org/etc
|
|
- --localstatedir={{pkgx.prefix}}/x.org/var
|
|
|
|
test:
|
|
dependencies:
|
|
freedesktop.org/pkg-config: '*'
|
|
script: pkg-config --modversion xrandr | grep {{version}}
|