SFML#541 Use openal-soft 1.16 as default OpenAL framework on OS X instead of the system's one

This commit is contained in:
Ceylo 2015-03-14 12:15:41 +01:00 committed by Lukas Dürrenberger
parent ae53cfd0d9
commit ce16554763
7 changed files with 29 additions and 3 deletions

View File

@ -328,6 +328,10 @@ elseif(SFML_OS_MACOSX)
install(DIRECTORY extlibs/libs-osx/Frameworks/vorbisfile.framework DESTINATION ${CMAKE_INSTALL_FRAMEWORK_PREFIX})
endif()
if("${OPENAL_LIBRARY}" STREQUAL "${SFML_SOURCE_DIR}/extlibs/libs-osx/Frameworks/OpenAL.framework")
install(DIRECTORY "${OPENAL_LIBRARY}" DESTINATION ${CMAKE_INSTALL_FRAMEWORK_PREFIX})
endif()
# install the Xcode templates if requested
if(SFML_INSTALL_XCODE_TEMPLATES)
# configure the templates plist files

View File

@ -0,0 +1 @@
Versions/Current/OpenAL

View File

@ -0,0 +1 @@
Versions/Current/Resources

Binary file not shown.

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>OpenAL</string>
<key>CFBundleIdentifier</key>
<string>org.sfml-dev.OpenAL</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
</dict>
</plist>

View File

@ -0,0 +1 @@
A

View File

@ -228,14 +228,13 @@ require () # $1 is a SFML module like 'system' or 'audio'
# copy extra dependencies
if [ "$1" = "audio" ]
then
# copy "FLAC" "ogg" "vorbis" "vorbisenc" "vorbisfile" frameworks too
for f in "FLAC" "ogg" "vorbis" "vorbisenc" "vorbisfile"
# copy "FLAC" "ogg" "vorbis" "vorbisenc" "vorbisfile" "OpenAL" frameworks too
for f in "FLAC" "ogg" "vorbis" "vorbisenc" "vorbisfile" "OpenAL"
do
copy "$CMAKE_INSTALL_FRAMEWORK_PREFIX/$f.framework" "$dest/$f.framework"
done
elif [ "$1" = "graphics" ]
then
# copy freetype framework too
copy "$CMAKE_INSTALL_FRAMEWORK_PREFIX/freetype.framework" "$dest/freetype.framework"
fi
fi