Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Molkentin <danimo@owncloud.com>2014-12-03 15:40:53 +0300
committerDaniel Molkentin <danimo@owncloud.com>2014-12-03 15:41:12 +0300
commite1fa6f1a0dcb144e648aa60b60fa4406c27e9cde (patch)
tree4398d9e9a98f134b2ea3529bc5915600d9bc8bc9 /admin/osx/sign_app.sh
parenta23e0fef8d0376e12549a2b9155e287caff9a4af (diff)
fix_frameworks is no longer required
This is taken care of by macdeployqt.py, which is run during "make install"
Diffstat (limited to 'admin/osx/sign_app.sh')
-rwxr-xr-xadmin/osx/sign_app.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/admin/osx/sign_app.sh b/admin/osx/sign_app.sh
index bda0b9c0a..2a0994f58 100755
--- a/admin/osx/sign_app.sh
+++ b/admin/osx/sign_app.sh
@@ -5,26 +5,6 @@
src_app="$1"
identity="$2"
-QT_FMWK_VERSION="5"
-
-fix_frameworks() {
- TMP_APP=$1
- QT_FMWK_PATH=$2
- QT_FMWKS=$3/Qt*.framework
-
- echo "Patching Qt frameworks..."
- for FMWK in $QT_FMWKS; do
- FMWK_NAME=`basename -s .framework $FMWK`
- FMWK=`basename $FMWK`
- FMWK_PATH="${TMP_APP}/Contents/Frameworks/${FMWK}"
- mkdir -p "${FMWK_PATH}/Versions/${QT_FMWK_VERSION}/Resources/"
- cp -avf "${QT_FMWK_PATH}/${FMWK}/Contents/Info.plist" "${FMWK_PATH}/Versions/${QT_FMWK_VERSION}/Resources"
- (cd "${FMWK_PATH}" && ln -sf "Versions/${QT_FMWK_VERSION}/Resources" "Resources")
- perl -pi -e "s/${FMWK_NAME}_debug/${FMWK_NAME}/" "${FMWK_PATH}/Resources/Info.plist"
- done
-}
-
-fix_frameworks "$src_app" `qmake -query QT_INSTALL_LIBS` "$src_app"/Contents/Frameworks
codesign -s "$identity" --force --verbose=4 --deep "$src_app"
# Just for our debug purposes: