diff --git a/srcpkgs/libvdpau-va-gl/template b/srcpkgs/libvdpau-va-gl/template index 1b95dbaf19d..1e1959d715d 100644 --- a/srcpkgs/libvdpau-va-gl/template +++ b/srcpkgs/libvdpau-va-gl/template @@ -1,7 +1,7 @@ # Template file for 'libvdpau-va-gl' pkgname=libvdpau-va-gl version=0.3.4 -revision=1 +revision=2 build_style=cmake hostmakedepends="pkg-config cmake git" makedepends="glib-devel ffmpeg-devel glu-devel libva-devel libvdpau-devel" @@ -13,3 +13,8 @@ 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 +}