2021-02-01 18:38:49 +01:00
|
|
|
#!/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
|
2021-02-02 18:03:24 +01:00
|
|
|
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
|
2021-02-01 18:38:49 +01:00
|
|
|
source build-android-arm.sh
|
2021-02-02 18:03:24 +01:00
|
|
|
source build-android-arm64.sh
|
|
|
|
source build-android-x86.sh
|
|
|
|
source build-android-x86_64.sh
|