mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
chore: Updated build scrips
This commit is contained in:
parent
c726038198
commit
fe8671f35e
|
@ -129,7 +129,7 @@ sudo checkinstall --install --pkgname libsodium --pkgversion 1.0.8 --nodoc -y
|
||||||
sudo ldconfig
|
sudo ldconfig
|
||||||
cd ..
|
cd ..
|
||||||
# toxcore
|
# toxcore
|
||||||
git clone https://github.com/irungentoo/toxcore.git
|
git clone https://github.com/toktok/c-toxcore.git toxcore
|
||||||
cd toxcore
|
cd toxcore
|
||||||
autoreconf -if
|
autoreconf -if
|
||||||
./configure
|
./configure
|
||||||
|
|
|
@ -129,7 +129,7 @@ remove_build_dirs
|
||||||
############### install step ###############
|
############### install step ###############
|
||||||
#install libtoxcore
|
#install libtoxcore
|
||||||
if [[ $INSTALL_TOX = "true" ]]; then
|
if [[ $INSTALL_TOX = "true" ]]; then
|
||||||
git clone https://github.com/irungentoo/toxcore.git \
|
git clone https://github.com/toktok/c-toxcore.git \
|
||||||
"${BASE_DIR}/${TOX_CORE_DIR}" --depth 1
|
"${BASE_DIR}/${TOX_CORE_DIR}" --depth 1
|
||||||
|
|
||||||
pushd ${BASE_DIR}/${TOX_CORE_DIR}
|
pushd ${BASE_DIR}/${TOX_CORE_DIR}
|
||||||
|
|
|
@ -130,7 +130,7 @@ install() {
|
||||||
git pull
|
git pull
|
||||||
else
|
else
|
||||||
fcho "Cloning Toxcore git ... "
|
fcho "Cloning Toxcore git ... "
|
||||||
git clone --depth=1 https://github.com/irungentoo/toxcore "$TOXCORE_DIR"
|
git clone --depth=1 https://github.com/toktok/c-toxcore "$TOXCORE_DIR"
|
||||||
fi
|
fi
|
||||||
# qTox
|
# qTox
|
||||||
if [[ $TRAVIS = true ]]
|
if [[ $TRAVIS = true ]]
|
||||||
|
@ -282,7 +282,7 @@ helpme() {
|
||||||
echo "-b | --build -- Builds qTox in: ${BUILD_DIR}"
|
echo "-b | --build -- Builds qTox in: ${BUILD_DIR}"
|
||||||
echo "-d | --deploy -- Makes a distributable qTox.app file in: ${DEPLOY_DIR}"
|
echo "-d | --deploy -- Makes a distributable qTox.app file in: ${DEPLOY_DIR}"
|
||||||
echo "-bs | --bootstrap -- Performs bootstrap steps."
|
echo "-bs | --bootstrap -- Performs bootstrap steps."
|
||||||
fcho "Issues with Toxcore or qTox should be reported to their respective repos: https://github.com/irungentoo/toxcore | https://github.com/qTox/qTox"
|
fcho "Issues with Toxcore or qTox should be reported to their respective repos: https://github.com/toktok/c-toxcore | https://github.com/qTox/qTox"
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user