Added PUAE makefiles, it fails to link though

This commit is contained in:
pelya
2011-08-29 18:17:00 +03:00
parent d4baacd8a6
commit b1c2c0f2ce
7 changed files with 1224 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
# The application settings for Android libSDL port
AppSettingVersion=17
LibSdlVersion=1.2
AppName="PUAE"
AppFullName=gnostic.puae.sdl
ScreenOrientation=h
InhibitSuspend=n
AppDataDownloadUrl="Data|data.zip"
VideoDepthBpp=16
NeedDepthBuffer=n
NeedStencilBuffer=n
NeedGles2=n
SwVideoMode=y
SdlVideoResize=y
SdlVideoResizeKeepAspect=n
CompatibilityHacks=n
AppUsesMouse=n
AppNeedsTwoButtonMouse=n
AppNeedsArrowKeys=y
AppNeedsTextInput=y
AppUsesJoystick=n
AppHandlesJoystickSensitivity=y
AppUsesMultitouch=n
NonBlockingSwapBuffers=n
RedefinedKeys="F6 RETURN F4 F3 F1 ESCAPE F6 F3 F4 F2 F6"
AppTouchscreenKeyboardKeysAmount=6
AppTouchscreenKeyboardKeysAmountAutoFire=2
RedefinedKeysScreenKb="F6 F1 RETURN F4 F3 F2"
StartupMenuButtonTimeout=3000
HiddenMenuOptions='OptionalDownloadConfig'
FirstStartMenuOptions=''
MultiABI=n
AppVersionCode=23301
AppVersionName="2.3.3.01"
CompiledLibraries="jpeg png freetype sdl_image"
CustomBuildScript=n
AppCflags='-DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -DCPUEMU_0 -DCPUEMU_11 -DCPUEMU_12 -DCPUEMU_20 -DCPUEMU_21 -DCPUEMU_31 -DMMU -DFPUEMU -DAGA -DAUTOCONFIG -DFILESYS -DBSDSOCKET -DSUPPORT_THREADS -DUSE_SDL -DFDI2RAW -DDEBUGGER -DSAVESTATE -DENFORCER -DACTION_REPLAY -DXARCADE -DDRIVESOUND -DREGPARAM '
AppLdflags=''
AppSubdirsBuild='PUAE/src PUAE/src/include'
AppCmdline=''
ReadmeText='^You may press "Home" now - the data will be downloaded in background'

View File

@@ -0,0 +1,18 @@
#!/bin/sh
LOCAL_PATH=`dirname $0`
LOCAL_PATH=`cd $LOCAL_PATH && pwd`
ln -sf libsdl-1.2.so $LOCAL_PATH/../../../obj/local/armeabi/libSDL.so
ln -sf libsdl-1.2.so $LOCAL_PATH/../../../obj/local/armeabi/libpthread.so
if [ \! -f PUAE/configure ] ; then
sh -c "cd PUAE && ./bootstrap.sh"
fi
if [ \! -f PUAE/Makefile ] ; then
../setEnvironment.sh sh -c "cd PUAE && env SDL_CONFIG=$LOCAL_PATH/../sdl-config ./configure --build=x86_64-unknown-linux-gnu --host=arm-linux-androideabi --with-sdl --with-sdl-sound --with-sdl-gfx --with-sdl-gui --disable-gtktest"
fi
make -C PUAE -j4 && mv -f PUAE/puae libapplication.so

Binary file not shown.

View File

@@ -0,0 +1 @@
../../../../../PUAE/

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,4 @@
Grab PUAE sources:
git clone git://github.com/GnoStiC/PUAE.git
Apply patch puae.diff, then you may run build.sh
Warning: it won't build yet, you'll need to edit makefiles by hand