blob: be027734d40c3e1f90d83e8c7294c4056d46509d (
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-replay-source
pkgver=1.8.0
pkgrel=1
pkgdesc="Plugin to (slow motion) instant replay sources from memory"
arch=("x86_64" "aarch64")
url="https://obsproject.com/forum/resources/replay-source.686/"
license=(GPL-2.0-or-later)
depends=("obs-studio>=30" "glibc")
makedepends=("cmake" "git")
options=('debug')
source=("$pkgname::git+https://github.com/exeldro/$pkgname#commit=f6e2ec36f44e26f20e4f5ce71b6a43f1e4b3b23d")
sha256sums=("SKIP")
build() {
cmake -B build -S $pkgname \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DCMAKE_INSTALL_LIBDIR=lib \
-DLINUX_PORTABLE=OFF \
-DCMAKE_C_FLAGS="-Wno-error=deprecated-declarations" \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|