# Template file for 'gstreamer-vaapi'
pkgname=gstreamer-vaapi
version=1.20.3
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="libXrandr-devel libva-devel MesaLib-devel gst-plugins-bad1-devel"
short_desc="VA-API plugins for GStreamer 1.x"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://gstreamer.freedesktop.org"
changelog="https://raw.githubusercontent.com/GStreamer/gstreamer-vaapi/master/ChangeLog"
distfiles="${homepage}/src/gstreamer-vaapi/gstreamer-vaapi-${version}.tar.xz"
checksum=6ee99eb316abdde9ad37002915bd8c3867918f6fdc74b7cf2ac4c1ae0d690b45

pre_check() {
	# Seems to need certain hardware to pass
	vsed -i '/vaapipostproc/d' tests/check/meson.build
}
