APP=libvdpau
VERSION=1.1.1
BUILD=1sml
HOMEPAGE="https://www.freedesktop.org/wiki/Software/VDPAU/"
DOWNLOAD="https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/libvdpau-1.1.1/libvdpau-libvdpau-1.1.1.tar.bz2"
DESC="Nvidia VDPAU library"
REQUIRES="libxext "

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --disable-static 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
43acca92943dcbfe8241e7946b3ce10231448b6d1e7c1b47d170bd175e12c542cf25c05a38a8b0194c099df5b49cbeda4d689711a6524c526148d2ae1b455512  libvdpau-1.1.1.tar.xz
"
