Until Xorg Edgers finally enables vdpau here's how to build a VDPAU enabled mesa package:
this will unpack the source package of mesa, then in debian/rules you need to change "--disable-vdpau" to "--enable-vdpau" and in debian/libgl1-mesa-dri.install.in add the line:
sudo apt-get install build-essential
sudo apt-get build-dep mesa
apt-get source mesa
That way the vdpau libraries will be packed inside libgl1-mesa-dri.
Before building the package the changes must be committed:
then build the packages with:
However if you're in an amd64 environment you also need to build the i386 counterpart, and for that you need to setup a chroot env: https://help.ubuntu.com/community/DebootstrapChroot
once you have you have your chroot env, build the mesa packages just like before.