1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
5 pkgname=(gtkmm3 gtkmm3-docs)
8 pkgdesc="C++ bindings for GTK+ 3"
9 url="https://www.gtkmm.org/"
12 depends=(gtk3 pangomm atkmm)
13 makedepends=(git meson mm-common glibmm-docs cairomm-docs pangomm-docs
15 checkdepends=(xorg-server-xvfb)
16 options=(!emptydirs debug)
17 _commit=dfb6429af77c8dbc89e88a98268e719e78316a9a # tags/3.24.6^0
18 source=("git+https://gitlab.gnome.org/GNOME/gtkmm.git#commit=$_commit")
23 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
31 arch-meson gtkmm build -D maintainer-mode=true
32 meson compile -C build
36 xvfb-run -s '-nolisten local' meson test -C build --print-errorlogs
40 depends+=(libsigc-2.0.so libglibmm-2.4.so libcairomm-1.0.so libpangomm-1.4.so
42 provides=(libgtkmm-3.0.so)
44 meson install -C build --destdir "$pkgdir"
47 mkdir -p docs/usr/share
48 mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
51 package_gtkmm3-docs() {
52 pkgdesc+=" (documentation)"
56 mv -t "$pkgdir" docs/*