add retroarch to linux recipes

This commit is contained in:
radius 2016-11-23 21:20:46 -05:00
parent 25b6fc9c96
commit 201c394915
4 changed files with 103 additions and 0 deletions

View File

@ -1874,5 +1874,96 @@ if [ "${PLATFORM}" = "emscripten" ] && [ "${RA}" = "YES" ]; then
fi
fi
if [ "${PLATFORM}" = "unix" ]; then
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
echo
echo
if [ "${BUILD}" = "YES" -o "${FORCE}" = "YES" -o "${FORCE_RETROARCH_BUILD}" == "YES" ]; then
touch $TMPDIR/built-frontend
cd $RADIR
git clean -xdf
echo "buildbot job: $jobid Building"
echo
echo "compiling audio filters"
cd audio/audio_filters
echo "audio filter BUILD CMD: ${HELPER} ${MAKE}"
${HELPER} ${MAKE}
if [ $? -eq 0 ]; then
echo buildbot job: $jobid audio filter build success!
else
echo buildbot job: $jobid audio filter: [status: fail]!
fi
cd ..
cd ..
echo "compiling video filters"
cd gfx/video_filters
echo "audio filter BUILD CMD: ${HELPER} ${MAKE}"
${HELPER} ${MAKE}
if [ $? -eq 0 ]; then
echo buildbot job: $jobid video filter build success!
else
echo buildbot job: $jobid video filter: [status: fail]!
fi
cd ..
cd ..
echo "configuring..."
echo "configure command: $CONFIGURE $ARGS"
${CONFIGURE} ${ARGS}
echo "cleaning up..."
echo "CLEANUP CMD: ${HELPER} ${MAKE} clean"
${HELPER} ${MAKE} clean
if [ $? -eq 0 ]; then
echo buildbot job: $jobid retroarch cleanup success!
else
echo buildbot job: $jobid retroarch cleanup failed!
fi
if [ $? -eq 0 ]; then
echo buildbot job: $jobid retroarch configure success!
else
echo buildbot job: $jobid retroarch configure failed!
fi
echo "building..."
echo "BUILD CMD: ${HELPER} ${MAKE} -j${JOBS}"
${HELPER} ${MAKE} -j${JOBS} 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
status=$?
echo $status
if [ $status -eq 0 ]; then
MESSAGE="retroarch: [status: done] [$jobid]"
echo $MESSAGE
echo buildbot job: $MESSAGE | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
buildbot_log "$MESSAGE"
echo "Packaging"
else
ERROR=$TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
HASTE=`curl -X POST http://hastebin.com/documents --data-binary @$ERROR`
HASTE=`echo $HASTE | cut -d"\"" -f4`
MESSAGE="retroarch: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE"
echo $MESSAGE
echo buildbot job: $MESSAGE | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
buildbot_log "$MESSAGE"
fi
fi
fi
PATH=$ORIGPATH

View File

@ -0,0 +1 @@

View File

@ -0,0 +1,5 @@
platform unix
PLATFORM unix
MAKEPORTABLE NO
CORE_JOB YES
MAKE make

View File

@ -0,0 +1,6 @@
retroarch retroarch https://github.com/libretro/Retroarch.git SUBMODULE YES .
overlays overlays https://github.com/libretro/common-overlays.git ASSETS YES retroarch/media
shaders shaders_cg https://github.com/libretro/common-shaders.git ASSETS YES retroarch/media
autoconfig autoconfig https://github.com/libretro/retroarch-joypad-autoconfig.git ASSETS YES retroarch/media
assets assets https://github.com/libretro/retroarch-assets.git ASSETS YES retroarch/media
libretrodb libretrodb https://github.com/libretro/libretro-database.git ASSETS YES retroarch/media