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

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


    Date: Sunday, April 11, 2021 @ 17:51:31
  Author: heftig
Revision: 412243

3.24.28-3: FS#70412 Fix test harness

Modified:
  gtk3/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-11 17:42:00 UTC (rev 412242)
+++ PKGBUILD	2021-04-11 17:51:31 UTC (rev 412243)
@@ -4,7 +4,7 @@
 pkgbase=gtk3
 pkgname=(gtk3 gtk3-docs gtk3-demos)
 pkgver=3.24.28
-pkgrel=2
+pkgrel=3
 epoch=1
 pkgdesc="GObject-based multi-platform GUI toolkit"
 arch=(x86_64)
@@ -34,16 +34,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=true \
-    -D tracker3=false \
-    -D colord=yes \
-    -D gtk_doc=true \
+    -D broadway_backend=true
+    -D cloudproviders=true
+    -D tracker3=false
+    -D colord=yes
+    -D gtk_doc=true
     -D man=true
+  )
+
+  arch-meson gtk build "${meson_options[@]}"
   meson compile -C build
 }
 



More information about the arch-commits mailing list