diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2014-02-27 20:15:45 -0500 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2014-02-27 20:15:45 -0500 |
commit | 306490e7ede10e550e9fa9e24247c6f9ffeaddb0 (patch) | |
tree | 0ec5a9b63454515e563133a220369196cf6acc09 | |
parent | 84250d6a817b6dc6ad426055d76e4bdb0262cba5 (diff) | |
download | html5ks-306490e7ede10e550e9fa9e24247c6f9ffeaddb0.tar.xz html5ks-306490e7ede10e550e9fa9e24247c6f9ffeaddb0.zip |
install apngasm
-rwxr-xr-x | .travis.sh | 19 | ||||
m--------- | Modernizr | 0 | ||||
-rw-r--r-- | README.rst | 4 |
3 files changed, 21 insertions, 2 deletions
@@ -14,6 +14,8 @@ case "$1" in curl http://downloads.xiph.org/releases/opus/opus-1.1.tar.gz | tar -xz curl http://webm.googlecode.com/files/libvpx-v1.3.0.tar.bz2 | tar -xj curl http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 | tar -xj + curl -L http://downloads.sourceforge.net/project/apngasm/2.8/apngasm-2.8-src.zip -O + unzip apngasm-2.8-src.zip apngasm.c curl http://dl.katawa-shoujo.com/gold_1.1/%5B4ls%5D_katawa_shoujo_1.1-%5Blinux-x86%5D%5BB5C707D5%5D.tar.bz2 | tar -xj --strip-components 2 --wildcards "Katawa Shoujo-linux-x86/game/script-a*.rpyc" "Katawa Shoujo-linux-x86/game/imachine.rpyc" "Katawa Shoujo-linux-x86/game/ui-strings*.rpyc" "Katawa Shoujo-linux-x86/game/data.rpa" mv *.rpyc unrpyc @@ -60,6 +62,23 @@ case "$1" in sudo make $MAKEOPTS install >/dev/null cd .. + cd apngasm-2.8 + patch -p1 <<-EOF + --- apngasm.c + +++ apngasm.c + @@ -29,6 +29,7 @@ + */^M + #include <stdio.h>^M + #include <stdlib.h>^M + +#include <string.h>^M + #include "png.h" /* original (unpatched) libpng is ok */^M + #include "zlib.h"^M + ^M + EOF + make LDLIBS="$(pkg-config --libs libpng --libs zlib)" apngasm + install -c -m755 apngasm /usr/local/bin + cd .. + cd ffmpeg ./configure --disable-everything --disable-logging --disable-programs --disable-runtime-cpudetect --enable-decoder=mpeg4 --enable-decoder=pcm_s16le --enable-decoder=vorbis --enable-decoder=rawvideo --enable-demuxer=matroska --enable-demuxer=ogg --enable-demuxer=wav --enable-demuxer=yuv4mpegpipe --enable-encoder=libfdk_aac --enable-encoder=libopus --enable-encoder=libtheora --enable-encoder=libvpx_vp8 --enable-encoder=libvpx_vp9 --enable-encoder=libx264 --enable-encoder=pcm_s16le --enable-encoder=rawvideo --enable-ffmpeg --enable-filter=aresample --enable-gpl --enable-hardcoded-tables --enable-libfdk_aac --enable-libopus --enable-libtheora --enable-libvpx --enable-libx264 --enable-muxer=ipod --enable-muxer=mp4 --enable-muxer=ogg --enable-muxer=wav --enable-muxer=webm --enable-muxer=yuv4mpegpipe --enable-nonfree --enable-protocol=file make $MAKEOPTS >/dev/null diff --git a/Modernizr b/Modernizr -Subproject a14fa9d7f203478330a80badd154b90b5a1566c +Subproject 96b3e677965b33e4af227d573da69775f2ad480 @@ -23,8 +23,8 @@ Requirements - cwebp and webpmux from libwebp - convert from ImageMagick - apngasm -- uglifyjs -- Node.js, npm, grunt +- Node.js, npm +- uglifyjs installed globally Recommended ''''''''''' |