1
0
Fork 0

Add apt cache and maybe make ffmpeg work?

This commit is contained in:
NamedKitten 2018-10-13 16:55:01 +01:00
parent a879aa7b06
commit f34796d9ba

View file

@ -2,6 +2,9 @@ language: cpp
compiler: gcc
sudo: require
dist: xenial
cache:
paths:
- apt-cache/
before_install:
- sudo add-apt-repository ppa:beineri/opt-qt-5.11.1-xenial -y
@ -9,9 +12,9 @@ before_install:
- sudo apt-get update
install:
- sudo apt update
- sudo apt-get -y install libmpv-dev qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 libgl1-mesa-dev
- sudo apt-get -o dir::cache::archives="apt-cache" -y install libmpv-dev qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 libgl1-mesa-dev
- source /opt/qt*/bin/qt*-env.sh
- sudo apt-get -o dir::cache::archives="apt-cache" -y upgrade
script:
- qmake CONFIG+=release PREFIX=/usr
@ -21,8 +24,8 @@ script:
- chmod a+x linuxdeployqt-continuous-x86_64.AppImage
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
- export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -qmldir=./src/qml/ -bundle-non-qt-libs
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -qmldir=./src/qml/ -appimage
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -qmldir=./src/qml/ -bundle-non-qt-libs -verbose=3 -appimage
- #./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -qmldir=./src/qml/ -appimage
after_success:
- find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq