summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-11-20 10:46:35 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-11-20 10:46:35 -0800
commit3e5a81edeb918d1f4d96c7f5382e9661f146e36a (patch)
treed6bbc650cf9f60361d6cb3fdaf0d626efc7bd082 /packaging
parenta9da44b402ad7f1d1665c4345345b5bc40e53fbd (diff)
downloadsubsurface-3e5a81edeb918d1f4d96c7f5382e9661f146e36a.tar.gz
macOS: update make package script for Grantlee 5.1
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/macosx/make-package.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/macosx/make-package.sh b/packaging/macosx/make-package.sh
index 6aa5f53a3..264f71d8e 100755
--- a/packaging/macosx/make-package.sh
+++ b/packaging/macosx/make-package.sh
@@ -73,7 +73,7 @@ for i in QtScript.framework/Versions/5/QtScript QtCore.framework/Versions/5/QtCo
done
# clean up shared library dependency in the Grantlee plugins
-for i in Subsurface.app/Contents/PlugIns/grantlee/5.0/*.so; do
+for i in Subsurface.app/Contents/PlugIns/grantlee/5.1/*.so; do
OLD=$(otool -L $i | grep libGrantlee_Templates | cut -d\ -f1 | tr -d "\t")
SONAME=$(basename $OLD )
install_name_tool -change ${OLD} @executable_path/../Frameworks/${SONAME} $i;
@@ -81,9 +81,9 @@ for i in Subsurface.app/Contents/PlugIns/grantlee/5.0/*.so; do
install_name_tool -change ${OLD} @executable_path/../Frameworks/QtCore.framework/QtCore $i;
mv $i Subsurface.app/Contents/PlugIns/grantlee
done
-rmdir Subsurface.app/Contents/PlugIns/grantlee/5.0
+rmdir Subsurface.app/Contents/PlugIns/grantlee/5.1
pushd Subsurface.app/Contents/PlugIns/grantlee
-ln -s . 5.0
+ln -s . 5.1
popd
if [ "$1" = "-nodmg" ] ; then