include $(TOPDIR)/rules.mk
PKG_NAME:=glib2
-PKG_VERSION:=2.82.0
-PKG_RELEASE:=3
+PKG_VERSION:=2.88.1
+PKG_RELEASE:=1
PKG_SOURCE:=glib-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNOME/glib/$(basename $(PKG_VERSION))
-PKG_HASH:=f4c82ada51366bddace49d7ba54b33b4e4d6067afa3008e4847f41cb9b5c38d3
+PKG_HASH:=51ab804c56f6eab3e5045c774d1290ac5e4c923d4f9a3d8e33123bee45c1840e
PKG_MAINTAINER:=Peter Wagner <tripolar@gmx.at>
PKG_LICENSE:=LGPL-2.1-or-later
--- a/meson.build
+++ b/meson.build
-@@ -1189,7 +1189,7 @@ if host_system == 'windows' and (cc.get_
+@@ -1239,7 +1239,7 @@ if host_system == 'windows' and (cc.get_
glib_conf.set('HAVE_C99_SNPRINTF', false)
glib_conf.set('HAVE_C99_VSNPRINTF', false)
glib_conf.set('HAVE_UNIX98_PRINTF', false)
--elif not cc_can_run and host_system in ['ios', 'darwin']
+-elif not cc_can_run and host_system == 'darwin'
+elif true
# All these are true when compiling natively on macOS, so we should use good
# defaults when building for iOS and tvOS.