From 438e60e7c2ace0bbbcdcfd867bac4e427b2daa93 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 29 Jul 2014 17:04:07 +0200 Subject: [PATCH] Add building of Cairo-less 2048 for libretro-build.sh (UNIX) --- libretro-build-common.sh | 15 +++++++++++++++ libretro-build.sh | 1 + 2 files changed, 16 insertions(+) diff --git a/libretro-build-common.sh b/libretro-build-common.sh index 62818ac2..c921196b 100755 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -344,6 +344,21 @@ build_libretro_beetle_snes() fi } +build_libretro_2048() +{ + cd "${BASE_DIR}" + if [ -d 'libretro-2048' ]; then + echo '=== Building 2048 ===' + cd libretro-2048 + + "${MAKE}" -f Makefile.libretro platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" clean || die "Failed to clean 2048" + "${MAKE}" -f Makefile.libretro platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" || die "Failed to build 2048" + cp "2048_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}" + else + echo '2048 not fetched, skipping ...' + fi +} + build_libretro_fmsx() { cd "${BASE_DIR}" diff --git a/libretro-build.sh b/libretro-build.sh index 06214851..6f8149e2 100755 --- a/libretro-build.sh +++ b/libretro-build.sh @@ -94,6 +94,7 @@ mkdir -p "$RARCH_DIST_DIR" if [ $1 ]; then $1 else + build_libretro_2048 build_libretro_bluemsx build_libretro_fmsx build_libretro_bsnes_cplusplus98