1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
6 pkgname=(glibmm glibmm-docs)
9 pkgdesc="C++ bindings for GLib"
10 url="https://www.gtkmm.org/"
13 depends=(glib2 libsigc++)
14 makedepends=(git meson mm-common perl-xml-parser clang)
15 checkdepends=(glib-networking)
17 _commit=8dd75b3bf85b3ee7500683c9766412ccd1c1bf29 # tags/2.66.6^0
18 source=("git+https://gitlab.gnome.org/GNOME/glibmm.git#commit=$_commit")
23 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
31 arch-meson glibmm build -D maintainer-mode=true
32 meson compile -C build
36 meson test -C build --print-errorlogs
40 depends+=(libsigc-2.0.so)
41 provides=(libglibmm-2.4.so)
43 meson install -C build --destdir "$pkgdir"
46 mkdir -p docs/usr/share
47 mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
50 package_glibmm-docs() {
51 pkgdesc+=" (documentation)"
55 mv -t "$pkgdir" docs/*
58 # vim:set sw=2 sts=-1 et: