23 lines
693 B
Plaintext
Raw Normal View History

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.
2019-03-05 22:14:44 +11:00
# URL: http://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
# Depends on: libvdpau xorg-libxext-32
2014-07-09 21:37:14 +10:00
name=libvdpau-32
2019-08-30 19:59:35 +10:00
version=1.3
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() {
2019-03-06 00:35:31 +11:00
cd ${name%-*}-$version
2014-07-09 21:37:14 +10:00
2019-08-30 19:59:35 +10:00
meson build \
--prefix /usr \
2014-07-09 21:37:14 +10:00
--libdir=/usr/lib32 \
2019-08-30 19:59:35 +10:00
-Ddocumentation=false
2014-07-09 21:37:14 +10:00
2019-08-30 19:59:35 +10:00
DESTDIR=$PKG ninja -C build -j ${JOBS:-1} install
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
}