blob: db40ddf9fd27422034e258fbcb1e79c1b8c5d57b (
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
|
# Maintainer: tytan652 <tytan652@tytanium.xyz>
pkgname=obs-source-switcher
pkgver=0.4.2
pkgrel=1
pkgdesc="Plugin for OBS Studio to add a source that switches between a list of sources"
arch=("x86_64" "aarch64")
url="https://obsproject.com/forum/resources/source-switcher.941/"
license=("GPL2")
depends=("obs-studio>=28" "glibc")
makedepends=("cmake" "git")
source=("$pkgname::git+https://github.com/exeldro/$pkgname#commit=8babf207d140e52114b6db63d98749d7a0a2758b")
sha256sums=("SKIP")
build() {
cmake -B build -S $pkgname \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DCMAKE_INSTALL_LIBDIR=lib \
-DLINUX_PORTABLE=OFF \
-DQT_VERSION=6 \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|