Contribute aFreeRDP (version 2.0.0-rc0)

This commit is contained in:
Christian Plattner 2017-10-18 15:29:21 +02:00
parent 6b4905f609
commit 0834689cb8
2 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,36 @@
Categories:Internet,Connectivity
License:Apache-2.0
Web Site:http://www.freerdp.com/
Source Code:https://github.com/FreeRDP/FreeRDP
Issue Tracker:https://github.com/FreeRDP/FreeRDP/issues
Auto Name:aFreeRDP
Summary:FreeRDP is a free remote desktop protocol client
Description:
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released
under the Apache license. Enjoy the freedom of using your software wherever you
want, the way you want it, in a world where interoperability can finally
liberate your computing experience.
.
Repo Type:git
Repo:https://github.com/FreeRDP/FreeRDP.git
Build:2.0.0-rc0,10
commit=2.0.0-rc0
subdir=client/Android/Studio/aFreeRDP
patch=2.0.0-rc0-gcc-sysroot.diff
gradle=yes
prebuild=echo -e "RELEASE_STORE_FILE=\nRELEASE_KEY_ALIAS=" >>../gradle.properties && \
cd ../../../../scripts && \
sed -i -e 's/OPENSSL_TAG=OpenSSL_1_1_0[a-f]/OPENSSL_TAG=OpenSSL_1_1_0g/' -e 's/WITH_OPENH264=0/WITH_OPENH264=1/' android-build-*.conf && \
sed -i -e 's/make/make USE_ASM=no/' android-build-openh264.sh
build=cd ../../../../scripts && \
./android-build-freerdp.sh --ndk $$NDK$$ --sdk $$SDK$$ --conf android-build-32.conf && \
./android-build-freerdp.sh --ndk $$NDK$$ --sdk $$SDK$$ --conf android-build-64.conf
ndk=r12b
Auto Update Mode:None
Update Check Mode:None
Current Version:2.0.0-rc0
Current Version Code:10

View file

@ -0,0 +1,15 @@
diff --git a/cmake/AndroidToolchain.cmake b/cmake/AndroidToolchain.cmake
index d682e28df..fcc47399a 100644
--- a/cmake/AndroidToolchain.cmake
+++ b/cmake/AndroidToolchain.cmake
@@ -1369,6 +1369,10 @@ if( ANDROID_COMPILER_IS_CLANG )
if( BUILD_WITH_ANDROID_NDK )
set( ANDROID_CXX_FLAGS "-gcc-toolchain ${ANDROID_TOOLCHAIN_ROOT} ${ANDROID_CXX_FLAGS}" )
endif()
+else()
+ if( BUILD_WITH_ANDROID_NDK )
+ set( ANDROID_CXX_FLAGS "${ANDROID_CXX_FLAGS} --sysroot=${ANDROID_SYSROOT}" )
+ endif()
endif()
# cache flags