pantry/projects/aomedia.googlesource.com/aom/package.yml

35 lines
564 B
YAML
Raw Normal View History

2023-01-11 11:19:07 +03:00
distributable:
url: https://aomedia.googlesource.com/aom/+archive/v{{version}}.tar.gz
versions:
- 3.5.0
build:
dependencies:
2023-01-13 04:11:40 +03:00
x86-64:
nasm.us: 2
2023-01-11 11:19:07 +03:00
tea.xyz/gx/cc: c99
cmake.org: ^3
tea.xyz/gx/make: '*'
working-directory:
out
script: |
cmake .. $ARGS
make
make install
env:
ARGS:
- -DCMAKE_BUILD_TYPE=Release
- -DCMAKE_INSTALL_PREFIX="{{prefix}}"
linux:
CFLAGS: -fPIC
CXXFLAGS: -fPIC
LDFLAGS: -pie
test: |
aomenc --help
aomdec --help
2023-01-11 11:19:07 +03:00
provides:
- bin/aomenc
- bin/aomdec