Name: obs-studio Epoch: 1 Version: 30.2.3 Release: 2mamba Summary: Video recording and live streaming Group: Graphical Desktop/Applications/Multimedia Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://obsproject.com/ Source: https://github.com/jp9000/obs-studio.git/%{version}/obs-studio-%{version}.tar.bz2 Source1: https://github.com/FFmpeg/nv-codec-headers/releases/download/n12.1.14.0/nv-codec-headers-12.1.14.0.tar.gz Patch0: obs-studio-30.2.3-fix-module-bin-search-path.patch Patch1: obs-studio-30.0.0-cmake-build-destdir.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libQt6Core BuildRequires: libQt6DBus BuildRequires: libQt6Gui BuildRequires: libQt6Network BuildRequires: libQt6Widgets BuildRequires: libQt6Xml BuildRequires: libX11-devel BuildRequires: libalsa-devel BuildRequires: libavcodec-devel BuildRequires: libavdevice-devel BuildRequires: libavfilter-devel BuildRequires: libavformat-devel BuildRequires: libavutil-devel BuildRequires: libcurl-devel BuildRequires: libdatachannel-devel BuildRequires: libfdk-aac-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libglib-devel BuildRequires: libglvnd-devel BuildRequires: libjack-devel BuildRequires: libjansson-devel BuildRequires: libluajit-devel BuildRequires: libmbedtls-devel BuildRequires: libonevpl-devel BuildRequires: libpci-devel BuildRequires: libpipewire-devel BuildRequires: libpulseaudio-devel BuildRequires: libpython3-devel BuildRequires: librnnoise-devel BuildRequires: libspeexdsp-devel BuildRequires: libstdc++6-devel BuildRequires: libswresample-devel BuildRequires: libswscale-devel BuildRequires: libudev-devel BuildRequires: libuuid-devel BuildRequires: libv4l-devel BuildRequires: libva-devel BuildRequires: libwayland-devel BuildRequires: libwayland-egl-devel BuildRequires: libx264-devel BuildRequires: libxcb-devel BuildRequires: libxkbcommon-devel BuildRequires: libz-devel BuildRequires: qt6-qtsvg-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRequires: libajantv2-devel BuildRequires: libasio-devel BuildRequires: libdatachannel-devel BuildRequires: libmbedtls-devel >= 3.5.1-1mamba BuildRequires: libonevpl-devel BuildRequires: librist-devel BuildRequires: libwebsocketpp-devel BuildRequires: nv-codec-headers Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description Free and open source software for video recording and live streaming %package -n lib%{name} Group: System/Libraries Summary: Shared libraries provided by %{name} %description -n lib%{name} This package contains the shared libraries provided by %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q -a1 #% setup -q -D -T #:<< _EOF %patch 0 -p1 %patch 1 -p1 # Disable FFnvcodec detected via PkgConfig sed -i "s|PC_FFnvcodec_VERSION VERSION_GREATER 0|0|" cmake/Modules/FindFFnvcodec.cmake %build %cmake -d build \ -DFFnvcodec_INCLUDE_DIR="$PWD/../nv-codec-headers-12.1.14.0/include/" \ -DBUILD_BROWSER=OFF \ -DENABLE_VST=ON \ -DENABLE_VLC=OFF \ -DENABLE_NEW_MPEGTS_OUTPUT=OFF \ -DENABLE_AJA=OFF \ -DENABLE_JACK=ON \ -DENABLE_LIBFDK=ON \ -DENABLE_WEBRTC=ON \ -DOBS_VERSION_OVERRIDE="%{version}-%{release}" \ -DCALM_DEPRECATION=ON \ -DENABLE_WEBSOCKET=OFF \ -Wno-dev \ %ifarch x86_64 -DOBS_MULTIARCH_SUFFIX=64 %endif #-DCMAKE_SHARED_LINKER_FLAGS="-lgio-2.0" \ # 28.0.1: DESTDIR: workaround for files being installed to root during make %make DESTDIR=$PWD/p %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/obs %{_bindir}/obs-ffmpeg-mux %{_datadir}/applications/com.obsproject.Studio.desktop %{_metainfodir}/com.obsproject.Studio.metainfo.xml %{_datadir}/obs/libobs/*.effect %dir %{_datadir}/obs/obs-plugins %{_datadir}/obs/obs-plugins/* %dir %{_datadir}/obs/obs-studio %{_datadir}/obs/obs-studio/* %{_datadir}/icons/hicolor/*/apps/com.obsproject.Studio.png %{_datadir}/icons/hicolor/scalable/apps/com.obsproject.Studio.svg %doc AUTHORS COPYING %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libobs*.so.* %{_libdir}/libobs*.so %dir %{_libdir}/obs-plugins %{_libdir}/obs-plugins/*.so %dir %{_libdir}/obs-scripting %{_libdir}/obs-scripting/* %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/obs %{_includedir}/obs/* %dir %{_libdir}/cmake/libobs %{_libdir}/cmake/libobs/libobs*.cmake %dir %{_libdir}/cmake/obs-frontend-api %{_libdir}/cmake/obs-frontend-api/obs-frontend*.cmake %dir %{_libdir}/cmake/obs-websocket-api %{_libdir}/cmake/obs-websocket-api/obs-websocket-api*.cmake %{_libdir}/pkgconfig/libobs.pc %doc README.rst %changelog * Thu Nov 21 2024 Silvan Calarco 30.2.3-2mamba - update and restore needed patch fix-module-bin-search-path * Thu Nov 14 2024 Automatic Build System 30.2.3-1mamba - automatic version update by autodist * Sun Apr 07 2024 Automatic Build System 30.1.2-1mamba - automatic version update by autodist * Tue Mar 26 2024 Automatic Build System 30.1.1-1mamba - automatic version update by autodist * Wed Mar 13 2024 Automatic Build System 30.1.0-1mamba - automatic version update by autodist * Tue Dec 12 2023 Automatic Build System 30.0.2-1mamba - automatic version update by autodist * Fri Nov 24 2023 Automatic Build System 30.0.0-1mamba - automatic version update by autodist * Wed Sep 21 2022 Silvan Calarco 28.0.1-2mamba - patched to fix binary modules search path ( /usr/lib64/obs-plugins ) * Tue Sep 20 2022 Automatic Build System 28.0.1-1mamba - automatic version update by autodist * Mon Feb 01 2021 Automatic Build System 26.1.2-1mamba - automatic version update by autodist * Mon Jan 04 2021 Automatic Build System 26.1.0-1mamba - automatic version update by autodist * Wed Oct 07 2020 Automatic Build System 26.0.2-1mamba - automatic version update by autodist * Mon Oct 05 2020 Automatic Build System 26.0.0-1mamba - automatic version update by autodist * Sat May 16 2020 Silvan Calarco 25.0.8-1mamba - update to 25.0.8 * Sat Jun 24 2017 Ercole 'ercolinux' Carpanetto 20170624git-1mamba - package created using the webbuild interface