travis: added appropriate linux dependencies
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|||||||
|
|
||||||
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||||
|
|
||||||
sudo apt-get -y -o Dpkg::Options::="--force-overwrite" install qt511base qt511multimedia qt511svg qttools5-dev libavformat-dev libavcodec-dev libavfilter-dev libavutil-dev libswscale-dev libswresample-dev cmake libopencolorio-dev libopenimageio-dev
|
sudo apt-get -y -o Dpkg::Options::="--force-overwrite" install qt511base qt511multimedia qt511svg qt511tools libavformat-dev libavcodec-dev libavfilter-dev libavutil-dev libswscale-dev libswresample-dev cmake libopencolorio-dev libopenimageio-dev
|
||||||
source /opt/qt*/bin/qt*-env.sh
|
source /opt/qt*/bin/qt*-env.sh
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
+2
-2
@@ -31,7 +31,7 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|||||||
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||||
|
|
||||||
# Generate Makefile
|
# Generate Makefile
|
||||||
cmake . -DQt5LinguistTools_DIR=/usr/lib/x86_64-linux-gnu/cmake/Qt5LinguistTools
|
cmake .
|
||||||
|
|
||||||
# Make
|
# Make
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
@@ -43,7 +43,7 @@ elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Use `make install` on `appdir` to place files in the correct place
|
# Use `make install` on `appdir` to place files in the correct place
|
||||||
make DESTDIR=appdir -j$(nproc) install
|
make DESTDIR=appdir install
|
||||||
|
|
||||||
# Download linuxdeployqt
|
# Download linuxdeployqt
|
||||||
wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
|
wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
|
||||||
|
|||||||
Reference in New Issue
Block a user