# Template file for 'libvdpau-va-gl' pkgname=libvdpau-va-gl version=0.3.4 revision=2 build_style=cmake hostmakedepends="pkg-config cmake git" makedepends="glib-devel ffmpeg-devel glu-devel libva-devel libvdpau-devel" short_desc="A VDPAU driver with VA-API/OpenGL backend" maintainer="Juan RP " license="LGPL-3" homepage="https://github.com/i-rinat/libvdpau-va-gl" do_fetch() { git clone -b v${version} git://github.com/i-rinat/${pkgname}.git ${pkgname}-${version} } post_install() { # Install symlink to enable VDPAU backend on Intel i965 ln -sf libvdpau_va_gl.so.1 ${DESTDIR}/usr/lib/vdpau/libvdpau_i965.so.1 }