# Depends on: libffi pcre python elfutils

description="The GLib package contains a low-level libraries useful for providing data structure handling"
url="http://www.gtk.org/"
packager="tnut at nutyx dot org"

PKGMK_GROUPS=(man devel doc )

name=glib
version=2.52.3
release=1

source=(http://ftp.gnome.org/pub/gnome/sources/glib/${version:0:4}/$name-$version.tar.xz
        glib-revert-warn-glib-compile-schemas.patch)

build () {
  cd $name-$version

  patch -Rp1 -i ../glib-revert-warn-glib-compile-schemas.patch

  ./configure --prefix=/usr \
              --with-pcre=system \
              --disable-fam
  make
  make DESTDIR=$PKG install
}
