mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
x.org/xinput (#2354)
* x.org/xinput * - * test version * test version * test
This commit is contained in:
parent
13346f40cb
commit
6fd22c116b
1 changed files with 43 additions and 0 deletions
43
projects/x.org/xinput/package.yml
Normal file
43
projects/x.org/xinput/package.yml
Normal file
|
@ -0,0 +1,43 @@
|
|||
distributable:
|
||||
url: https://www.x.org/archive/individual/app/xinput-{{version}}.tar.xz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
url: https://xorg.freedesktop.org/archive/individual/app/
|
||||
match: /xinput-\d+\.\d+(\.\d+)?\.tar\.xz/
|
||||
strip:
|
||||
- /xinput-/
|
||||
- /.tar.xz/
|
||||
|
||||
dependencies:
|
||||
x.org/x11: '*'
|
||||
x.org/exts: '*'
|
||||
x.org/xi: '*'
|
||||
x.org/xinerama: '*'
|
||||
x.org/xrandr: '*'
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
freedesktop.org/pkg-config: '*'
|
||||
x.org/protocol: '*'
|
||||
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
|
||||
|
||||
provides:
|
||||
- bin/xinput
|
||||
|
||||
test:
|
||||
- test -x {{prefix}}/bin/xinput
|
||||
- head -n 1 {{prefix}}/share/man/man1/xinput.1 | grep {{version}}
|
Loading…
Reference in a new issue