diff --git a/core/glib2/PKGBUILD b/core/glib2/PKGBUILD index ac7659e94..66165b89a 100644 --- a/core/glib2/PKGBUILD +++ b/core/glib2/PKGBUILD @@ -6,17 +6,17 @@ pkgbase=glib2 pkgname=(glib2 glib2-docs) -pkgver=2.66.0 +pkgver=2.66.1 pkgrel=1 pkgdesc="Low level core library" url="https://wiki.gnome.org/Projects/GLib" license=(LGPL2.1) arch=(x86_64) -depends=(pcre libffi libutil-linux zlib) +depends=(pcre libffi util-linux-libs zlib) makedepends=(gettext gtk-doc shared-mime-info python libelf git util-linux - meson dbus) + meson dbus sysprof) checkdepends=(desktop-file-utils) -_commit=c2c12e42920d6e06c23c87398996827e53c1fc72 # tags/2.66.0^0 +_commit=b2f8ba8a11482dc702a470e92552cbb97765dbc9 # tags/2.66.1^0 source=("git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit" noisy-glib-compile-schemas.diff glib-compile-schemas.hook gio-querymodules.hook) @@ -41,6 +41,7 @@ build() { CFLAGS+=" -DG_DISABLE_CAST_CHECKS" arch-meson glib build \ -D selinux=disabled \ + -D sysprof=enabled \ -D man=true \ -D gtk_doc=false meson compile -C build @@ -60,6 +61,9 @@ package_glib2() { DESTDIR="$pkgdir" meson install -C build install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook + # Avoid a dep on sysprof + sed -i 's/, sysprof-capture-4//' "$pkgdir"/usr/lib/pkgconfig/*.pc + export PYTHONHASHSEED=0 python -m compileall -d /usr/share/glib-2.0/codegen \ "$pkgdir/usr/share/glib-2.0/codegen"