qtox build with cmake
This commit is contained in:
parent
590bcd316c
commit
cde6282fe6
|
@ -139,6 +139,8 @@ function mesh_tox_qtox {
|
|||
chroot "${rootdir}" apt-get -yq install libspeex-dev yasm pkg-config libopenjp2-7-dev
|
||||
chroot "${rootdir}" apt-get -yq install libx264-dev mjpegtools libmjpegtools-dev libav-tools
|
||||
|
||||
chroot "${rootdir}" apt-get -yq install build-essential cmake ffmpeg libexif-dev libgdk-pixbuf2.0-dev libglib2.0-dev libgtk2.0-dev libopenal-dev libqrencode-dev libqt5opengl5-dev libqt5svg5-dev libsqlcipher-dev libxss-dev pkg-config qrencode qt5-default qt5-qmake qttools5-dev qttools5-dev-tools yasm
|
||||
|
||||
if [ -d /repos/qtox ]; then
|
||||
mkdir ${rootdir}$INSTALL_DIR/qtox
|
||||
cp -r -p /repos/qtox/. ${rootdir}$INSTALL_DIR/qtox
|
||||
|
@ -155,7 +157,8 @@ function mesh_tox_qtox {
|
|||
git checkout $QTOX_COMMIT -b $QTOX_COMMIT
|
||||
chroot ${rootdir} /bin/bash -x <<EOF
|
||||
cd ${INSTALL_DIR}/qtox
|
||||
qmake
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig"
|
||||
cmake .
|
||||
make
|
||||
make install
|
||||
EOF
|
||||
|
|
Loading…
Reference in New Issue