Browse Source

packaging: updates MacOS X script

tags/1.4
Sven Oliver Moll 6 months ago
parent
commit
31a2d0003d
1 changed files with 9 additions and 5 deletions
  1. 9
    5
      packaging/macosx/build-app.sh

+ 9
- 5
packaging/macosx/build-app.sh View File

@@ -4,15 +4,19 @@ set -e
cd "$(dirname $0)"

QTDIR="${HOME}/Qt5.11.1/5.11.1/clang_64"
export PATH=${PATH}:${QTDIR}/bin
if [ -x "${QTDIR}/bin/qmake" ]; then
echo "QTDIR does not exist or does not contain Qt tools."
exit 1
fi
export PATH="${PATH}:${QTDIR}/bin"

# obtain version from debian changelog
version="$(head -1 ../debian/changelog | sed 's/.*(\([^)]*\)).*/\1/')"

PACKAGINGDIR=../../build/package
BUILDAPP=../../build-release/bin/fridgegrid.app
DEPLOYAPP=${PACKAGINGDIR}/FridgeGrid.app
PLUGINDIR=Contents/PlugIns
PACKAGINGDIR="../../build/package"
BUILDAPP="../../build-release/bin/fridgegrid.app"
DEPLOYAPP="${PACKAGINGDIR}/FridgeGrid.app"
PLUGINDIR="Contents/PlugIns"

if [ -d "${DEPLOYAPP}" ]; then
rm -rf "${DEPLOYAPP}"

Loading…
Cancel
Save