Merge branch 'master' of github.com:libretro/libretro-super
This commit is contained in:
commit
be25541f92
|
@ -1383,4 +1383,158 @@ if [ "${PLATFORM}" == "wii" ] && [ "${RA}" == "YES" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "${PLATFORM}" == "ngc" ] && [ "${RA}" == "YES" ];
|
||||||
|
then
|
||||||
|
|
||||||
|
while read line; do
|
||||||
|
|
||||||
|
NAME=`echo $line | cut --fields=1 --delimiter=" "`
|
||||||
|
DIR=`echo $line | cut --fields=2 --delimiter=" "`
|
||||||
|
URL=`echo $line | cut --fields=3 --delimiter=" "`
|
||||||
|
TYPE=`echo $line | cut --fields=4 --delimiter=" "`
|
||||||
|
ENABLED=`echo $line | cut --fields=5 --delimiter=" "`
|
||||||
|
PARENTDIR=`echo $line | cut --fields=6 --delimiter=" "`
|
||||||
|
|
||||||
|
if [ "${ENABLED}" == "YES" ];
|
||||||
|
then
|
||||||
|
echo "BUILDBOT JOB: $jobid Processing $NAME"
|
||||||
|
echo
|
||||||
|
echo NAME: $NAME
|
||||||
|
echo DIR: $DIR
|
||||||
|
echo PARENT: $PARENTDIR
|
||||||
|
echo URL: $URL
|
||||||
|
echo REPO TYPE: $TYPE
|
||||||
|
echo ENABLED: $ENABLED
|
||||||
|
|
||||||
|
ARGS=""
|
||||||
|
|
||||||
|
TEMP=`echo $line | cut --fields=9 --delimiter=" "`
|
||||||
|
if [ -n ${TEMP} ];
|
||||||
|
then
|
||||||
|
ARGS="${TEMP}"
|
||||||
|
fi
|
||||||
|
TEMP=""
|
||||||
|
TEMP=`echo $line | cut --fields=10 --delimiter=" "`
|
||||||
|
if [ -n ${TEMP} ];
|
||||||
|
then
|
||||||
|
ARGS="${ARGS} ${TEMP}"
|
||||||
|
fi
|
||||||
|
TEMP=""
|
||||||
|
TEMP=`echo $line | cut --fields=11 --delimiter=" "`
|
||||||
|
if [ -n ${TEMP} ];
|
||||||
|
then
|
||||||
|
ARGS="${ARGS} ${TEMP}"
|
||||||
|
fi
|
||||||
|
TEMP=""
|
||||||
|
TEMP=`echo $line | cut --fields=12 --delimiter=" "`
|
||||||
|
if [ -n ${TEMP} ];
|
||||||
|
then
|
||||||
|
ARGS="${ARGS} ${TEMP}"
|
||||||
|
fi
|
||||||
|
TEMP=""
|
||||||
|
TEMP=`echo $line | cut --fields=13 --delimiter=" "`
|
||||||
|
if [ -n ${TEMP} ];
|
||||||
|
then
|
||||||
|
ARGS="${ARGS} ${TEMP}"
|
||||||
|
fi
|
||||||
|
TEMP=""
|
||||||
|
TEMP=`echo $line | cut --fields=14 --delimiter=" "`
|
||||||
|
if [ -n ${TEMP} ];
|
||||||
|
then
|
||||||
|
ARGS="${ARGS} ${TEMP}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
ARGS="${ARGS%"${ARGS##*[![:space:]]}"}"
|
||||||
|
|
||||||
|
echo ARGS: $ARGS
|
||||||
|
|
||||||
|
if [ -d "${PARENTDIR}/${DIR}/.git" ];
|
||||||
|
then
|
||||||
|
cd $PARENTDIR
|
||||||
|
cd $DIR
|
||||||
|
echo "pulling from repo... "
|
||||||
|
OUT=`git pull`
|
||||||
|
echo $OUT
|
||||||
|
if [ "${TYPE}" == "PROJECT" ];
|
||||||
|
then
|
||||||
|
RADIR=$DIR
|
||||||
|
if [[ $OUT == *"Already up-to-date"* ]]
|
||||||
|
then
|
||||||
|
BUILD="NO"
|
||||||
|
else
|
||||||
|
BUILD="YES"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
cd $WORK
|
||||||
|
else
|
||||||
|
echo "cloning repo..."
|
||||||
|
cd $PARENTDIR
|
||||||
|
git clone "$URL" "$DIR" --depth=1
|
||||||
|
cd $DIR
|
||||||
|
|
||||||
|
if [ "${TYPE}" == "PROJECT" ];
|
||||||
|
then
|
||||||
|
BUILD="YES"
|
||||||
|
RADIR=$DIR
|
||||||
|
|
||||||
|
fi
|
||||||
|
cd $WORK
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo
|
||||||
|
done < $1.ra
|
||||||
|
if [ "${BUILD}" == "YES" -o "${FORCE}" == "YES" ];
|
||||||
|
then
|
||||||
|
|
||||||
|
cd $RADIR
|
||||||
|
echo "BUILDBOT JOB: $jobid Building"
|
||||||
|
echo
|
||||||
|
|
||||||
|
if [ "${BUILD}" == "YES" -o "${FORCE}" == "YES" ];
|
||||||
|
then
|
||||||
|
|
||||||
|
cd dist-scripts
|
||||||
|
rm *.a
|
||||||
|
cp -v $RARCH_DIST_DIR/*.a .
|
||||||
|
|
||||||
|
ls -1 *.a | awk -F "." ' { print "cp " $0 " " $1 "_ngc." $2 }' |sh
|
||||||
|
sh ./ngc-cores.sh
|
||||||
|
if [ $? -eq 0 ];
|
||||||
|
then
|
||||||
|
MESSAGE="retroarch build successful ($jobid)"
|
||||||
|
echo $MESSAGE
|
||||||
|
else
|
||||||
|
MESSAGE="retroarch build failed ($jobid)"
|
||||||
|
echo $MESSAGE
|
||||||
|
fi
|
||||||
|
buildbot_log "$MESSAGE"
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Packaging"
|
||||||
|
echo ============================================
|
||||||
|
cp retroarch.cfg retroarch.default.cfg
|
||||||
|
|
||||||
|
|
||||||
|
mkdir -p ngc/pkg/
|
||||||
|
mkdir -p ngc/pkg/cheats
|
||||||
|
mkdir -p ngc/pkg/database
|
||||||
|
mkdir -p ngc/pkg/database/cursors
|
||||||
|
mkdir -p ngc/pkg/database/rdb
|
||||||
|
mkdir -p ngc/pkg/overlays
|
||||||
|
|
||||||
|
cp -Rfv media/libretrodb/cht/* ngc/pkg/cheats
|
||||||
|
cp -Rfv media/libretrodb/rdb/* ngc/pkg/database/rdb
|
||||||
|
cp -Rfv media/libretrodb/cursors/* ngc/pkg/database/cursors
|
||||||
|
cp -Rfv media/overlays/* ngc/pkg/overlays
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
PATH=$ORIGPATH
|
PATH=$ORIGPATH
|
||||||
|
|
|
@ -128,6 +128,12 @@ case "$platform" in
|
||||||
FORMAT_COMPILER_TARGET="wii"
|
FORMAT_COMPILER_TARGET="wii"
|
||||||
DIST_DIR="wii"
|
DIST_DIR="wii"
|
||||||
;;
|
;;
|
||||||
|
*ngc*)
|
||||||
|
platform=ngc
|
||||||
|
FORMAT_EXT="a"
|
||||||
|
FORMAT_COMPILER_TARGET="ngc"
|
||||||
|
DIST_DIR="ngc"
|
||||||
|
;;
|
||||||
theos_ios*)
|
theos_ios*)
|
||||||
platform=theos_ios
|
platform=theos_ios
|
||||||
FORMAT_EXT="dylib"
|
FORMAT_EXT="dylib"
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
fb_alpha libretro-fba https://github.com/libretro/fba-libretro.git PROJECT YES GENERIC makefile.libretro svn-current/trunk
|
||||||
|
fba_cores_cps1 libretro-fba https://github.com/libretro/fba-libretro.git PROJECT YES GENERIC makefile.libretro svn-current/trunk/fbacores/cps1
|
||||||
|
fba_cores_cps2 libretro-fba https://github.com/libretro/fba-libretro.git PROJECT YES GENERIC makefile.libretro svn-current/trunk/fbacores/cps2
|
||||||
|
fba_cores_neo libretro-fba https://github.com/libretro/fba-libretro.git PROJECT YES GENERIC makefile.libretro svn-current/trunk/fbacores/neogeo
|
||||||
|
fceumm libretro-fceuumm https://github.com/libretro/libretro-fceumm.git PROJECT YES GENERIC Makefile.libretro .
|
||||||
|
gambatte libretro-gambatte https://github.com/libretro/gambatte-libretro.git PROJECT YES GENERIC_ALT Makefile.libretro libgambatte
|
||||||
|
genesis_plus_gx libretro-genesis_plus_gx https://github.com/libretro/Genesis-Plus-GX.git PROJECT YES GENERIC Makefile.libretro .
|
||||||
|
mednafen_ngp libretro-mednafen_ngp https://github.com/libretro/beetle-ngp-libretro.git PROJECT YES GENERIC Makefile .
|
||||||
|
mednafen_pce_fast libretro-mednafen_pce_fast https://github.com/libretro/beetle-pce-fast-libretro.git PROJECT YES GENERIC Makefile .
|
||||||
|
mednafen_pcfx libretro-mednafen_pcfx https://github.com/libretro/beetle-pcfx-libretro.git PROJECT YES GENERIC Makefile .
|
||||||
|
mednafen_supergrafx libretro-mednafen_supergrafx https://github.com/libretro/beetle-supergrafx-libretro.git PROJECT YES GENERIC Makefile .
|
||||||
|
mednafen_vb libretro-mednafen_vb https://github.com/libretro/beetle-vb-libretro.git PROJECT YES GENERIC Makefile .
|
||||||
|
mednafen_wswan libretro-mednafen_wswan https://github.com/libretro/beetle-wswan-libretro.git PROJECT YES GENERIC Makefile .
|
||||||
|
nestopia libretro-nestopia https://github.com/libretro/nestopia.git PROJECT YES GENERIC Makefile libretro
|
||||||
|
nxengine libretro-nxengine https://github.com/libretro/nxengine-libretro.git PROJECT YES GENERIC Makefile .
|
||||||
|
prboom libretro-prboom https://github.com/libretro/libretro-prboom.git PROJECT YES GENERIC_ALT Makefile .
|
||||||
|
quicknes libretro-quicknes https://github.com/libretro/QuickNES_Core.git PROJECT YES GENERIC Makefile libretro
|
||||||
|
snes9x libretro-snes9x https://github.com/libretro/snes9x.git PROJECT YES GENERIC Makefile libretro
|
||||||
|
snes9x_next libretro-snes9x_next https://github.com/libretro/snes9x-next.git PROJECT YES GENERIC_ALT Makefile.libretro .
|
||||||
|
tyrquake libretro-tyrquake https://github.com/libretro/tyrquake.git PROJECT YES GENERIC Makefile .
|
||||||
|
vba_next libretro-vba_next https://github.com/libretro/vba-next.git PROJECT YES GENERIC Makefile.libretro .
|
|
@ -0,0 +1,10 @@
|
||||||
|
PATH /opt/devkitPro/devkitPPC/bin
|
||||||
|
platform ngc
|
||||||
|
PLATFORM ngc
|
||||||
|
CC powerpc-eabi-gcc
|
||||||
|
CXX powerpc-eabi-g++
|
||||||
|
AR powerpc--eabi-ar
|
||||||
|
SUFFIX _ngc
|
||||||
|
DEVKITPRO /opt/devkitPro
|
||||||
|
DEVKITPPC /opt/devkitPro/devkitPPC
|
||||||
|
RA YES
|
|
@ -0,0 +1,3 @@
|
||||||
|
retroarch retroarch https://github.com/libretro/Retroarch.git PROJECT YES .
|
||||||
|
overlays overlays https://github.com/libretro/common-overlays.git ASSETS YES retroarch/media
|
||||||
|
libretrodb libretrodb https://github.com/libretro/libretro-database.git ASSETS YES retroarch/media
|
|
@ -1,3 +1,3 @@
|
||||||
mame078 libretro-mame078 https://github.com/libretro/mame2003-libretro.git PROJECT YES GENERIC makefile .
|
mame078 libretro-mame078 https://github.com/libretro/mame2003-libretro.git PROJECT YES GENERIC Makefile .
|
||||||
scummvm libretro-scummvm https://github.com/libretro/scummvm.git PROJECT YES GENERIC Makefile backends/platform/libretro/build
|
scummvm libretro-scummvm https://github.com/libretro/scummvm.git PROJECT YES GENERIC Makefile backends/platform/libretro/build
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue