TubeLab-App-Android/torrentStream/compile.sh

22 lines
701 B
Bash
Executable File

#!/bin/bash
# 1 - Install linux toolchain
# sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
# sudo apt-get update -qq
# sudo apt-get install -qq g++-7 g++-7-multilib swig
# 2 - Install swig
# sudo apt install swig
# 3 - Depending on your version (a or b)
# 3a - toolchain (x86)
# sudo apt-get install -qq g++-mingw-w64-i686 swig
# 3b - toolchain (64)
# sudo apt-get install -qq g++-mingw-w64-x86-64 swig
cd ../frostwire-jlibtorrent/swig/ || exit
chmod +x build-android-arm.sh
chmod +x build-android-arm64.sh
chmod +x build-android-x86.sh
chmod +x build-android-x86_64.sh
source build-android-arm.sh
source build-android-arm64.sh
source build-android-x86.sh
source build-android-x86_64.sh