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]
* Remove docs-meson.build.patch file because gi-docgen is not searched if gtk_doc is false.
* Enable building less supported image formats which was disabled in this version.
See e052a11207
for the following packages and versions:
* at-spi2-core 2.46.0
* gdk-pixbuf 2.42.9
* gobject-introspection 1.74.0
* gst-plugins-base 1.20.3
* gstreamer 1.20.3
* gtk3 3.24.34
* harfbuzz 5.3.0
* pango 1.50.11
as a separate commit for readability.
%ci:no-build
In issue https://github.com/termux/termux-packages/issues/6160 I have found
that community repo "its-pointless.github.io" specifies us as maintainer
for its packages. This is NOT TRUE and potentially misleads people using
these packages.
Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral
and not specify maintainer. So all packages now have to override it to
the correct value.
[skip ci]
%ci:no-build
This fixes Android 6 problems (so closes#26).
It also rebuilds termux-elf-cleaner when needed
and bumps some build revisions for packages
needed updates to remove DT_VERDEF and DT_VERDEFNUM.