Skip to content

Commit ad114af

Browse files
committed
gpkg/glib: adding libmount-glibc as a dependency
1 parent 12322a3 commit ad114af

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gpkg/glib/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ TERMUX_PKG_DESCRIPTION="Library providing core building blocks for libraries and
33
TERMUX_PKG_LICENSE="LGPL-2.1"
44
TERMUX_PKG_MAINTAINER="@termux-pacman"
55
TERMUX_PKG_VERSION="2.82.2"
6-
TERMUX_PKG_REVISION=1
6+
TERMUX_PKG_REVISION=2
77
TERMUX_PKG_SRCURL=https://ftp.gnome.org/pub/gnome/sources/glib/${TERMUX_PKG_VERSION%.*}/glib-${TERMUX_PKG_VERSION}.tar.xz
88
TERMUX_PKG_SHA256=ab45f5a323048b1659ee0fbda5cecd94b099ab3e4b9abf26ae06aeb3e781fd63
9-
TERMUX_PKG_DEPENDS="libffi-glibc, pcre2-glibc, util-linux-glibc, zlib-glibc, openssl-glibc, libunwind-glibc"
9+
TERMUX_PKG_DEPENDS="libffi-glibc, pcre2-glibc, util-linux-glibc, zlib-glibc, openssl-glibc, libunwind-glibc, libmount-glibc"
1010
TERMUX_PKG_BUILD_DEPENDS="gobject-introspection-glibc"
1111
TERMUX_PKG_PYTHON_COMMON_DEPS="pygments, itstool, packaging, gi-docgen"
1212
TERMUX_PKG_ACCEPT_PKG_IN_DEP=true

gpkg/glib/hooks/postinst.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# glib-compile-schemas is located in glib-bin package which
44
# may not be installed.
55
unset LD_PRELOAD
6-
if [ -x "$(command -v glib-compile-schemas)" ]; then
6+
if [ -f "@TERMUX_PREFIX@/bin/glib-compile-schemas" ]; then
77
@TERMUX_PREFIX@/bin/glib-compile-schemas "@TERMUX_PREFIX@/share/glib-2.0/schemas" > /dev/null
88
fi
99

0 commit comments

Comments
 (0)