[arch-commits] Commit in glib2/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Mon Mar 22 18:02:36 UTC 2021


    Date: Monday, March 22, 2021 @ 18:02:36
  Author: heftig
Revision: 410727

2.68.0-3: no sysprof

Modified:
  glib2/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-22 17:55:14 UTC (rev 410726)
+++ PKGBUILD	2021-03-22 18:02:36 UTC (rev 410727)
@@ -4,7 +4,7 @@
 pkgbase=glib2
 pkgname=(glib2 glib2-docs)
 pkgver=2.68.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Low level core library"
 url="https://wiki.gnome.org/Projects/GLib"
 license=(LGPL)
@@ -11,7 +11,7 @@
 arch=(x86_64)
 depends=(pcre libffi util-linux-libs zlib)
 makedepends=(gettext gtk-doc shared-mime-info python libelf git util-linux
-             meson dbus sysprof)
+             meson dbus)
 checkdepends=(desktop-file-utils)
 source=("git+https://gitlab.gnome.org/GNOME/glib.git?signed#tag=$pkgver"
         noisy-glib-compile-schemas.diff
@@ -39,7 +39,6 @@
   arch-meson glib build \
     -D glib_debug=disabled \
     -D selinux=disabled \
-    -D sysprof=enabled \
     -D man=true \
     -D gtk_doc=true
   meson compile -C build
@@ -61,10 +60,6 @@
   install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
   install -D gio-querymodules.script "$pkgdir/usr/share/libalpm/scripts/gio-querymodules"
 
-  # Avoid a dep on sysprof
-  sed -re '/^Requires\.private:/s/,? *sysprof-capture-[^,]*(,|$)/\1/' \
-    -i "$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"



More information about the arch-commits mailing list