public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: reorder feature flag to allow for wayland only options
@ 2026-08-07 16:08 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-07 16:08 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/chromium
Branch : epel9-next
Commit : 7cf1f0d343d6bafb4fa35e56cd0fc2043cc500d6
Author : Luan Vitor Simião oliveira <luanv.oliveira@outlook.com>
Date   : 2025-10-02T16:34:54-03:00
Stats  : +9/-8 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/chromium/c/7cf1f0d343d6bafb4fa35e56cd0fc2043cc500d6?branch=epel9-next

Log:
reorder feature flag to allow for wayland only options

---
diff --git a/chromium.conf b/chromium.conf
index 1bd6582..7d6bedb 100644
--- a/chromium.conf
+++ b/chromium.conf
@@ -12,34 +12,35 @@ WEB_DARKMODE=off
 # NATIVE_WAYLAND=[on|off]
 NATIVE_WAYLAND=off
 
-CHROMIUM_FLAGS=""
-if [ "$NATIVE_WAYLAND" == "off" ] ; then
+FEATURES="AllowQt"
+CHROMIUM_FLAGS=" --enable-chrome-browser-cloud-management"
+if [ "$NATIVE_WAYLAND" == "on" ] ; then
+   FEATURES+=",WaylandLinuxDrmSyncobj,WaylandPerSurfaceScale,WaylandUiScale"
+   CHROMIUM_FLAGS+=" --ozone-platform-hint=auto"
+else
    CHROMIUM_FLAGS+=" --enable-gpu-memory-buffer-video-frames"
    CHROMIUM_FLAGS+=" --enable-zero-copy"
    CHROMIUM_FLAGS+=" --ignore-gpu-blocklist --disable-gpu-driver-bug-workaround"
-   CHROMIUM_FLAGS+=" --enable-chrome-browser-cloud-management"
    CHROMIUM_FLAGS+=" --enable-gpu-rasterization"
 fi
 
-FEATURES=""
-
 case "$GRAPHIC_DRIVER" in
    amd|intel)
       # Need new mesa with AMD multi planes support, is supported in fedora >= 40 (mesa-24.1.1 or newer)
       # see https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26165
       CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=vulkan --enable-accelerated-video-decode --enable-native-gpu-memory-buffers"
-      FEATURES+="Vulkan,VulkanFromANGLE,DefaultANGLEVulkan,VaapiIgnoreDriverChecks,VaapiVideoDecoder,UseMultiPlaneFormatForHardwareVideo,AcceleratedVideoDecodeLinuxZeroCopyGL"
+      FEATURES+=",Vulkan,VulkanFromANGLE,DefaultANGLEVulkan,VaapiIgnoreDriverChecks,VaapiVideoDecoder,UseMultiPlaneFormatForHardwareVideo,AcceleratedVideoDecodeLinuxZeroCopyGL"
       ;;
    nvidia)
       # The NVIDIA VaAPI drivers are known to not support Chromium
       # see https://crbug.com/1492880. This feature switch is
       # provided for developers to test VaAPI drivers on NVIDIA GPUs
       CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=gl"
-      FEATURES+="AcceleratedVideoDecodeLinuxGL,AcceleratedVideoDecodeLinuxZeroCopyGL,VaapiOnNvidiaGPUs"
+      FEATURES+=",AcceleratedVideoDecodeLinuxGL,AcceleratedVideoDecodeLinuxZeroCopyGL,VaapiOnNvidiaGPUs"
       ;;
    *)
       CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=gl"
-      FEATURES+="AcceleratedVideoEncoder,AcceleratedVideoDecodeLinuxGL"
+      FEATURES+=",AcceleratedVideoEncoder,AcceleratedVideoDecodeLinuxGL"
       ;;
 esac
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-07 16:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 16:08 [rpms/chromium] epel9-next: reorder feature flag to allow for wayland only options 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox