summaryrefslogtreecommitdiff
path: root/gui/build.sh
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-10-09 21:58:15 +0200
committerRuben Pollan <meskio@sindominio.net>2020-10-13 19:08:55 +0200
commitf8c05f3dee29c7ab1eb3eba82c917fe18333fc41 (patch)
tree4dc17ad736d670652c8f6f9437afd9a71f4cdada /gui/build.sh
parent73d0c7a96df2212d5a3ee6289fc286f3e6459028 (diff)
[pkg] add vendor icon to app
Diffstat (limited to 'gui/build.sh')
-rwxr-xr-xgui/build.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/gui/build.sh b/gui/build.sh
index 8b336fa..deb73a1 100755
--- a/gui/build.sh
+++ b/gui/build.sh
@@ -1,6 +1,9 @@
#!/bin/bash
set -e
-set -x
+
+# DEBUG --------------
+# set -x
+# --------------------
XBUILD=${XBUILD-no}
OSX_TARGET=10.11
@@ -13,6 +16,7 @@ SOURCE_GOLIB=gui/backend.go
QTBUILD=build/qt
RELEASE=$QTBUILD/release
+VENDOR_PATH=${VENDOR_PATH-providers/riseup}
PLATFORM=$(uname -s)
LDFLAGS=""
@@ -72,8 +76,9 @@ function buildGoLib {
function buildQmake {
echo "[+] Now building Qml app with Qt qmake"
echo "[+] Using qmake in:" $QMAKE
+ echo "[+] VENDOR_PATH:" $VENDOR_PATH
mkdir -p $QTBUILD
- $QMAKE -o $QTBUILD/Makefile "CONFIG-=debug CONFIG+=release" $PROJECT
+ $QMAKE -o $QTBUILD/Makefile "CONFIG-=debug CONFIG+=release VENDOR_PATH=${VENDOR_PATH}" $PROJECT
}
function renameOutput {