mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-19 07:55:01 +00:00
fix(main/glib): apply TERMUX_PKG_SETUP_PYTHON=true
- This fixes a failure to detect the correct Python headers if `python3-dev` was installed in Ubuntu before cross-compiling this package, resulting in the inclusion of `/usr/include/python3.12` instead of `$TERMUX_PREFIX/include/python3.12` and build errors as a result. - `python3-dev` is not installed by default in the termux-package-builder docker container, but it is installed by default in GitHub Actions and is not removed by `scripts/free-space.sh`, so non-Docker builds of `glib` in GitHub Actions alongside packages that are in `big-pkgs.list` can be affected unless this fix is applied.
This commit is contained in:
@@ -3,10 +3,12 @@ TERMUX_PKG_DESCRIPTION="Library providing core building blocks for libraries and
|
||||
TERMUX_PKG_LICENSE="LGPL-2.1"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION="2.86.3"
|
||||
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/glib/${TERMUX_PKG_VERSION%.*}/glib-${TERMUX_PKG_VERSION}.tar.xz
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SRCURL="https://download.gnome.org/sources/glib/${TERMUX_PKG_VERSION%.*}/glib-${TERMUX_PKG_VERSION}.tar.xz"
|
||||
TERMUX_PKG_SHA256=b3211d8d34b9df5dca05787ef0ad5d7ca75dec998b970e1aab0001d229977c65
|
||||
TERMUX_PKG_AUTO_UPDATE=true
|
||||
TERMUX_PKG_DEPENDS="libandroid-support, libffi, libiconv, pcre2, resolv-conf, zlib, python"
|
||||
TERMUX_PKG_SETUP_PYTHON=true
|
||||
TERMUX_PKG_BREAKS="glib-dev, glib-bin"
|
||||
TERMUX_PKG_REPLACES="glib-dev, glib-bin"
|
||||
TERMUX_PKG_VERSIONED_GIR=false
|
||||
|
||||
Reference in New Issue
Block a user