comparison deploy/osx/copy-qt.sh @ 1398:6f5a40419b00 bqaudioio

Merge from branch bqresample
author Chris Cannam
date Wed, 07 Dec 2016 11:53:44 +0000
parents 1e63105fc82d
children 2451e7bb90af
comparison
equal deleted inserted replaced
1044:be5b29ce283b 1398:6f5a40419b00
1 #!/bin/bash 1 #!/bin/bash
2
3 set -eu
2 4
3 app="$1" 5 app="$1"
4 if [ -z "$app" ]; then 6 if [ -z "$app" ]; then
5 echo "Usage: $0 <appname>" 7 echo "Usage: $0 <appname>"
6 echo "Provide appname without the .app extension, please" 8 echo "Provide appname without the .app extension, please"
7 exit 2 9 exit 2
8 fi 10 fi
9 11
10 frameworks="QtCore QtNetwork QtGui QtXml QtWidgets QtPrintSupport" 12 frameworks="QtCore QtNetwork QtGui QtXml QtSvg QtWidgets QtPrintSupport QtDBus"
11 13
12 plugins="taccessiblewidgets dds gif icns ico jp2 jpeg mng tga tiff wbmp webp cocoa minimal offscreen" 14 plugins="dds gif icns ico jpeg tga tiff wbmp webp cocoa minimal offscreen"
13 15
14 qtdir=$(grep "Command:" Makefile | head -1 | awk '{ print $3; }' | sed s,/bin/.*,,) 16 qtdir=$(grep "Command:" Makefile | head -1 | awk '{ print $3; }' | sed s,/bin/.*,,)
15 17
16 if [ ! -d "$qtdir" ]; then 18 if [ ! -d "$qtdir" ]; then
17 echo "Failed to discover Qt installation directory from Makefile, exiting" 19 echo "Failed to discover Qt installation directory from Makefile, exiting"