compat-32/libvdpau-32/Pkgfile

18 lines
691 B
Plaintext
Raw Normal View History

2014-07-09 13:37:14 +02: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.
# URL: https://cgit.freedesktop.org/vdpau/libvdpau/
2018-04-05 16:13:35 +02:00
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: libvdpau xorg-libxext-32
2014-07-09 13:37:14 +02:00
name=libvdpau-32
2020-04-25 15:10:07 +02:00
version=1.4
2015-03-15 05:41:28 +01:00
release=1
2019-08-30 11:59:35 +02:00
source=(https://gitlab.freedesktop.org/vdpau/${name%-*}/-/archive/$version//${name%-*}-$version.tar.bz2)
2014-07-09 13:37:14 +02:00
build() {
2020-04-25 15:10:07 +02: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 13:59:19 +02:00
2019-08-30 11:59:35 +02:00
rm -r $PKG/etc $PKG/usr/include
2014-07-09 13:37:14 +02:00
}