Skip to content

Commit

Permalink
Update to 30.2.0~beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
mihawk90 committed Jun 8, 2024
1 parent 70fdb80 commit b5a4f26
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions obs-studio.spec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
%endif

Name: obs-studio
Version: 30.1.2
Version: 30.2.0~beta1
Release: 11%{?dist}
Summary: Open Broadcaster Software Studio

Expand Down Expand Up @@ -65,6 +65,7 @@ BuildRequires: libxkbcommon-devel
BuildRequires: luajit-devel
%endif
BuildRequires: mbedtls-devel
BuildRequires: nv-codec-headers
BuildRequires: oneVPL-devel
BuildRequires: pciutils-devel
BuildRequires: pipewire-devel
Expand All @@ -78,6 +79,7 @@ BuildRequires: qt6-qtwayland-devel
BuildRequires: speexdsp-devel
BuildRequires: swig
BuildRequires: systemd-devel
BuildRequires: uthash-devel
BuildRequires: vlc-devel
BuildRequires: wayland-devel
BuildRequires: websocketpp-devel
Expand Down Expand Up @@ -140,10 +142,10 @@ tar -xjf %{SOURCE3} -C %{_builddir}/SOURCES/CEF --strip-components=1
mkdir -p %{_builddir}/SOURCES/AJA/source/cmake-build
tar -xf %{SOURCE4} -C %{_builddir}/SOURCES/AJA/source --strip-components=1
# compile AJA libs
cd %{_builddir}/SOURCES/AJA/source/cmake-build
cmake -DCMAKE_BUILD_TYPE=Release -GNinja -DCMAKE_INSTALL_PREFIX=%{_builddir}/SOURCES/AJA/install ..
ninja -f build.ninja
cmake --install ajalibraries/ajantv2
# cd %{_builddir}/SOURCES/AJA/source/cmake-build
# cmake -DCMAKE_BUILD_TYPE=Release -GNinja -DCMAKE_INSTALL_PREFIX=%{_builddir}/SOURCES/AJA/install ..
# ninja -f build.ninja
# cmake --install ajalibraries/ajantv2


%build
Expand All @@ -159,6 +161,7 @@ cmake --install ajalibraries/ajantv2
-DENABLE_WEBRTC=OFF \
%endif
-DCMAKE_PREFIX_PATH="%{_builddir}/SOURCES/AJA/install" \
-DENABLE_AJA=OFF \
-DBUILD_BROWSER=ON -DCEF_ROOT_DIR="%{_builddir}/SOURCES/CEF" \
-DTWITCH_CLIENTID='' \
-DTWITCH_HASH='' \
Expand Down Expand Up @@ -207,10 +210,17 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.metainf
%files devel
%{_libdir}/cmake/libobs/
%{_libdir}/cmake/obs-frontend-api/
%{_libdir}/cmake/obs-websocket-api/
%{_libdir}/pkgconfig/libobs.pc
%{_includedir}/obs/

%changelog
* Sat Jun 08 2024 Tarulia <[email protected]> - 30.2.0~beta1-11
- Update to 30.2.0~beta1
- Added uthash-devel and nv-codec-header dependencies
- include websocket cmake files in -devel subpackage
- Disable AJA build for now

* Sat Apr 06 2024 Tarulia <[email protected]> - 30.1.2-11
- Update to 30.1.2
- re-enable WebRTC for F40+; see rhbz#2250836
Expand Down

0 comments on commit b5a4f26

Please sign in to comment.