0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 12:36:15 +00:00
termux-packages/x11-packages/gtk3
Twaik Yont a338cd8a4f 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 16:03:17 +03:00
..
gir bump(x11/gtk3): 3.24.41 2024-04-24 20:43:29 +02:00
hooks gtk-update-icon-cache: add triggers 2023-02-01 07:46:16 +00:00
0001-no-atk-bridge.patch gtk3: Bump to 3.24.36 2022-12-23 00:09:59 +00:00
0002-dont-update-icon-cache.patch gtk3: Bump to 3.24.36 2022-12-23 00:09:59 +00:00
0003-fix-paths.patch Packages: Fix hardcoded Termux prefix (#733) 2022-04-18 14:50:30 +05:30
0004-fix-name-conflicts.patch gtk3: remove tons of patches and fix build with automake-1.16 2022-04-18 14:08:54 +05:30
0005-fix-immodules-linking.patch gtk3: Bump to 3.24.36 2022-12-23 00:09:59 +00:00
0006-fix-libintl.patch gtk3: Bump to 3.24.36 2022-12-23 00:09:59 +00:00
broadway-server.patch enhance(x11/gtk3): add broadway backend 2022-12-22 23:23:50 +00:00
build.sh chore: moving pkg-config wrapping to a function [no ci] 2024-10-11 16:03:17 +03:00
gdkbroadway-server.patch enhance(x11/gtk3): add broadway backend 2022-12-22 23:23:50 +00:00
gdkdisplay-wayland.c.patch enhance(x11/gtk3): enable wayland 2024-01-02 08:02:46 +08:00
gtk-update-icon-cache.subpackage.sh gtk-update-icon-cache: add BREAKS field 2024-04-26 00:02:16 +08:00