mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-10 04:43:32 +00:00
7997ea33c8aa2c787c7980d0f140a9ad799ef38e
COMPONENT_NAME variables
The `COMPONENT_NAME` variables were in the `<package_name>/<class_name>` format, but since Termux plugin apps like Termux:API may be hosted in main Termux app itself, so for such cases the package name would be for main Termux app at runtime instead of Termux:API app, so `TERMUX_API_APP__PACKAGE_NAME` will be dynamically exported as `com.termux` instead of `com.termux.api` by the app, and receiver should be called with `$TERMUX_API_APP__PACKAGE_NAME/$TERMUX_API_APP__ANDROID_API__ANDROID_API_RECEIVER__CLASS_NAME` by reading environment variables instead of build time value of `$TERMUX_API_APP__API_RECEIVER_BROADCASTRECEIVER__COMPONENT_NAME`. Following variables have been renamed: - `TERMUX_APP__SHELL_ACTIVITY__CLASS_NAME` to `TERMUX_APP__SHELL_API__SHELL_API_ACTIVITY__CLASS_NAME` - `TERMUX_APP__SHELL_SERVICE__CLASS_NAME` to `TERMUX_APP__SHELL_API__SHELL_API_SERVICE__CLASS_NAME` - `TERMUX_APP__RUN_COMMAND_SERVICE__CLASS_NAME` to `TERMUX_APP__RUN_COMMAND_API__RUN_COMMAND_API_SERVICE__CLASS_NAME` - `TERMUX_APP__DATA_SENDER_BROADCASTRECEIVER__CLASS_NAME` to `TERMUX_APP__DATA_SENDER_API__DATA_SENDER_API_RECEIVER__CLASS_NAME` - `TERMUX_API_APP__API_RECEIVER_BROADCASTRECEIVER__CLASS_NAME` to `TERMUX_API_APP__ANDROID_API__ANDROID_API_RECEIVER__CLASS_NAME` The new API variables format is `TERMUX_*APP__<API_SERVICE_NAME>__<API_CLASS_NAME>__*`. An API service can contain multiple classes to manage different parts/components, and additional helper classes can exist too for an API like to request permissions, or for configuration, etc. The Termux app shell activity (`TermuxActivity`) is part of the shell service, just like Termux app shell service (`TermuxService`), so they are now both under the same `TERMUX_APP__SHELL_SERVICE__` scope. Note that `TermuxActivity` is the Termux app home activity. but may not be for Termux forks, and will be provided as like `TermuxShellApiActivity`, but target class name for intents could vary, and hence variables should be read from environment at runtime instead of build time hardcoded values.
…
Termux packages for pacman - official git repo mirror
Code for connecting repository:
main:
[main]
Server = https://service.termux-pacman.dev/main/$arch
x11:
[x11]
Server = https://service.termux-pacman.dev/x11/$arch
root:
[root]
Server = https://service.termux-pacman.dev/root/$arch
Other information:
- Android support: 7+
- Architecture support: all (aarch64, arm, x86_64, i686)
- Signature: termux-pacman organization gpg key
- Powered by aws
- Root repository: https://github.com/termux/termux-packages
- Organization maintaining the root repository: termux
Description
Languages
Shell
79.8%
C
13.1%
C++
2.7%
CMake
1.1%
Python
0.8%
Other
2.3%