aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gstreamer-vaapi/APKBUILD
blob: d050cd2c8c52fb2ae6e6dda646f9fc4eabe6777a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Taner Tas <taner76@gmail.com>
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=gstreamer-vaapi
pkgver=1.18.4
pkgrel=1
pkgdesc="GStreamer streaming media framework VA API plug-ins"
url="https://gstreamer.freedesktop.org/"
arch="all !mips64" # blocked by gst-plugins-bad
license="LGPL-2.1-or-later"
makedepends="glib-dev gst-plugins-bad-dev libva-dev libxrandr-dev meson eudev-dev"
options="!check" # Need actual display with HW accel
source="https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test -C output --print-errorlogs
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="355f0528929d459c8d0f009e7c8b75718ae175b648abfa1a65ed4a8b90e78a18d202b6a2fde2c5cc027a3321afc5adb90295c4f2635d68ebcedc045ac5f5664f  gstreamer-vaapi-1.18.4.tar.xz"