obs-studio-plugin-unix-sock.../archLinuxPackaging/PKGBUILD

23 lines
832 B
Text
Raw Normal View History

2023-08-13 06:44:38 +00:00
pkgname=obs-studio-plugin-unix-socket-control
pkgver=1.4.0
2023-08-13 06:44:38 +00:00
pkgrel=1
pkgdesc="An obs studio plugin to command obs to start/stop recording/streaming via unix socket"
arch=(x86_64)
url="https://git.seodisparate.com/stephenseo/obs-studio-plugin-unix-socket-control"
license=('MIT')
depends=(obs-studio)
makedepends=(cmake)
source=("${pkgname}_${pkgver}.tar.gz::$url/archive/$pkgver.tar.gz")
2024-07-21 08:48:44 +00:00
sha256sums=(6e0f1d4d48e9a26382aaea7e1969788373c301b685c49cd916d7f518ac148265)
2023-08-13 06:44:38 +00:00
build() {
2024-01-26 07:54:08 +00:00
cd "$pkgname"
2024-01-27 12:57:32 +00:00
cmake -S . -B buildRelease -DCMAKE_BUILD_TYPE=Release
make -C buildRelease
2023-08-13 06:44:38 +00:00
}
package() {
install -D -m555 "$srcdir/$pkgname/buildRelease/libunix-socket-control.so" "$pkgdir/usr/lib/obs-plugins/lib$pkgname.so"
install -D -m555 "$srcdir/$pkgname/buildRelease/unix-socket-control-client" "$pkgdir/usr/bin/$pkgname-client"
}