pantry/projects/webmproject.org/libvpx/package.yml

31 lines
695 B
YAML
Raw Normal View History

distributable:
url: https://github.com/webmproject/libvpx/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: webmproject/libvpx/tags
strip: /^v/
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
yasm.tortall.net: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --disable-dependency-tracking
- --disable-examples
- --disable-unit-tests
- --enable-pic
- --enable-shared
- --enable-vp9-highbitdepth
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
pkg-config --modversion vpx | grep {{version}}