Categories:Games
License:GPL-3.0+
Web Site:http://www.libretro.com
Source Code:https://github.com/libretro/RetroArch
Issue Tracker:https://github.com/libretro/RetroArch/issues

Auto Name:RetroArch
Summary:Modular multi-system emulator
Description:
RetroArch is a modular multi-system game/emulator system that is designed to be
fast, lightweight, and portable. It allows emulator developers to implement
their emulators as special libraries (RetroArch cores) to target wide range of
platforms, including game consoles and mobile devices, without writing any
platform-specific code.

Latest F-Droid build supports following systems:

* PlayStation 1 via Mednafen PSX (x86/MIPS) and PCSX ReARMed (ARM)
* Super Nintendo Entertainment System with bSNES (x86/ARM only)
* VisualBoyAdvance with VBA-M
* Atari 2600 with Stella
* Cave Story aka Dōkutsu Monogatari pseudo-system with NxEngine
.

Repo Type:git
Repo:https://github.com/libretro/RetroArch.git

Build:1.0.0.2,37
    disable=crash
    commit=9a66975589c5d2544bdfdae2e965b3a27e7149a5
    subdir=android/phoenix
    patch=fdroid-rarch.patch
    srclibs=libretro-super@9c8997ecc,libretro-overlays@fc92b86be,rarch-common-shaders@cd3175237,pcsx_rearmed@9c79adfd3,bSNES@033e25b1b,vba-m@9a3b3f36a,nxengine@3ad46418b,stella-libretro@618c90ecc
    forcevercode=yes
    prebuild=mkdir -p assets/{cores,overlays,shaders_glsl} && \
        cp -R $$libretro-overlays$$/* assets/overlays/ && \
        cp -R $$libretro-super$$/dist/info assets/ && \
        ../../tools/cg2glsl.py $$rarch-common-shaders$$ assets/shaders_glsl && \
        sed 's/\$(SRCDIR)/..\/../' -i $$bSNES$$/target-libretro/jni/Android.mk && \
        sed -i "s|RARCH_DIR := ../../..|RARCH_DIR := $(realpath ../../)|" jni/Android.mk && \
        build=CFLAGS="-D_ANDROID_KEYCODES_H" $$NDK$$/ndk-build -C . APP_ABI=armeabi-v7a && \
        $$NDK$$/ndk-build -C $$stella-libretro$$/jni APP_ABI=armeabi-v7a && \
        mv $$stella-libretro$$/libs/armeabi-v7a/* assets/cores/stella_libretro_android.so && \
        $$NDK$$/ndk-build -C $$vba-m$$/src/libretro/jni APP_ABI=armeabi-v7a && \
        mv $$vba-m$$/src/libretro/libs/armeabi-v7a/* assets/cores/vbam_libretro_android.so && \
        $$NDK$$/ndk-build -C $$nxengine$$/jni APP_ABI=armeabi-v7a && \
        mv $$nxengine$$/libs/armeabi-v7a/* assets/cores/nxengine_libretro_android.so && \
        $$NDK$$/ndk-build -C $$pcsx_rearmed$$ APP_ABI=armeabi-v7a && \
        mv $$pcsx_rearmed$$/libs/armeabi-v7a/* assets/cores/pcsx_rearmed_libretro_neon_android.so && \
        $$NDK$$/ndk-build -C $$bSNES$$/target-libretro APP_ABI=armeabi-v7a && \
        mv $$bSNES$$/target-libretro/libs/armeabi-v7a/* assets/cores/bsnes_performance_libretro_android.so
    update=.,libs/appcompat
    target=android-21
    scanignore=libs/appcompat/libs
    scandelete=.,..

Build:1.0.0.2,38
    disable=crash
    commit=9a66975589c5d2544bdfdae2e965b3a27e7149a5
    subdir=android/phoenix
    patch=fdroid-rarch.patch
    srclibs=libretro-super@9c8997ecc,libretro-overlays@fc92b86be,rarch-common-shaders@cd3175237,vba-m@9a3b3f36a,nxengine@3ad46418b,stella-libretro@618c90ecc,mednafen-psx@af0ce6574
    forcevercode=yes
    prebuild=mkdir -p assets/{cores,overlays,shaders_glsl} && \
        cp -R $$libretro-overlays$$/* assets/overlays/ && \
        cp -R $$libretro-super$$/dist/info assets/ && \
        ../../tools/cg2glsl.py $$rarch-common-shaders$$ assets/shaders_glsl && \
        sed -i "s|RARCH_DIR := ../../..|RARCH_DIR := $(realpath ../../)|" jni/Android.mk
    update=.,libs/appcompat
    target=android-21
    scanignore=libs/appcompat/libs
    scandelete=.,..
    build=CFLAGS="-D_ANDROID_KEYCODES_H" $$NDK$$/ndk-build -C . APP_ABI=mips && \
        $$NDK$$/ndk-build -C $$stella-libretro$$/jni APP_ABI=mips && \
        mv $$stella-libretro$$/libs/mips/* assets/cores/stella_libretro_android.so && \
        $$NDK$$/ndk-build -C $$vba-m$$/src/libretro/jni APP_ABI=mips && \
        mv $$vba-m$$/src/libretro/libs/mips/* assets/cores/vbam_libretro_android.so && \
        $$NDK$$/ndk-build -C $$nxengine$$/jni APP_ABI=mips && \
        mv $$nxengine$$/libs/mips/* assets/cores/nxengine_libretro_android.so && \
        $$NDK$$/ndk-build -C $$mednafen-psx$$/jni APP_ABI=mips && \
        mv $$mednafen-psx$$/libs/mips/* assets/cores/mednafen_psx_libretro_android.so

Build:1.0.0.2,39
    disable=crash
    commit=9a66975589c5d2544bdfdae2e965b3a27e7149a5
    subdir=android/phoenix
    patch=fdroid-rarch.patch
    srclibs=libretro-super@9c8997ecc,libretro-overlays@fc92b86be,rarch-common-shaders@cd3175237,vba-m@9a3b3f36a,nxengine@3ad46418b,stella-libretro@618c90ecc,mednafen-psx@af0ce6574,bSNES@033e25b1b
    forcevercode=yes
    prebuild=mkdir -p assets/{cores,overlays,shaders_glsl} && \
        cp -R $$libretro-overlays$$/* assets/overlays/ && \
        cp -R $$libretro-super$$/dist/info assets/ && \
        ../../tools/cg2glsl.py $$rarch-common-shaders$$ assets/shaders_glsl && \
        sed 's/\$(SRCDIR)/..\/../' -i $$bSNES$$/target-libretro/jni/Android.mk && \
        sed -i "s|RARCH_DIR := ../../..|RARCH_DIR := $(realpath ../../)|" jni/Android.mk
    update=.,libs/appcompat
    target=android-21
    scanignore=libs/appcompat/libs
    scandelete=.,..
    build=CFLAGS="-D_ANDROID_KEYCODES_H" $$NDK$$/ndk-build -C . APP_ABI=x86 && \
        $$NDK$$/ndk-build -C $$stella-libretro$$/jni APP_ABI=x86 && \
        mv $$stella-libretro$$/libs/x86/* assets/cores/stella_libretro_android.so && \
        $$NDK$$/ndk-build -C $$vba-m$$/src/libretro/jni APP_ABI=x86 && \
        mv $$vba-m$$/src/libretro/libs/x86/* assets/cores/vbam_libretro_android.so && \
        $$NDK$$/ndk-build -C $$nxengine$$/jni APP_ABI=x86 && \
        mv $$nxengine$$/libs/x86/* assets/cores/nxengine_libretro_android.so && \
        $$NDK$$/ndk-build -C $$bSNES$$/target-libretro APP_ABI=x86 && \
        mv $$bSNES$$/target-libretro/libs/x86/* assets/cores/bsnes_performance_libretro_android.so && \
        $$NDK$$/ndk-build -C $$mednafen-psx$$/jni APP_ABI=x86 && \
        mv $$mednafen-psx$$/libs/x86/* assets/cores/mednafen_psx_libretro_android.so

Maintainer Notes:

Releases are hard to pinpoint. Tags currently make sense for desktop version only.
See http://www.libretro.com/index.php/downloads/ for exact release dates. Some
modules have to be built from commits published after upstream release to fix
compilation issues, everything else comes from commits as close to apk publishing
date as possible.

See also:
https://github.com/libretro/RetroArch/wiki/Compilation-guide-(Android-from-Linux)
https://github.com/libretro/libretro-super/blob/HEAD/libretro-fetch.sh
https://github.com/libretro/libretro-super/blob/HEAD/libretro-build-android-mk.sh

Version codes:
 +0: - (upstream)
 +1: armv7
 +2: mips
 +3: x86 (CV)
.

Archive Policy:6 versions
Auto Update Mode:None
Update Check Mode:None
Vercode Operation:%c + 3
Current Version:1.0.0.2
Current Version Code:39
