Name libvdpau
Description Hardware-accelerated video playback library
Version 1.5-r4
Package Base libvdpau
Homepage https://gitlab.freedesktop.org/vdpau/libvdpau
Maintainers ['Natanael Copa <ncopa@alpinelinux.org>']
Contributors ['Carlo Landmeter']
Distro-repo https://gitlab.alpinelinux.org/alpine/aports/-/tree/3.22-stable/main/libvdpau
Sources ['https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/1.5-r4/libvdpau-1.5-r4.tar.gz']
Dependencies ['libX11.so.6', 'libXext.so.6', 'libc.musl-x86_64.so.1']
Optional-Dependencies []
Build-Dependencies ['xorgproto', 'libx11-dev', 'libxext-dev', 'meson']
Provides ['so:libvdpau.so.1=1.0.0']
Builddate 05-10-2024 14:41:08
Architecture x86_64
Distro-Version v3.22
Licenses ['MIT']
Hash Q14LD46huz3gdmsYgaGmttSM4Pt/M=
# Contributor: Carlo Landmeter
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libvdpau
pkgver=1.5
pkgrel=4
pkgdesc="Hardware-accelerated video playback library"
url="https://gitlab.freedesktop.org/vdpau/libvdpau"
arch="all"
license="MIT"
makedepends="xorgproto libx11-dev libxext-dev meson"
subpackages="$pkgname-dev"
source="https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/$pkgver/libvdpau-$pkgver.tar.gz"

build() {
	abuild-meson \
		-Ddri2=true \
		-Ddocumentation=false \
		. output
	meson compile -C output
}

check() {
	meson test --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
cebe0e0d9411b87238fa2adec40516881c61a67f33f80c22372f514e672e2dff839687291ab0b01d47af811c254fa65da579f360fcded3f65e382720548d3ea5  libvdpau-1.5.tar.gz
"