# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=obs-studio pkgver=19.0.2 pkgrel=0 pkgdesc="Free and open source software for live streaming and screen recording" url="https://obsproject.com/" arch="all !aarch64 !armhf !ppc64le" license="GPL2" options="!check" 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" prepare() { cd "$builddir" mkdir build default_prepare } build() { cd "$builddir"/build cmake \ -DUNIX_STRUCTURE=1 \ -DCMAKE_INSTALL_PREFIX=/usr .. make } package() { cd "$builddir"/build make DESTDIR="$pkgdir" install } sha512sums="8e2c720d713f6b3fdfb0ce64252cba3129644155be75e0942250bb616700ba62acdb04265a7a6d0ce9406282fbbf85d662d7bdc36736c36be89fd726c8bbf5a9 obs-studio-19.0.2.tar.gz"