new file: projects/sourceforge.net/faad2/package.yml

This commit is contained in:
Andrii Riabchenko 2023-11-06 15:31:01 +02:00 committed by Jacob Heider
parent 4e738c9a36
commit 9e827736bd

View file

@ -0,0 +1,28 @@
distributable:
url: https://github.com/knik0/faad2/archive/refs/tags/{{version}}.tar.gz
strip-components: 1
versions:
github: knik0/faad2
build:
dependencies:
gnu.org/autoconf: '*'
gnu.org/automake: '*'
gnu.org/libtool: '*'
linux:
gnu.org/gcc: '*'
script:
- ./bootstrap
- ./configure $CONFIGURE_ARGS
- make --jobs {{ hw.concurrency }} install
env:
CONFIGURE_ARGS:
- --disable-debug
- --disable-dependency-tracking
- --prefix="{{prefix}}"
- --libdir="{{prefix}}/lib"
provides:
- bin/faad
test:
script:
- faad -h > output.txt || true
- cat output.txt | grep infile.mp4