summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-03 22:36:39 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-03 22:36:39 -0700
commit40d85b5d633568a76c570d01d0ca00463e060c23 (patch)
treec85075b3272d226a24f9ab49144bb73f5df7bc78 /packaging
parentbc1a313c9f130640b21e13663d3ff6c447cd1de2 (diff)
downloadsubsurface-40d85b5d633568a76c570d01d0ca00463e060c23.tar.gz
Fix the failing bundle signature on Mac
So THAT was why we had moved the plugins... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/macosx/make-package.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/macosx/make-package.sh b/packaging/macosx/make-package.sh
index 3e122fe17..b227cd6d7 100755
--- a/packaging/macosx/make-package.sh
+++ b/packaging/macosx/make-package.sh
@@ -66,7 +66,12 @@ for i in Subsurface.app/Contents/PlugIns/grantlee/5.0/*.so; do
install_name_tool -change ${OLD} @executable_path/../Frameworks/${SONAME} $i;
OLD=$(otool -L $i | grep QtCore | cut -d\ -f1 | tr -d "\t")
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
+pushd Subsurface.app/Contents/PlugIns/grantlee
+ln -s . 5.0
+popd
# copy things into staging so we can create a nice DMG
rm -rf ./staging