diff --git a/gpkg/glib/build.sh b/gpkg/glib/build.sh index 05a7cca1d..02617bd57 100644 --- a/gpkg/glib/build.sh +++ b/gpkg/glib/build.sh @@ -3,10 +3,10 @@ TERMUX_PKG_DESCRIPTION="Library providing core building blocks for libraries and TERMUX_PKG_LICENSE="LGPL-2.1" TERMUX_PKG_MAINTAINER="@termux-pacman" TERMUX_PKG_VERSION="2.82.2" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://ftp.gnome.org/pub/gnome/sources/glib/${TERMUX_PKG_VERSION%.*}/glib-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=ab45f5a323048b1659ee0fbda5cecd94b099ab3e4b9abf26ae06aeb3e781fd63 -TERMUX_PKG_DEPENDS="libffi-glibc, pcre2-glibc, util-linux-glibc, zlib-glibc, openssl-glibc, libunwind-glibc" +TERMUX_PKG_DEPENDS="libffi-glibc, pcre2-glibc, util-linux-glibc, zlib-glibc, openssl-glibc, libunwind-glibc, libmount-glibc" TERMUX_PKG_BUILD_DEPENDS="gobject-introspection-glibc" TERMUX_PKG_PYTHON_COMMON_DEPS="pygments, itstool, packaging, gi-docgen" TERMUX_PKG_ACCEPT_PKG_IN_DEP=true diff --git a/gpkg/glib/hooks/postinst.in b/gpkg/glib/hooks/postinst.in index ff42cea51..19cbaa0dc 100644 --- a/gpkg/glib/hooks/postinst.in +++ b/gpkg/glib/hooks/postinst.in @@ -3,7 +3,7 @@ # glib-compile-schemas is located in glib-bin package which # may not be installed. unset LD_PRELOAD -if [ -x "$(command -v glib-compile-schemas)" ]; then +if [ -f "@TERMUX_PREFIX@/bin/glib-compile-schemas" ]; then @TERMUX_PREFIX@/bin/glib-compile-schemas "@TERMUX_PREFIX@/share/glib-2.0/schemas" > /dev/null fi