mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +03:00
x.org/xshmfence
This commit is contained in:
parent
c2352d05de
commit
a30bff00f4
1 changed files with 36 additions and 0 deletions
36
projects/x.org/xshmfence/package.yml
Normal file
36
projects/x.org/xshmfence/package.yml
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
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:
|
||||||
|
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 xshmfence | grep {{version}}
|
Loading…
Reference in a new issue