# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=obs-studio pkgver=23.0.2 pkgrel=0 pkgdesc="Free and open source software for live streaming and screen recording" url="https://obsproject.com/" arch="x86 x86_64" license="GPL-2.0" options="!check" makedepends="cmake ffmpeg-dev libxinerama-dev qt5-qtbase-dev qt5-qtx11extras-dev x264-dev fontconfig-dev libxcomposite-dev freetype-dev libx11-dev mesa-dev curl-dev pulseaudio-dev jack-dev vlc-dev alsa-lib-dev fdk-aac-dev speexdsp-dev v4l-utils-dev jansson-dev eudev-dev swig mbedtls-dev python3-dev" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/jp9000/$pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" prepare() { default_prepare cd "$builddir" mkdir build } build() { cd "$builddir"/build cmake \ -DUNIX_STRUCTURE=1 \ -DCMAKE_INSTALL_PREFIX=/usr .. make } package() { cd "$builddir"/build make DESTDIR="$pkgdir" install } sha512sums="1945c6f9d5dbc7b159a3afc0f59fd52a7dfa71c66c5ae650efd96bd28f5f0bad868ba2a109457ff716f6f3856c6a461a596a75a717d028908f108637e47c18d7 obs-studio-23.0.2.tar.gz"