Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Commit

Permalink
Bump to qt5.8
Browse files Browse the repository at this point in the history
Signed-off-by: Roeland Jago Douma <[email protected]>
  • Loading branch information
rullzer committed May 28, 2017
1 parent c9bf00c commit 8a48498
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions linux/AppImage/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ RUN apt-get update

RUN apt-get install -y wget libsqlite3-dev libssl-dev cmake git software-properties-common build-essential mesa-common-dev fuse

RUN add-apt-repository -y ppa:beineri/opt-qt562-trusty
RUN add-apt-repository -y ppa:beineri/opt-qt58-trusty

RUN apt-get update

RUN apt-get install -y qt56base qt56tools
RUN apt-get install -y qt58base qt58tools
16 changes: 8 additions & 8 deletions linux/AppImage/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#/bin/bash

#Get Qt-5.6.2
source /opt/qt56/bin/qt56-env.sh
#Get Qt-5.8
source /opt/qt58/bin/qt58-env.sh

#QtKeyChain
cd
Expand All @@ -11,7 +11,7 @@ git checkout v0.8.0
mkdir build
cd build
cmake -D CMAKE_INSTALL_PREFIX=/app ../
make
make -j4
make install

#Build client
Expand All @@ -22,9 +22,9 @@ cmake -D CMAKE_INSTALL_PREFIX=/app \
-D NO_SHIBBOLETH=1 \
-D OEM_THEME_DIR=/home/client/nextcloudtheme \
-DMIRALL_VERSION_SUFFIX=beta \
-DMIRALL_VERSION_BUILD=13 \
-DMIRALL_VERSION_BUILD=14 \
/home/client/client
make
make -j4
make install

#Set info
Expand Down Expand Up @@ -56,7 +56,7 @@ cp /app/share/icons/hicolor/256x256/apps/Nextcloud.png nextcloud.png

#Copy qt plugins
mkdir -p ./usr/lib/qt5/plugis
cp -r /opt/qt56/plugins ./usr/lib/qt5/plugins
cp -r /opt/qt58/plugins ./usr/lib/qt5/plugins

#Copy dependencies
copy_deps
Expand All @@ -74,8 +74,8 @@ rm -rf app/ || true
cp /lib/x86_64-linux-gnu/libssl.so.1.0.0 usr/lib/


#Move qt5.6 libs to the right location
mv ./opt/qt56/lib/* ./usr/lib/x86_64-linux-gnu/
#Move qt5.8 libs to the right location
mv ./opt/qt58/lib/* ./usr/lib/
rm -rf ./opt/

#Move sync exlucde to right location
Expand Down

0 comments on commit 8a48498

Please sign in to comment.