libvdpau: improve meson syntax

This commit is contained in:
Juergen Daubert 2020-11-04 17:19:38 +01:00
parent 5fe385b62c
commit 72d3b39d43
2 changed files with 8 additions and 4 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/xorg.pub
RWTSGWF5Q7TndG1i3MIyd2/YPoBsPVNQ9jZE1sX2wyfKiZeQGycuLHA5xtSgydysAnUTeIna8byjCT9V/TLyAI9xev5bp3loQA4=
SHA256 (Pkgfile) = 0d2543a5c212ac36010e3a38bd3f5f4eb80c6c9a9c9f668e88baad8a54e704cd
RWTSGWF5Q7TndIJzzg41IN/fV8eu5ibqyio1HoOAeD6LK4kKit76CKlxYsQbESTJZ8MHQTa1ORDyzgJ3479uHb+h29hY7Whavgc=
SHA256 (Pkgfile) = 2a3eff6f6060dadc251a885b65efa71c2ef92fa8318fa1d80e74ffd1d5436b02
SHA256 (.footprint) = a2bb1a4403548b4c04557bd90a16fee59cd5889039c0cf51dba49018687e13f6
SHA256 (libvdpau-1.4.tar.bz2) = 4258824c5a4555ef31de0a7d82b3caf19e75a16a13949f1edafc5f6fb2d33f30

View File

@ -9,7 +9,11 @@ release=1
source=(https://gitlab.freedesktop.org/vdpau/$name/-/archive/$version//$name-$version.tar.bz2)
build() {
meson build $name-$version --prefix /usr -Ddocumentation=false
ninja -C build -j ${JOBS:-1}
meson setup build $name-$version \
--prefix=/usr \
--buildtype=plain \
-D documentation=false
meson compile -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
}