mirror of
https://github.com/darlinghq/xcbuild.git
synced 2025-02-23 01:42:55 +00:00

Implements actool Compile action with: * imageset supported * PNG converted to zlib compressed PremultipliedBGRA8 or PremultipliedGA8 * JPEG/raw support * size, scale, idiom supported * resizing partially supported * adds requirement for libpng Capture group namespaces when loading children in xcassets::Asset::Group Add tests for FSUtil IsFileExtension
22 lines
421 B
Bash
22 lines
421 B
Bash
#! /bin/bash
|
|
|
|
URL=ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng16/libpng-1.6.23.tar.gz
|
|
FILE=libpng-1.6.23.tar.gz
|
|
MD5SUM=a49e4cc48d968c79def53d082809c9f2
|
|
|
|
echo Downloading $URL
|
|
curl $URL -o $FILE
|
|
echo "$MD5SUM $FILE" | md5sum -c
|
|
if [ "$?" != "0" ]; then
|
|
exit 1
|
|
fi
|
|
|
|
echo Extracting
|
|
tar -zxvvf $FILE
|
|
cd ${FILE%.tar.gz}
|
|
|
|
echo Running configure/make/make install
|
|
./configure --prefix=/usr/local
|
|
make
|
|
make install
|