mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
parent
34522c71a7
commit
e20a4917ca
1 changed files with 8 additions and 4 deletions
|
@ -33,6 +33,11 @@ build:
|
||||||
x86-64:
|
x86-64:
|
||||||
nasm.us: 2
|
nasm.us: 2
|
||||||
script:
|
script:
|
||||||
|
# not available in all versions
|
||||||
|
- run: |
|
||||||
|
if grep -q -- --enable-libharfbuzz configure; then
|
||||||
|
ARGS="$ARGS --enable-libharfbuzz"
|
||||||
|
fi
|
||||||
- ./configure $ARGS
|
- ./configure $ARGS
|
||||||
- make --jobs {{hw.concurrency}}
|
- make --jobs {{hw.concurrency}}
|
||||||
- make install
|
- make install
|
||||||
|
@ -40,11 +45,10 @@ build:
|
||||||
ARGS:
|
ARGS:
|
||||||
- --prefix="{{prefix}}"
|
- --prefix="{{prefix}}"
|
||||||
- --enable-libfreetype
|
- --enable-libfreetype
|
||||||
- --enable-libharfbuzz
|
|
||||||
- --enable-libmp3lame
|
- --enable-libmp3lame
|
||||||
- --enable-shared
|
- --enable-shared
|
||||||
- --enable-libx264
|
- --enable-libx264
|
||||||
- --enable-gpl # required for x264
|
- --enable-gpl # required for x264
|
||||||
- --enable-libx265
|
- --enable-libx265
|
||||||
- --enable-libvpx
|
- --enable-libvpx
|
||||||
- --enable-libopus
|
- --enable-libopus
|
||||||
|
@ -52,8 +56,8 @@ build:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
gnu.org/wget: "*"
|
gnu.org/wget: '*'
|
||||||
info-zip.org/unzip: "*"
|
info-zip.org/unzip: '*'
|
||||||
script:
|
script:
|
||||||
- wget --content-disposition https://github.com/googlefonts/RobotoMono/raw/main/fonts/ttf/RobotoMono-Regular.ttf
|
- 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
|
- ffmpeg -filter_complex testsrc=rate=1:duration=1,drawtext=fontfile=RobotoMono-Regular.ttf:text=hello out.mp4
|
||||||
|
|
Loading…
Reference in a new issue