Extra toxic compile options

This commit is contained in:
Bob Mottram 2018-04-20 19:40:41 +01:00
parent c237bfb8c5
commit 15d71bafb9
1 changed files with 5 additions and 2 deletions

View File

@ -693,12 +693,12 @@ function mesh_tox_client {
chroot "${rootdir}" apt-get -yq install libncursesw5-dev libconfig-dev libqrencode-dev
chroot "${rootdir}" apt-get -yq install libcurl4-openssl-dev libvpx-dev libopenal-dev
chroot "${rootdir}" apt-get -yq install libqrencode-dev libpng-dev libncurses5-dev libalut-dev
chroot "${rootdir}" apt-get -yq install libnotify-dev
chroot "${rootdir}" apt-get -yq install libnotify-dev python3-dev
toxic_disable_notify=0
else
apt-get -yq install libncursesw5-dev libconfig-dev libqrencode-dev
apt-get -yq install libcurl4-openssl-dev libvpx-dev libopenal-dev
apt-get -yq install libqrencode-dev libpng-dev libncurses5-dev libalut-dev
apt-get -yq install libqrencode-dev libpng-dev libncurses5-dev libalut-dev python3-dev
toxic_disable_notify=1
fi
@ -717,6 +717,9 @@ function mesh_tox_client {
echo "cd $INSTALL_DIR/toxic";
echo "git checkout $TOXIC_COMMIT -b $TOXIC_COMMIT";
echo "export DISABLE_DESKTOP_NOTIFY=$toxic_disable_notify";
echo "export DISABLE_AV=$toxic_disable_notify";
echo "export DISABLE_X11=$toxic_disable_notify";
echo "export DISABLE_SOUND_NOTIFY=$toxic_disable_notify";
echo 'if ! make; then';
echo ' exit 1';
echo 'fi';