2024-01-06 07:48:43 +01:00
|
|
|
Name: obs-studio
|
2024-01-06 07:48:43 +01:00
|
|
|
Epoch: 1
|
2024-01-06 07:48:43 +01:00
|
|
|
Version: 28.0.1
|
|
|
|
Release: 2mamba
|
2024-01-06 07:48:43 +01:00
|
|
|
Summary: Video recording and live streaming
|
|
|
|
Group: Graphical Desktop/Applications/Multimedia
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 07:48:43 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 07:48:43 +01:00
|
|
|
URL: https://obsproject.com/
|
2024-01-06 07:48:43 +01:00
|
|
|
Source: https://github.com/jp9000/obs-studio.git/%{version}/obs-studio-%{version}.tar.bz2
|
|
|
|
Patch0: obs-studio-25.0.8-gcc-10.0.1.patch
|
2024-01-06 07:48:43 +01:00
|
|
|
Patch1: obs-studio-28.0.1-fix-module-bin-search-path.patch
|
2024-01-06 07:48:43 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 07:48:43 +01:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libalsa-devel
|
|
|
|
BuildRequires: libavcodec-ffmpeg-devel
|
|
|
|
BuildRequires: libavdevice-ffmpeg-devel
|
|
|
|
BuildRequires: libavfilter-ffmpeg-devel
|
|
|
|
BuildRequires: libavformat-ffmpeg-devel
|
|
|
|
BuildRequires: libavutil-ffmpeg-devel
|
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libgcc
|
2024-01-06 07:48:43 +01:00
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libglvnd-devel
|
2024-01-06 07:48:43 +01:00
|
|
|
BuildRequires: libjansson-devel
|
2024-01-06 07:48:43 +01:00
|
|
|
BuildRequires: libmbedtls-devel
|
|
|
|
BuildRequires: libpci-devel
|
|
|
|
BuildRequires: libpipewire-devel
|
2024-01-06 07:48:43 +01:00
|
|
|
BuildRequires: libpulseaudio-devel
|
2024-01-06 07:48:43 +01:00
|
|
|
BuildRequires: libpython310-devel
|
|
|
|
BuildRequires: librist-devel
|
|
|
|
BuildRequires: librnnoise-devel
|
|
|
|
BuildRequires: libspeexdsp-devel
|
|
|
|
BuildRequires: libsrt-devel
|
2024-01-06 07:48:43 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libswresample-ffmpeg-devel
|
|
|
|
BuildRequires: libswscale-ffmpeg-devel
|
|
|
|
BuildRequires: libudev-devel
|
|
|
|
BuildRequires: libv4l-devel
|
2024-01-06 07:48:43 +01:00
|
|
|
BuildRequires: libwayland-devel
|
|
|
|
BuildRequires: libwayland-egl-devel
|
2024-01-06 07:48:43 +01:00
|
|
|
BuildRequires: libx264-devel
|
|
|
|
BuildRequires: libxcb-devel
|
2024-01-06 07:48:43 +01:00
|
|
|
BuildRequires: libxkbcommon-devel
|
2024-01-06 07:48:43 +01:00
|
|
|
BuildRequires: libz-devel
|
2024-01-06 07:48:43 +01:00
|
|
|
BuildRequires: qt6-qtbase-devel
|
|
|
|
BuildRequires: qt6-qtsvg-devel
|
2024-01-06 07:48:43 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
2024-01-06 07:48:43 +01:00
|
|
|
BuildRequires: librist-devel
|
|
|
|
BuildRequires: libajantv2-devel
|
2024-01-06 07:48:43 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 07:48:43 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Free and open source software for video recording and live streaming
|
|
|
|
|
2024-01-06 07:48:43 +01:00
|
|
|
%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
|
2024-01-06 07:48:43 +01:00
|
|
|
Summary: Development files for %{name}
|
2024-01-06 07:48:43 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 07:48:43 +01:00
|
|
|
|
2024-01-06 07:48:43 +01:00
|
|
|
%description -n lib%{name}-devel
|
2024-01-06 07:48:43 +01:00
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 07:48:43 +01:00
|
|
|
#-D -T
|
|
|
|
#:<< _EOF
|
2024-01-06 07:48:43 +01:00
|
|
|
#%patch0 -p1
|
2024-01-06 07:48:43 +01:00
|
|
|
%patch1 -p1
|
2024-01-06 07:48:43 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 07:48:43 +01:00
|
|
|
%cmake -d build \
|
2024-01-06 07:48:43 +01:00
|
|
|
-DBUILD_BROWSER=OFF \
|
|
|
|
-DOBS_VERSION_OVERRIDE="%{version}-%{release}" \
|
|
|
|
-DCMAKE_SHARED_LINKER_FLAGS="-lgio-2.0" \
|
2024-01-06 07:48:43 +01:00
|
|
|
%ifarch x86_64
|
|
|
|
-DOBS_MULTIARCH_SUFFIX=64
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 07:48:43 +01:00
|
|
|
# 28.0.1: DESTDIR: workaround for files being installed to root while make
|
|
|
|
%make DESTDIR=$PWD/p
|
2024-01-06 07:48:43 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 07:48:43 +01:00
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
2024-01-06 07:48:43 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/obs
|
2024-01-06 07:48:43 +01:00
|
|
|
%{_bindir}/obs-ffmpeg-mux
|
|
|
|
%{_datadir}/applications/com.obsproject.Studio.desktop
|
|
|
|
%{_datadir}/metainfo/com.obsproject.Studio.appdata.xml
|
2024-01-06 07:48:43 +01:00
|
|
|
%{_datadir}/obs/libobs/*.effect
|
2024-01-06 07:48:43 +01:00
|
|
|
%dir %{_datadir}/obs/obs-plugins
|
|
|
|
%{_datadir}/obs/obs-plugins/*
|
|
|
|
%dir %{_datadir}/obs/obs-studio
|
|
|
|
%{_datadir}/obs/obs-studio/*
|
2024-01-06 07:48:43 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/com.obsproject.Studio.png
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/com.obsproject.Studio.svg
|
2024-01-06 07:48:43 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
2024-01-06 07:48:43 +01:00
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libobs*.so.*
|
2024-01-06 07:48:43 +01:00
|
|
|
%{_libdir}/libobs*.so
|
2024-01-06 07:48:43 +01:00
|
|
|
%dir %{_libdir}/obs-plugins
|
|
|
|
%{_libdir}/obs-plugins/*.so
|
|
|
|
%dir %{_libdir}/obs-scripting
|
|
|
|
%{_libdir}/obs-scripting/*
|
2024-01-06 07:48:43 +01:00
|
|
|
|
2024-01-06 07:48:43 +01:00
|
|
|
%files -n lib%{name}-devel
|
2024-01-06 07:48:43 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 07:48:43 +01:00
|
|
|
%dir %{_includedir}/obs
|
|
|
|
%{_includedir}/obs/*
|
2024-01-06 07:48:43 +01:00
|
|
|
%dir %{_libdir}/cmake/libobs
|
|
|
|
%{_libdir}/cmake/libobs/libobs*.cmake
|
|
|
|
%dir %{_libdir}/cmake/obs-frontend-api
|
|
|
|
%{_libdir}/cmake/obs-frontend-api/obs-frontend*.cmake
|
2024-01-06 07:48:43 +01:00
|
|
|
%{_libdir}/pkgconfig/libobs.pc
|
2024-01-06 07:48:43 +01:00
|
|
|
%doc README.rst
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 07:48:43 +01:00
|
|
|
* Wed Sep 21 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 28.0.1-2mamba
|
|
|
|
- patched to fix binary modules search path ( /usr/lib64/obs-plugins )
|
|
|
|
|
|
|
|
* Tue Sep 20 2022 Automatic Build System <autodist@mambasoft.it> 28.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:48:43 +01:00
|
|
|
* Mon Feb 01 2021 Automatic Build System <autodist@mambasoft.it> 26.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:48:43 +01:00
|
|
|
* Mon Jan 04 2021 Automatic Build System <autodist@mambasoft.it> 26.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:48:43 +01:00
|
|
|
* Wed Oct 07 2020 Automatic Build System <autodist@mambasoft.it> 26.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:48:43 +01:00
|
|
|
* Mon Oct 05 2020 Automatic Build System <autodist@mambasoft.it> 26.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:48:43 +01:00
|
|
|
* Sat May 16 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 25.0.8-1mamba
|
|
|
|
- update to 25.0.8
|
|
|
|
|
2024-01-06 07:48:43 +01:00
|
|
|
* Sat Jun 24 2017 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 20170624git-1mamba
|
|
|
|
- package created using the webbuild interface
|