# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=obs-studio pkgver=17.0.0 pkgrel=0 pkgdesc="Free and open source software for live streaming and screen recording" url="https://obsproject.com/" arch="all !aarch64 !armhf" license="GPL2" makedepends="cmake ffmpeg-dev libxinerama-dev qt5-qtbase-dev qt5-x11extras-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" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/jp9000/$pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" mkdir build && cd build cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr .. make || return 1 } package() { cd "$builddir"/build make DESTDIR="$pkgdir" install } md5sums="44ee6551d37de3cc8f306252f2139829 obs-studio-17.0.0.tar.gz" sha256sums="5b7d9a6389011c74fec777667edeb1ac7d8ae7faff13f141650d295d7cd9181e obs-studio-17.0.0.tar.gz" sha512sums="17c0b400762e4b12dc619ed7ef36bf364f2f7c3f350630dfcfd3b46c72ec488d08dea5a13ef177c24c2f52760170e3c0bef50cec80362e0d542eab096986db7b obs-studio-17.0.0.tar.gz"