summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cd2395da1a64b478590833559c083bc60052d892 (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
# Maintainer: tytan652 <tytan652@tytanium.xyz>

pkgname=obs-nvfbc
pkgver=0.0.4
pkgrel=2
pkgdesc="OBS Studio source plugin for NVIDIA FBC API"
arch=('x86_64')
license=('GPL2')
url="https://gitlab.com/fzwoch/obs-nvfbc"
depends=('obs-studio')
optdepends=('nvidia-utils-keylase: enable NvFBC on GeForce cards')
makedepends=('git' 'meson')
source=("git+https://gitlab.com/fzwoch/obs-nvfbc.git#tag=v${pkgver}")
sha256sums=('SKIP')

prepare() {
  cd "$srcdir/obs-nvfbc"
  git cherry-pick --no-commit 161daac6e85f17410b85dac3d9e9bedc1979ea69
}

build() {
  meson "$srcdir/$pkgname" build --prefix=/usr
  ninja -C build
}

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