# Maintainer: PktSurf <smlinux@pktsurf.in>
app=pangomm
version=2.46.3
build=1sml
homepage="https://gtkmm.org"
download="https://gitlab.gnome.org/GNOME/pangomm/-/archive/$version/pangomm-$version.tar.bz2"
desc="C++ API for pango"
requires="pango glibmm cairomm"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions
}

build() {
  mkdir -p smbuild && cd smbuild
  meson .. \
    --prefix="/"

  ninja
  DESTDIR="$pkg" ninja install

  cp ../COPYING* $pkgdocs/

  mkfinalpkg
}

sha512sums="
2a817b125e32daaf2bede971ffb5718e344bc140c8f86c6f66a143132679a77640fa9182c78c24ddb3207c6cc1b21d75d838c131bcfcec96673a0e496ca3f8b7  pangomm-2.46.3.tar.lz
"
