summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d83d3b3e1dc6092ad3d5977562a520f4316a9fa7 (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>
# Contributor: Jack O'Sullivan <jackos1998 at gmail dot com>

pkgname=obs-gstreamer
pkgver=0.4.1
pkgrel=1
epoch=1
pkgdesc="An OBS Studio source plugin to feed GStreamer launch pipelines into OBS Studio."
arch=('i686' 'x86_64' 'aarch64')
url="https://obsproject.com/forum/resources/obs-gstreamer.696/"
license=(GPL-2.0-or-later)
depends=('glibc' 'obs-studio' 'glib2' 'gstreamer' 'gst-plugins-base-libs')
makedepends=('git' 'meson')
options=('debug')
source=("git+https://github.com/fzwoch/obs-gstreamer#tag=v$pkgver")
sha256sums=('SKIP')

prepare()
{
	cd "$pkgname"
	git revert -n 4ca74407b0e056df5d8d57526bf41dfcb100f333
}

build() {
	meson "$srcdir/$pkgname" build --prefix=/usr --buildtype=release
	ninja -C build
}
package() {
	DESTDIR="$pkgdir" ninja -C build install
}