compat-32/libvdpau-32/Pkgfile
2019-08-30 19:59:35 +10:00

23 lines
693 B
Plaintext

# 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: http://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.3
release=1
source=(https://gitlab.freedesktop.org/vdpau/${name%-*}/-/archive/$version//${name%-*}-$version.tar.bz2)
build() {
cd ${name%-*}-$version
meson build \
--prefix /usr \
--libdir=/usr/lib32 \
-Ddocumentation=false
DESTDIR=$PKG ninja -C build -j ${JOBS:-1} install
rm -r $PKG/etc $PKG/usr/include
}