Browse Source

glib: Add libandroid-support explicit dependency

To function well with character encodings glib needs to discover
langinfo.h from libandroid-support.

Test case:
  LC_ALL=C pkg-config --atleast-pkgconfig-version=0.1
should work and not give an error message:
  Conversion from character set 'C' to 'UTF-8' is not supported
android-5
Fredrik Fornwall 8 years ago
parent
commit
b8aef24458
  1. 4
      packages/glib/build.sh

4
packages/glib/build.sh

@ -2,8 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://developer.gnome.org/glib/
TERMUX_PKG_DESCRIPTION="Library providing core building blocks for libraries and applications written in C"
_TERMUX_GLIB_MAJOR_VERSION=2.50
TERMUX_PKG_VERSION=${_TERMUX_GLIB_MAJOR_VERSION}.1
TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_SRCURL=https://ftp.gnome.org/pub/gnome/sources/glib/${_TERMUX_GLIB_MAJOR_VERSION}/glib-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_DEPENDS="libffi, pcre"
# libandroid-support to get langinfo.h in include path.
TERMUX_PKG_DEPENDS="libffi, pcre, libandroid-support"
TERMUX_PKG_RM_AFTER_INSTALL="share/gtk-doc share/locale share/glib-2.0/gettext share/gdb/auto-load share/glib-2.0/codegen share/glib-2.0/gdb bin/gtester-report bin/glib-mkenums bin/glib-gettextize bin/gdbus-codegen"
# Needed by pkg-config for glib-2.0:
TERMUX_PKG_DEVPACKAGE_DEPENDS="pcre-dev"

Loading…
Cancel
Save