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

35 lines
838 B
YAML
Raw Normal View History

2023-07-05 19:02:08 +03:00
distributable:
url: https://www.x.org/archive/individual/lib/libxshmfence-{{version}}.tar.xz
strip-components: 1
versions:
url: https://xorg.freedesktop.org/archive/individual/lib/
match: /libxshmfence-\d+\.\d+(\.\d+)?\.tar\.xz/
strip:
- /libxshmfence-/
- /.tar.xz/
dependencies:
x.org/protocol: '*'
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
2023-07-05 19:02:08 +03:00
test:
dependencies:
freedesktop.org/pkg-config: '*'
script: pkg-config --modversion xshmfence | grep {{version}}