|
@@ -139,6 +139,8 @@ function mesh_tox_qtox {
|
139
|
139
|
chroot "${rootdir}" apt-get -yq install libspeex-dev yasm pkg-config libopenjp2-7-dev
|
140
|
140
|
chroot "${rootdir}" apt-get -yq install libx264-dev mjpegtools libmjpegtools-dev libav-tools
|
141
|
141
|
|
|
142
|
+ 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
|
|
143
|
+
|
142
|
144
|
if [ -d /repos/qtox ]; then
|
143
|
145
|
mkdir ${rootdir}$INSTALL_DIR/qtox
|
144
|
146
|
cp -r -p /repos/qtox/. ${rootdir}$INSTALL_DIR/qtox
|
|
@@ -155,7 +157,8 @@ function mesh_tox_qtox {
|
155
|
157
|
git checkout $QTOX_COMMIT -b $QTOX_COMMIT
|
156
|
158
|
chroot ${rootdir} /bin/bash -x <<EOF
|
157
|
159
|
cd ${INSTALL_DIR}/qtox
|
158
|
|
-qmake
|
|
160
|
+export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig"
|
|
161
|
+cmake .
|
159
|
162
|
make
|
160
|
163
|
make install
|
161
|
164
|
EOF
|