diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2014-03-04 18:43:32 -0500 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2014-03-04 18:43:32 -0500 |
commit | 7b49a8bed0a6c8e50adba8fc6c53c39d330bfa0c (patch) | |
tree | 248a43c29c0161f8d5d53c4ddacfdae0adc1c7fd | |
parent | f8bd20be5a331ad1baddbe55388500a1234926fd (diff) | |
download | html5ks-7b49a8bed0a6c8e50adba8fc6c53c39d330bfa0c.tar.xz html5ks-7b49a8bed0a6c8e50adba8fc6c53c39d330bfa0c.zip |
fix travis stuff
-rwxr-xr-x | .travis.sh | 17 | ||||
-rw-r--r-- | Makefile | 3 |
2 files changed, 5 insertions, 15 deletions
@@ -25,7 +25,7 @@ case "$1" in ;; install) MAKEOPTS="-s ${MAKEOPTS}" - sudo apt-get install -qq libtheora-dev libx264-dev nginx yasm + sudo apt-get install --no-install-recommends -qq libtheora-dev libx264-dev nginx yasm cd libwebp-0.4.0 sed -i -e '/unset ac_cv_header_GL_glut_h/d' configure @@ -45,8 +45,6 @@ case "$1" in cd .. rm -rf node-v* - sudo npm install -g uglify-js - cd fdk-aac-0.1.3 ./configure --disable-shared --disable-dependency-tracking --quiet make $MAKEOPTS >/dev/null @@ -75,18 +73,9 @@ case "$1" in cd .. rm -rf ffmpeg - patch -o - apngasm.c | gcc -x c -o apngasm -Wall $CFLAGS - $(pkg-config --libs libpng --libs zlib) <<EOF -@@ -29,6 +29,7 @@ - */
- #include <stdio.h>
- #include <stdlib.h>
-+#include <string.h>
- #include "png.h" /* original (unpatched) libpng is ok */
- #include "zlib.h"
-
-EOF + sed -e "29a#include <string.h>\r\n" apngasm.c | gcc -x c -o apngasm -Wall $CFLAGS - $(pkg-config --libs libpng --libs zlib) sudo install -c -m755 apngasm /usr/local/bin - rm apngasm apngasm.c + rm apngasm* curl https://raw.github.com/Lattyware/unrpa/master/unrpa | python2 - -p www/dump -m data.rpa rm data.rpa @@ -9,7 +9,7 @@ WEBPMUX ?= webpmux CONVERT ?= convert APNGASM ?= apngasm NPM ?= npm -DUGLIFYJS := node_modules/uglify-js/bin/uglifyjs +DUGLIFYJS := node_modules/.bin/uglifyjs UGLIFYJS ?= $(DUGLIFYJS) #PACKR ?= packr #CLOSURE_COMPILER ?= java -jar compiler.jar @@ -183,6 +183,7 @@ endif ifeq ($(DUGLIFYJS), $(UGLIFYJS)) $(UGLIFYJS): package.json $(NPM) update + touch "$@" endif # === MISC === |