Use latest version of dylibbundler to avoid issues surrounding OSX updates.
parent
4227241f78
commit
6f9061c028
|
@ -9,6 +9,11 @@ export CODEC2DIR=$FREEDVGUIDIR/codec2
|
|||
export LPCNETDIR=$FREEDVGUIDIR/LPCNet
|
||||
export HAMLIBDIR=$FREEDVGUIDIR/hamlib
|
||||
|
||||
# Prerequisite: build dylibbundler
|
||||
git clone https://github.com/auriamg/macdylibbundler.git
|
||||
cd macdylibbundler && git checkout master && git pull
|
||||
make
|
||||
|
||||
# Prerequisite: build hamlib
|
||||
git clone git://git.code.sf.net/p/hamlib/code hamlib-code
|
||||
cd hamlib-code && git checkout master && git pull
|
||||
|
|
|
@ -86,7 +86,7 @@ if(APPLE)
|
|||
COMMAND cp ARGS ${CMAKE_CURRENT_SOURCE_DIR}/freedv.icns FreeDV.app/Contents/Resources
|
||||
COMMAND echo ARGS -n "APPL????" > FreeDV.app/Contents/PkgInfo
|
||||
COMMAND cp ARGS freedv FreeDV.app/Contents/MacOS/FreeDV
|
||||
COMMAND DYLD_LIBRARY_PATH=${CODEC2_BUILD_DIR}/src:${LPCNET_BUILD_DIR}/src:${DYLD_LIBRARY_PATH} dylibbundler ARGS -od -b -x FreeDV.app/Contents/MacOS/FreeDV -d FreeDV.app/Contents/libs -p @executable_path/../libs/
|
||||
COMMAND DYLD_LIBRARY_PATH=${CODEC2_BUILD_DIR}/src:${LPCNET_BUILD_DIR}/src:${DYLD_LIBRARY_PATH} ${CMAKE_SOURCE_DIR}/macdylibbundler/dylibbundler ARGS -od -b -x FreeDV.app/Contents/MacOS/FreeDV -d FreeDV.app/Contents/libs -p @loader_path/../libs/
|
||||
COMMAND mkdir dist_tmp
|
||||
COMMAND cp -r FreeDV.app dist_tmp
|
||||
COMMAND hdiutil create -srcfolder dist_tmp/ -volname FreeDV -format UDZO -fs HFS+ ./FreeDV.dmg
|
||||
|
|
Loading…
Reference in New Issue