Commit Graph

20 Commits

Author SHA1 Message Date
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