1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=gstreamer-vaapi
6 pkgdesc="Multimedia graph framework - vaapi plugin"
7 url="https://gstreamer.freedesktop.org/"
10 depends=(gst-plugins-bad libva libxrandr)
11 makedepends=(python git meson gtk3)
12 _commit=edc4d3514ba7ef17f2a8877b5a21645f380932f5 # tags/1.18.5^0
13 source=("git+https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi.git#commit=$_commit")
18 git describe --tags | sed 's/-/+/g'
26 arch-meson $pkgbase build \
28 -D package-origin="https://www.archlinux.org/"
29 meson compile -C build
33 mkdir -p -m 700 "${XDG_RUNTIME_DIR:=$PWD/runtime-dir}"
34 export XDG_RUNTIME_DIR
36 # Fails without hardware
37 meson test -C build --print-errorlogs || :
41 meson install -C build --destdir "$pkgdir"