Backport WebRTC changes to PipeWire/Wayland screen sharing support

This commit is contained in:
Jan Grulich 2022-02-22 10:01:04 +01:00
parent af44b86020
commit ecd56d6e3a
2 changed files with 9937 additions and 1 deletions

View File

@ -163,7 +163,7 @@ ExcludeArch: aarch64
Summary: Mozilla Firefox Web browser Summary: Mozilla Firefox Web browser
Name: firefox Name: firefox
Version: 97.0.1 Version: 97.0.1
Release: 1%{?pre_tag}%{?dist} Release: 2%{?pre_tag}%{?dist}
URL: https://www.mozilla.org/firefox/ URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+ License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
@ -251,6 +251,9 @@ Patch415: mozilla-1670333.patch
Patch600: pgo.patch Patch600: pgo.patch
Patch602: mozilla-1516803.patch Patch602: mozilla-1516803.patch
# Backported WebRTC changes for PipeWire/Wayland screen sharing support
Patch1000: libwebrtc-screen-cast-sync.patch
%if %{?system_nss} %if %{?system_nss}
BuildRequires: pkgconfig(nspr) >= %{nspr_version} BuildRequires: pkgconfig(nspr) >= %{nspr_version}
BuildRequires: pkgconfig(nss) >= %{nss_version} BuildRequires: pkgconfig(nss) >= %{nss_version}
@ -496,6 +499,8 @@ This package contains results of tests executed during build.
%endif %endif
%endif %endif
%patch1000 -p1 -b .libwebrtc-screen-cast-sync
%{__rm} -f .mozconfig %{__rm} -f .mozconfig
%{__cp} %{SOURCE10} .mozconfig %{__cp} %{SOURCE10} .mozconfig
echo "ac_add_options --enable-default-toolkit=cairo-gtk3-wayland" >> .mozconfig echo "ac_add_options --enable-default-toolkit=cairo-gtk3-wayland" >> .mozconfig
@ -1051,6 +1056,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#--------------------------------------------------------------------- #---------------------------------------------------------------------
%changelog %changelog
* Mon Feb 21 2022 Jan Grulich <jgrulich@redhat.com> - 97.0.1-2
- Backport WebRTC changes to PipeWire/Wayland screen sharing support
* Fri Feb 18 2022 Martin Stransky <stransky@redhat.com> - 97.0.1-1 * Fri Feb 18 2022 Martin Stransky <stransky@redhat.com> - 97.0.1-1
- Updated to 97.0.1 - Updated to 97.0.1
- GCC 12 build fixes - GCC 12 build fixes

File diff suppressed because it is too large Load Diff