morpheus

A Matrix client written in Go-QT
git clone git://archive.git.mtrnord.blog/Nordgedanken/morpheus.git
Log | Files | Refs | README | LICENSE

commit 798a20d24ce329f17056662552dda837172a5b5e
parent 804190c8be1eefba72f946cdf64c074c58af6a67
Author: Marcel <MTRNord@users.noreply.github.com>
Date:   Tue, 30 Jan 2018 22:10:06 +0100

Try fixing snap build
Diffstat:
Msnap/snapcraft.yaml | 19+++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml @@ -20,19 +20,30 @@ parts: - libgl1-mesa-dev - libpulse-dev - curl + - libfontconfig + - xvfb build: | add-apt-repository -y ppa:gophers/archive apt-get -qq update apt-get -y -qq install golang-1.9-go - export PATH=$PATH:/usr/lib/go-1.9/bin/ + export PATH="$PATH:/usr/lib/go-1.9/bin/" export GOPATH="$HOME/go/" mkdir $GOPATH - go get -u -v github.com/therecipe/qt/cmd/... - curl -sL --retry 10 --retry-delay 10 -o /tmp/$QT https://download.qt.io/official_releases/online_installers/qt-unified-linux-x64-online.run + go get -u -d -v github.com/therecipe/qt/cmd/... + export DISPLAY=:0 + curl -sL --retry 10 --retry-delay 10 -o /tmp/qt-unified-linux-x64-online.run https://download.qt.io/official_releases/online_installers/qt-unified-linux-x64-online.run chmod +x /tmp/qt-unified-linux-x64-online.run - /tmp/qt-unified-linux-x64-online.run --script $GOPATH/src/github.com/therecipe/qt/internal/ci/iscript.qs LINUX=true + xvfb-run /tmp/qt-unified-linux-x64-online.run --script $GOPATH/src/github.com/therecipe/qt/internal/ci/iscript.qs LINUX=true rm -f /tmp/qt-unified-linux-x64-online.run + export PKG_CONFIG_PATH=/opt/qt58/lib/pkgconfig + export QT_DOC_DIR=/opt/qt58/doc + export QT_MISC_DIR=/opt/qt58 + export QT_DIR=/opt/Qt + go install github.com/therecipe/qt/cmd/... $GOPATH/bin/qtsetup + mkdir -p $GOPATH/src/github.com/Nordgedanken/Morpheus/ + mv ./* $GOPATH/src/github.com/Nordgedanken/Morpheus/ + cd $GOPATH/src/github.com/Nordgedanken/Morpheus/ $GOPATH/bin/qtdeploy build linux install: | mv .circleci/Morpheus.sh $SNAPCRAFT_PART_INSTALL/usr/bin/Morpheus.sh