New app: Limbo x86 PC Emulator

This commit is contained in:
Pierre Rudloff 2019-02-03 11:05:20 +00:00 committed by relan
parent ed37b7d737
commit 7a99e75269
5 changed files with 69 additions and 0 deletions

View file

@ -0,0 +1,55 @@
Categories:
- System
License: GPL-2.0-or-later
SourceCode: https://github.com/limboemu/limbo
IssueTracker: https://github.com/limboemu/limbo/issues
AutoName: Limbo x86 PC Emulator
Summary: A QEMU-based emulator
Description: Limbo is a QEMU-based emulator for Android.
RepoType: git
Repo: https://github.com/limboemu/limbo
Builds:
- versionName: 3.0.1-x86-beta
versionCode: 30001
commit: v3.0.1-Limbox86-multiarch
subdir: limbo-android-x86
gradle:
- yes
srclibs:
- qemu@v2.9.1
- glib@2.56.1
- libffi@v3.2.1
- pixman@pixman-0.34.0
- SDL@release-2.0.8
prebuild:
- export PATH=$PATH:$$NDK$$
- export NDK_MODULE_PATH=$$NDK$$/sources/
- sed -i -e '/NDK_ROOT/d' ../limbo-android-lib/src/main/jni/android-config.mak
- cp -r $$qemu$$ ../limbo-android-lib/src/main/jni/qemu/
- cp -r $$glib$$ ../limbo-android-lib/src/main/jni/glib/
- cp -r $$libffi$$ ../limbo-android-lib/src/main/jni/libffi/
- cp -r $$pixman$$ ../limbo-android-lib/src/main/jni/pixman/
- cp -r $$SDL$$ ../limbo-android-lib/src/main/jni/SDL2/
- patch -d ../limbo-android-lib/src/main/jni/qemu/ -p1 < ../limbo-android-lib/src/main/jni/patches/qemu-2.9.1.patch
- patch -d ../limbo-android-lib/src/main/jni/glib/ -p1 < ../limbo-android-lib/src/main/jni/patches/glib-2.56.1.patch
- make -C ../limbo-android-lib/src/main/jni/ clean
scandelete:
- limbo-android-lib
build:
- export NDK_ROOT=$$NDK$$
- export NDK_MODULE_PATH=$$NDK$$/sources/
- make -C ../limbo-android-lib/src/main/jni/qemu/roms/ bios seavgabios
- make -C ../limbo-android-lib/src/main/jni/ all-release-x86 BUILD_HOST=armeabi-v7a
ndk: r17b
MaintainerNotes: |-
We only build x86 emulation on ARM devices for now.
ARM emulation on x86 devices would require a separate build recipe (the app ID is different).
AutoUpdateMode: None
UpdateCheckMode: Tags
CurrentVersion: 3.0.1-x86-beta
CurrentVersionCode: 30001

2
srclibs/glib.txt Normal file
View file

@ -0,0 +1,2 @@
Repo:https://github.com/GNOME/glib.git
Repo Type:git

4
srclibs/libffi.txt Normal file
View file

@ -0,0 +1,4 @@
Repo:https://github.com/libffi/libffi.git
Repo Type:git
Prepare: ./autogen.sh

4
srclibs/pixman.txt Normal file
View file

@ -0,0 +1,4 @@
Repo:https://gitlab.freedesktop.org/pixman/pixman
Repo Type:git
Prepare: ./autogen.sh

4
srclibs/qemu.txt Normal file
View file

@ -0,0 +1,4 @@
Repo:git://git.qemu.org/qemu.git
Repo Type:git
Prepare:git submodule update --init