libvdpau-va-gl: rebuild against libva-2.3.0

This commit is contained in:
maxice8 2018-08-05 01:45:31 -03:00
parent e355a64115
commit a69347df99
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
1 changed files with 10 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'libvdpau-va-gl'
pkgname=libvdpau-va-gl
version=0.4.2
revision=1
revision=2
build_style=cmake
hostmakedepends="pkg-config"
makedepends="MesaLib-devel libva-devel libvdpau-devel"
@ -9,5 +9,14 @@ short_desc="VDPAU driver with VA-API/OpenGL backend"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="https://github.com/i-rinat/libvdpau-va-gl"
changelog="https://raw.githubusercontent.com/i-rinat/libvdpau-va-gl/master/ChangeLog"
distfiles="${homepage}/releases/download/v${version}/libvdpau-va-gl-${version}.tar.gz"
checksum=7d9121540658eb0244859e63da171ca3869e784afbeaf202f44471275c784af4
if [ "$CROSS_BUILD" ]; then
# Compile tooling executed on the host with host CXX, otherwise cross fails
pre_build() {
${CXX_host} -O2 -pipe -c -o build/glsl/CMakeFiles/shader-bundle-tool.dir/shader-bundle-tool.cc.o glsl/shader-bundle-tool.cc
${CXX_host} -o build/glsl/shader-bundle-tool build/glsl/CMakeFiles/shader-bundle-tool.dir/shader-bundle-tool.cc.o
}
fi