Built SDL2_image and _mixer static
This commit is contained in:
15
libsdl2_image/Xcode/pkg-support/SDL_image.info
Normal file
15
libsdl2_image/Xcode/pkg-support/SDL_image.info
Normal file
@ -0,0 +1,15 @@
|
||||
Title SDL_image 1.2.4
|
||||
Version 1
|
||||
Description SDL_image Library for Mac OS X (http://www.libsdl.org/projects/SDL_image)
|
||||
DefaultLocation /Library/Frameworks
|
||||
Diskname (null)
|
||||
DeleteWarning
|
||||
NeedsAuthorization NO
|
||||
DisableStop NO
|
||||
UseUserMask NO
|
||||
Application NO
|
||||
Relocatable YES
|
||||
Required NO
|
||||
InstallOnly NO
|
||||
RequiresReboot NO
|
||||
InstallFat NO
|
27
libsdl2_image/Xcode/pkg-support/mkpackage.sh
Executable file
27
libsdl2_image/Xcode/pkg-support/mkpackage.sh
Executable file
@ -0,0 +1,27 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Generic script to create a package with Project Builder in mind
|
||||
# There should only be one version of this script for all projects!
|
||||
|
||||
FRAMEWORK="$1"
|
||||
VARIANT="$2"
|
||||
|
||||
PACKAGE="$FRAMEWORK"
|
||||
PACKAGE_RESOURCES="pkg-support/resources"
|
||||
|
||||
echo "Building package for $FRAMEWORK.framework"
|
||||
echo "Will fetch resources from $PACKAGE_RESOURCES"
|
||||
echo "Will create the package $PACKAGE.pkg"
|
||||
|
||||
# create a copy of the framework
|
||||
mkdir -p build/pkg-tmp
|
||||
xcrun CpMac -r "build/$FRAMEWORK.framework" build/pkg-tmp/
|
||||
|
||||
./package build/pkg-tmp "pkg-support/$PACKAGE.info" -d build -r "$PACKAGE_RESOURCES"
|
||||
|
||||
# remove temporary files
|
||||
rm -rf build/pkg-tmp
|
||||
|
||||
# compress
|
||||
(cd build; tar -zcvf "$PACKAGE.pkg.tar.gz" "$PACKAGE.pkg")
|
||||
|
26
libsdl2_image/Xcode/pkg-support/resources/ReadMe.txt
Normal file
26
libsdl2_image/Xcode/pkg-support/resources/ReadMe.txt
Normal file
@ -0,0 +1,26 @@
|
||||
SDL_image is an example portable image loading library for use with SDL.
|
||||
|
||||
The source code is available from: http://www.libsdl.org/projects/SDL_image
|
||||
|
||||
This library is distributed under the terms of the zlib license: http://www.zlib.net/zlib_license.html
|
||||
|
||||
This packages contains the SDL2_image.framework for OS X. Conforming with Apple guidelines, this framework contains both the SDL runtime component and development header files.
|
||||
|
||||
Requirements:
|
||||
You must have the SDL2.framework installed.
|
||||
|
||||
To Install:
|
||||
Copy the SDL2_image.framework to /Library/Frameworks
|
||||
|
||||
You may alternatively install it in <your home directory>/Library/Frameworks if your access privileges are not high enough. (Be aware that the Xcode templates we provide in the SDL Developer Extras package may require some adjustment for your system if you do this.)
|
||||
|
||||
|
||||
|
||||
|
||||
(Partial) History of PB/Xcode projects:
|
||||
2009-09-21 - Updated for 64-bit (Snow Leopard) Universal Binaries.
|
||||
Switched to 10.4 minimum requirement.
|
||||
Switched to ImageIO backend for distribution.
|
||||
Static libraries of libpng and libjpeg are no longer maintained and may eventually be removed.
|
||||
|
||||
2006-01-31 - First entry in history. Updated for Universal Binaries. Static libraries of libpng and libjpeg have been brought up-to-date and built as Universal.
|
3
libsdl2_image/Xcode/pkg-support/resources/Welcome.txt
Normal file
3
libsdl2_image/Xcode/pkg-support/resources/Welcome.txt
Normal file
@ -0,0 +1,3 @@
|
||||
This package installs the SDL_image library into /Library/Frameworks. You can also install it in
|
||||
<your home directory>/Library/Frameworks if your access privileges are not high enough.
|
||||
|
Reference in New Issue
Block a user