mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 14:21:04 +08:00
Added OS X frameworks: ogg, vorbis, vorbisfile, vorbisenc and flac
- Updated CMake installation script - The build script for the frameworks is available here: https://gist.github.com/mantognini/05460d9b6a8a272ed188
This commit is contained in:
parent
d45364b753
commit
599a16b1f2
@ -304,14 +304,30 @@ if(SFML_OS_WINDOWS)
|
||||
elseif(SFML_OS_MACOSX)
|
||||
|
||||
# install extlibs dependencies only when used
|
||||
if("${SNDFILE_LIBRARY}" STREQUAL "${SFML_SOURCE_DIR}/extlibs/libs-osx/Frameworks/sndfile.framework")
|
||||
install(DIRECTORY extlibs/libs-osx/Frameworks/sndfile.framework DESTINATION ${CMAKE_INSTALL_FRAMEWORK_PREFIX})
|
||||
if("${FLAC_LIBRARY}" STREQUAL "${SFML_SOURCE_DIR}/extlibs/libs-osx/Frameworks/FLAC.framework")
|
||||
install(DIRECTORY extlibs/libs-osx/Frameworks/FLAC.framework DESTINATION ${CMAKE_INSTALL_FRAMEWORK_PREFIX})
|
||||
endif()
|
||||
|
||||
if("${FREETYPE_LIBRARY}" STREQUAL "${SFML_SOURCE_DIR}/extlibs/libs-osx/Frameworks/freetype.framework")
|
||||
install(DIRECTORY extlibs/libs-osx/Frameworks/freetype.framework DESTINATION ${CMAKE_INSTALL_FRAMEWORK_PREFIX})
|
||||
endif()
|
||||
|
||||
if("${OGG_LIBRARY}" STREQUAL "${SFML_SOURCE_DIR}/extlibs/libs-osx/Frameworks/ogg.framework")
|
||||
install(DIRECTORY extlibs/libs-osx/Frameworks/ogg.framework DESTINATION ${CMAKE_INSTALL_FRAMEWORK_PREFIX})
|
||||
endif()
|
||||
|
||||
if("${VORBIS_LIBRARY}" STREQUAL "${SFML_SOURCE_DIR}/extlibs/libs-osx/Frameworks/vorbis.framework")
|
||||
install(DIRECTORY extlibs/libs-osx/Frameworks/vorbis.framework DESTINATION ${CMAKE_INSTALL_FRAMEWORK_PREFIX})
|
||||
endif()
|
||||
|
||||
if("${VORBISENC_LIBRARY}" STREQUAL "${SFML_SOURCE_DIR}/extlibs/libs-osx/Frameworks/vorbisenc.framework")
|
||||
install(DIRECTORY extlibs/libs-osx/Frameworks/vorbisenc.framework DESTINATION ${CMAKE_INSTALL_FRAMEWORK_PREFIX})
|
||||
endif()
|
||||
|
||||
if("${VORBISFILE_LIBRARY}" STREQUAL "${SFML_SOURCE_DIR}/extlibs/libs-osx/Frameworks/vorbisfile.framework")
|
||||
install(DIRECTORY extlibs/libs-osx/Frameworks/vorbisfile.framework DESTINATION ${CMAKE_INSTALL_FRAMEWORK_PREFIX})
|
||||
endif()
|
||||
|
||||
# install the Xcode templates if requested
|
||||
if(SFML_INSTALL_XCODE_TEMPLATES)
|
||||
configure_file(
|
||||
|
1
extlibs/libs-osx/Frameworks/FLAC.framework/FLAC
vendored
Symbolic link
1
extlibs/libs-osx/Frameworks/FLAC.framework/FLAC
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
Versions/Current/FLAC
|
1
extlibs/libs-osx/Frameworks/FLAC.framework/Resources
vendored
Symbolic link
1
extlibs/libs-osx/Frameworks/FLAC.framework/Resources
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
Versions/Current/Resources
|
BIN
extlibs/libs-osx/Frameworks/FLAC.framework/Versions/A/FLAC
vendored
Executable file
BIN
extlibs/libs-osx/Frameworks/FLAC.framework/Versions/A/FLAC
vendored
Executable file
Binary file not shown.
20
extlibs/libs-osx/Frameworks/FLAC.framework/Versions/A/Resources/Info.plist
vendored
Normal file
20
extlibs/libs-osx/Frameworks/FLAC.framework/Versions/A/Resources/Info.plist
vendored
Normal 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>FLAC</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.sfml-dev.FLAC</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>
|
1
extlibs/libs-osx/Frameworks/FLAC.framework/Versions/Current
vendored
Symbolic link
1
extlibs/libs-osx/Frameworks/FLAC.framework/Versions/Current
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
A
|
1
extlibs/libs-osx/Frameworks/ogg.framework/Resources
vendored
Symbolic link
1
extlibs/libs-osx/Frameworks/ogg.framework/Resources
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
Versions/Current/Resources
|
20
extlibs/libs-osx/Frameworks/ogg.framework/Versions/A/Resources/Info.plist
vendored
Normal file
20
extlibs/libs-osx/Frameworks/ogg.framework/Versions/A/Resources/Info.plist
vendored
Normal 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>ogg</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.sfml-dev.ogg</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>
|
BIN
extlibs/libs-osx/Frameworks/ogg.framework/Versions/A/ogg
vendored
Executable file
BIN
extlibs/libs-osx/Frameworks/ogg.framework/Versions/A/ogg
vendored
Executable file
Binary file not shown.
1
extlibs/libs-osx/Frameworks/ogg.framework/Versions/Current
vendored
Symbolic link
1
extlibs/libs-osx/Frameworks/ogg.framework/Versions/Current
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
A
|
1
extlibs/libs-osx/Frameworks/ogg.framework/ogg
vendored
Symbolic link
1
extlibs/libs-osx/Frameworks/ogg.framework/ogg
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
Versions/Current/ogg
|
1
extlibs/libs-osx/Frameworks/vorbis.framework/Resources
vendored
Symbolic link
1
extlibs/libs-osx/Frameworks/vorbis.framework/Resources
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
Versions/Current/Resources
|
20
extlibs/libs-osx/Frameworks/vorbis.framework/Versions/A/Resources/Info.plist
vendored
Normal file
20
extlibs/libs-osx/Frameworks/vorbis.framework/Versions/A/Resources/Info.plist
vendored
Normal 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>vorbis</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.sfml-dev.vorbis</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>
|
BIN
extlibs/libs-osx/Frameworks/vorbis.framework/Versions/A/vorbis
vendored
Executable file
BIN
extlibs/libs-osx/Frameworks/vorbis.framework/Versions/A/vorbis
vendored
Executable file
Binary file not shown.
1
extlibs/libs-osx/Frameworks/vorbis.framework/Versions/Current
vendored
Symbolic link
1
extlibs/libs-osx/Frameworks/vorbis.framework/Versions/Current
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
A
|
1
extlibs/libs-osx/Frameworks/vorbis.framework/vorbis
vendored
Symbolic link
1
extlibs/libs-osx/Frameworks/vorbis.framework/vorbis
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
Versions/Current/vorbis
|
1
extlibs/libs-osx/Frameworks/vorbisenc.framework/Resources
vendored
Symbolic link
1
extlibs/libs-osx/Frameworks/vorbisenc.framework/Resources
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
Versions/Current/Resources
|
20
extlibs/libs-osx/Frameworks/vorbisenc.framework/Versions/A/Resources/Info.plist
vendored
Normal file
20
extlibs/libs-osx/Frameworks/vorbisenc.framework/Versions/A/Resources/Info.plist
vendored
Normal 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>vorbisenc</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.sfml-dev.vorbisenc</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>
|
BIN
extlibs/libs-osx/Frameworks/vorbisenc.framework/Versions/A/vorbisenc
vendored
Executable file
BIN
extlibs/libs-osx/Frameworks/vorbisenc.framework/Versions/A/vorbisenc
vendored
Executable file
Binary file not shown.
1
extlibs/libs-osx/Frameworks/vorbisenc.framework/Versions/Current
vendored
Symbolic link
1
extlibs/libs-osx/Frameworks/vorbisenc.framework/Versions/Current
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
A
|
1
extlibs/libs-osx/Frameworks/vorbisenc.framework/vorbisenc
vendored
Symbolic link
1
extlibs/libs-osx/Frameworks/vorbisenc.framework/vorbisenc
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
Versions/Current/vorbisenc
|
1
extlibs/libs-osx/Frameworks/vorbisfile.framework/Resources
vendored
Symbolic link
1
extlibs/libs-osx/Frameworks/vorbisfile.framework/Resources
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
Versions/Current/Resources
|
20
extlibs/libs-osx/Frameworks/vorbisfile.framework/Versions/A/Resources/Info.plist
vendored
Normal file
20
extlibs/libs-osx/Frameworks/vorbisfile.framework/Versions/A/Resources/Info.plist
vendored
Normal 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>vorbisfile</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.sfml-dev.vorbisfile</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>
|
BIN
extlibs/libs-osx/Frameworks/vorbisfile.framework/Versions/A/vorbisfile
vendored
Executable file
BIN
extlibs/libs-osx/Frameworks/vorbisfile.framework/Versions/A/vorbisfile
vendored
Executable file
Binary file not shown.
1
extlibs/libs-osx/Frameworks/vorbisfile.framework/Versions/Current
vendored
Symbolic link
1
extlibs/libs-osx/Frameworks/vorbisfile.framework/Versions/Current
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
A
|
1
extlibs/libs-osx/Frameworks/vorbisfile.framework/vorbisfile
vendored
Symbolic link
1
extlibs/libs-osx/Frameworks/vorbisfile.framework/vorbisfile
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
Versions/Current/vorbisfile
|
Loading…
Reference in New Issue
Block a user