Skip to content

Commit

Permalink
CI: Update build scripts - be5e8be
Browse files Browse the repository at this point in the history
  • Loading branch information
DDRBoxman committed Dec 11, 2020
1 parent be5e8be commit d670581
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
13 changes: 6 additions & 7 deletions build-script-macos-01.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ export LIBX264_VERSION="r3027"
export LIBX264_HASH="4121277b40a667665d4eea1726aefdc55d12d110"
export LIBMBEDTLS_VERSION="2.24.0"
export LIBMEDTLS_HASH="b5a779b5f36d5fc4cba55faa410685f89128702423ad07b36c5665441a06a5f3"
export LIBSRT_VERSION="1.4.2"
export LIBSRT_HASH="28a308e72dcbb50eb2f61b50cc4c393c413300333788f3a8159643536684a0c4"
export LIBSRT_VERSION="1.4.1"
export LIBSRT_HASH="e80ca1cd0711b9c70882c12ec365cda1ba852e1ce8acd43161a21a04de0cbf14"
export LIBTHEORA_VERSION="1.1.1"
export LIBTHEORA_HASH="b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc"
export FFMPEG_VERSION="4.3.1"
export FFMPEG_HASH="ad009240d46e307b4e03a213a0f49c11b650e445b1f8be0dda2a9212b34d2ffb"
export FFMPEG_VERSION="4.2.3"
export FFMPEG_HASH="9df6c90aed1337634c1fb026fb01c154c29c82a64ea71291ff2da9aacb9aad31"
export LIBLUAJIT_VERSION="2.1.0-beta3"
export LIBLUAJIT_HASH="1ad2e34b111c802f9d0cdf019e986909123237a28c746b21295b63c9e785d9c3"
export LIBFREETYPE_VERSION="2.10.4"
Expand Down Expand Up @@ -462,7 +462,7 @@ build_24_build_dependency_libsrt() {
build_25_install_dependency_libsrt() {
step "Install dependency libsrt"
trap "caught_error 'Install dependency libsrt'" ERR
ensure_dir ${BASE_DIR}/CI_BUILD/srt-1.4.2/build
ensure_dir ${BASE_DIR}/CI_BUILD/srt-1.4.1/build

make install
}
Expand All @@ -479,7 +479,6 @@ build_27_build_dependency_ffmpeg() {
${BASE_DIR}/utils/safe_fetch "https://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.xz" "${FFMPEG_HASH}"
tar -xf ffmpeg-${FFMPEG_VERSION}.tar.xz
cd ./ffmpeg-${FFMPEG_VERSION}
${BASE_DIR}/utils/apply_patch "https://github.com/FFmpeg/FFmpeg/commit/7c59e1b0f285cd7c7b35fcd71f49c5fd52cf9315.patch?full_index=1" "1cbe1b68d70eadd49080a6e512a35f3e230de26b6e1b1c859d9119906417737f"
mkdir build
cd ./build
../configure --host-cflags="-I/tmp/obsdeps/include" --host-ldflags="-L/tmp/obsdeps/lib" --pkg-config-flags="--static" --extra-ldflags="-mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET}" --enable-shared --disable-static --enable-pthreads --enable-version3 --shlibdir="/tmp/obsdeps/bin" --enable-gpl --enable-videotoolbox --disable-libjack --disable-indev=jack --disable-outdev=sdl --disable-programs --disable-doc --enable-libx264 --enable-libopus --enable-libvorbis --enable-libvpx --enable-libsrt --enable-libtheora --enable-libmp3lame
Expand All @@ -490,7 +489,7 @@ build_27_build_dependency_ffmpeg() {
build_28_install_dependency_ffmpeg() {
step "Install dependency ffmpeg"
trap "caught_error 'Install dependency ffmpeg'" ERR
ensure_dir ${BASE_DIR}/CI_BUILD/ffmpeg-4.3.1/build
ensure_dir ${BASE_DIR}/CI_BUILD/ffmpeg-4.2.3/build

find . -name \*.dylib -exec cp -PR \{\} ${BASE_DIR}/CI_BUILD/obsdeps/bin/ \;
rsync -avh --include="*/" --include="*.h" --exclude="*" ../* ${BASE_DIR}/CI_BUILD/obsdeps/include/
Expand Down
8 changes: 4 additions & 4 deletions build-script-macos-02.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ export LIBX264_VERSION="r3027"
export LIBX264_HASH="4121277b40a667665d4eea1726aefdc55d12d110"
export LIBMBEDTLS_VERSION="2.24.0"
export LIBMEDTLS_HASH="b5a779b5f36d5fc4cba55faa410685f89128702423ad07b36c5665441a06a5f3"
export LIBSRT_VERSION="1.4.2"
export LIBSRT_HASH="28a308e72dcbb50eb2f61b50cc4c393c413300333788f3a8159643536684a0c4"
export LIBSRT_VERSION="1.4.1"
export LIBSRT_HASH="e80ca1cd0711b9c70882c12ec365cda1ba852e1ce8acd43161a21a04de0cbf14"
export LIBTHEORA_VERSION="1.1.1"
export LIBTHEORA_HASH="b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc"
export FFMPEG_VERSION="4.3.1"
export FFMPEG_HASH="ad009240d46e307b4e03a213a0f49c11b650e445b1f8be0dda2a9212b34d2ffb"
export FFMPEG_VERSION="4.2.3"
export FFMPEG_HASH="9df6c90aed1337634c1fb026fb01c154c29c82a64ea71291ff2da9aacb9aad31"
export LIBLUAJIT_VERSION="2.1.0-beta3"
export LIBLUAJIT_HASH="1ad2e34b111c802f9d0cdf019e986909123237a28c746b21295b63c9e785d9c3"
export LIBFREETYPE_VERSION="2.10.4"
Expand Down

0 comments on commit d670581

Please sign in to comment.