app=libdazzle
version=3.42.0
build=1sml
homepage="https://gitlab.gnome.org/GNOME/libdazzle"
download="https://gitlab.gnome.org/GNOME/libdazzle/-/archive/3.42.0/libdazzle-3.42.0.tar.bz2"
desc="GNOME library for implementing fancy features in applications"
requires="gtk3"
   
build() {
  mkandenterbuilddir
  rm -rf $app-$version

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

  mkdir smbuild && cd smbuild
  meson .. \
    --prefix="/" 

  ninja
  DESTDIR="$pkg" ninja install

  cp ../COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
dad6ce195a32ed5a0415e44ff9e1edcbb9a2a760460f9ebc31d5b4e6183bf1d7ce04acfcb02ddacde581065a3472310d584cb15587ba0e449d3cdcfc9328d898  libdazzle-3.42.0.tar.bz2
"
