===> The following configuration options are available for linux-brave-browser-1.98.60_1:
DOCS=on: Build and/or install documentation
WIDEVINE=on: DRM playback via www/linux-widevine-cdm (Netflix etc.)
===> Use 'make config' to modify these settings
www/linux-brave runs under the Linuxulator (linux_base-rl9):
sysrc linux_enable=YES
service linux start
For DRM sites such as Netflix, install www/linux-widevine-cdm from
the ports tree (Google's license does not permit distributing it as
a package):
make -C /usr/ports/www/linux-widevine-cdm install clean
With the default WIDEVINE option, no further setup is needed: DRM
playback works as soon as the CDM is installed.
For hardware acceleration, install the Linux Mesa DRI drivers and
the Linux Vulkan loader:
pkg install linux-rl9-dri linux-rl9-vulkan
With both present and a writable DRM render node, the wrapper
renders via ANGLE-on-Vulkan, the preferred path; the Mesa GL path
is prone to GPU hangs on some hardware. Without a hardware Vulkan
driver the wrapper falls back to GL, and without a render node or
DRI drivers to software rendering. BRAVE_GPU=0 forces software
rendering; BRAVE_VULKAN=0 stays on GL.
www/linux-brave: stage with ${CP} -R and INSTALL_DATA
Use ${CP} -R for program tree and INSTALL_DATA for the hicolor icons.
Approved by: fuz (mentor)
Reviewed by: fuz (mentor)
Differential Revision: https://reviews.freebsd.org/D59867
www/linux-brave: DRM out of the box, GPU auto-detection
Add a WIDEVINE option (default on) so DRM playback works with no
browser-side setup once the CDM is present. The option links
${PREFIX}/lib/WidevineCdm into the Brave install directory, where the
component updater discovers it as a preinstalled component, and runs a
pre-launch seed script that sets brave.widevine_opted_in and maintains
the Widevine component hint file: Chromium registers the CDM at
startup from the hint and never repairs it itself, so the script
plants the hint before the first launch and repoints it when its
target no longer holds a CDM (e.g. after the CDM port is reinstalled),
while leaving intact hints -- including one naming a newer
component-updated CDM -- alone.
The option adds no dependency: Google's license permits fetching the
(Only the first 15 lines of the commit message are shown above )
www/linux-brave: add new port (+)
The chrome-driven web browser from Brave Software, Inc.
Block ads. Save data. And get way faster webpages.
Sponsored by: Future Crew, LLC