From ff8361d703ef9aba64c4b1d9b90d631680507620 Mon Sep 17 00:00:00 2001 From: Maxime Gervais Date: Sat, 28 Oct 2023 22:23:55 +0200 Subject: [PATCH] Move libzen and libmediainfo to Framework folder Signed-off-by: Maxime Gervais --- Project/GNU/GUI/AddThisToRoot_GUI_compile.sh | 26 ++++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Project/GNU/GUI/AddThisToRoot_GUI_compile.sh b/Project/GNU/GUI/AddThisToRoot_GUI_compile.sh index 963c9e9b..7ca951f9 100644 --- a/Project/GNU/GUI/AddThisToRoot_GUI_compile.sh +++ b/Project/GNU/GUI/AddThisToRoot_GUI_compile.sh @@ -344,36 +344,36 @@ if test -e dvrescue/Source/GUI/dvrescue/dvrescue.pro; then if test -e dvrescue/dvrescue || test -e dvrescue/dvrescue.app; then if [ "$OS" = "mac" ] && ! macdeployqt dvrescue/dvrescue.app -qmldir=../dvrescue ; then echo Problem while bundling qt frameworks - exit + exit 1 fi echo dvrescue compiled else echo Problem while compiling dvrescue - exit + exit 1 fi else echo Problem while configuring dvrescue - exit + exit 1 fi else echo dvrescue directory is not found - exit + exit 1 fi cd $Home if [ "$OS" = "mac" ]; then mkdir -p dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Helpers - cp -a ZenLib/Project/GNU/Library/.libs/libzen.0.dylib dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Libraries - install_name_tool -id @executable_path/../Libraries/libzen.0.dylib dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Libraries/libzen.0.dylib - cp -a MediaInfoLib/Project/GNU/Library/.libs/libmediainfo.0.dylib dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Libraries - install_name_tool -id @executable_path/../Libraries/libmediainfo.0.dylib dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Libraries/libmediainfo.0.dylib - install_name_tool -change /usr/local/lib/libzen.0.dylib @executable_path/../Libraries/libzen.0.dylib dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Libraries/libmediainfo.0.dylib + cp -a ZenLib/Project/GNU/Library/.libs/libzen.0.dylib dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Frameworks + install_name_tool -id @executable_path/../Frameworks/libzen.0.dylib dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Frameworks/libzen.0.dylib + cp -a MediaInfoLib/Project/GNU/Library/.libs/libmediainfo.0.dylib dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Frameworks + install_name_tool -id @executable_path/../Frameworks/libmediainfo.0.dylib dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Frameworks/libmediainfo.0.dylib + install_name_tool -change /usr/local/lib/libzen.0.dylib @executable_path/../Frameworks/libzen.0.dylib dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Frameworks/libmediainfo.0.dylib cp -a MediaInfo/Project/GNU/CLI/.libs/mediainfo dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Helpers - install_name_tool -change /usr/local/lib/libzen.0.dylib @executable_path/../Libraries/libzen.0.dylib dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Helpers/mediainfo - install_name_tool -change /usr/local/lib/libmediainfo.0.dylib @executable_path/../Libraries/libmediainfo.0.dylib dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Helpers/mediainfo + install_name_tool -change /usr/local/lib/libzen.0.dylib @executable_path/../Frameworks/libzen.0.dylib dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Helpers/mediainfo + install_name_tool -change /usr/local/lib/libmediainfo.0.dylib @executable_path/../Frameworks/libmediainfo.0.dylib dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Helpers/mediainfo cp -a dvrescue/Project/GNU/CLI/.libs/dvrescue dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Helpers - install_name_tool -change /usr/local/lib/libzen.0.dylib @executable_path/../Libraries/libzen.0.dylib dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Helpers/dvrescue - install_name_tool -change /usr/local/lib/libmediainfo.0.dylib @executable_path/../Libraries/libmediainfo.0.dylib dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Helpers/dvrescue + install_name_tool -change /usr/local/lib/libzen.0.dylib @executable_path/../Frameworks/libzen.0.dylib dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Helpers/dvrescue + install_name_tool -change /usr/local/lib/libmediainfo.0.dylib @executable_path/../Frameworks/libmediainfo.0.dylib dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Helpers/dvrescue cp -a ffmpeg/ffmpeg dvrescue/Source/GUI/dvrescue/build/dvrescue/dvrescue.app/Contents/Helpers avdevicever=$(basename $(ls "${PWD}"/ffmpeg/lib/libavdevice.*.dylib) | cut -d. -f2) avfilterver=$(basename $(ls "${PWD}"/ffmpeg/lib/libavfilter.*.dylib) | cut -d. -f2)