automatic version update by autodist [release 30.0.0-1mamba;Fri Nov 24 2023]

This commit is contained in:
Automatic Build System 2024-01-06 07:48:46 +01:00
parent 169abf52b7
commit 4b668fe3f5
2 changed files with 76 additions and 8 deletions

View File

@ -0,0 +1,47 @@
--- obs-studio-30.0.0/cmake/Modules/ObsHelpers.cmake.orig 2023-11-24 14:46:40.686541381 +0100
+++ obs-studio-30.0.0/cmake/Modules/ObsHelpers.cmake 2023-11-24 14:47:16.269785760 +0100
@@ -54,7 +54,7 @@
add_custom_command(
TARGET ${target}
POST_BUILD
- COMMAND "${CMAKE_COMMAND}" -E env DESTDIR= "${CMAKE_COMMAND}" --install .. --config $<CONFIG> --prefix
+ COMMAND "${CMAKE_COMMAND}" -E env "${CMAKE_COMMAND}" --install .. --config $<CONFIG> --prefix
${OBS_OUTPUT_DIR}/$<CONFIG> --component obs_${target} > "$<IF:$<PLATFORM_ID:Windows>,nul,/dev/null>"
COMMENT "Installing OBS rundir"
VERBATIM)
@@ -86,7 +86,7 @@
add_custom_command(
TARGET ${target}
POST_BUILD
- COMMAND "${CMAKE_COMMAND}" -E env DESTDIR= "${CMAKE_COMMAND}" --install .. --config $<CONFIG> --prefix
+ COMMAND "${CMAKE_COMMAND}" -E env "${CMAKE_COMMAND}" --install .. --config $<CONFIG> --prefix
${OBS_OUTPUT_DIR}/$<CONFIG> --component obs_${target} > "$<IF:$<PLATFORM_ID:Windows>,nul,/dev/null>"
COMMENT "Installing ${target} to OBS rundir"
VERBATIM)
@@ -124,7 +124,7 @@
add_custom_command(
TARGET ${target}
POST_BUILD
- COMMAND "${CMAKE_COMMAND}" -E env DESTDIR= "${CMAKE_COMMAND}" --install .. --config $<CONFIG> --prefix
+ COMMAND "${CMAKE_COMMAND}" -E env "${CMAKE_COMMAND}" --install .. --config $<CONFIG> --prefix
${OBS_OUTPUT_DIR}/$<CONFIG> --component obs_${target} > "$<IF:$<PLATFORM_ID:Windows>,nul,/dev/null>"
COMMENT "Installing ${target} to OBS rundir"
VERBATIM)
@@ -191,7 +191,7 @@
add_custom_command(
TARGET ${target}
POST_BUILD
- COMMAND "${CMAKE_COMMAND}" -E env DESTDIR= "${CMAKE_COMMAND}" --install .. --config $<CONFIG> --prefix
+ COMMAND "${CMAKE_COMMAND}" -E env "${CMAKE_COMMAND}" --install .. --config $<CONFIG> --prefix
${OBS_OUTPUT_DIR}/$<CONFIG> --component obs_rundir > "$<IF:$<PLATFORM_ID:Windows>,nul,/dev/null>"
COMMENT "Installing OBS rundir"
VERBATIM)
@@ -457,7 +457,7 @@
add_custom_command(
TARGET ${target}
POST_BUILD
- COMMAND "${CMAKE_COMMAND}" -E env DESTDIR= "${CMAKE_COMMAND}" --install .. --config $<CONFIG> --prefix
+ COMMAND "${CMAKE_COMMAND}" -E env "${CMAKE_COMMAND}" --install .. --config $<CONFIG> --prefix
${OBS_OUTPUT_DIR}/$<CONFIG> --component obs_${target} > "$<IF:$<PLATFORM_ID:Windows>,nul,/dev/null>"
COMMENT "Installing ${target} to OBS rundir"
VERBATIM)

View File

@ -1,7 +1,7 @@
Name: obs-studio Name: obs-studio
Epoch: 1 Epoch: 1
Version: 28.0.1 Version: 30.0.0
Release: 2mamba Release: 1mamba
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
@ -11,6 +11,7 @@ URL: https://obsproject.com/
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 Patch1: obs-studio-28.0.1-fix-module-bin-search-path.patch
Patch2: obs-studio-30.0.0-cmake-build-destdir.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -22,26 +23,29 @@ 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: libfdk-aac-devel
BuildRequires: libfontconfig-devel BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel BuildRequires: libfreetype-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libglvnd-devel BuildRequires: libglvnd-devel
BuildRequires: libjack-devel
BuildRequires: libjansson-devel BuildRequires: libjansson-devel
BuildRequires: libmbedtls-devel BuildRequires: libmbedtls-devel
BuildRequires: libonevpl-devel
BuildRequires: libpci-devel BuildRequires: libpci-devel
BuildRequires: libpipewire-devel BuildRequires: libpipewire-devel
BuildRequires: libpulseaudio-devel BuildRequires: libpulseaudio-devel
BuildRequires: libpython310-devel BuildRequires: libpython3-devel
BuildRequires: librist-devel
BuildRequires: librnnoise-devel BuildRequires: librnnoise-devel
BuildRequires: libspeexdsp-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: libuuid-devel
BuildRequires: libv4l-devel BuildRequires: libv4l-devel
BuildRequires: libva-devel
BuildRequires: libwayland-devel BuildRequires: libwayland-devel
BuildRequires: libwayland-egl-devel BuildRequires: libwayland-egl-devel
BuildRequires: libx264-devel BuildRequires: libx264-devel
@ -52,8 +56,12 @@ BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtsvg-devel BuildRequires: qt6-qtsvg-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: cmake BuildRequires: cmake
BuildRequires: librist-devel
BuildRequires: libajantv2-devel BuildRequires: libajantv2-devel
BuildRequires: libasio-devel
BuildRequires: libmbedtls-devel >= 3.5.1-1mamba
BuildRequires: libonevpl-devel
BuildRequires: librist-devel
BuildRequires: libwebsocketpp-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description %description
@ -81,18 +89,28 @@ This package contains libraries and header files for developing applications tha
#-D -T #-D -T
#:<< _EOF #:<< _EOF
#%patch0 -p1 #%patch0 -p1
%patch1 -p1 %patch 1 -p1
%patch 2 -p1
%build %build
%cmake -d build \ %cmake -d build \
-DBUILD_BROWSER=OFF \ -DBUILD_BROWSER=OFF \
-DOBS_VERSION_OVERRIDE="%{version}-%{release}" \ -DENABLE_VST=ON \
-DENABLE_VLC=OFF \
-DENABLE_NEW_MPEGTS_OUTPUT=OFF \
-DENABLE_AJA=OFF \
-DENABLE_JACK=ON \
-DENABLE_LIBFDK=ON \
-DENABLE_WEBRTC=OFF \
-Wno-dev \
-DOBS_VERSION_OVERRIDE="%{version}-%{release}" \
-DCMAKE_SHARED_LINKER_FLAGS="-lgio-2.0" \ -DCMAKE_SHARED_LINKER_FLAGS="-lgio-2.0" \
%ifarch x86_64 %ifarch x86_64
-DOBS_MULTIARCH_SUFFIX=64 -DOBS_MULTIARCH_SUFFIX=64
%endif %endif
# 28.0.1: DESTDIR: workaround for files being installed to root while make # 28.0.1: DESTDIR: workaround for files being installed to root while make
export
%make DESTDIR=$PWD/p %make DESTDIR=$PWD/p
%install %install
@ -141,6 +159,9 @@ This package contains libraries and header files for developing applications tha
%doc README.rst %doc README.rst
%changelog %changelog
* Fri Nov 24 2023 Automatic Build System <autodist@mambasoft.it> 30.0.0-1mamba
- automatic version update by autodist
* Wed Sep 21 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 28.0.1-2mamba * 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 ) - patched to fix binary modules search path ( /usr/lib64/obs-plugins )