2023-07-12 21:41:30 +03:00
|
|
|
distributable:
|
|
|
|
url: https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v{{version}}/SVT-AV1-v{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
2023-09-30 19:15:42 +03:00
|
|
|
|
2023-07-12 21:41:30 +03:00
|
|
|
versions:
|
|
|
|
gitlab: AOMediaCodec/SVT-AV1
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
cmake.org: '*'
|
|
|
|
yasm.tortall.net: '*'
|
|
|
|
|
|
|
|
script:
|
|
|
|
- cmake -S . -B build $ARGS
|
|
|
|
- cmake --build build
|
|
|
|
- cmake --install build
|
2023-09-30 19:15:42 +03:00
|
|
|
|
2023-07-12 21:41:30 +03:00
|
|
|
env:
|
|
|
|
ARGS:
|
|
|
|
- -DBUILD_SHARED_LIBS=OFF
|
|
|
|
- -DCMAKE_INSTALL_PREFIX={{prefix}}
|
|
|
|
- -DCMAKE_INSTALL_LIBDIR=lib
|
|
|
|
- -DCMAKE_BUILD_TYPE=Release
|
|
|
|
- -DCMAKE_FIND_FRAMEWORK=LAST
|
|
|
|
- -DCMAKE_VERBOSE_MAKEFILE=ON
|
|
|
|
- -Wno-dev
|
|
|
|
- -DBUILD_TESTING=OFF
|
|
|
|
linux:
|
|
|
|
ARGS:
|
2023-09-30 19:15:42 +03:00
|
|
|
- -DCMAKE_C_COMPILER=cc
|
|
|
|
- -DCMAKE_CXX_COMPILER=c++
|
2023-07-12 21:41:30 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/SvtAv1EncApp
|
|
|
|
|
2023-09-30 19:15:42 +03:00
|
|
|
test: SvtAv1EncApp --version | grep {{version}}
|