Commit Graph

47 Commits

Author SHA1 Message Date
Henrik Grimler 348c980d53
Dockerfile: remove unused parts of sdk and ndk in setup-android-sdk instead
Dockerfile setup script doesn't know exactly which ndk/sdk version we
are using, so can't cd to the right folder now that the version is
part of the folder name.
2022-04-25 22:04:41 +02:00
Henrik Grimler e3034c71fa
scripts/properties.sh: put sdk and ndk in versioned folders
To allow for having multiple sdk/ndk versions in ~/lib/.
2022-04-25 21:37:45 +02:00
Henrik Grimler 429881ad56
setup-android-sdk: use termux_download to get sdk and ndk zips 2022-04-25 21:37:41 +02:00
Tee KOBAYASHI 01cf29c450 setup-android-sdk.sh: Install 'platforms;android-32' 2022-03-13 08:30:29 +09:00
Henrik Grimler 6a86fd8b28 ndk: update to r23b
Includes fix for -fno-integrated-as flag, which is needed by libx265
build.
2021-10-22 23:05:45 +02:00
Henrik Grimler a465f14c90 Update to use android-ndk r23 2021-10-22 23:05:45 +02:00
Leonid Pliushch 58397fde9a
scripts/properties.sh: set java home to openjdk 8
Fix packages like termux-am
2021-08-01 18:39:37 +03:00
Leonid Pliushch 746bb00a36
setup-android-sdk.sh: specify java installation 2021-07-29 17:03:18 +03:00
Henrik Grimler 0f6d16ea6a ndk: update to r21d 2020-07-09 13:51:35 +02:00
its-pointless 9ce89eef41 use ndk 21b 2020-07-09 13:51:35 +02:00
its-pointless f28f489e45 sha256 of ndk zip 2020-07-09 13:51:35 +02:00
its-pointless 8c8292fece set updsted ndk sha256 2019-06-19 20:26:31 +03:00
Fredrik Fornwall 499687c9fe Update docker image to ubuntu 19.04 and llvm 8 2019-04-27 22:48:18 +02:00
its-pointless 0320a92780 fix ndk versions 2019-02-24 20:39:35 +02:00
its-pointless c1b65a538e version names change 2019-02-24 20:39:35 +02:00
Fredrik Fornwall e520dfbe12 Initial changes for NDK r19 support 2019-02-24 20:39:35 +02:00
Wetitpig 7ddcce5701 No backticks 2019-02-15 18:01:09 +02:00
Fredrik Fornwall ca5ead6780 Update latest android platform and build-tools 2019-01-27 09:03:08 +01:00
Wetitpig a976fd4223 Accept licenses for Android SDK 2019-01-22 22:52:35 +01:00
Fredrik Fornwall 02c0668a9b Update to NDK r18 (#2827) 2018-09-19 23:29:39 +02:00
Fredrik Fornwall 89f52767c0 Use https for downloading the android ndk 2018-08-27 22:25:51 +02:00
Laurent Arnoud 3d75da3db5 Check checksum on android sdk and ndk download 2018-08-27 22:21:01 +02:00
Fredrik Fornwall b3f68a9b5c Update build tools version to 28.0.2
Also extract setting ndk and build tools version to
scripts/properties.sh to avoid duplication.
2018-08-15 16:52:18 +02:00
Fredrik Fornwall b080944831 Use newer sdk-tools-linux in setup-android-sdk.sh 2018-08-01 22:24:19 +02:00
Fredrik Fornwall 047754e8fa Update android sdk build tools
Update the android sdk build tools from 27.0.3 to 28.0.1, bringing
in d8 which is replacing dx.

This needs an update of the Docker image, so run scripts/update-docker.sh
to update it.
2018-07-26 12:21:43 +02:00
Vishal Biswas 160d3aeb06 update ndk to 17 and switch some packages to clang build (#2415)
* update ndk to 17

* bump NDK version in setup-android script

* libnl: fix for ndk r17

* libpixman: use clang's __builtin_shufflevector instead of __builtin_shuffle (#1)

Required to make package build with ndk17.

* fix as for arm

* ndk17 still uses ld.bfd on aarch64

* use -fno-integrated-as for clang only

* glib: remove patch unnecessary after ndk17

* torsocks: remove unneeded patch after ndk17

* subversion: fix build as clang++ now errors out for mismatched flags

* libpulseaudio: fix build with ndk17

https://github.com/termux/termux-packages/pull/2415#issuecomment-388296684

* gst-plugins-good: disable video4linux2

ioctl is defined as __overloadable in ndk17 headers which
  conflicts with v4l2object's member ioctl

* libzmq: disable Werror to build with ndk17

* ltrace: hardcode symbol not available in ndk17

* busybox: build with clang for all arches except arm

* dropbear: build with clang instead of gcc

* gnupg: build with clang instead of gcc

* openssl: use clang for all arches except arm

* picolisp: build with clang instead of gcc

* valgrind: use clang on all arches except aarch64

* Revert "gst-plugins-good: disable video4linux2"

This reverts commit 43850b81ccf60033c25cb13dfd326c1b0528773a.
Already applied on base branch.

* libllvm: use default arm triple
2018-05-27 14:55:20 +02:00
Fredrik Fornwall 96c9f0466f Update android build tools from 27.0.1 to 27.0.3 2018-03-25 00:08:20 +01:00
tomty89 92fb0e15fd ecj: provide android-21.jar instead of android-16.jar (#2274) 2018-03-25 00:02:47 +01:00
Fredrik Fornwall 0c0af59332 Update NDK used to r16
Run scripts/update-docker.sh to update the docker image.
2017-11-15 16:48:35 +01:00
Fredrik Fornwall 45e048f512 Better way of accepting Android SDK licenses 2017-11-02 00:21:36 +01:00
Fredrik Fornwall 64666c40b2 Update android platform setup
- Update to build tools 26.0.1.
- Update from android-25 to android-26.
- Add android-16 for use in https://github.com/termux/termux-packages/pull/1133
2017-08-11 14:09:32 +02:00
Fredrik Fornwall 8aa86e32b4 Update from NDK version used from r15b to r15c
The docker image has been updated - run scripts/update-docker.sh
2017-08-07 22:53:43 +02:00
Fredrik Fornwall 71b1a471d8 setup-android-sdk.sh: Update from NDK r15 to r15b 2017-06-25 22:13:17 +02:00
Fredrik Fornwall 49dd98a346 Update from NDK r14 to r15
The docker image has been updated, use
	./scripts/update-docker.sh
to update.

Note that we are still using the old deprecated non-unified headers
- updating to that is the next step.
2017-06-11 22:55:04 +02:00
Fredrik Fornwall 81c7229f5a Update android tools and build tools
The Docker image has been rebuilt, update with:

scripts/update-docker.sh
2017-05-20 21:17:00 +02:00
Fredrik Fornwall b26283d4a7 Update from NDK r13 to r14
For those using Docker build environments: run scripts/update-docker.sh
to pull the latest Docker image with r14 installed.

Otherwise, remove the $NDK directory (defaults to
$HOME/lib/android-ndk if not setup in the environment) and run
scripts/setup-android-sdk.sh to setup a r14 installation.
2017-03-04 22:03:54 +01:00
Fredrik Fornwall 11af8e220c setup-android-sdk.sh: Remove incorrect folder 2017-02-02 02:23:43 +01:00
Fredrik Fornwall 18fbaa060b Update the android sdk build tools used
The docker image has been rebuilt, so ./scripts/update-docker.sh
should be used.
2017-02-02 01:39:29 +01:00
Fredrik Fornwall 711e9e5b06 Update to using NDK r13 2016-10-07 13:37:10 -04:00
Fredrik Fornwall 50166cb172 Update to android-24 in setup-android-sdk.sh 2016-10-06 19:37:47 -04:00
Fredrik Fornwall 97f23095eb Fix NDK version in setup-android-sdk.sh 2016-07-26 09:06:39 -04:00
Fredrik Fornwall 382cfb780c Update SDK build tools to 24.0.1 2016-07-26 07:23:39 -04:00
Fredrik Fornwall 82620efb1c Update NDK from r12 to r12b 2016-07-19 19:14:41 -04:00
Fredrik Fornwall 7073199b83 setup-android-sdk.sh: Fix mac sdk download 2016-06-10 23:19:22 +02:00
Fredrik Fornwall 37c88ee367 setup-android-sdk.sh: Fix mac ndk download 2016-06-10 23:11:53 +02:00
Fredrik Fornwall 202ed9d3b3 Update to use NDK r12 2016-06-10 10:45:16 -04:00
Fredrik Fornwall 88183689ef Build and docker updates 2016-05-27 18:24:50 -04:00