VCMI compiles, but does not work, because the server and AI libraries should be linked statically to it
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# The application settings for Android libSDL port
|
||||
AppSettingVersion=17
|
||||
LibSdlVersion=1.2
|
||||
AppName="VCMI"
|
||||
AppFullName=eu.vcmi
|
||||
ScreenOrientation=h
|
||||
InhibitSuspend=n
|
||||
AppDataDownloadUrl="!Data files|data1.zip^!Data files|data2.zip^!Data files|data3.zip^"
|
||||
SdlVideoResize=y
|
||||
SdlVideoResizeKeepAspect=n
|
||||
NeedDepthBuffer=n
|
||||
SwVideoMode=y
|
||||
AppUsesMouse=y
|
||||
AppNeedsTwoButtonMouse=y
|
||||
AppNeedsArrowKeys=n
|
||||
AppNeedsTextInput=y
|
||||
AppUsesJoystick=n
|
||||
AppHandlesJoystickSensitivity=n
|
||||
AppUsesMultitouch=n
|
||||
NonBlockingSwapBuffers=n
|
||||
RedefinedKeys="LALT RETURN NO_REMAP NO_REMAP RETURN"
|
||||
AppTouchscreenKeyboardKeysAmount=0
|
||||
AppTouchscreenKeyboardKeysAmountAutoFire=0
|
||||
RedefinedKeysScreenKb="LALT RETURN KP_PLUS KP_MINUS SPACE DELETE KP_PLUS KP_MINUS 1 2"
|
||||
StartupMenuButtonTimeout=3000
|
||||
HiddenMenuOptions='KeyboardConfigMainMenu AudioConfig'
|
||||
MultiABI=n
|
||||
AppVersionCode=08501
|
||||
AppVersionName="0.85.01"
|
||||
CompiledLibraries="sdl_mixer sdl_image sdl_ttf avformat avcodec avutil avcore swscale boost_program_options boost_filesystem boost_iostreams boost_system boost_thread"
|
||||
CustomBuildScript=y
|
||||
AppCflags=''
|
||||
AppLdflags='-lz'
|
||||
AppSubdirsBuild=''
|
||||
AppCmdline=''
|
||||
ReadmeText='^You may press "Home" now - the data will be downloaded in background'
|
||||
Executable
+33
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
|
||||
LOCAL_PATH=`dirname $0`
|
||||
LOCAL_PATH=`cd $LOCAL_PATH && pwd`
|
||||
|
||||
# Uncomment if your configure expects SDL libraries in form "libSDL_name.so"
|
||||
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
|
||||
ln -sf libsdl_mixer.so $LOCAL_PATH/../../../obj/local/armeabi/libSDL_mixer.so
|
||||
ln -sf libsdl_image.so $LOCAL_PATH/../../../obj/local/armeabi/libSDL_image.so
|
||||
ln -sf libsdl_ttf.so $LOCAL_PATH/../../../obj/local/armeabi/libSDL_ttf.so
|
||||
|
||||
if [ \! -f vcmi/Makefile -o $0 -nt vcmi/Makefile ] ; then
|
||||
../setEnvironment.sh sh -c "cd vcmi && \
|
||||
env LIBS='-lavcodec -lavutil -lavcore -lgcc' \
|
||||
./configure --host=arm-eabi --enable-static \
|
||||
--with-boost-system=boost_system \
|
||||
--with-boost-filesystem=boost_filesystem \
|
||||
--with-boost-thread=boost_thread \
|
||||
--with-boost-iostreams=boost_iostreams \
|
||||
--with-boost-program-options=boost_program_options" || { rm -f libapplication.so ; exit 1 ; }
|
||||
fi
|
||||
../setEnvironment.sh sh -c "cd vcmi && \
|
||||
env pkgdatadir=. \
|
||||
AM_MAKEFLAGS=pkgdatadir=. \
|
||||
make -j4 VERBOSE=1 pkgdatadir=. AM_MAKEFLAGS=pkgdatadir=." && \
|
||||
cp -f vcmi/client/vcmiclient libapplication.so
|
||||
|
||||
rm -f $LOCAL_PATH/../../../obj/local/armeabi/libSDL.so
|
||||
rm -f $LOCAL_PATH/../../../obj/local/armeabi/libpthread.so
|
||||
rm -f $LOCAL_PATH/../../../obj/local/armeabi/libSDL_mixer.so
|
||||
rm -f $LOCAL_PATH/../../../obj/local/armeabi/libSDL_image.so
|
||||
rm -f $LOCAL_PATH/../../../obj/local/armeabi/libSDL_ttf.so
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 5.6 KiB |
+1
@@ -0,0 +1 @@
|
||||
../../../../../vcmi
|
||||
Reference in New Issue
Block a user