fix(ffmpeg)

closes #6428
This commit is contained in:
Jacob Heider 2024-06-15 12:32:42 -04:00 committed by Jacob Heider
parent 34522c71a7
commit e20a4917ca

View file

@ -33,6 +33,11 @@ build:
x86-64:
nasm.us: 2
script:
# not available in all versions
- run: |
if grep -q -- --enable-libharfbuzz configure; then
ARGS="$ARGS --enable-libharfbuzz"
fi
- ./configure $ARGS
- make --jobs {{hw.concurrency}}
- make install
@ -40,7 +45,6 @@ build:
ARGS:
- --prefix="{{prefix}}"
- --enable-libfreetype
- --enable-libharfbuzz
- --enable-libmp3lame
- --enable-shared
- --enable-libx264
@ -52,8 +56,8 @@ build:
test:
dependencies:
gnu.org/wget: "*"
info-zip.org/unzip: "*"
gnu.org/wget: '*'
info-zip.org/unzip: '*'
script:
- wget --content-disposition https://github.com/googlefonts/RobotoMono/raw/main/fonts/ttf/RobotoMono-Regular.ttf
- ffmpeg -filter_complex testsrc=rate=1:duration=1,drawtext=fontfile=RobotoMono-Regular.ttf:text=hello out.mp4