android updates

This commit is contained in:
radius 2015-07-03 10:40:27 -04:00
parent 4d8d5c2817
commit c60738d618

View File

@ -228,9 +228,9 @@ build_libretro_generic_makefile() {
fi
cp -v ${NAME}_libretro${FORMAT}${SUFFIX}.${FORMAT_EXT} $RARCH_DIST_DIR/${DIST}/${NAME}_libretro${FORMAT}${SUFFIX}.${FORMAT_EXT} &> /tmp/buildbot.log
else
ERROR=`cat /tmp/buildbot.log | tail -n 500`
ERROR=`cat /tmp/buildbot.log | tail -n 300`
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='"'`
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
@ -277,7 +277,7 @@ build_libretro_leiradel_makefile() {
MESSAGE="$1 build successful [$jobid]"
cp -v ${NAME}_libretro${FORMAT}.${ARGS}.${FORMAT_EXT} $RARCH_DIST_DIR/${DIST}/${ARGS}/${NAME}_libretro${FORMAT}.${FORMAT_EXT} &>> /tmp/buildbot.log
else
ERROR=`cat /tmp/buildbot.log | tail -n 500`
ERROR=`cat /tmp/buildbot.log | tail -n 300`
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='"'`
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
@ -327,7 +327,7 @@ build_libretro_generic_theos() {
MESSAGE="$1 build successful [$jobid]"
cp -v objs/obj/${NAME}_libretro${FORMAT}${SUFFIX}.${FORMAT_EXT} $RARCH_DIST_DIR/${NAME}_libretro${FORMAT}${SUFFIX}.${FORMAT_EXT}
else
ERROR=`cat /tmp/buildbot.log | tail -n 500`
ERROR=`cat /tmp/buildbot.log | tail -n 300`
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='"'`
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
fi
@ -373,7 +373,7 @@ build_libretro_generic_jni() {
buildbot_log "$MESSAGE"
cp -v ../libs/${a}/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/${a}/${1}_libretro${FORMAT}${SUFFIX}.${FORMAT_EXT}
else
ERROR=`cat /tmp/buildbot.log | tail -n 500`
ERROR=`cat /tmp/buildbot.log | tail -n 300`
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='"'`
MESSAGE="$1-$a build failed [$jobid] LOG: http://hastebin.com/$HASTE"
echo BUILDBOT JOB: $MESSAGE
@ -420,7 +420,7 @@ build_libretro_bsnes_jni() {
MESSAGE="$1 build successful [$jobid]"
cp -v ../libs/${a}/libretro_${CORENAME}_${PROFILE}.${FORMAT_EXT} $RARCH_DIST_DIR/${a}/${NAME}_${PROFILE}_libretro${FORMAT}${SUFFIX}.${FORMAT_EXT}
else
ERROR=`cat /tmp/buildbot.log | tail -n 500`
ERROR=`cat /tmp/buildbot.log | tail -n 300`
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='"'`
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
fi
@ -468,7 +468,7 @@ build_libretro_generic_gl_makefile() {
MESSAGE="$1 build successful [$jobid]"
cp -v ${NAME}_libretro${FORMAT}${SUFFIX}.${FORMAT_EXT} $RARCH_DIST_DIR/${NAME}_libretro${FORMAT}${SUFFIX}.${FORMAT_EXT}
else
ERROR=`cat /tmp/buildbot.log | tail -n 500`
ERROR=`cat /tmp/buildbot.log | tail -n 300`
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='"'`
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
fi
@ -529,7 +529,7 @@ build_libretro_bsnes() {
cp -fv "out/${NAME}_${PROFILE}_libretro${FORMAT}.${FORMAT_EXT}" $RARCH_DIST_DIR/${NAME}_${PROFILE}_libretro${FORMAT}${SUFFIX}.${FORMAT_EXT}
fi
else
ERROR=`cat /tmp/buildbot.log | tail -n 500`
ERROR=`cat /tmp/buildbot.log | tail -n 300`
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='"'`
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
fi
@ -755,7 +755,7 @@ if [ "${PLATFORM}" = "android" ] && [ "${RA}" = "YES" ]; then
if [ "${ENABLED}" = "YES" ]; then
echo "BUILDBOT JOB: $jobid Processing $NAME"
echo
echo
echo NAME: $NAME
echo DIR: $DIR
echo PARENT: $PARENTDIR
@ -861,18 +861,21 @@ if [ "${PLATFORM}" = "android" ] && [ "${RA}" = "YES" ]; then
mkdir -p android/phoenix/assets/info
mkdir -p android/phoenix/assets/overlays
mkdir -p android/phoenix/assets/shaders_glsl
mkdir -p android/phoenix/assets/libretrodb
mkdir -p android/phoenix/assets/database
mkdir -p android/phoenix/assets/autoconfig
mkdir -p android/phoenix/assets/cheats
cp -rfv media/assets/* android/phoenix/assets/assets/
cp -rfv media/autoconfig/* android/phoenix/assets/autoconfig/
#cp -rfv media/libretrodb/cht android/phoenix/assets/libretrodb/
cp -rfv media/libretrodb/rdb android/phoenix/assets/libretrodb/
cp -rfv media/libretrodb/cursors android/phoenix/assets/libretrodb/
cp -rfv media/libretrodb/rdb android/phoenix/assets/database/
cp -rfv media/libretrodb/cursors android/phoenix/assets/database/
cp -rfv media/overlays/* android/phoenix/assets/overlays/
cp -rfv media/shaders_glsl/* android/phoenix/assets/shaders_glsl/
cp -rfv media/shaders_glsl /tmp/
touch android/phoenix/assets/cheats/cheatshere.txt
cp -rfv $RARCH_DIR/info/* android/phoenix/assets/info/
echo "BUILDBOT JOB: $jobid Building"
@ -1239,7 +1242,7 @@ EOF
cp -Rfv gfx/video_filters/*.dll windows/filters/video
cp -Rfv gfx/video_filters/*.filt windows/filters/video
else
ERROR=`cat /tmp/buildbot.log | tail -n 500`
ERROR=`cat /tmp/buildbot.log | tail -n 300`
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='"'`
MESSAGE="retroarch build failed [$jobid] LOG: http://hastebin.com/$HASTE"
echo $MESSAGE
@ -1353,7 +1356,7 @@ if [ "${PLATFORM}" = "psp1" ] && [ "${RA}" = "YES" ]; then
MESSAGE="retroarch build successful [$jobid]"
echo $MESSAGE
else
ERROR=`cat /tmp/buildbot.log | tail -n 500`
ERROR=`cat /tmp/buildbot.log | tail -n 300`
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='"'`
MESSAGE="retroarch build failed [$jobid] LOG: http://hastebin.com/$HASTE"
echo $MESSAGE
@ -1484,7 +1487,7 @@ if [ "${PLATFORM}" == "wii" ] && [ "${RA}" == "YES" ]; then
MESSAGE="retroarch build successful [$jobid]"
echo $MESSAGE
else
ERROR=`cat /tmp/buildbot.log | tail -n 500`
ERROR=`cat /tmp/buildbot.log | tail -n 300`
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='"'`
MESSAGE="retroarch build failed [$jobid] LOG: http://hastebin.com/$HASTE"
echo $MESSAGE
@ -1634,7 +1637,7 @@ then
MESSAGE="retroarch build successful [$jobid]"
echo $MESSAGE
else
ERROR=`cat /tmp/buildbot.log | tail -n 500`
ERROR=`cat /tmp/buildbot.log | tail -n 300`
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='"'`
MESSAGE="retroarch build failed [$jobid] LOG: http://hastebin.com/$HASTE"
echo $MESSAGE