2023-11-06 16:31:01 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/knik0/faad2/archive/refs/tags/{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
versions:
|
|
|
|
github: knik0/faad2
|
|
|
|
build:
|
|
|
|
dependencies:
|
2023-11-07 22:31:54 +03:00
|
|
|
cmake.org: '*'
|
2023-11-06 16:31:01 +03:00
|
|
|
gnu.org/autoconf: '*'
|
|
|
|
gnu.org/automake: '*'
|
|
|
|
gnu.org/libtool: '*'
|
|
|
|
linux:
|
|
|
|
gnu.org/gcc: '*'
|
|
|
|
script:
|
2023-11-07 22:31:54 +03:00
|
|
|
- run: |
|
|
|
|
./bootstrap
|
|
|
|
./configure $CONFIGURE_ARGS
|
|
|
|
make --jobs {{ hw.concurrency }} install
|
|
|
|
if: <2.11
|
|
|
|
- run: |
|
|
|
|
cmake .. $CMAKE_ARGS
|
|
|
|
cmake --build .
|
|
|
|
cmake --install .
|
|
|
|
working-directory: build
|
|
|
|
if: '>=2.11'
|
2023-11-06 16:31:01 +03:00
|
|
|
env:
|
|
|
|
CONFIGURE_ARGS:
|
|
|
|
- --disable-debug
|
|
|
|
- --disable-dependency-tracking
|
|
|
|
- --prefix="{{prefix}}"
|
|
|
|
- --libdir="{{prefix}}/lib"
|
2023-11-07 22:31:54 +03:00
|
|
|
CMAKE_ARGS:
|
|
|
|
- -DCMAKE_INSTALL_PREFIX="{{prefix}}"
|
|
|
|
|
2023-11-06 16:31:01 +03:00
|
|
|
provides:
|
|
|
|
- bin/faad
|
|
|
|
test:
|
|
|
|
script:
|
|
|
|
- faad -h > output.txt || true
|
|
|
|
- cat output.txt | grep infile.mp4
|