Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- git clone --depth=50 --branch=master https://github.com/mpromonet/webrtc-streamer.git mpromonet/webrtc-streamer
- cd webrtc-streamer
- git submodule update --init --recursive
- export GNARGSCOMMON='rtc_include_tests=false rtc_enable_protobuf=false use_custom_libcxx=false use_ozone=true rtc_include_pulse_audio=false rtc_build_examples=false'
- export GYP_GENERATOR_OUTPUT=x86_64
- export GNARGS='is_debug=false rtc_use_h264=true ffmpeg_branding="Chrome"'
- export SYSROOT=${TRAVIS_BUILD_DIR}/webrtc/src/build/linux/debian_stretch_amd64-sysroot
- export CXX=g++
- export CC=gcc
- gcc --version
- git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools.git && export PATH=$PATH:$(pwd)/depot_tools
- if [ "$CROSS" == "arm-linux-gnueabihf-" ]; then git clone --depth 1 https://github.com/raspberrypi/tools.git rpi_tools && export PATH=$PATH:$(pwd)/rpi_tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin; fi
- mkdir webrtc
- pushd webrtc
- git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://webrtc.googlesource.com/src.git --depth=1 /home/user/webrtc-streamer/webrtc/_gclient_src_5z03I_' in '/home/user/webrtc-streamer/webrtc
- gclient root
- gclient config --spec 'solutions = [
- {
- "url": "https://webrtc.googlesource.com/src.git",
- "managed": False,
- "name": "src",
- "deps_file": "DEPS",
- "custom_deps": {},
- },
- ]
- '
- gclient sync --nohooks --no-history --with_branch_heads
- git submodule foreach 'git config -f $toplevel/.git/config submodule.$name.ignore all'
- git config diff.ignoreSubmodules all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement