summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 203fa7dbede66a7a1695877ff3875934a7a5f68d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Andrius Lukosevicius <niobium93@gmail.com>

pkgname=obs-vaapi
pkgver=0.4.2
pkgrel=1
pkgdesc="OBS Studio VAAPI support via GStreamer"
arch=('i686' 'x86_64' 'aarch64')
url="https://github.com/fzwoch/obs-vaapi"
license=('GPL2')
depends=('obs-studio' 'gst-plugins-base-libs' 'gstreamer-vaapi' 'gst-plugin-va')
makedepends=('git' 'meson')
source=("git+https://github.com/fzwoch/obs-vaapi#tag=$pkgver")
sha256sums=('SKIP')

build() {
	meson setup "$srcdir/$pkgname" build --prefix=/usr/lib/obs-plugins --buildtype=release
	ninja -C build
}
package() {
	DESTDIR="$pkgdir" ninja -C build install
}