# Template file for 'obs' pkgname=obs version=28.1.1 revision=2 archs="i686* x86_64* ppc64le* aarch64*" build_style=cmake configure_args="-DOBS_VERSION_OVERRIDE=${version} -DENABLE_BROWSER=OFF -DENABLE_JACK=ON -DENABLE_VST=OFF -DENABLE_AJA=OFF" hostmakedepends="pkg-config swig python3-devel qt6-base-devel" makedepends="LuaJIT-devel fdk-aac-devel ffmpeg-devel glu-devel jack-devel libXcomposite-devel libcurl-devel pulseaudio-devel python3-devel speexdsp-devel v4l-utils-devel vlc-devel qt6-svg-devel x264-devel mbedtls-devel jansson-devel wayland-devel pipewire-devel libxkbcommon-devel pciutils-devel librist-devel srt-devel" depends="xset xdg-desktop-portal" short_desc="Open Broadcaster Software" maintainer="lemmi " license="GPL-2.0-or-later" homepage="https://obsproject.com" changelog="https://github.com/obsproject/obs-studio/releases" distfiles="https://github.com/obsproject/obs-studio/archive/${version}.tar.gz" checksum=7e6b1a62b639ea71def51c85e5d24f0d0f42e0ce1b1834c023ba4d14a0963a0a pre_configure() { # it's not enough to use -DENABLE_BROWSER ... touch plugins/obs-browser/CMakeLists.txt touch plugins/obs-websocket/CMakeLists.txt } obs-devel_package() { short_desc+=" - development files" depends="${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/lib/libobs-frontend-api.so vmove usr/lib/libobs-opengl.so vmove usr/lib/libobs.so vmove usr/lib/libobsglad.so vmove usr/lib/libobs-scripting.so vmove usr/include vmove usr/lib/cmake vmove usr/lib/pkgconfig } }