public
Fork of icefox/arora
Description: Cross platform web browser
Homepage: http://arora.googlecode.com/
Clone URL: git://github.com/Arora/arora.git
Tor Arne Vestbø (author)
Mon Nov 02 06:10:49 -0800 2009
faw (committer)
Sun Nov 08 06:44:36 -0800 2009
commit  1193ab397b1e220d96080a6b9275f7eb605aa8b2
tree    7ee52af33fbdc0890eb2507dd13f9a47a4e688b5
parent  032b0643626a8fab9dc26c4d22cdac98c6fd95ec
arora / buildosx.sh
100755 33 lines (27 sloc) 0.758 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/sh
#
# This script requires the use of the macdeployqt tool that is found in Qt 4.5
#
 
APP="Arora"
VERSION="0.10.1"
#BACKGROUND="src/data/512x512/arora.png"
 
DIR="bundle"
if [ -d $DIR.app ] ; then
echo "$DIR.app already exists"
    exit 1;
fi
 
# build app with Qt libraries
make distclean --quiet
qmake -r -config release
make --quiet
$QTDIR/bin/macdeployqt $APP.app/
 
# Create Bundle
mkdir $DIR
#cp $BACKGROUND $DIR/.Background.png
cp -rf $APP.app $DIR/
hdiutil create -ov -srcfolder $DIR -format UDBZ -volname "$APP $VERSION" "$APP.dmg"
hdiutil internet-enable -yes "$APP.dmg"
rm -rf $DIR
 
DATE=`date +"%m-%d-%Y"`
QTVERSION=`qmake --version | grep Qt | sed -e s/.*4/4/g -e 's/\/.*//g'`
mv $APP.dmg "$APP Snapshot ($DATE) Intel-Qt$QTVERSION.dmg"