2014-07-09 21:37:14 +10:00
# Description: Video Decode and Presentation API for Unix provides a complete solution for decoding, post-processing, compositing, and displaying compressed or uncompressed video streams.
2020-06-17 19:38:34 -05:00
# URL: https://cgit.freedesktop.org/vdpau/libvdpau/
2018-04-06 00:13:35 +10:00
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
2018-04-14 18:12:22 +10:00
# Depends on: libvdpau xorg-libxext-32
2014-07-09 21:37:14 +10:00
name=libvdpau-32
2020-04-25 23:10:07 +10:00
version=1.4
2015-03-15 15:41:28 +11:00
release=1
2019-08-30 19:59:35 +10:00
source=(https://gitlab.freedesktop.org/vdpau/${name%-*}/-/archive/$version//${name%-*}-$version.tar.bz2)
2014-07-09 21:37:14 +10:00
build() {
2020-04-25 23:10:07 +10:00
meson build libvdpau-$version --prefix /usr --libdir=/usr/lib32 -Ddocumentation=false
ninja -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
2014-07-09 21:59:19 +10:00
2019-08-30 19:59:35 +10:00
rm -r $PKG/etc $PKG/usr/include
2014-07-09 21:37:14 +10:00
}