pantry/projects/netflix.com/vmaf/package.yml

32 lines
544 B
YAML
Raw Normal View History

2023-03-18 02:32:54 +03:00
distributable:
url: https://github.com/Netflix/vmaf/archive/v{{version}}.tar.gz
strip-components: 1
versions:
github: Netflix/vmaf
build:
dependencies:
mesonbuild.com: '*'
ninja-build.org: '*'
nasm.us: '*'
working-directory: libvmaf
script: |
meson --prefix={{prefix}} --buildtype=release build
ninja -vC build
ninja -vC build install
provides:
- bin/vmaf
test:
script: |
mv $FIXTURE b.c
cc b.c
./a.out
fixture: |
#include <libvmaf/libvmaf.h>
int main() {
return 0;
}