public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: Enable Widevine on Arm64
@ 2026-08-07 16:08 Than Ngo
  0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-08-07 16:08 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/chromium
Branch : epel9-next
Commit : 335b46c4857cd99e3c6afdbde7b38254788532d5
Author : Than Ngo <than@redhat.com>
Date   : 2026-04-29T18:45:25+02:00
Stats  : +19/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/chromium/c/335b46c4857cd99e3c6afdbde7b38254788532d5?branch=epel9-next

Log:
Enable Widevine on Arm64

---
diff --git a/chromium-147-widevine-on-arm64.patch b/chromium-147-widevine-on-arm64.patch
new file mode 100644
index 0000000..1be3361
--- /dev/null
+++ b/chromium-147-widevine-on-arm64.patch
@@ -0,0 +1,15 @@
+Enable widevine_cdm on arm64
+
+diff -up chromium-147.0.7727.137/third_party/widevine/cdm/widevine.gni.me chromium-147.0.7727.137/third_party/widevine/cdm/widevine.gni
+--- chromium-147.0.7727.137/third_party/widevine/cdm/widevine.gni.me	2026-04-29 18:40:15.060405982 +0200
++++ chromium-147.0.7727.137/third_party/widevine/cdm/widevine.gni	2026-04-29 18:42:07.060690905 +0200
+@@ -27,7 +27,8 @@ if (is_chromeos && !is_chromeos_device)
+ library_widevine_cdm_available =
+     (is_chromeos &&
+      (target_cpu == "x64" || target_cpu == "arm" || target_cpu == "arm64")) ||
+-    (target_os == "linux" && target_cpu == "x64") ||
++    (target_os == "linux" &&
++     (target_cpu == "x64") || target_cpu == "arm64")) ||
+     (target_os == "mac" && (target_cpu == "x64" || target_cpu == "arm64")) ||
+     (target_os == "win" &&
+      (target_cpu == "x86" || target_cpu == "x64" || target_cpu == "arm64"))

diff --git a/chromium.spec b/chromium.spec
index c1a8e0e..0e95c2c 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -274,6 +274,9 @@ Patch1: chromium-115-initial_prefs-etc-path.patch
 # Try to load widevine from other places
 Patch8: chromium-117-widevine-other-locations.patch
 
+# Enable Widevine on Arm64
+Patch9: chromium-147-widevine-on-arm64.patch
+
 # debian patches
 # disable font-test 
 Patch20: chromium-disable-font-tests.patch
@@ -1050,6 +1053,7 @@ Qt6 UI for chromium.
 ### Chromium Fedora Patches ###
 %patch -P1 -p1 -b .etc
 %patch -P8 -p1 -b .widevine-other-locations
+%patch -P9 -p1 -b .widevine-on-arm64
 
 %patch -P20 -p1 -b .disable-font-test
 %patch -P21 -p1 -b .screen-ai-service

^ 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: Enable Widevine on Arm64 Than Ngo

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