buckshot/make_dist_mac.sh

31 lines
832 B
Bash
Raw Normal View History

2016-12-06 02:12:44 +00:00
DEXTRAS=buckshot-osx/
DDIR=buckshot-osx/buckshot.app
ADIR=assets
mkdir -p $DDIR
2016-12-06 16:26:43 +00:00
# make app bundle with qt frameworks using macdeployqt
~/Qt/5.7/clang_64/bin/macdeployqt build-buckshot-Desktop_Qt_5_7_0_clang_64bit-Release/buckshot.app
# copy to dmg staging dir
2016-12-06 02:12:44 +00:00
cp -R build-buckshot-Desktop_Qt_5_7_0_clang_64bit-Release/buckshot.app $DEXTRAS
mkdir -p $DDIR/Contents/MacOS
mkdir -p $DDIR/Contents/Resources
cp $ADIR/Info.plist $DDIR/Contents
cp $ADIR/icons.icns $DDIR/Contents/Resources
2016-12-06 16:26:43 +00:00
# not needed?
#dylibbundler -od -b -x $DDIR/Contents/MacOS/buckshot -d $DDIR/Contents/libs/
2016-12-06 02:12:44 +00:00
# files to include in dmg
#cp doc/gsplusmanual.pdf $DEXTRAS
#cp doc/gsplusmanual.txt $DEXTRAS
cp doc/README.txt $DEXTRAS
cp ../b2d $DDIR/Contents/MacOS
#cp COPYING.txt $DEXTRAS
#tar -cvzf gsplus-osx.tar.gz gsplus-osx/
# packaging now in DMG script