diff options
-rwxr-xr-x | .travis.sh | 17 | ||||
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | unrpyc/Makefile | 2 |
3 files changed, 16 insertions, 5 deletions
@@ -13,12 +13,10 @@ case "$1" in curl http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 | tar -xj 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*" "Katawa Shoujo-linux-x86/game/imachine.rpyc" "Katawa Shoujo-linux-x86/game/ui-strings.rpyc" "Katawa Shoujo-linux-x86/game/ui-strings_FR.rpyc" "Katawa Shoujo-linux-x86/game/data.rpa" mv *.rpyc unrpyc + curl https://webp.googlecode.com/files/libwebp-0.4.0.tar.gz | tar -xz ;; install) - curl https://raw.github.com/Lattyware/unrpa/master/unrpa | python2 - -p www/dump -m data.rpa - rm data.rpa - - sudo apt-get install -q autoconf automake build-essential git imagemagick libjpeg-progs libtheora-dev libtool libvpx-dev libx264-dev optipng pkg-config yasm zlib1g-dev + sudo apt-get install -q libjpeg-progs libtheora-dev libvpx-dev libx264-dev webp yasm cd fdk-aac-0.1.3 ./configure --disable-shared @@ -37,6 +35,17 @@ case "$1" in make $MAKEOPTS sudo make install cd .. + + curl https://raw.github.com/Lattyware/unrpa/master/unrpa | python2 - -p www/dump -m data.rpa + rm data.rpa + + cd libwebp-0.4.0 + ./configure + make $MAKEOPTS + sudo make install + cd .. + + sudo npm install -g grunt-cli uglifyjs ;; script) exec ./setup.sh "$@" diff --git a/.travis.yml b/.travis.yml index 8b3ad0c..e22ed09 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,6 @@ language: c +python: + - "3.3" env: MINIMAL=1 CFLAGS="-O2 -march=native -pipe" CXXFLAGS="-O2 -march=native -pipe" before_install: ./.travis.sh before_install install: ./.travis.sh install diff --git a/unrpyc/Makefile b/unrpyc/Makefile index ee0ef42..044a2bd 100644 --- a/unrpyc/Makefile +++ b/unrpyc/Makefile @@ -1,6 +1,6 @@ GZIP := $(shell ./find-gzip.sh) -TARGETS := script.json script.json.gz imachine.json imachine.json.gz imachine_replay.json imachine_replay.json.gz ui-strings.json ui-strings.json.gz ui-strings_FR.json ui-strings_FR.json.gz +TARGETS := script.json script.json.gz imachine.json imachine.json.gz ui-strings.json ui-strings.json.gz ui-strings_FR.json ui-strings_FR.json.gz all: $(TARGETS) |