extra/gtk4 to 4.2.0-4

This commit is contained in:
Kevin Mihelich 2021-04-12 03:29:02 +00:00
parent 5b1155ea3e
commit ec8f9a9e42

View file

@ -6,7 +6,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)
@ -39,16 +39,20 @@ prepare() {
}
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
}