Commit Graph

28 Commits

Author SHA1 Message Date
Sylirre 3c20b42413
fix(scripts): add missing variables to setup-offline-bundle.sh 2024-04-29 13:19:21 +03:00
Ivan Max a46e3e9357
build-package.sh: adding compilation based on glibc (#16901)
[skip ci]
2023-08-30 23:40:08 +03:00
Tee KOBAYASHI c0f5627998 scripts: Add `termux_setup_cargo_c` 2023-02-19 15:17:45 +00:00
Leonid Pliushch 6318aab0cd
fix(scripts/setup-offline-bundle.sh): don't install pip
As of now this cannot be done for offline bundle.

 ERROR: /data/data/com.termux/files/usr/bin/python3.11 does not exist
2023-01-16 12:23:03 +02:00
Maxython d97b8c353b scripts: add termux_setup_python_pip function
It replaces termux_setup_python_crossenv and can be used when
compiling python packages.  Packages should specify their python
dependencies in TERMUX_PKG_PYTHON_TARGET_DEPS,
TERMUX_PKG_PYTHON_BUILD_DEPS, and TERMUX_PKG_PYTHON_COMMON_DEPS.
2023-01-16 09:29:47 +03:00
Leonid Pliushch 3119ecf558
scripts/setup-offline-bundle.sh: fix tmp directory 2022-10-10 12:36:52 +03:00
Leonid Pliushch c885dc1788
scripts/setup-offline-bundle.sh: fix variables 2022-10-10 12:14:20 +03:00
Butta b8bfe98f10 upgpkg(swift): 5.6.1 to 5.6.2
Also, add a termux_setup_swift() bash function and move downloading the prebuilt
Swift toolchain for linux there.
2022-06-16 21:31:13 +05:30
Henrik Grimler 56dbb9cf80
CI: specify distribution in repo.json as well
x11-repo uses distribution x11, and root-repo distribution root.
Store this information in the json file as well, and parse it to set
both REPOSITORY_NAME and REPOSITORY_DISTRIBUTION.

Also remove unnecessary `< repo.json` from jq command, jq accepts the
file as an argument.

This fixes upload issues to x11-repo and root-repo.
2022-04-20 16:37:36 +02:00
Yaksh Bariya f0ea9b922b
monorepo: apply changes suggested by buttaface 2022-04-18 13:57:19 +05:30
Yaksh Bariya 52c383b4d1
chore: switch to monorepo 2022-04-18 13:57:13 +05:30
Tee KOBAYASHI 9849f01987 new function: termux_setup_python_crossenv 2022-03-02 12:00:30 +09:00
Leap of Azzam 18fbc56c72 add package: zig
Signed-off-by: Leap of Azzam <leapofazzam@gmail.com>
2022-01-25 20:52:58 +09:00
Henrik Grimler 2c70621a98 build-package: rename TERMUX_DEBUG to TERMUX_DEBUG_BUILD
To make it more self-explanatory.
2021-08-21 20:55:57 +02:00
Leonid Pliushch 4c675c3b09 setup-offline-bundle.sh: prefix and home now are set by properties.sh 2020-10-30 21:39:54 +02:00
Leonid Pliushch 8f92420089 setup-offline-bundle.sh: define TERMUX_MAKE_PROCESSES 2020-10-23 02:20:40 +03:00
Leonid Pliushch 30e079d01d setup-offline-bundle.sh: define TERMUX_DEBUG 2020-10-23 02:09:31 +03:00
Leonid Pliushch 47eca5ed01 build-package.sh: enable offline mode when file ./build-tools/.installed is present
Once ./scripts/setup-offline-bundle.sh was executed, all sources and build tools
should be downloaded and build-package.sh should be able to use them.
2020-10-23 01:57:33 +03:00
Leonid Pliushch f1d0cbc055 setup-offline-bundle.sh: ignore errors when sourcing build.sh 2020-10-23 01:49:20 +03:00
Leonid Pliushch 72c0601e5f setup-offline-bundle.sh: define TERMUX_PKG_BUILDDIR 2020-10-23 01:34:50 +03:00
Leonid Pliushch db85c79683 setup-offline-bundle.sh: define TERMUX_PKG_BUILDER_DIR 2020-10-23 01:30:43 +03:00
Leonid Pliushch 41a9c901e7 setup-offline-bundle.sh: define TERMUX_BUILD_TUPLE 2020-10-23 01:28:22 +03:00
Leonid Pliushch bafb0c77c9 setup-offline-bundle.sh: define TERMUX_PKG_GIT_BRANCH 2020-10-23 01:26:31 +03:00
Leonid Pliushch 3a9c6c0f73 setup-offline-bundle.sh: define TERMUX_PKG_HOSTBUILD_DIR 2020-10-23 01:07:00 +03:00
Leonid Pliushch 9c116632a8 setup-offline-bundle.sh: fix script syntax
We can't use "continue" inside subshell in the loop body.
2020-10-23 00:49:50 +03:00
Leonid Pliushch 49c9eabda4 setup-offline-bundle.sh: don't extract sources by termux_step_get_source.sh
Override function termux_extract_src_archive() used by termux_step_get_source.sh.
2020-10-23 00:45:01 +03:00
Leonid Pliushch 195314fe20 setup-offline-bundle.sh: add support for downloading package sources 2020-10-23 00:27:56 +03:00
Leonid Pliushch be0b9e9331 build-package.sh: support offline preinstalled build tools
First step of making possibility to have offline snapshots of
'termux-packages' repo. Useful for making full repo snapshots.

That will allow to preinstall tools like Cmake, Go, Meson to
directory stored within packages tree and will not be wiped when
using ./clean.sh.

Next steps will also implement offlining of the package sources
and NDK standalone toolchain.
2020-10-22 22:46:02 +03:00