1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: josephgbr <rafael.f.f1@gmail.com>
3 # Contributor: GordonGR <ntheo1979@gmail.com>
9 pkgdesc="GObject-based multi-platform GUI toolkit"
10 url="https://www.gtk.org/"
39 install=lib32-gtk3.install
40 _commit=013b629a2e5420cc01647f859226eb1a37ebe661
42 "git+https://gitlab.gnome.org/GNOME/gtk.git#commit=$_commit"
43 gtk-query-immodules-3.0-32.hook
46 '04255db75cc626e122df4710b350fb656778d01968d56e598b496b71db335989')
50 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
60 -D broadway_backend=true
61 -D cloudproviders=false
64 -D introspection=false
69 CFLAGS+=" -DG_DISABLE_CAST_CHECKS"
72 export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
74 arch-meson gtk build "${meson_options[@]}"
75 meson compile -C build
79 meson install -C build --destdir "$pkgdir"
80 rm -r "${pkgdir}"/{etc,usr/{include,share}}
81 find "${pkgdir}"/usr/bin -type f -not -name gtk-query-immodules-3.0 -delete
82 mv "${pkgdir}"/usr/bin/gtk-query-immodules-3.0{,-32}
83 install -Dm 644 gtk-query-immodules-3.0-32.hook -t "${pkgdir}"/usr/share/libalpm/hooks/
86 # vim:set sw=2 sts=-1 et: