Skip to content

Commit 0fa7aed

Browse files
authored
Merge pull request #52 from rtgoodwin/patch-1
Add build section for SRT
2 parents 658a882 + f2e5405 commit 0fa7aed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build-ffmpeg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# https://github.com/markus-perl/ffmpeg-build-script
44

5-
VERSION=1.14
5+
VERSION=1.15
66
CWD=$(pwd)
77
PACKAGES="$CWD/packages"
88
WORKSPACE="$CWD/workspace"
@@ -368,13 +368,13 @@ if build "openssl"; then
368368
fi
369369

370370
if build "srt"; then
371-
download "https://github.com/Haivision/srt/archive/v1.4.1.tar.gz" "srt-v1.4.1.tar.gz"
371+
download "https://github.com/Haivision/srt/archive/v1.4.1.tar.gz" "v1.4.1.tar.gz"
372372
cd "$PACKAGES"/srt-1.4.1 || exit
373373
export OPENSSL_ROOT_DIR="${WORKSPACE}"
374374
export OPENSSL_LIB_DIR="${WORKSPACE}"/lib
375375
export OPENSSL_INCLUDE_DIR="${WORKSPACE}"/include/
376376
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" .
377+
execute cmake "$PACKAGES"/srt-1.4.1 -DCMAKE_INSTALL_PREFIX:PATH="${WORKSPACE}" -DENABLE_SHARED=OFF -DENABLE_STATIC=ON -DENABLE_APPS=OFF
378378
execute make install
379379
build_done "srt"
380380
fi

0 commit comments

Comments
 (0)