Commit Graph

8 Commits

Author SHA1 Message Date
termux-pacman-bot
d1f854ebaf chore: moving pkg-config wrapping to a function [no ci]
There are 64 packages with such a code
```
	local _WRAPPER_BIN="${TERMUX_PKG_BUILDDIR}/_wrapper/bin"
	mkdir -p "${_WRAPPER_BIN}"
	if [[ "${TERMUX_ON_DEVICE_BUILD}" == "false" ]]; then
		sed "s|^export PKG_CONFIG_LIBDIR=|export PKG_CONFIG_LIBDIR=${TERMUX_PREFIX}/opt/glib/cross/lib/x86_64-linux-gnu/pkgconfig:|" \
			"${TERMUX_STANDALONE_TOOLCHAIN}/bin/pkg-config" \
			> "${_WRAPPER_BIN}/pkg-config"
		chmod +x "${_WRAPPER_BIN}/pkg-config"
		export PKG_CONFIG="${_WRAPPER_BIN}/pkg-config"
	fi
	export PATH="${_WRAPPER_BIN}:${PATH}"
```
In most cases this code is same, in some cases it is done for libwayland cross building. And it is not obvious what exactly happens here.
This commit makes it more obvious and easier to read.
[no ci]
2024-10-11 13:11:00 +00:00
termux-pacman-bot
4847d64002 fix(main/libgnt): Build against Termux ncurses headers, not host
Fix building `libgnt`, which before this patch tried to use the host
ncurses headers, which no longer works.
2024-10-02 21:38:02 +00:00
termux-pacman-bot
4399895478 fix(main/libgnt): explicitly depends ncurses-ui-libs 2024-07-31 05:08:57 +00:00
termux-pacman-bot
ac176922d7 fix(main/libgnt): Fix building with glib-cross for cross compilation
This fixes the following error.
/bin/sh: 1: /data/data/com.termux/files/usr/bin/glib-genmarshal: not found
2024-07-29 06:11:10 +00:00
termux-pacman-bot
b43cfc619d *: Remove version specifier for libxml2 in dependency
Effectively reverts commit 0120a4048a66fa3447278e3f2688889895a0c06d.

%ci:no-build
2023-07-02 09:31:21 +00:00
termux-pacman-bot
202ae7fefe libgnt: Revbump to rebuild
due to SONAME change in libxml2.
2023-07-02 01:29:11 +00:00
termux-pacman-bot
d336ec979b *: Add version specifier for libxml2 in dependency
Will be reverted afterwards.

%ci:no-build
2023-07-02 00:03:53 +00:00
Maxython
32bc4fabb0 packages/libgnt 2022-01-02 01:17:27 +03:00