From 42fb4470f48bce8feaeab91ccfec1f47c421aae6 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sun, 6 Oct 2013 14:59:05 +0200 Subject: [PATCH] Fix bsnes naming and install info files. --- libretro-build-common.sh | 6 +++--- libretro-install.sh | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/libretro-build-common.sh b/libretro-build-common.sh index 9e3dd579..5f4fcc83 100644 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -516,7 +516,7 @@ build_libretro_bsnes() rm -f obj/*.o rm -f out/*.${FORMAT_EXT} ${MAKE} -f Makefile platform=${FORMAT_COMPILER_TARGET} compiler="$CXX" ui=target-libretro profile=performance -j$JOBS || die "Failed to build bSNES performance core" - cp -f out/bsnes_libretro${FORMAT}.${FORMAT_EXT} "$RARCH_DIST_DIR"/bsnes_libretro_performance.${FORMAT_EXT} + cp -f out/bsnes_libretro${FORMAT}.${FORMAT_EXT} "$RARCH_DIST_DIR"/bsnes_performance_libretro.${FORMAT_EXT} else echo "bSNES performance not fetched, skipping ..." fi @@ -528,7 +528,7 @@ build_libretro_bsnes() rm -f obj/*.o rm -f out/*.${FORMAT_EXT} ${MAKE} -f Makefile platform=${FORMAT_COMPILER_TARGET} compiler="$CXX" ui=target-libretro profile=balanced -j$JOBS || die "Failed to build bSNES balanced core" - cp -f out/bsnes_libretro${FORMAT}.${FORMAT_EXT} "$RARCH_DIST_DIR"/bsnes_libretro_balanced.${FORMAT_EXT} + cp -f out/bsnes_libretro${FORMAT}.${FORMAT_EXT} "$RARCH_DIST_DIR"/bsnes_balanced_libretro.${FORMAT_EXT} else echo "bSNES compat not fetched, skipping ..." fi @@ -540,7 +540,7 @@ build_libretro_bsnes() rm -f obj/*.o rm -f out/*.${FORMAT_EXT} ${MAKE} -f Makefile platform=${FORMAT_COMPILER_TARGET} compiler="$CXX" ui=target-libretro profile=accuracy -j$JOBS || die "Failed to build bSNES accuracy core" - cp -f out/bsnes_libretro${FORMAT}.${FORMAT_EXT} "$RARCH_DIST_DIR"/bsnes_libretro_accuracy.${FORMAT_EXT} + cp -f out/bsnes_libretro${FORMAT}.${FORMAT_EXT} "$RARCH_DIST_DIR"/bsnes_accuracy_libretro.${FORMAT_EXT} fi } diff --git a/libretro-install.sh b/libretro-install.sh index c138a42c..521bbae5 100755 --- a/libretro-install.sh +++ b/libretro-install.sh @@ -41,3 +41,10 @@ do fi done +for infofile in "$RARCH_DIR"/info/*.info +do + if [ -f "$infofile" ]; then + install -v -m644 "$infofile" "$LIBRETRO_DIR" + fi +done +