blob: 15b7ccf5f2403dee74e4554e2d713179e7ce7511 (
plain)
1 # Description: Video Decode and Presentation API for Unix provides a complete solution for decoding, post-processing, compositing, and displaying compressed or uncompressed video streams.
2 # URL: https://gitlab.freedesktop.org/vdpau/libvdpau
3 # Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
4 # Depends on: xorg-libxext meson ninja
5
6 name=libvdpau
7 version=1.5
8 release=1
9 source=(https://gitlab.freedesktop.org/vdpau/$name/-/archive/$version//$name-$version.tar.bz2)
10
11 build() {
12 meson setup build $name-$version \
13 --prefix=/usr \
14 --buildtype=plain \
15 --wrap-mode nodownload \
16 -D b_lto=true \
17 -D b_pie=true \
18 -D documentation=false
19
20 meson compile -C build -j ${JOBS:-1}
21 DESTDIR=$PKG meson install -C build
22 }
|