# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=obs-studio pkgver=24.0.3 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 qt5-qtsvg-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="57cef700076457da1eee344042261e1ada6d6744fcb3033a1d4eaffb9e84dd350aa198984fba3de82d4e727706f562c7c3568d95de6859a4942d9fa6368a02ab obs-studio-24.0.3.tar.gz"