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

Jan Steffens heftig at archlinux.org
Sun Apr 11 17:51:34 UTC 2021


    Date: Sunday, April 11, 2021 @ 17:51:34
  Author: heftig
Revision: 412244

4.2.0-4: FS#70412 Fix test harness

Modified:
  gtk4/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-11 17:51:31 UTC (rev 412243)
+++ PKGBUILD	2021-04-11 17:51:34 UTC (rev 412244)
@@ -3,7 +3,7 @@
 pkgbase=gtk4
 pkgname=(gtk4 gtk-update-icon-cache gtk4-docs gtk4-demos)
 pkgver=4.2.0
-pkgrel=3
+pkgrel=4
 epoch=1
 pkgdesc="GObject-based multi-platform GUI toolkit"
 arch=(x86_64)
@@ -36,16 +36,20 @@
 }
 
 build() {
-  # https://gitlab.gnome.org/GNOME/gtk/-/commit/df4b564d69cc7d2e751537eff61259b36f37e9e5
-  CFLAGS+=" -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT"
+  local meson_options=(
+    # https://gitlab.gnome.org/GNOME/gtk/-/commit/df4b564d69cc7d2e751537eff61259b36f37e9e5
+    --buildtype release
+    -D c_args="-DG_ENABLE_DEBUG"
 
-  arch-meson gtk build \
-    -D broadway-backend=true \
-    -D cloudproviders=enabled \
-    -D tracker=enabled \
-    -D colord=enabled \
-    -D gtk_doc=true \
+    -D broadway-backend=true
+    -D cloudproviders=enabled
+    -D tracker=enabled
+    -D colord=enabled
+    -D gtk_doc=true
     -D man-pages=true
+  )
+
+  arch-meson gtk build "${meson_options[@]}"
   meson compile -C build
 }
 



More information about the arch-commits mailing list