52 Commits

Author SHA1 Message Date
izzy2fancy
a4c620213a Update properties.sh 2024-02-06 13:03:17 -05:00
Yaksh Bariya
350443bdb6 chore: do not hardcode repository information in scripts/proporties.sh
Should have been done during the initial migration to monorepo
2023-05-23 18:04:13 +05:30
Tee KOBAYASHI
9c2e9d9ca5 scripts: Bump NDK to r25c 2023-02-02 16:38:20 +05:30
Henrik Grimler
bb298ba27f scripts: update hint in properties.sh regarding ndk-packages
%ci:no-build
2023-01-07 10:37:42 +01:00
Henrik Grimler
fc6900d9fa Revert update of ndk-packages
This WIP was not suppose to be pushed to master.
2023-01-03 21:10:03 +01:00
Henrik Grimler
a39d494413 scripts: update hint in properties.sh regarding ndk-packages 2023-01-03 20:51:40 +01:00
Tee KOBAYASHI
5a27cae55c properties.sh: Bump build-tools to 33.0.1 2022-12-25 08:25:36 +00:00
Henrik Grimler
8087700a17 Revert "[TEMP] use grimler.se to download packages"
This reverts commit 4efac69ffd.
2022-12-10 12:16:55 +01:00
Henrik Grimler
4efac69ffd [TEMP] use grimler.se to download packages
Until migration form fosshost to new vps is complete.

See termux/termux-packages#13804.
2022-12-10 10:00:05 +01:00
Leonid Pliushch
33d13b6628 properties: allow alternate paths of builder config
See https://github.com/termux/termux-app/issues/2826
2022-11-14 16:16:53 +02:00
Tee KOBAYASHI
510c6adbe0 properties.sh: Bump build-tools to 33.0.0
* Bump SDK revision to 9123335

* Remove no longer used platforms;android-21

* Do not remove "unused parts" from SDK (which are actually used)

* Make it possible to use alternative JAVA_HOME via TERMUX_JAVA_HOME
2022-11-12 03:04:24 +00:00
Kevin Williams
bb8fe316d6 scripts/properties.sh: change primary host url 2022-10-22 10:36:51 +08:00
Leonid Pliushch
19286f075e scripts/properties.sh: change primary host url 2022-10-10 10:57:18 +03:00
Chongyun Lee
268452c314 scripts: update to ndk r25b 2022-09-15 00:37:34 +08:00
Henrik Grimler
1190208ed4 Revert "scripts: use grimler.se mirror for downloading debs"
This reverts commit bd73dd61bd.
2022-08-26 07:54:55 +02:00
Jia Yuan Lo
035c918418 scripts: add termux_setup_gnu_as_23c for NDK r25 (#11615)
NDK r25 has removed GNU Assembler (GAS). Removal of GAS introduced a number of build issues.
The most prominent is:
/usr/bin/as: unrecognized option '-EL'

Some options to solve this:
1. Disable building custom assembly and suffer performance penalty
2. Hand rewrite the custom assembly to be LLVM compatible
3. Wait for upstream to write LLVM compatible assembly (openssl, openssl-1.1)
4. Bring back GAS from NDK r23c

In this commit, GAS is brought back as a separate toolchain instead of following NDK r23c file hierarchy.
We pass "--gcc-toolchain=GAS_TOOLCHAIN_DIR" to NDK r25 clang to detect.
Packages only have to add "termux_step_gnu_as_23c" to build.sh to enable GAS.
In the future, we expect packages should follow option 3 more than option 4 as that is a last resort.

This commit also bumps revision for packages that rely (or previously rely) on "-fno-integrated-as":
hors, libffi, libgcrypt, libpixman, openssl, openssl-1.1

Co-authored-by: Henrik Grimler <grimler@termux.dev>
Co-authored-by: Chongyun Lee <45286352+licy183@users.noreply.github.com>
2022-08-24 23:17:08 +08:00
Henrik Grimler
bd73dd61bd scripts: use grimler.se mirror for downloading debs
This is done since Fosshost will be decommissioned on 28th of August.
2022-08-24 09:27:48 +02:00
Henrik Grimler
6802ecc666 scripts(properties): actually update to ndk-r25 2022-08-13 12:20:06 +02:00
agnostic-apollo
cd2928cbe1 fix(build-package.sh): Do not use dependencies while building from repo if it hosts packages built for a different package name than TERMUX_APP_PACKAGE 2022-07-28 15:27:20 +05:00
Chongyun Lee
90fda1305b chore: Move REPO-related variables to properties.sh 2022-07-11 15:43:24 +08:00
Yaksh Bariya
5806718974 chore,scripts(properties.sh): update note regarding Repology updater
See termux/repology-metadata@d48519bcb5
for why this note was updated
2022-07-03 16:31:20 +05:30
Henrik Grimler
370dffaf40 Revert "scripts/properties.sh: allow for jdk in /usr/lib/jvm/java-8-openjdk"
This was not suppose to be pushed to master as it causes issues for
some scripts.

This reverts commit 8a400251b7.
2022-06-23 20:35:46 +02:00
Henrik Grimler
8a400251b7 scripts/properties.sh: allow for jdk in /usr/lib/jvm/java-8-openjdk 2022-06-23 20:29:42 +02:00
Henrik Grimler
5be1ac63f0 ci(setup-android-sdk.sh): update to ndk r23c 2022-06-23 20:29:28 +02:00
agnostic-apollo
afad8febe6 added(scripts): Add TERMUX_APPS_DIR as per termux/termux-app@bcd8f4c4 2022-05-29 09:03:31 +05:00