patched to fix binary modules search path ( /usr/lib64/obs-plugins ) [release 28.0.1-2mamba;Wed Sep 21 2022]
This commit is contained in:
parent
1d244e488c
commit
169abf52b7
11
obs-studio-28.0.1-fix-module-bin-search-path.patch
Normal file
11
obs-studio-28.0.1-fix-module-bin-search-path.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- obs-studio-28.0.1/libobs/obs-nix.c.orig 2022-09-21 15:15:56.006332309 +0200
|
||||||
|
+++ obs-studio-28.0.1/libobs/obs-nix.c 2022-09-21 15:16:05.069285078 +0200
|
||||||
|
@@ -54,7 +54,7 @@
|
||||||
|
#define FLATPAK_PLUGIN_PATH "/app/plugins"
|
||||||
|
|
||||||
|
static const char *module_bin[] = {
|
||||||
|
- OBS_INSTALL_PREFIX "/" OBS_PLUGIN_DESTINATION,
|
||||||
|
+ OBS_PLUGIN_DESTINATION,
|
||||||
|
"../../obs-plugins/" BIT_STRING,
|
||||||
|
FLATPAK_PLUGIN_PATH "/" OBS_PLUGIN_DESTINATION,
|
||||||
|
};
|
@ -1,27 +1,20 @@
|
|||||||
Name: obs-studio
|
Name: obs-studio
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 26.1.2
|
Version: 28.0.1
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Video recording and live streaming
|
Summary: Video recording and live streaming
|
||||||
Group: Graphical Desktop/Applications/Multimedia
|
Group: Graphical Desktop/Applications/Multimedia
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://obsproject.com/
|
URL: https://obsproject.com/
|
||||||
## GITSOURCE https://github.com/jp9000/obs-studio.git master
|
|
||||||
Source: https://github.com/jp9000/obs-studio.git/%{version}/obs-studio-%{version}.tar.bz2
|
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
|
Patch0: obs-studio-25.0.8-gcc-10.0.1.patch
|
||||||
|
Patch1: obs-studio-28.0.1-fix-module-bin-search-path.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: ldconfig
|
|
||||||
BuildRequires: libGL-devel
|
|
||||||
BuildRequires: libICE-devel
|
|
||||||
BuildRequires: libSM-devel
|
|
||||||
BuildRequires: libX11-devel
|
BuildRequires: libX11-devel
|
||||||
BuildRequires: libXcomposite-devel
|
|
||||||
BuildRequires: libXext-devel
|
|
||||||
BuildRequires: libXfixes-devel
|
|
||||||
BuildRequires: libalsa-devel
|
BuildRequires: libalsa-devel
|
||||||
BuildRequires: libavcodec-ffmpeg-devel
|
BuildRequires: libavcodec-ffmpeg-devel
|
||||||
BuildRequires: libavdevice-ffmpeg-devel
|
BuildRequires: libavdevice-ffmpeg-devel
|
||||||
@ -29,28 +22,39 @@ BuildRequires: libavfilter-ffmpeg-devel
|
|||||||
BuildRequires: libavformat-ffmpeg-devel
|
BuildRequires: libavformat-ffmpeg-devel
|
||||||
BuildRequires: libavutil-ffmpeg-devel
|
BuildRequires: libavutil-ffmpeg-devel
|
||||||
BuildRequires: libcurl-devel
|
BuildRequires: libcurl-devel
|
||||||
BuildRequires: libdbus-devel
|
|
||||||
BuildRequires: libfontconfig-devel
|
BuildRequires: libfontconfig-devel
|
||||||
BuildRequires: libfreetype-devel
|
BuildRequires: libfreetype-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libjack-devel
|
BuildRequires: libglib-devel
|
||||||
|
BuildRequires: libglvnd-devel
|
||||||
BuildRequires: libjansson-devel
|
BuildRequires: libjansson-devel
|
||||||
|
BuildRequires: libmbedtls-devel
|
||||||
|
BuildRequires: libpci-devel
|
||||||
|
BuildRequires: libpipewire-devel
|
||||||
BuildRequires: libpulseaudio-devel
|
BuildRequires: libpulseaudio-devel
|
||||||
BuildRequires: libpython3-devel
|
BuildRequires: libpython310-devel
|
||||||
BuildRequires: libqt5-devel
|
BuildRequires: librist-devel
|
||||||
BuildRequires: libspeex-devel
|
BuildRequires: librnnoise-devel
|
||||||
|
BuildRequires: libspeexdsp-devel
|
||||||
|
BuildRequires: libsrt-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: libswresample-ffmpeg-devel
|
BuildRequires: libswresample-ffmpeg-devel
|
||||||
BuildRequires: libswscale-ffmpeg-devel
|
BuildRequires: libswscale-ffmpeg-devel
|
||||||
BuildRequires: libudev-devel
|
BuildRequires: libudev-devel
|
||||||
BuildRequires: libv4l-devel
|
BuildRequires: libv4l-devel
|
||||||
|
BuildRequires: libwayland-devel
|
||||||
|
BuildRequires: libwayland-egl-devel
|
||||||
BuildRequires: libx264-devel
|
BuildRequires: libx264-devel
|
||||||
BuildRequires: libxcb-devel
|
BuildRequires: libxcb-devel
|
||||||
|
BuildRequires: libxkbcommon-devel
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
|
BuildRequires: qt6-qtbase-devel
|
||||||
|
BuildRequires: qt6-qtsvg-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
BuildRequires: librist-devel
|
||||||
|
BuildRequires: libajantv2-devel
|
||||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Free and open source software for video recording and live streaming
|
Free and open source software for video recording and live streaming
|
||||||
@ -74,16 +78,22 @@ This package contains libraries and header files for developing applications tha
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
#-D -T
|
||||||
|
#:<< _EOF
|
||||||
#%patch0 -p1
|
#%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -d build \
|
%cmake -d build \
|
||||||
-DBUILD_BROWSER=ON \
|
-DBUILD_BROWSER=OFF \
|
||||||
|
-DOBS_VERSION_OVERRIDE="%{version}-%{release}" \
|
||||||
|
-DCMAKE_SHARED_LINKER_FLAGS="-lgio-2.0" \
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
-DOBS_MULTIARCH_SUFFIX=64
|
-DOBS_MULTIARCH_SUFFIX=64
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%make
|
# 28.0.1: DESTDIR: workaround for files being installed to root while make
|
||||||
|
%make DESTDIR=$PWD/p
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -100,18 +110,20 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%{_bindir}/obs
|
%{_bindir}/obs
|
||||||
%{_bindir}/obs-ffmpeg-mux
|
%{_bindir}/obs-ffmpeg-mux
|
||||||
%{_datadir}/applications/com.obsproject.Studio.desktop
|
%{_datadir}/applications/com.obsproject.Studio.desktop
|
||||||
%{_datadir}/icons/hicolor/256x256/apps/com.obsproject.Studio.png
|
|
||||||
%{_datadir}/metainfo/com.obsproject.Studio.appdata.xml
|
%{_datadir}/metainfo/com.obsproject.Studio.appdata.xml
|
||||||
%{_datadir}/obs/libobs/*.effect
|
%{_datadir}/obs/libobs/*.effect
|
||||||
%dir %{_datadir}/obs/obs-plugins
|
%dir %{_datadir}/obs/obs-plugins
|
||||||
%{_datadir}/obs/obs-plugins/*
|
%{_datadir}/obs/obs-plugins/*
|
||||||
%dir %{_datadir}/obs/obs-studio
|
%dir %{_datadir}/obs/obs-studio
|
||||||
%{_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
|
%doc AUTHORS COPYING
|
||||||
|
|
||||||
%files -n lib%{name}
|
%files -n lib%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libobs*.so.*
|
%{_libdir}/libobs*.so.*
|
||||||
|
%{_libdir}/libobs*.so
|
||||||
%dir %{_libdir}/obs-plugins
|
%dir %{_libdir}/obs-plugins
|
||||||
%{_libdir}/obs-plugins/*.so
|
%{_libdir}/obs-plugins/*.so
|
||||||
%dir %{_libdir}/obs-scripting
|
%dir %{_libdir}/obs-scripting
|
||||||
@ -121,13 +133,20 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_includedir}/obs
|
%dir %{_includedir}/obs
|
||||||
%{_includedir}/obs/*
|
%{_includedir}/obs/*
|
||||||
%{_libdir}/libobs*.so
|
%dir %{_libdir}/cmake/libobs
|
||||||
%dir %{_libdir}/cmake/LibObs
|
%{_libdir}/cmake/libobs/libobs*.cmake
|
||||||
%{_libdir}/cmake/LibObs/LibObs*.cmake
|
%dir %{_libdir}/cmake/obs-frontend-api
|
||||||
|
%{_libdir}/cmake/obs-frontend-api/obs-frontend*.cmake
|
||||||
%{_libdir}/pkgconfig/libobs.pc
|
%{_libdir}/pkgconfig/libobs.pc
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
||||||
|
|
||||||
* Mon Feb 01 2021 Automatic Build System <autodist@mambasoft.it> 26.1.2-1mamba
|
* Mon Feb 01 2021 Automatic Build System <autodist@mambasoft.it> 26.1.2-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user