# Description: Video Decode and Presentation API for Unix provides a complete solution for decoding, post-processing, compositing, and displaying compressed or uncompressed video streams.
# URL: https://cgit.freedesktop.org/vdpau/libvdpau/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: libvdpau xorg-libxext-32

name=libvdpau-32
version=1.5
release=1
source=(https://gitlab.freedesktop.org/vdpau/${name%-*}/-/archive/$version//${name%-*}-$version.tar.bz2)

build() {
	meson build libvdpau-$version --prefix /usr --libdir=/usr/lib32 -Ddocumentation=false
	ninja -C build -j ${JOBS:-1}
	DESTDIR=$PKG meson install -C build

	rm -r $PKG/etc $PKG/usr/include
}
