From 22e4a2b90191cd9cf4631ed15d079788328f82bf Mon Sep 17 00:00:00 2001 From: MerryMage Date: Fri, 28 Dec 2018 10:43:54 +0000 Subject: [PATCH] travis/macos/upload: Manually invoke install_name_tool for a few stragglers --- .travis/macos/upload.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis/macos/upload.sh b/.travis/macos/upload.sh index a83d3bee73..26fa9c15c7 100755 --- a/.travis/macos/upload.sh +++ b/.travis/macos/upload.sh @@ -20,6 +20,13 @@ $(brew --prefix)/opt/qt5/bin/macdeployqt "${REV_NAME}/citra-qt.app" -executable= # move libs into folder for deployment dylibbundler -b -x "${REV_NAME}/citra" -cd -d "${REV_NAME}/libs" -p "@executable_path/libs/" +# TODO(merry): Figure out why these libraries are not automatically processed +install_name_tool -change /usr/local/Cellar/ffmpeg/4.1_1/lib/libavutil.56.dylib @executable_path/../Frameworks/libavutil.56.dylib "${REV_NAME}/citra-qt.app/Contents/Frameworks/libavcodec.58.dylib" +install_name_tool -change /usr/local/Cellar/ffmpeg/4.1_1/lib/libavutil.56.dylib @executable_path/../Frameworks/libavutil.56.dylib "${REV_NAME}/citra-qt.app/Contents/Frameworks/libswresample.3.dylib" +install_name_tool -change /usr/local/Cellar/ffmpeg/4.1_1/lib/libavutil.56.dylib @executable_path/libs/libavutil.56.dylib "${REV_NAME}/libs/libavcodec.58.dylib" +install_name_tool -change /usr/local/Cellar/ffmpeg/4.1_1/lib/libavutil.56.dylib @executable_path/libs/libavutil.56.dylib "${REV_NAME}/libs/libswresample.3.dylib" +install_name_tool -change /usr/local/Cellar/libvorbis/1.3.6/lib/libvorbis.0.dylib @executable_path/libs/libavutil.56.dylib "${REV_NAME}/libs/libvorbisenc.2.dylib" + # Make the citra-qt.app application launch a debugging terminal. # Store away the actual binary mv ${REV_NAME}/citra-qt.app/Contents/MacOS/citra-qt ${REV_NAME}/citra-qt.app/Contents/MacOS/citra-qt-bin