public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Than Ngo <than@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/chromium] epel9-next: vaapi disable on el7 and el8
Date: Fri, 07 Aug 2026 16:04:24 GMT	[thread overview]
Message-ID: <178611866446.1.3788320847614899706.rpms-chromium-fafc22e12f06@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/chromium
Branch : epel9-next
Commit : fafc22e12f06101a4ffb479ac3c1f4cebbf859f2
Author : Than Ngo <than@redhat.com>
Date   : 2023-01-08T16:23:48+01:00
Stats  : +9/-6 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/chromium/c/fafc22e12f06101a4ffb479ac3c1f4cebbf859f2?branch=epel9-next

Log:
vaapi disable on el7 and el8

---
diff --git a/chromium-browser.sh b/chromium-browser.sh
index fcb81a3..7e077dc 100755
--- a/chromium-browser.sh
+++ b/chromium-browser.sh
@@ -39,9 +39,6 @@ export CHROME_VERSION_EXTRA="Built from source for @@BUILD_TARGET@@"
 # We don't want bug-buddy intercepting our crashes. http://crbug.com/24120
 export GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME
 
-# Disable allow_rgb_configs to fix odd color and vaapi issues with Mesa
-export allow_rgb10_configs=false
-
 CHROMIUM_DISTRO_FLAGS=" --enable-plugins \
                         --enable-extensions \
                         --enable-user-scripts \
@@ -49,6 +46,7 @@ CHROMIUM_DISTRO_FLAGS=" --enable-plugins \
                         --enable-gpu-rasterization \
                         --enable-sync \
                         --disable-features=AudioServiceSandbox,UseChromeOSDirectVideoDecoder \
+                        --enable-features=VaapiVideoDecoder,VaapiVideoEncoder \
                         --auto-ssl-client-auth @@EXTRA_FLAGS@@"
 
 # This provides a much better experience on Wayland.

diff --git a/chromium.spec b/chromium.spec
index 3047573..1c0ebca 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -576,7 +576,7 @@ Requires: libusbx >= 1.0.21-0.1.git448584a
 BuildRequires: libusbx-devel >= 1.0.21-0.1.git448584a
 %endif
 
-%if 0%{use_vaapi}
+%if 0%{?use_vaapi}
 BuildRequires:	libva-devel
 %endif
 
@@ -1025,7 +1025,7 @@ udev.
 %endif
 
 # Feature specific patches
-%if %{use_vaapi}
+%if 0%{?use_vaapi}
 %patch202 -p1 -b .accel-mjpeg
 %patch205 -p1 -b .vaapi-intel-fix
 %patch206 -p1 -b .wayland-vaapi
@@ -1277,7 +1277,7 @@ CHROMIUM_BROWSER_GN_DEFINES+=' blink_symbol_level=0 enable_hangout_services_exte
 CHROMIUM_BROWSER_GN_DEFINES+=' use_aura=true'
 CHROMIUM_BROWSER_GN_DEFINES+=' enable_widevine=true'
 
-%if %{use_vaapi}
+%if 0%{?use_vaapi}
 CHROMIUM_BROWSER_GN_DEFINES+=' use_vaapi=true'
 %else
 CHROMIUM_BROWSER_GN_DEFINES+=' use_vaapi=false'
@@ -1398,7 +1398,12 @@ rm -rf %{buildroot}
 
 mkdir -p %{buildroot}%{_bindir}
 mkdir -p %{buildroot}%{chromium_path}/locales
+
+%if 0%{?use_vaapi}
 cp -a %{SOURCE3} %{buildroot}%{chromium_path}/%{chromium_browser_channel}.sh
+%%else
+grep -v features /usr/bin/chromium-browser > %{buildroot}%{chromium_path}/%{chromium_browser_channel}.sh
+%endif
 
 export BUILD_TARGET=`cat /etc/redhat-release`
 export CHROMIUM_PATH=%{chromium_path}

                 reply	other threads:[~2026-08-07 16:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178611866446.1.3788320847614899706.rpms-chromium-fafc22e12f06@fedoraproject.org \
    --to=than@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox