# Maintainer: PktSurf # Generated by mksm SMLinux build file generator version 0.101 app=libva version=2.20.0 build=1sml homepage="https://github.com/intel/libva" download="https://github.com/intel/libva/releases/download/$version/libva-$version.tar.bz2" desc="Video acceleration API for Linux" requires="libdrm libx11 libxext libxfixes" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { mkdir smbuild && cd smbuild meson .. \ --prefix=/usr ninja DESTDIR="$pkg" ninja install cp ../COPYING $pkgdocs/ mkfinalpkg } sha512sums=" fe4613f725e280261ef9d6c26dd8456d2e5044ec2f6347e2afd21ff281c45e5f79a797ae9ad7fa7b6c8dd072756797b0dc9bd752a67b7ba7fa24df43781bcfcf libva-2.20.0.tar.lz "