aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gstreamer-vaapi/APKBUILD
blob: 51f74f4e3694fc4ad9c8589f4a6c78e0012b2ce7 (plain)
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
28
29
30
31
32
# Contributor: Taner Tas <taner76@gmail.com>
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=gstreamer-vaapi
pkgver=1.16.1
pkgrel=0
pkgdesc="GStreamer streaming media framework VA API plug-ins"
url="https://gstreamer.freedesktop.org/"
arch="all"
license="LGPL-2.1-or-later"
makedepends="glib-dev gst-plugins-bad-dev libva-dev libxrandr-dev meson"
source="https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. output
	ninja -C output
}

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

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="4e64b17090fb2eafca50bfd29e1f0c0fa64ea21942e90e66d3eacde3e3952e0fe94d08cacaf61452c276e4b0c7cd771b60f20e2f83861512da2b4c0222885f5a  gstreamer-vaapi-1.16.1.tar.xz"