APKBUILD 893 Bytes
Newer Older
Taner Tas's avatar
Taner Tas committed
1 2 3
# Contributor: Taner Tas <taner76@gmail.com>
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=gstreamer-vaapi
4
pkgver=1.14.4
Taner Tas's avatar
Taner Tas committed
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 33 34
pkgrel=0
pkgdesc="GStreamer VAAPI plugin."
url="https://gstreamer.freedesktop.org/"
arch="all"
license="LGPL-2.1-or-later"
subpackages="$pkgname-doc"
makedepends="gst-plugins-bad-dev libva-dev libxrandr-dev python2 glib-dev"
source="https://gstreamer.freedesktop.org/src/gstreamer-vaapi/${pkgname}-${pkgver}.tar.xz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
35

36
sha512sums="5e3eb4e7f46c859da0945862eeee251c0cde025b7d180bff5516e85ad41454ff9157799daea2965292698e3fbd38052f4da6b78079f44590198496a0f324285d  gstreamer-vaapi-1.14.4.tar.xz"