|
|
|
@ -22,12 +22,22 @@
|
|
|
|
|
# We'd like to always have this on.
|
|
|
|
|
%global use_vaapi 0
|
|
|
|
|
|
|
|
|
|
# If we build with shared on, then chrome-remote-desktop depends on chromium libs.
|
|
|
|
|
# If we build with shared off, then users cannot swap out libffmpeg (and i686 gets a lot harder to build)
|
|
|
|
|
%global shared 1
|
|
|
|
|
|
|
|
|
|
# NEVER EVER EVER turn this on in official builds
|
|
|
|
|
%global freeworld 0
|
|
|
|
|
%if %{freeworld}
|
|
|
|
|
%global lsuffix freeworld
|
|
|
|
|
%if 0%{?shared}
|
|
|
|
|
%global nsuffix -libs-media-freeworld
|
|
|
|
|
%else
|
|
|
|
|
%global nsuffix -freeworld
|
|
|
|
|
%endif
|
|
|
|
|
%else
|
|
|
|
|
%global lsuffix fedora
|
|
|
|
|
%global nsuffix %{nil}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Some people wish not to use the Fedora Google API keys. Mmkay.
|
|
|
|
@ -67,10 +77,6 @@
|
|
|
|
|
%endif
|
|
|
|
|
%global __requires_exclude ^(%{privlibs})\\.so*
|
|
|
|
|
|
|
|
|
|
# If we build with shared on, then chrome-remote-desktop depends on chromium libs.
|
|
|
|
|
# If we build with shared off, then users cannot swap out libffmpeg (and i686 gets a lot harder to build)
|
|
|
|
|
%global shared 1
|
|
|
|
|
|
|
|
|
|
# AddressSanitizer mode
|
|
|
|
|
# https://www.chromium.org/developers/testing/addresssanitizer
|
|
|
|
|
%global asan 0
|
|
|
|
@ -157,13 +163,23 @@ BuildRequires: libicu-devel >= 5.4
|
|
|
|
|
%global majorversion 78
|
|
|
|
|
|
|
|
|
|
%if %{freeworld}
|
|
|
|
|
Name: chromium%{chromium_channel}%{?freeworld:-freeworld}
|
|
|
|
|
Name: chromium%{chromium_channel}%{nsuffix}
|
|
|
|
|
%else
|
|
|
|
|
Name: chromium%{chromium_channel}
|
|
|
|
|
%endif
|
|
|
|
|
Version: %{majorversion}.0.3904.70
|
|
|
|
|
Version: %{majorversion}.0.3904.87
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
%if %{?freeworld}
|
|
|
|
|
%if %{?shared}
|
|
|
|
|
# chromium-libs-media-freeworld
|
|
|
|
|
Summary: Chromium media libraries built with all possible codecs
|
|
|
|
|
%else
|
|
|
|
|
# chromium-freeworld
|
|
|
|
|
Summary: A WebKit (Blink) powered web browser built with all possible codecs
|
|
|
|
|
%endif
|
|
|
|
|
%else
|
|
|
|
|
Summary: A WebKit (Blink) powered web browser
|
|
|
|
|
%endif
|
|
|
|
|
Url: http://www.chromium.org/Home
|
|
|
|
|
License: BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL and (MPLv1.1 or GPLv2 or LGPLv2)
|
|
|
|
|
|
|
|
|
@ -529,9 +545,19 @@ Obsoletes: chromium-v8 <= 3.25.28.18
|
|
|
|
|
Provides: webrtc = 0.2
|
|
|
|
|
Obsoletes: webrtc <= 0.1
|
|
|
|
|
%if 0%{?shared}
|
|
|
|
|
%if 0%{?freeworld}
|
|
|
|
|
# chromium-libs-media-freeworld case
|
|
|
|
|
Provides: chromium-libs-media = %{version}-%{release}
|
|
|
|
|
Provides: chromium-libs-media%{_isa} = %{version}-%{release}
|
|
|
|
|
Requires: chromium-libs%{_isa} = %{version}
|
|
|
|
|
Requires(post): %{_sbindir}/update-alternatives
|
|
|
|
|
Requires(preun): %{_sbindir}/update-alternatives
|
|
|
|
|
%else
|
|
|
|
|
# chromium case with shared libs
|
|
|
|
|
Requires: chromium-libs%{_isa} = %{version}-%{release}
|
|
|
|
|
# This is broken out so it can be replaced.
|
|
|
|
|
Requires: chromium-libs-media%{_isa} = %{version}-%{release}
|
|
|
|
|
%endif
|
|
|
|
|
# Nothing to do here. chromium-libs is real.
|
|
|
|
|
%else
|
|
|
|
|
Provides: chromium-libs = %{version}-%{release}
|
|
|
|
@ -638,8 +664,22 @@ Provides: bundled(xdg-user-dirs)
|
|
|
|
|
Requires(post): /usr/sbin/semanage
|
|
|
|
|
Requires(post): /usr/sbin/restorecon
|
|
|
|
|
|
|
|
|
|
%if %{?freeworld}
|
|
|
|
|
%if %{?shared}
|
|
|
|
|
%description
|
|
|
|
|
Chromium media libraries built with all possible codecs. Chromium is an
|
|
|
|
|
open-source web browser, powered by WebKit (Blink). This package replaces
|
|
|
|
|
the default chromium-libs-media package, which is limited in what it
|
|
|
|
|
can include.
|
|
|
|
|
%else
|
|
|
|
|
%description
|
|
|
|
|
Chromium built with all possible codecs. Chromium is an
|
|
|
|
|
open-source web browser, powered by WebKit (Blink).
|
|
|
|
|
%endif
|
|
|
|
|
%else
|
|
|
|
|
%description
|
|
|
|
|
Chromium is an open-source web browser, powered by WebKit (Blink).
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%package common
|
|
|
|
|
Summary: Files needed for both the headless_shell and full Chromium
|
|
|
|
@ -665,21 +705,7 @@ Requires(preun): %{_sbindir}/update-alternatives
|
|
|
|
|
%description libs
|
|
|
|
|
Shared libraries used by chromium (and chrome-remote-desktop).
|
|
|
|
|
|
|
|
|
|
%if %{freeworld}
|
|
|
|
|
%package -n chromium-libs-media-freeworld
|
|
|
|
|
Summary: Chromium media libraries built with all possible codecs
|
|
|
|
|
Provides: chromium-libs-media = %{version}-%{release}
|
|
|
|
|
Provides: chromium-libs-media%{_isa} = %{version}-%{release}
|
|
|
|
|
Requires: chromium-libs%{_isa} = %{version}
|
|
|
|
|
Requires(post): %{_sbindir}/update-alternatives
|
|
|
|
|
Requires(preun): %{_sbindir}/update-alternatives
|
|
|
|
|
|
|
|
|
|
%description -n chromium-libs-media-freeworld
|
|
|
|
|
Chromium media libraries built with all possible codecs. Chromium is an
|
|
|
|
|
open-source web browser, powered by WebKit (Blink). This package replaces
|
|
|
|
|
the default chromium-libs-media package, which is limited in what it
|
|
|
|
|
can include.
|
|
|
|
|
%else
|
|
|
|
|
%if ! %{freeworld}
|
|
|
|
|
%package libs-media
|
|
|
|
|
Summary: Shared libraries used by the chromium media subsystem
|
|
|
|
|
Requires: chromium-libs%{_isa} = %{version}
|
|
|
|
@ -1482,6 +1508,7 @@ if st and st.type == "link" then
|
|
|
|
|
os.remove(path)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
%if %{shared}
|
|
|
|
|
%if %{freeworld}
|
|
|
|
|
%posttrans -n chromium-libs-media-freeworld
|
|
|
|
|
%{_sbindir}/update-alternatives --install \
|
|
|
|
@ -1517,6 +1544,7 @@ if [ $1 = 0 ]; then
|
|
|
|
|
%{_libdir}/chromium-browser/libffmpeg.so.fedora
|
|
|
|
|
fi
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%pre -n chrome-remote-desktop
|
|
|
|
|
getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-desktop
|
|
|
|
@ -1690,6 +1718,10 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Nov 1 2019 Tom Callaway <spot@fedoraproject.org> - 78.0.3904.87-1
|
|
|
|
|
- update to 78.0.3904.87
|
|
|
|
|
- apply most of the freeworld changes in PR 23/24/25
|
|
|
|
|
|
|
|
|
|
* Wed Oct 23 2019 Tom Callaway <spot@fedoraproject.org> - 78.0.3904.80-1
|
|
|
|
|
- update to 78.0.3904.80
|
|
|
|
|
|
|
|
|
|