PKG_NAME="libvdpau"
PKG_VERSION="0.4.1"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://freedesktop.org/wiki/Software/VDPAU"
PKG_URL="http://people.freedesktop.org/~aplattner/vdpau/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="libX11"
PKG_BUILD_DEPENDS="toolchain libX11"
PKG_PRIORITY="optional"
PKG_SECTION="multimedia"
PKG_SHORTDESC="libvdpau: a Video Decode and Presentation API for UNIX."
PKG_LONGDESC="VDPAU is the Video Decode and Presentation API for UNIX. It provides an interface to video decode acceleration and presentation hardware present in modern GPUs."
PKG_IS_ADDON="no"

PKG_AUTORECONF="yes"

if [ "$DEVTOOLS" = "yes" ]; then
  PKG_DEPENDS="$PKG_DEPENDS vdpauinfo"
fi
