Fix macOS build

This commit is contained in:
Martin Natano
2022-04-08 22:46:43 +02:00
committed by teejusb
parent 4c0aef69dd
commit 3ca3bb0773
28 changed files with 52 additions and 3923 deletions
@@ -28,29 +28,29 @@
</dict>
</array>
<key>CFBundleExecutable</key>
<string>@SM_EXE_NAME@</string>
<string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string>
<key>CFBundleGetInfoString</key>
<string>@SM_EXE_NAME@ @SM_VERSION_TRADITIONAL@</string>
<string>${SM_EXE_NAME} ${SM_VERSION_TRADITIONAL}</string>
<key>CFBundleIconFile</key>
<string>smicon.icns</string>
<key>CFBundleIdentifier</key>
<string>com.@SM_EXE_NAME@-@SM_VERSION_MAJOR@</string>
<string>com.${SM_EXE_NAME}-${SM_VERSION_MAJOR}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>@SM_EXE_NAME@</string>
<string>${SM_EXE_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>@SM_VERSION_TRADITIONAL@</string>
<string>${SM_VERSION_TRADITIONAL}</string>
<key>CFBundleSignature</key>
<string>Step</string>
<key>CFBundleVersion</key>
<string>@SM_VERSION_TRADITIONAL@</string>
<string>${SM_VERSION_TRADITIONAL}</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.music-games</string>
<key>LSMinimumSystemVersion</key>
<string>@CMAKE_OSX_DEPLOYMENT_TARGET_FULL@</string>
<string>${CMAKE_OSX_DEPLOYMENT_TARGET_FULL}</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright 2001-2015</string>
<key>NSPrincipalClass</key>
Binary file not shown.
-24
View File
@@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//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>Libraries</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>com.apple.carbonframeworktemplate</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleSignature</key>
<string>OGG_</string>
<key>CFBundleVersion</key>
<string>1.11</string>
<key>CSResourcesFileMapped</key>
<true/>
</dict>
</plist>
File diff suppressed because it is too large Load Diff
-20
View File
@@ -1,20 +0,0 @@
Static Libraries:
jpeg-6b
libogg-1.1.2
libpng-1.5.1
libvorbis-1.1.1
libtheora-1.0alpha5
zlib-1.2.3
ffmpeg-r8448
Directions:
1. Decompress all of those in the Libraries directory.
2a. Get ffmpeg via
svn co -r 8448 svn://svn.mplayerhq.hu/ffmpeg/trunk/ ffmpeg
2b. Run guard-ffmpeg.sh
2c. Copy ffmpeg-config.h to ffmpeg/config.h
2d. Run version.sh in ffmpeg
2e. Patch ffmpeg with
http://stepmania.sourceforge.net/ffmpeg-r8448-avi.patch
3. Open Libraries.xcode and build target all.
4. Copy the static libraries to stepmania/PBProject/Libraries
-24
View File
@@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//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>ffmpeg</string>
<key>CFBundleGetInfoString</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>com.MySoftwareCompany.ffmpeg</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string></string>
<key>CFBundleSignature</key>
<string>STEP</string>
<key>CFBundleVersion</key>
<string>r8448</string>
</dict>
</plist>
-24
View File
@@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//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>ffmpeg</string>
<key>CFBundleGetInfoString</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>com.MySoftwareCompany.ffmpeg</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string></string>
<key>CFBundleSignature</key>
<string>STEP</string>
<key>CFBundleVersion</key>
<string>0.4.9-pre1</string>
</dict>
</plist>
File diff suppressed because it is too large Load Diff
-15
View File
@@ -1,15 +0,0 @@
#!/bin/sh
for i in ffmpeg/libavcodec/ppc/*.[hc] \
ffmpeg/libswscale/yuv2rgb_altivec.c; do
sed -i '' -e '1i\
#ifdef __ppc__
$a\
#endif' $i
done
for i in ffmpeg/libavcodec/i386/*.[hc]; do
sed -i '' -e '1i\
#ifdef __i386__
$a\
#endif' $i
done
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-24
View File
@@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//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>mad</string>
<key>CFBundleGetInfoString</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>mad</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string></string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>0.15.1b</string>
</dict>
</plist>
-16
View File
@@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildVersion</key>
<string>38</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>ProjectName</key>
<string>CarbonProjectTemplates</string>
<key>SourceVersion</key>
<string>140000</string>
</dict>
</plist>
-14
View File
@@ -1,14 +0,0 @@
<?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>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.device.usb</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.network.server</key>
<true/>
</dict>
</plist>
-10
View File
@@ -1,10 +0,0 @@
#if defined(DEBUG)
#define PRODUCT_NAME @SM_NAME_DEBUG@
#elif defined(MINSIZEREL)
#define PRODUCT_NAME @SM_NAME_MINSIZEREL@
#elif defined(RELWITHDEBINFO)
#define PRODUCT_NAME @SM_NAME_RELWITHDEBINFO@
#else
#define PRODUCT_NAME @SM_NAME_RELEASE@
#endif