1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-19 04:11:46 +02:00

* Updated OSX build scripts.

This commit is contained in:
Christian Muehlhaeuser
2011-01-03 03:49:55 +01:00
parent a305c97972
commit 0af3ac8c80
3 changed files with 66 additions and 34 deletions

View File

@@ -1,8 +1,7 @@
#!/bin/bash
#
# Usage: dist/build-relese-osx.sh [-j] [--no-clean]
# Usage: ./admin/mac/build-release-osx.sh [--no-clean]
#
# Adding the -j parameter results in building a japanese version.
################################################################################
@@ -21,13 +20,18 @@ function die {
ROOT=`pwd`
QTDIR=`which qmake`
LINKDIR=`readlink $QTDIR`
QTDIR=`dirname $QTDIR`
QTDIR=$QTDIR/`dirname $LINKDIR`
QTDIR=`dirname $QTDIR`
test -L "$QTDIR" && QTDIR=`readlink $QTDIR`
echo "Goes here: $QTDIR"
export QMAKESPEC='macx-g++'
export QTDIR
export VERSION
export QTVERSION='4.7.1'
################################################################################
@@ -38,8 +42,8 @@ CREATEDMG='1'
header addQt
cd tomahawk.app
# $ROOT/admin/mac/add-Qt-to-bundle.sh \
# 'QtCore QtGui QtXml QtNetwork QtSql'
$ROOT/admin/mac/add-Qt-to-bundle.sh \
'QtCore QtGui QtXml QtNetwork QtSql'
header deposx
$ROOT/admin/mac/deposx.sh