add(ffmpeg,mp3)

closes #3966
This commit is contained in:
Jacob Heider 2023-11-06 10:21:51 -05:00 committed by Jacob Heider
parent 0a87077413
commit c7a337c546
2 changed files with 15 additions and 7 deletions

View file

@ -16,15 +16,22 @@ provides:
- bin/ffmpeg - bin/ffmpeg
- bin/ffprobe - bin/ffprobe
dependencies:
lame.sourceforge.io: '>=3.98.3'
build: build:
dependencies: dependencies:
x86-64: x86-64:
nasm.us: 2 nasm.us: 2
script: | script:
./configure --prefix="{{prefix}}" - ./configure $ARGS
make --jobs {{hw.concurrency}} - make --jobs {{hw.concurrency}}
make install - make install
env:
ARGS:
- --prefix="{{prefix}}"
- --enable-libmp3lame
test: | test:
ffmpeg -filter_complex testsrc=rate=1:duration=1 out.mp4 - ffmpeg -filter_complex testsrc=rate=1:duration=1 out.mp4
test -f out.mp4 - test -f out.mp4

View file

@ -8,6 +8,7 @@ versions:
dependencies: dependencies:
python.org: '>=3<3.12' python.org: '>=3<3.12'
ffmpeg.org: '*'
build: python-venv.sh {{prefix}}/bin/yt-dlp build: python-venv.sh {{prefix}}/bin/yt-dlp