File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ if build "fdk_aac"; then
339339fi
340340
341341if build " av1" ; then
342- download " https://aomedia.googlesource.com/aom/+archive/69a986c7d4c354dfbccec570ccbc44688612c083 .tar.gz" " av1.tar.gz" " av1"
342+ download " https://aomedia.googlesource.com/aom/+archive/0f5cd05bb3d6209e2583ce682d1acd8e21ae24b8 .tar.gz" " av1.tar.gz" " av1"
343343 cd " $PACKAGES " /av1 || exit
344344 mkdir -p " $PACKAGES " /aom_build
345345 cd " $PACKAGES " /aom_build || exit
@@ -367,6 +367,18 @@ 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" " srt-v1.4.1.tar.gz"
372+ cd " $PACKAGES " /srt-1.4.1 || exit
373+ export OPENSSL_ROOT_DIR=" ${WORKSPACE} "
374+ export OPENSSL_LIB_DIR=" ${WORKSPACE} " /lib
375+ export OPENSSL_INCLUDE_DIR=" ${WORKSPACE} " /include/
376+ execute ./configure --prefix=" ${WORKSPACE} " --disable-shared --enable-static
377+ execute cmake " $PACKAGES " /srt-1.4.1 -DCMAKE_INSTALL_PREFIX:PATH=" ${WORKSPACE} " -DENABLE_SHARED=OFF -DENABLE_STATIC=ON -DENABLE_APPS=OFF -DWITH_EXTRALIBS=" -lz -ldl" .
378+ execute make install
379+ build_done " srt"
380+ fi
381+
370382CFLAGS=" -I$WORKSPACE /include"
371383LDFLAGS=" -L$WORKSPACE /lib"
372384if command -v nvcc > /dev/null ; then
@@ -417,7 +429,8 @@ cd "$PACKAGES"/ffmpeg-4.3.1/ || exit
417429 --enable-libopencore_amrnb \
418430 --enable-filters \
419431 --enable-libvidstab \
420- --enable-libaom
432+ --enable-libaom \
433+ --enable-libsrt
421434
422435execute make -j $MJOBS
423436execute make install
You can’t perform that action at this time.
0 commit comments