Beginning of compile of qtox

This commit is contained in:
Bob Mottram 2016-07-31 22:47:36 +01:00
parent d622f4d49f
commit b085af0b18
2 changed files with 33 additions and 1 deletions

View File

@ -46,6 +46,38 @@ TOXIC_REPO="https://github.com/Tox/toxic"
TOXIC_COMMIT='cf16849b374e484a33a4dffa3dfb937b59d537f2' TOXIC_COMMIT='cf16849b374e484a33a4dffa3dfb937b59d537f2'
TOXIC_FILE=/usr/local/bin/toxic TOXIC_FILE=/usr/local/bin/toxic
QTOX_REPO="https://github.com/bashrc/qTox"
QTOX_COMMIT='acd303514116b9a47818bd3e67f84a009acbea35'
function mesh_tox_qtox {
chroot "${rootdir}" apt-get -y install build-essential libatk1.0-0 libbz2-1.0 libc6 libcairo2 libdbus-1-3 libegl1-mesa libfontconfig1 libfreetype6 libgcc1 libgdk-pixbuf2.0-0 libgl1-mesa-glx libglib2.0-0 libgtk2.0-0 libice6 libicu52 libjpeg62-turbo libmng1 libmtdev1 libopenal1 libopus0 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpng12-0 libqrencode3 libsm6 libsodium13 libsqlite3-0 libssl1.0.0 libstdc++6 libtiff5 libudev1 libvpx1 libwayland-client0 libwayland-cursor0 libwayland-egl1-mesa libwebp5 libx11-6 libx11-xcb1 libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcb-xinerama0 libxcb1 libxext6 libxfixes3 libxi6 libxrender1 libxss1 zlib1g libopus-dev libvpx-dev
chroot "${rootdir}" apt-get -y install build-essential qt5-qmake qt5-default qttools5-dev-tools libqt5opengl5-dev libqt5svg5-dev libopenal-dev libxss-dev qrencode libqrencode-dev libglib2.0-dev libgdk-pixbuf2.0-dev libgtk2.0-dev ffmpeg libsqlcipher-dev libopus-dev libvpx-dev libavformat-dev libavdevice-dev libswscale-dev libavutil-dev libavcodec-dev libavcodec56 libavcodec57 libavfilter-dev libavfilter6
#chroot "${rootdir}" apt-get -y install --force-yes tox-ffmpeg-dev
if [ ! ${rootdir}$INSTALL_DIR ]; then
INSTALL_DIR=${rootdir}/root/build
fi
if [ ! -d ${rootdir}$INSTALL_DIR ]; then
mkdir -p ${rootdir}$INSTALL_DIR
fi
git clone $QTOX_REPO ${rootdir}$INSTALL_DIR/qtox
if [ ! -d ${rootdir}$INSTALL_DIR/qtox ]; then
exit 72428
fi
cd ${rootdir}${INSTALL_DIR}/qtox
git checkout $QTOX_COMMIT -b $QTOX_COMMIT
chroot ${rootdir} /bin/bash -x <<EOF
cd ${INSTALL_DIR}/qtox
qmake
make
make install
EOF
if [ ! -f /usr/local/bin/qtox ]; then
exit 75784
fi
}
function reconfigure_tox { function reconfigure_tox {
echo -n '' echo -n ''
} }

View File

@ -687,7 +687,7 @@ function configure_user_interface {
if [[ $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'i386' ]]; then if [[ $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'i386' ]]; then
# Tox user interface # Tox user interface
enable_tox_repo enable_tox_repo
# TODO: this may not work on all architectures #mesh_tox_qtox
chroot "$rootdir" apt-get -y --force-yes install qtox chroot "$rootdir" apt-get -y --force-yes install qtox
fi fi