Fedora packaging for ungoogled-chromium.
CentOS 7 has reached EOL and CentOS 8 will reach EOL at the end of 2021, thus CentOS builds will no longer be provided. aarch64 builds are provided on a best-effort basis.
!!!WARNING: For legal reasons, the binaries we provide on OBS do not contain proprietary codecs. This includes MPEG families, H264 and other common codecs. If you wish to use those codecs, either compile yourself or use the Flatpak package instead!!!
Pre-built binary rpm files can be found on OBS:
-
Direct Download
-
RPM repository
- OBS (Fedora 35)
# dnf config-manager --add-repo https://download.opensuse.org/repositories/home:/ungoogled_chromium/Fedora_35/home:ungoogled_chromium.repo # dnf install ungoogled-chromium
- OBS (Fedora 34)
# dnf config-manager --add-repo https://download.opensuse.org/repositories/home:/ungoogled_chromium/Fedora_34/home:ungoogled_chromium.repo # dnf install ungoogled-chromium
- OBS (Fedora 35)
The following steps are for Fedora. For CentOS, extra files are needed. See sources
.
-
Clone this repository
-
Create a build folder following https://rpm-packaging-guide.github.io/#rpm-packaging-workspace
-
Copy
ungoogled-chromium.spec
intoSPECS
-
Copy all other files into
SOURCES
-
Prepare the following files and copy them into
SOURCES
:- chromium source tarball:
- If you set
%global freeworld
to 1, get the tarball fromhttps://commondatastorage.googleapis.com/chromium-browser-official/chromium-%{version}.tar.xz
- If
%global freeworld
is 0 (the default), generate the tarball by running./chromium-latest.py --version %{version} --ffmpegclean --ffmpegarm
- Note: DO NOT use the source from Github chromium mirror! The tarball you get will lack files you need to successfully build chromium!
- If you set
ungoogled-chromium
src from the corresponding tag (https://github.com/Eloston/ungoogled-chromium/archive/%{ungoogled_chromium_revision}/ungoogled-chromium-%{ungoogled_chromium_revision}.tar.gz)depot_tools
src tarball (https://chromium.googlesource.com/chromium/tools/depot_tools.git)- Fonts:
- https://www.x.org/releases/individual/proto/xcb-proto-1.14.tar.xz
- chromium source tarball:
-
Build
-
For binary package (.rpm)
rpmbuild -bb SPECS/ungoogled-chromium.spec
The RPM file will appear in
RPMS
after a successful build. -
For source package (.srpm)
rpmbuild -bs SPECS/ungoogled-chromium.spec
The SRPM file will appear in
SRPMS
after a successful build.
-
See LICENSE