XSDL: updated to compile on NDK r11c

This commit is contained in:
Sergii Pylypenko
2016-05-19 21:46:24 +03:00
parent 2bc39e57ba
commit 54889f6d38
7 changed files with 11 additions and 11 deletions

View File

@@ -7,10 +7,10 @@ AppName="XServer XSDL"
AppFullName=x.org.server
# Application version code (integer)
AppVersionCode=11139
AppVersionCode=11140
# Application user-visible version name (string)
AppVersionName="1.11.39"
AppVersionName="1.11.40"
# Specify path to download application data in zip archive in the form 'Description|URL|MirrorURL^Description2|URL2|MirrorURL2^...'
# If you'll start Description with '!' symbol it will be enabled by default, other downloads should be selected by user from startup config menu
@@ -223,12 +223,12 @@ NDK_TOOLCHAIN_VERSION=
# Specify architectures to compile, 'all' or 'y' to compile for all architectures.
# Available architectures: armeabi armeabi-v7a armeabi-v7a-hard x86 mips
MultiABI='armeabi-v7a x86 mips'
MultiABI='armeabi-v7a x86'
# Optional shared libraries to compile - removing some of them will save space
# MP3 support by libMAD is encumbered by patents and libMAD is GPL-ed
# Available libraries: mad (GPL-ed!) sdl_mixer sdl_image sdl_ttf sdl_net sdl_blitpool sdl_gfx sdl_sound intl xml2 lua jpeg png ogg flac tremor vorbis freetype xerces curl theora fluidsynth lzma lzo2 mikmod openal timidity zzip bzip2 yaml-cpp python boost_date_time boost_filesystem boost_iostreams boost_program_options boost_regex boost_signals boost_system boost_thread glu avcodec avdevice avfilter avformat avresample avutil swscale swresample bzip2
CompiledLibraries="jpeg png freetype sdl_ttf"
CompiledLibraries="jpeg png freetype sdl_ttf crypto"
# Application uses custom build script AndroidBuild.sh instead of Android.mk (y) or (n)
CustomBuildScript=y

View File

@@ -72,7 +72,7 @@ xkb/.libs/libxkbstubs.a \
composite/.libs/libcomposite.a \
os/.libs/libos.a \
hw/kdrive/linux/.libs/liblinux.a \
-lpixman-1 -lXfont -lXau -lXdmcp -lfontenc -lts -lfreetype -landroid-shmem' \
-lpixman-1 -lXfont -lXau -lXdmcp -lfontenc -lts -lfreetype -landroid-shmem -lcrypto' \
|| exit 1
rm -rf $CURDIR/tmp-$1

View File

@@ -1,6 +1,6 @@
You will need to install some packages to your Debian/Ubuntu first.
You will need both xcb-proto and python-xcbgen packages to have version 1.10-1,
You will need both xcb-proto and python-xcbgen packages to have version 1.10-1 or newer,
so you need to build on at least Debian Jessie or newer distribution.
Install following packages, assuming fresh Debian Jessie installation for x86_64 architecture:
@@ -18,7 +18,7 @@ libxmuu-dev libxt-dev libsm-dev libice-dev libxrender-dev libxrandr-dev xfonts-u
curl autoconf automake libtool pkg-config libjpeg-dev libpng-dev git mc locales \
openjdk-7-jdk ant make zip libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386
Install Android NDK r10e and Android SDK with Android 5.1 framework, they must be in your $PATH.
Install Android NDK r11c and Android SDK with Android 6.0 framework, they must be in your $PATH.
Download SDL repo, select xserver project, and build it: