mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
x.org/xv
This commit is contained in:
parent
72a4db1dd2
commit
c2352d05de
39
projects/x.org/xv/package.yml
Normal file
39
projects/x.org/xv/package.yml
Normal file
|
@ -0,0 +1,39 @@
|
|||
distributable:
|
||||
url: https://www.x.org/archive/individual/lib/libXv-{{version}}.tar.xz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
url: https://xorg.freedesktop.org/archive/individual/lib/
|
||||
match: /libXv-\d+\.\d+(\.\d+)?\.tar\.xz/
|
||||
strip:
|
||||
- /libXv-/
|
||||
- /.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: '*'
|
||||
x.org/util-macros: '*'
|
||||
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 xv | grep {{version}}
|
Loading…
Reference in a new issue