# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libdazzle
version=3.42.0
build=1sml
homepage="https://gitlab.gnome.org/GNOME/libdazzle"
download="https://gitlab.gnome.org/GNOME/libdazzle/-/archive/$version/libdazzle-$version.tar.bz2"
desc="GNOME library for implementing fancy features in applications"
requires="gtk3"
   
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="/" \
    -Denable_tests=false

  ninja
  DESTDIR="$pkg" ninja install

  cp ../COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
ffc846813d76f24eec15effce01a1b78598e41972e2c9ecf5fe1d182241766b35be07fb3df00e890026764aaf0433d454b9e6bdb739abfb9c91a625c7ca089e4  libdazzle-3.42.0.tar.lz
"
