Ungoogled Chromium template and builds for Void Linux, based on the void-packages chromium template.
Note
Due to a rather stupid mistake on my part (wiping my ssd clean with no backup :c) the signing key for the ropository will have to be changed.
The new key 91:aa:05:51:81:3f:38:b6:6a:74:af:3f:40:2d:08:c3.plist will be imported on the first update.
To cleanup the old key remove:
the file: /var/db/xbps/keys/88:ac:8f:99:4d:b0:20:8f:6b:f0:8f:49:b9:13:fb:17.plist
and
the directory: /var/db/xbps/https___github_com_DAINRA_ungoogled-chromium-void_releases_latestdownload
Note
Consult void-packages documentation for more information about setting it up.
Clone and setup the void-packages repository in a work directory and:
git clone --depth=1 https://github.com/DAINRA/ungoogled-chromium-void.git
[[ -d void-packages/srcpkgs/ungoogled-chromium ]] && rm -r void-packages/srcpkgs/ungoogled-chromium
cp -r ungoogled-chromium-void/void-packages/srcpkgs/ungoogled-chromium void-packages/srcpkgs/
cd void-packages
./xbps-src pkg ungoogled-chromium
./xbps-src show-options ungoogled-chromium
=> ungoogled-chromium-120.0.6099.109_1: the following build options are set:
clang: Use clang to build (ON)
libcxx: Use bundled libc++ (ON)
pipewire: Enable support for screen sharing for WebRTC via PipeWire (ON)
pulseaudio: Enable support for the PulseAudio sound server (ON)
vaapi: Enable support for VA-API (ON)
debug: Build with debug symbols (OFF)
sndio: Enable support for the sndio sound server (OFF)
You can check the workflow file for the available builds:
and the Actions tab for current build progress.
Download the xbps
package from the releases page, index and install the package:
xbps-rindex -a *.xbps
sudo xbps-install -vR $PWD ungoogled-chromium
Add the releases page as a repository:
cat << EOF > /etc/xbps.d/20-ungoogled-chromium.conf
repository=https://github.com/DAINRA/ungoogled-chromium-void/releases/latest/download/
EOF
xbps-install -Su ungoogled-chromium
First xbps-install -S
run it will ask to import the repository key, same as 91:aa:05:51:81:3f:38:b6:6a:74:af:3f:40:2d:08:c3.plist.
gtk+3
package must be installed.--enable-features=VaapiVideoDecoder
to CHROME_FLAGS
environment variable.--disable-features=UseChromeOSDirectVideoDecoder
might also be needed.chrome://gpu
if Video Decode: Hardware accelerated
.dbus
running (on glibc it doesn't matter).--js-flags=--jitless
to CHROME_FLAGS
. If nothing else, it's a security hardening option.--renderer-process-limit=2
renderer-process-limit.--disk-cache-size=1 --v8-cache-options=none
disk-cache-size, v8-cache-options.chrome://flags/#enable-force-dark
.--disable-features=GlobalMediaControls
).