Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
ef36fd9
bump(main/python): 3.13.11
thunder-coding Dec 25, 2025
5127a46
fix(main/python): unexpanded autotools variable in pkgconfig
thunder-coding Jan 9, 2026
1c0aa73
fix(main/python): build without -Wl,--as-needed
thunder-coding Jan 12, 2026
723bac2
chore(main/python): build with parallelism [[TESTING REQUIRED]]
thunder-coding Dec 25, 2025
6d32b83
scripts(termux_setup_build_python): build-python for cross compilation
thunder-coding Dec 26, 2025
592d14a
scripts(termux_setup_python_pip): use build python and add minor
thunder-coding Dec 26, 2025
908ac6d
rebuild(main/python-pip): with python3.13
thunder-coding Dec 26, 2025
c2c08a5
scripts(termux_setup_meson): use ubuntu's packaged python
thunder-coding Dec 27, 2025
48fafc5
scripts(termux_setup_python_pip): fix install shebang with crossenv
thunder-coding Dec 27, 2025
e30f763
chore(main/python): take up maintainership
thunder-coding Dec 28, 2025
de5945d
scripts(termux_setup_python_pip): crossenv 1.6.1
thunder-coding Dec 28, 2025
58446bb
pip hardcode api level instead of getting it from runtime
thunder-coding Jan 8, 2026
d386874
fix(main/python): ctypes.util.find_library on android
thunder-coding Jan 10, 2026
78c2165
scripts(termux_setup_python_pip): allow installing wheels without and…
thunder-coding Jan 12, 2026
642c301
fix(main/python): module linking to libpython3.so
thunder-coding Jan 19, 2026
5d20589
fix(main/python): hardcode android api level than detecting at runtime
thunder-coding Jan 25, 2026
f78741c
bump(main/python): 3.13.12
thunder-coding Feb 13, 2026
e311d22
chore(main/python): allow on-device builds
thunder-coding Feb 13, 2026
4148a9e
chore(main/python): only disable getlogin_r for API level < 28
thunder-coding Mar 1, 2026
b382529
rebuild(main/2ping): with python3.13
thunder-coding Dec 26, 2025
18c0644
rebuild(main/borgbackup): with python 3.13
thunder-coding Jan 9, 2026
f250663
rebuild(main/dbus-python): with python 3.13
thunder-coding Jan 9, 2026
62beb35
rebuild(main/libxml2): with python 3.13
thunder-coding Jan 9, 2026
c29121b
rebuild(main/gobject-introspection): with python 3.13
thunder-coding Jan 9, 2026
637d3f4
rebuild(main/libtorrent-rasterbar): with python 3.13
thunder-coding Jan 10, 2026
b26248c
rebuild(main/libplacebo): with python 3.13
thunder-coding Jan 10, 2026
0c5e743
rebuild(main/fetchmail): with python 3.13
thunder-coding Jan 12, 2026
286bf13
rebuild(x11/kitty): with python 3.13
thunder-coding Jan 12, 2026
91a6c54
rebuild(main/boost): with python 3.13
thunder-coding Jan 12, 2026
36ec3d0
rebuild(main/ledger): with python 3.13
thunder-coding Jan 12, 2026
fe103ce
rebuild(main/pybind11): with python 3.13
thunder-coding Jan 12, 2026
e334d7d
rebuild(main/pycairo): with python 3.13
thunder-coding Jan 12, 2026
a6d6a3c
rebuild(main/python-apsw): with python 3.13
thunder-coding Jan 12, 2026
48df2c6
rebuild(main/python-apt): with python 3.13
thunder-coding Jan 12, 2026
d41c809
rebuild(main/panda3d): with python 3.13
thunder-coding Jan 12, 2026
22b1a54
fix(main/panda3d): do not override android api level
thunder-coding Jan 12, 2026
b50444d
fix(main/panda3d): combine all patches for makepanda.py
thunder-coding Jan 12, 2026
5c2acef
fix(main/panda3d): do not pass --target= as it confuses compiler driver
thunder-coding Jan 20, 2026
4672a9e
fix(main/panda3d): architecture detection for i686
thunder-coding Jan 20, 2026
ffa1d09
rebuild(main/python-lameenc): with python 3.13
thunder-coding Jan 12, 2026
7104933
rebuild(main/python-libsass): with python 3.13
thunder-coding Jan 12, 2026
46a96cf
rebuild(main/python-msgpack): with python 3.13
thunder-coding Jan 12, 2026
1b71f3e
rebuild(main/python-numpy): with python 3.13
thunder-coding Jan 12, 2026
0a54e94
rebuild(main/python-onnxruntime): with python 3.13
thunder-coding Jan 12, 2026
2431194
rebuild(main/python-sabyenc3): with python 3.13
thunder-coding Jan 12, 2026
e76c57b
rebuild(main/python-skia-pathops): with python 3.13
thunder-coding Jan 12, 2026
61c8b22
rebuild(main/ranger): with python 3.13
thunder-coding Jan 12, 2026
2aa82fa
rebuild(main/speechd): with python 3.13
thunder-coding Jan 12, 2026
9c47ef5
rebuild(main/xcb-proto): with python3.13
thunder-coding Dec 26, 2025
da36c99
rebuild(main/udocker): with python 3.13
thunder-coding Jan 12, 2026
1aee77a
rebuild(main/vapoursynth): with python 3.13
thunder-coding Jan 12, 2026
1061d39
rebuild(x11/xkeyboard-config): with python 3.13
thunder-coding Jan 12, 2026
3556a6c
rebuild(main/yt-dlp-ejs): with python 3.13
thunder-coding Jan 12, 2026
40a2933
rebuild(main/libsearpc): with python 3.13
thunder-coding Jan 13, 2026
f5ef074
rebuild(main/libunbound): with python 3.13
thunder-coding Jan 19, 2026
087d6dd
rebuild(main/python-bcrypt): with python 3.13
thunder-coding Jan 19, 2026
d85eee6
rebuild(main/python-greenlet): with python 3.13
thunder-coding Jan 19, 2026
c0caf6f
rebuild(main/python-pillow): with python 3.13
thunder-coding Jan 19, 2026
c19ad93
rebuild(main/python-grpcio): with python 3.13
thunder-coding Jan 19, 2026
3e7900d
rebuild(main/rdiff-backup): with python 3.13
thunder-coding Jan 19, 2026
67d69c2
rebuild(x11/libncnn): with python 3.13
thunder-coding Jan 19, 2026
5ae8b5d
rebuild(main/asciidoc): with python 3.13
thunder-coding Jan 22, 2026
83152b7
rebuild(root/frida): with python3.13
thunder-coding Jan 22, 2026
ebcb37c
rebuild(main/python-brotli): with python 3.13
thunder-coding Jan 22, 2026
8fdbc09
rebuild(main/python-cmake): with python 3.13
thunder-coding Jan 22, 2026
8475ea7
rebuild(main/python-cryptography): with python 3.13
thunder-coding Jan 22, 2026
01f9203
rebuild(main/python-llvmlite): with python 3.13
thunder-coding Jan 22, 2026
e1567c9
rebuild(main/python-pycryptodomex): with python 3.13
thunder-coding Jan 22, 2026
9a8ecdf
rebuild(main/python-tldp): with python 3.13
thunder-coding Jan 22, 2026
0364804
rebuild(main/python-xlib): with python 3.13
thunder-coding Jan 22, 2026
25a73f1
rebuild(x11/pyqt5): with python 3.13
thunder-coding Jan 22, 2026
ab1ad8f
rebuild(main/ruff): with python 3.13
thunder-coding Jan 22, 2026
4d97e30
rebuild(main/electrum): with python 3.13
thunder-coding Jan 22, 2026
3fc587a
rebuild(x11/gnucash): with python 3.13
thunder-coding Jan 22, 2026
9380204
rebuild(main/libarrow-cpp): rebuild with python 3.13
thunder-coding Jan 23, 2026
4d1f7c2
rebuild(main/libllvm): with python 3.13
thunder-coding Jan 23, 2026
266d4ea
rebuild(main/flang): to sync with libllvm version
thunder-coding Jan 23, 2026
c7742e4
rebuild(main/nala): with python 3.13
thunder-coding Jan 23, 2026
ebf1767
rebuild(x11/opencv): with python 3.13
thunder-coding Jan 23, 2026
32cfaa9
rebuild(main/pygobject): with python 3.13
thunder-coding Jan 23, 2026
b04ab6d
rebuild(main/python-contourpy): with python 3.13
thunder-coding Jan 23, 2026
7aa8c23
rebuild(main/python-pynvim): with python 3.13
thunder-coding Jan 23, 2026
0f9de42
rebuild(main/python-lxml): with python 3.13
thunder-coding Jan 23, 2026
2fa1c85
rebuild(x11/python-pyqtwebengine): rebuild with python 3.13
thunder-coding Jan 23, 2026
b945dc8
rebuild(x11/python-qscintilla): with python 3.13
thunder-coding Jan 23, 2026
11aad0b
rebuild(main/python-tflite-runtime): with python 3.13
thunder-coding Jan 23, 2026
6c67983
rebuild(main/python-scipy): with python 3.13
thunder-coding Jan 23, 2026
666254e
rebuild(main/recoll): with python 3.13
thunder-coding Jan 23, 2026
5123c9c
rebuild(main/seafile-client): with python 3.13
thunder-coding Jan 23, 2026
7e5bacf
rebuild(main/python-yt-dlp): with python 3.13
thunder-coding Jan 23, 2026
27cfcd7
rebuild(main/python-torch): with python 3.13
thunder-coding Jan 23, 2026
f8d0f81
rebuild(x11/gjots2): with python 3.13
thunder-coding Jan 23, 2026
7f00b93
rebuild(x11/gnumeric): with python 3.13
thunder-coding Jan 23, 2026
908fa48
rebuild(main/gst-python): with python 3.13
thunder-coding Jan 23, 2026
17a4758
rebuild(x11/meld): with python 3.13
thunder-coding Jan 23, 2026
bf9b9c8
rebuild(x11/pyatspi): with python 3.13
thunder-coding Jan 23, 2026
af5632d
rebuild(x11/codelldb): with python 3.13
thunder-coding Jan 23, 2026
d206125
rebuild(main/python-torchcodec): with python 3.13
thunder-coding Jan 24, 2026
71a16da
rebuild(main/python-torchvision): with python 3.13
thunder-coding Jan 24, 2026
b2d5177
rebuild(main/manim): with python 3.13
thunder-coding Jan 24, 2026
cecf4e9
rebuild(main/matplotlib): with python 3.13
thunder-coding Jan 24, 2026
cf5da08
rebuild(x11/python-opencv-python): rebuild with python 3.13
thunder-coding Jan 24, 2026
cc2c3e8
rebuild(x11/orca): with python 3.13
thunder-coding Jan 24, 2026
d61a7f6
rebuild(x11/python-xapp): with python 3.13
thunder-coding Jan 24, 2026
c0072b3
rebuild(main/python-torchaudio): with python 3.13
thunder-coding Jan 24, 2026
949c56a
rebuild(main/at-spi2-core): with python 3.13
thunder-coding Jan 24, 2026
b5258ff
rebuild(main/blueprint-compiler): with python 3.13
thunder-coding Jan 24, 2026
199edd7
rebuild(main/termux-apt-repo): with python 3.13
thunder-coding Jan 24, 2026
8e2d417
rebuild(x11/xapp): with python 3.13
thunder-coding Jan 24, 2026
bebec8d
rebuild(x11/mlt): with python 3.13
thunder-coding Jan 24, 2026
fdab444
rebuild(main/tizonia): with python 3.13
thunder-coding Feb 12, 2026
c23b1b5
rebuild(main/cinnamon): with python 3.13
thunder-coding Feb 25, 2026
55920c0
chore: Python 3.13 empty commit
thunder-coding Mar 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions build-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ source "$TERMUX_SCRIPTDIR/scripts/build/setup/termux_setup_ldc.sh"
# shellcheck source=scripts/build/setup/termux_setup_no_integrated_as.sh
source "$TERMUX_SCRIPTDIR/scripts/build/setup/termux_setup_no_integrated_as.sh"

# Utility function for setting up build-python for cross-compilation of Python and crossenv
# shellcheck source=scripts/build/setup/termux_setup_build_python.sh
source "$TERMUX_SCRIPTDIR/scripts/build/setup/termux_setup_build_python.sh"

# Utility function for python packages to setup a python.
# shellcheck source=scripts/build/setup/termux_setup_python_pip.sh
source "$TERMUX_SCRIPTDIR/scripts/build/setup/termux_setup_python_pip.sh"
Expand Down
2 changes: 1 addition & 1 deletion packages/2ping/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="A bi-directional ping utility"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=4.5.1
TERMUX_PKG_REVISION=4
TERMUX_PKG_REVISION=5
TERMUX_PKG_SRCURL=https://github.com/rfinnie/2ping/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=0f85dc21be1266daccfbba903819ca8935ebdbe002b1e0305bfda258af44fdcd
TERMUX_PKG_DEPENDS="python"
Expand Down
2 changes: 1 addition & 1 deletion packages/asciidoc/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Text document format for short documents, articles, book
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="10.2.1"
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/asciidoc/asciidoc-py3/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=8e1fb9691952cc4f13357e1ef58172e566c5f88e3c44222d4a8693585f884507
TERMUX_PKG_AUTO_UPDATE=true
Expand Down
1 change: 1 addition & 0 deletions packages/at-spi2-core/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Assistive Technology Service Provider Interface (AT-SPI)
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="2.58.3"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/at-spi2-core/${TERMUX_PKG_VERSION%.*}/at-spi2-core-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=b0fabea6c9742eda8c9c675f9b8c1d1babba1da82da03ea1103710233717c1b0
TERMUX_PKG_AUTO_UPDATE=true
Expand Down
1 change: 1 addition & 0 deletions packages/blueprint-compiler/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Markup language for GTK user interfaces"
TERMUX_PKG_LICENSE="LGPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.20.0"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/blueprint-compiler/${TERMUX_PKG_VERSION%.*}/blueprint-compiler-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=ec786d66f583e8296c845f1f82834d27b369f39d55a6380b34880493e22db382
TERMUX_PKG_AUTO_UPDATE=true
Expand Down
4 changes: 4 additions & 0 deletions packages/boost/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ TERMUX_PKG_MAINTAINER="@termux"
# Never forget to always bump revision of reverse dependencies and rebuild them
# when bumping version.
TERMUX_PKG_VERSION="1:1.90.0"
TERMUX_PKG_REVISION=1
_VERSION="${TERMUX_PKG_VERSION:2}"
TERMUX_PKG_SRCURL="https://archives.boost.io/release/${_VERSION}/source/boost_${_VERSION//./_}.tar.bz2"
TERMUX_PKG_SHA256=49551aff3b22cbc5c5a9ed3dbc92f0e23ea50a0f7325b0d198b705e8ee3fc305
TERMUX_PKG_AUTO_UPDATE=false
TERMUX_PKG_DEPENDS="libc++, libbz2, libiconv, liblzma, zlib, libandroid-wordexp"
# Although python is a build dependency, boost needs to be rebuilt when major
# versions of python are updated to ensure that CMake's find_package detects
# Boost.Python as python version is hardcoded into it
TERMUX_PKG_BUILD_DEPENDS="python"
TERMUX_PKG_BREAKS="libboost-python (<= 1.65.1-2), boost-dev"
TERMUX_PKG_REPLACES="libboost-python (<= 1.65.1-2), boost-dev"
Expand Down
16 changes: 9 additions & 7 deletions packages/borgbackup/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,22 @@ TERMUX_PKG_DESCRIPTION="Deduplicating and compressing backup program"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="Joshua Kahn <tom@termux.dev>"
TERMUX_PKG_VERSION="1.4.3"
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/borgbackup/borg/releases/download/${TERMUX_PKG_VERSION}/borgbackup-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=79bbfa745d1901d685973584bd2d16a350686ddd176f6a2244490fb01996441f
TERMUX_PKG_DEPENDS="libacl, liblz4, openssl, python, python-pip, xxhash, zstd"
TERMUX_PKG_PYTHON_COMMON_BUILD_DEPS="build, Cython, pkgconfig, setuptools, setuptools-scm, wheel"
TERMUX_PKG_PYTHON_TARGET_DEPS="'msgpack==1.0.8', packaging"
TERMUX_PKG_AUTO_UPDATE=true

termux_step_make() {
PYTHONPATH='' python -m build -w -n -x "$TERMUX_PKG_SRCDIR"
termux_step_make_install() {
cross-pip install --no-deps --prefix="$TERMUX_PREFIX" "$TERMUX_PKG_SRCDIR"
}

termux_step_make_install() {
local _pyver="${TERMUX_PYTHON_VERSION//./}"
local _wheel="borgbackup-${TERMUX_PKG_VERSION}-cp${_pyver}-cp${_pyver}-linux_${TERMUX_ARCH}.whl"
pip install --force-reinstall --no-deps --prefix="$TERMUX_PREFIX" "$TERMUX_PKG_SRCDIR/dist/${_wheel}"
termux_step_create_debscripts() {
cat <<- EOF > ./postinst
#!$TERMUX_PREFIX/bin/sh
echo "Installing dependencies through pip..."
pip3 install $TERMUX_PKG_PYTHON_TARGET_DEPS
EOF
}
2 changes: 1 addition & 1 deletion packages/dbus-python/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Python bindings for D-Bus"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1.4.0"
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://gitlab.freedesktop.org/dbus/dbus-python/-/archive/dbus-python-${TERMUX_PKG_VERSION}/dbus-python-dbus-python-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=da4ee9bbb9eb901d463a7cc9f99dfdbe6c751c8b48b29b78d378985a3c9656ad
TERMUX_PKG_AUTO_UPDATE=true
Expand Down
2 changes: 1 addition & 1 deletion packages/electrum/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Electrum is a lightweight Bitcoin wallet"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="4.5.8"
TERMUX_PKG_REVISION=3
TERMUX_PKG_REVISION=4
TERMUX_PKG_SRCURL=https://download.electrum.org/$TERMUX_PKG_VERSION/Electrum-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=dd8595a138132dee87cee76ce760a1d622fc2fd65d3b6ac7df7e53b7fb6ea7e8
# The python dependency list should be compared to
Expand Down
1 change: 1 addition & 0 deletions packages/fetchmail/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_LICENSE_FILE="COPYING"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="6.6.2"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://sourceforge.net/projects/fetchmail/files/branch_${TERMUX_PKG_VERSION:0:3}/fetchmail-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_SHA256=a5109295ec3319e0e45edd009d2d977042a8326ab52c6a817a82fa987103e4f3
TERMUX_PKG_AUTO_UPDATE=true
Expand Down
1 change: 1 addition & 0 deletions packages/flang/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_LICENSE_FILE="flang/LICENSE.TXT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=21.1.8
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=(
"https://github.com/llvm/llvm-project/releases/download/llvmorg-${TERMUX_PKG_VERSION}/llvm-project-${TERMUX_PKG_VERSION}.src.tar.xz"
"https://github.com/llvm/llvm-project/releases/download/llvmorg-${TERMUX_PKG_VERSION}/LLVM-${TERMUX_PKG_VERSION}-Linux-X64.tar.xz"
Expand Down
1 change: 1 addition & 0 deletions packages/gobject-introspection/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Uniform machine readable API"
TERMUX_PKG_LICENSE="LGPL-2.0, GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1.86.0"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/gobject-introspection/${TERMUX_PKG_VERSION%.*}/gobject-introspection-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=920d1a3fcedeadc32acff95c2e203b319039dd4b4a08dd1a2dfd283d19c0b9ae
TERMUX_PKG_DEPENDS="glib, libffi"
Expand Down
1 change: 1 addition & 0 deletions packages/gst-python/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Python bindings for GStreamer"
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1.28.1"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://gstreamer.freedesktop.org/src/gst-python/gst-python-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=d47cea95adb95ba10443ed7812c7c5fa0807aef43b98cd1c6d8fb9f9a86f7085
TERMUX_PKG_AUTO_UPDATE=true
Expand Down
13 changes: 0 additions & 13 deletions packages/ledger/CMakeLists.diff

This file was deleted.

8 changes: 3 additions & 5 deletions packages/ledger/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Powerful, double-entry accounting system"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="3.4.1"
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL="https://github.com/ledger/ledger/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256=1cf012cdc8445cab0efc445064ef9b2d3f46ed0165dae803c40fe3d2b23fdaad
TERMUX_PKG_AUTO_UPDATE=true
Expand All @@ -17,8 +17,6 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
"

termux_step_pre_configure() {
sed $TERMUX_PKG_BUILDER_DIR/CMakeLists.diff \
-e "s%@TERMUX_PREFIX@%${TERMUX_PREFIX}%g" \
-e "s%@PYTHON_VERSION@%${TERMUX_PYTHON_VERSION}%g" \
| patch --silent -p1
termux_setup_python_pip
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -DPython3_EXECUTABLE=$(command -v cross-python)"
}
8 changes: 5 additions & 3 deletions packages/libarrow-cpp/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="C++ libraries for Apache Arrow"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="23.0.1"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL="https://github.com/apache/arrow/archive/refs/tags/apache-arrow-${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256=9a9a057bba3aa7080abc2ba8e7a079effa74626a4f308ac56bfce035d31ef1ac
TERMUX_PKG_AUTO_UPDATE=true
Expand Down Expand Up @@ -57,6 +58,7 @@ termux_step_post_make_install() {
TERMUX_PKG_BUILDDIR="$TERMUX_PKG_SRCDIR"
cd "$TERMUX_PKG_BUILDDIR"

export PYARROW_CMAKE_GENERATOR=Ninja
export PYARROW_CMAKE_OPTIONS="
-DCMAKE_PREFIX_PATH=$TERMUX_PREFIX/lib/cmake
-DNUMPY_INCLUDE_DIRS=$TERMUX_PYTHON_HOME/site-packages/numpy/_core/include
Expand All @@ -72,10 +74,10 @@ termux_step_post_make_install() {
termux_setup_ninja

# termux_step_make
PYTHONPATH='' python -m build -w -n -x "$TERMUX_PKG_SRCDIR"
python -m build -w -n -x "$TERMUX_PKG_SRCDIR"

# termux_step_make_install
local _pyver="${TERMUX_PYTHON_VERSION//./}"
local _wheel="pyarrow-${TERMUX_PKG_VERSION}-cp${_pyver}-cp${_pyver}-linux_${TERMUX_ARCH}.whl"
pip install --no-deps --prefix="$TERMUX_PREFIX" "$TERMUX_PKG_SRCDIR/dist/${_wheel}"
local _wheel="pyarrow-${TERMUX_PKG_VERSION}-cp${_pyver}-cp${_pyver}-android_${TERMUX_ARCH}.whl"
cross-pip install --no-deps --prefix="$TERMUX_PREFIX" "$TERMUX_PKG_SRCDIR/dist/${_wheel}"
}
2 changes: 1 addition & 1 deletion packages/libarrow-cpp/python-pyarrow.subpackage.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TERMUX_SUBPKG_INCLUDE="lib/python3.12/site-packages/pyarrow*"
TERMUX_SUBPKG_INCLUDE="lib/python3*/site-packages/pyarrow*"
TERMUX_SUBPKG_DESCRIPTION="Python bindings for Apache Arrow"
TERMUX_SUBPKG_DEPENDS="python, python-numpy"
2 changes: 1 addition & 1 deletion packages/libllvm/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ TERMUX_PKG_LICENSE_FILE="llvm/LICENSE.TXT"
TERMUX_PKG_MAINTAINER="@finagolfin"
# Keep flang version and revision in sync when updating (enforced by check in termux_step_pre_configure).
TERMUX_PKG_VERSION=21.1.8
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=4633a23617fa31a3ea51242586ea7fb1da7140e426bd62fc164261fe036aa142
TERMUX_PKG_AUTO_UPDATE=false
TERMUX_PKG_SRCURL=https://github.com/llvm/llvm-project/releases/download/llvmorg-${TERMUX_PKG_VERSION}/llvm-project-${TERMUX_PKG_VERSION}.src.tar.xz
Expand All @@ -26,7 +27,6 @@ TERMUX_PKG_GROUPS="base-devel"
# See https://llvm.org/docs/CMake.html:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DANDROID_PLATFORM_LEVEL=$TERMUX_PKG_API_LEVEL
-DPYTHON_EXECUTABLE=$(command -v "python${TERMUX_PYTHON_VERSION}")
-DLLVM_ENABLE_PIC=ON
-DLLVM_ENABLE_LIBEDIT=OFF
-DLLVM_INCLUDE_TESTS=OFF
Expand Down
1 change: 1 addition & 0 deletions packages/libplacebo/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="7.360.0"
TERMUX_PKG_SRCURL="https://code.videolan.org/videolan/libplacebo/-/archive/v${TERMUX_PKG_VERSION}/libplacebo-v${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256=7f4e182526b738805ff793717c67a256bc3f6bc10025017f0b10193f2c79abb9
TERMUX_PKG_REVISION=1
TERMUX_PKG_DEPENDS="littlecms, glslang, python, vulkan-icd"
TERMUX_PKG_BUILD_DEPENDS="libglvnd-dev, vulkan-headers"
TERMUX_PKG_PYTHON_COMMON_BUILD_DEPS="glad2"
Expand Down
28 changes: 28 additions & 0 deletions packages/libplacebo/python-3.13-build.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
From 12509c0f1ee8c22ae163017f0a5e7b8a9d983a17 Mon Sep 17 00:00:00 2001
From: Nicolas Chauvet <kwizart@gmail.com>
Date: Tue, 29 Jul 2025 11:42:35 +0200
Subject: [PATCH] vulkan/utils_gen: fix for python 3.14

Python 3.14+ has added more type checking. This patch fixes usage

Fixes: https://github.com/haasn/libplacebo/issues/335

Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
---
src/vulkan/utils_gen.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/vulkan/utils_gen.py b/src/vulkan/utils_gen.py
index 9a97d35f3..9b803d82b 100644
--- a/src/vulkan/utils_gen.py
+++ b/src/vulkan/utils_gen.py
@@ -202,7 +202,8 @@ def find_registry_xml(datadir):
if not xmlfile or xmlfile == '':
xmlfile = find_registry_xml(datadir)

- registry = VkXML(ET.parse(xmlfile))
+ tree = ET.parse(xmlfile)
+ registry = VkXML(tree.getroot())
with open(outfile, 'w') as f:
f.write(TEMPLATE.render(
vkresults = get_vkenum(registry, 'VkResult'),
13 changes: 13 additions & 0 deletions packages/libplacebo/use-build-python-for-build.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/meson.build b/meson.build
index 661e1c5e..974b740f 100644
--- a/meson.build
+++ b/meson.build
@@ -462,7 +462,7 @@ add_project_link_arguments(link_args, language: ['c', 'cpp'])
fs = import('fs')
libm = cc.find_library('m', required: false)
thirdparty = meson.project_source_root()/'3rdparty'
-python = import('python').find_installation()
+python = 'build-python'
python_env = environment()
python_env.append('PYTHONPATH', thirdparty/'jinja/src')
python_env.append('PYTHONPATH', thirdparty/'markupsafe/src')
8 changes: 6 additions & 2 deletions packages/libsearpc/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="A simple C language RPC framework (mainly for seafile)"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1:3.2.0
TERMUX_PKG_REVISION=7
TERMUX_PKG_REVISION=8
TERMUX_PKG_SRCURL=https://github.com/haiwen/libsearpc/archive/refs/tags/v${TERMUX_PKG_VERSION:2}.tar.gz
TERMUX_PKG_SHA256=cd00197fcc40b45b1d5e892b2d08dfa5947f737e0d80f3ef26419334e75b0bff
TERMUX_PKG_DEPENDS="glib, libjansson, python"
Expand All @@ -15,5 +15,9 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="

termux_step_post_get_source() {
./autogen.sh
export PYTHON="python${TERMUX_PYTHON_VERSION}"
}

termux_step_pre_configure() {
termux_setup_python_pip
export PYTHON="cross-python"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,7 @@ diff -u -r ../libtorrent-rasterbar-2.0.10/bindings/python/CMakeLists.txt ./bindi
function(_get_compatible_python_versions _ret)
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 19 AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 20)
- list(APPEND _tmp 3.6 3.7 3.8 3.9 3.10 3.11)
+ list(APPEND _tmp 3.6 3.7 3.8 3.9 3.10 3.11 3.12)
+ list(APPEND _tmp 3.6 3.7 3.8 3.9 3.10 3.11 3.12 3.13)
endif()
set(${_ret} ${_tmp} PARENT_SCOPE)
endfunction()
@@ -95,7 +95,7 @@
else()
execute_process(
COMMAND "${Python3_EXECUTABLE}" -c [=[
-import distutils.sysconfig
+from setuptools import distutils
print(distutils.sysconfig.get_python_lib(prefix='', plat_specific=True))
]=]
OUTPUT_VARIABLE _PYTHON3_SITE_ARCH
8 changes: 7 additions & 1 deletion packages/libtorrent-rasterbar/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="A feature complete C++ bittorrent implementation focusin
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="2.0.11"
TERMUX_PKG_REVISION=5
TERMUX_PKG_REVISION=6
TERMUX_PKG_SRCURL="https://github.com/arvidn/libtorrent/releases/download/v${TERMUX_PKG_VERSION}/libtorrent-rasterbar-${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256=f0db58580f4f29ade6cc40fa4ba80e2c9a70c90265cd77332d3cdec37ecf1e6d
TERMUX_PKG_AUTO_UPDATE=true
Expand All @@ -16,3 +16,9 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-Dboost-python-module-name=python
-Dpython-bindings=ON
"

termux_step_pre_configure() {
# We don't get build-python in path until termux_setup_python_pip is called in
# termux_step_get_dependencies_python
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -DPython3_EXECUTABLE=$(command -v build-python)"
}
2 changes: 1 addition & 1 deletion packages/libunbound/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="A validating, recursive, caching DNS resolver"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1.24.2"
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://nlnetlabs.nl/downloads/unbound/unbound-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=44e7b53e008a6dcaec03032769a212b46ab5c23c105284aa05a4f3af78e59cdb
TERMUX_PKG_AUTO_UPDATE=true
Expand Down
2 changes: 1 addition & 1 deletion packages/libxml2/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Library for parsing XML documents"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="2.15.1"
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/libxml2/${TERMUX_PKG_VERSION%.*}/libxml2-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=c008bac08fd5c7b4a87f7b8a71f283fa581d80d80ff8d2efd3b26224c39bc54c
TERMUX_PKG_AUTO_UPDATE=true
Expand Down
1 change: 1 addition & 0 deletions packages/manim/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="A community-maintained Python framework for creating mat
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="Nguyen Khanh @nguynkhn"
TERMUX_PKG_VERSION="0.20.1"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL="https://github.com/ManimCommunity/manim/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz"
TERMUX_PKG_SHA256=384791b838ae5a6f408dcf4eb86e7fe04957fd2910fb26038690457a44204caf
TERMUX_PKG_DEPENDS="cmake, ffmpeg, libcairo, pango, xorgproto, python-numpy, python-pillow, python-pip, pycairo, python-scipy, python-skia-pathops"
Expand Down
4 changes: 2 additions & 2 deletions packages/matplotlib/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ LICENSE/LICENSE_STIX
LICENSE/LICENSE_YORICK"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="3.10.8"
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/matplotlib/matplotlib/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=dbc50c7b15bb8d7dbe51a27a58322ed73f09291772d9e3184f03f11c576693f7
TERMUX_PKG_AUTO_UPDATE=true
Expand Down Expand Up @@ -56,6 +56,6 @@ termux_step_make() {

termux_step_make_install() {
local _pyv="${TERMUX_PYTHON_VERSION/./}"
local _whl="matplotlib-$TERMUX_PKG_VERSION-cp$_pyv-cp$_pyv-linux_$TERMUX_ARCH.whl"
local _whl="matplotlib-$TERMUX_PKG_VERSION-cp$_pyv-cp$_pyv-android_$TERMUX_ARCH.whl"
pip install --no-deps --prefix=$TERMUX_PREFIX --force-reinstall $TERMUX_PKG_SRCDIR/dist/$_whl
}
2 changes: 1 addition & 1 deletion packages/nala/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Commandline frontend for the apt package manager"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.16.0"
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://gitlab.com/volian/nala/-/archive/v${TERMUX_PKG_VERSION}/nala-v${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=49e384aa3b94597d09c61b7accc41d1cf10cb6beea85d4620c80c28d7cdc4d5f
TERMUX_PKG_DEPENDS="python-apt, python-pip"
Expand Down
Loading
Loading