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

pkgname=obs-main-view-source
pkgver=0.2.4
pkgrel=1
pkgdesc="This is a simple plugin for OBS Studio that provides a source to duplicate the main view"
arch=("x86_64" "aarch64")
url="https://obsproject.com/forum/resources/main-view-source.1501/"
license=("GPL2")
depends=("obs-studio>=28")
makedepends=("cmake")
options=('debug')
source=("$pkgname-$pkgver.tar.gz::https://github.com/norihiro/$pkgname/archive/$pkgver.tar.gz")
sha256sums=("c302785242af68982a003f41762bb4d37f881634c48c853d7041b872e4dce631")

build() {
  cd "$pkgname-$pkgver"
  cmake -B build \
  -DCMAKE_BUILD_TYPE=RelWithDebInfo \
  -DCMAKE_INSTALL_PREFIX='/usr' \
  -DCMAKE_INSTALL_LIBDIR=lib \
  -DLINUX_PORTABLE=OFF

  make -C build
}

package() {
  cd "$pkgname-$pkgver"
  make -C build DESTDIR="$pkgdir/" install
}