File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -367,6 +367,15 @@ if build "openssl"; then
367367 build_done " openssl"
368368fi
369369
370+ if build " srt" ; then
371+ download " https://github.com/Haivision/srt/archive/v1.4.1.tar.gz" " v1.4.1.tar.gz"
372+ cd " $PACKAGES " /srt-1.4.1 || exit
373+ execute cmake -DCMAKE_INSTALL_PREFIX:PATH=" ${WORKSPACE} " -DENABLE_SHARED=OFF -DENABLE_STATIC=ON -DENABLE_APPS=OFF " $PACKAGES " /srt-1.4.1
374+ execute make -j $MJOBS
375+ execute make install
376+ build_done " srt"
377+ fi
378+
370379CFLAGS=" -I$WORKSPACE /include"
371380LDFLAGS=" -L$WORKSPACE /lib"
372381if command -v nvcc > /dev/null ; then
@@ -417,7 +426,8 @@ cd "$PACKAGES"/ffmpeg-4.3.1/ || exit
417426 --enable-libopencore_amrnb \
418427 --enable-filters \
419428 --enable-libvidstab \
420- --enable-libaom
429+ --enable-libaom \
430+ --enable-libsrt
421431
422432execute make -j $MJOBS
423433execute make install
You can’t perform that action at this time.
0 commit comments