mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
34522c71a7
commit
e20a4917ca
1 changed files with 8 additions and 4 deletions
|
@ -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,11 +45,10 @@ build:
|
|||
ARGS:
|
||||
- --prefix="{{prefix}}"
|
||||
- --enable-libfreetype
|
||||
- --enable-libharfbuzz
|
||||
- --enable-libmp3lame
|
||||
- --enable-shared
|
||||
- --enable-libx264
|
||||
- --enable-gpl # required for x264
|
||||
- --enable-gpl # required for x264
|
||||
- --enable-libx265
|
||||
- --enable-libvpx
|
||||
- --enable-libopus
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue