Date: Tuesday, March 13, 2018 @ 19:52:08
  Author: heftig
Revision: 318852

2.56.0+7+g66948ae23-1

Modified:
  glib2/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-03-13 19:47:57 UTC (rev 318851)
+++ PKGBUILD    2018-03-13 19:52:08 UTC (rev 318852)
@@ -3,7 +3,7 @@
 
 pkgbase=glib2
 pkgname=(glib2 glib2-docs)
-pkgver=2.55.1+240+g5d93dd63e
+pkgver=2.56.0+7+g66948ae23
 pkgrel=1
 pkgdesc="Low level core library"
 url="https://wiki.gnome.org/Projects/GLib";
@@ -15,7 +15,7 @@
 optdepends=('python: for gdbus-codegen and gtester-report'
             'libelf: gresource inspection tool')
 options=(!emptydirs)
-_commit=5d93dd63e8e533fffdc5ebbd74a25508b98f9b93  # master
+_commit=66948ae231f75a548c8a2eb7b3a9d64cfd728b8e  # glib-2-56
 source=("git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit";
         noisy-glib-compile-schemas.diff
         glib-compile-schemas.hook gio-querymodules.hook)
@@ -39,6 +39,9 @@
 }
 
 build() {
+  local debug=minimum
+  check_option debug n && debug=yes
+
   cd glib
   ./configure \
     --prefix=/usr \
@@ -45,7 +48,7 @@
     --libdir=/usr/lib \
     --sysconfdir=/etc \
     --with-pcre=system \
-    --enable-debug=yes \
+    --enable-debug=$debug \
     --enable-gtk-doc \
     --disable-fam
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool

Reply via email to