mirror of
https://github.com/termux/termux-packages.git
synced 2025-09-17 20:09:35 +00:00
- Fix build with NDK r28c by properly porting the Go modules https://github.com/golang/mobile and https://github.com/golang-design/clipboard to Termux (X11 for Android) to fix the error `android.c:171:52: error: incompatible pointer to integer conversion passing 'ANativeWindow *' (aka 'struct ANativeWindow *') to parameter of type 'EGLNativeWindowType' (aka 'unsigned long') [-Wint-conversion]` in this line of the "mobile" module, and other errors.
- 395d808d53/app/android.c (L171)
- This does not seem to make `libx11` a required runtime dependency, because the TUI interface still works after this and the binary is not linked to `libx11` - it does become a build dependency, otherwise another error would happen.
- Add functioning `termux_step_post_get_source()`, activating dead variables `_COMMIT`, `TERMUX_PKG_VERSION` and `TERMUX_PKG_SHA256`
- Packages built from code written in Go do not have a runtime dependency on the `golang` package - they depend on the C runtime only.