gnu: ungoogled-chromium: Unexpire accelerated video decoding.

* gnu/packages/patches/ungoogled-chromium-accelerated-video-decode.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/chromium.scm (%guix-patches): Add it.
This commit is contained in:
Marius Bakke 2021-12-15 18:20:18 +01:00
parent 48a1bb314d
commit 745d6cb7d3
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
3 changed files with 22 additions and 0 deletions

View file

@ -1847,6 +1847,7 @@ dist_patch_DATA = \
%D%/packages/patches/u-boot-riscv64-fix-extlinux.patch \
%D%/packages/patches/u-boot-rk3399-enable-emmc-phy.patch \
%D%/packages/patches/ucx-tcp-iface-ioctl.patch \
%D%/packages/patches/ungoogled-chromium-accelerated-video-decode.patch \
%D%/packages/patches/ungoogled-chromium-extension-search-path.patch \
%D%/packages/patches/ungoogled-chromium-ffmpeg-compat.patch \
%D%/packages/patches/ungoogled-chromium-RUNPATH.patch \

View file

@ -376,6 +376,9 @@ (define %guix-patches
(local-file
(assume-valid-file-name
(search-patch "ungoogled-chromium-RUNPATH.patch")))
(local-file
(assume-valid-file-name
(search-patch "ungoogled-chromium-accelerated-video-decode.patch")))
(local-file
(assume-valid-file-name
(search-patch "ungoogled-chromium-ffmpeg-compat.patch")))

View file

@ -0,0 +1,18 @@
Upstream Chromium no longer supports hardware accelerated video decoding
on GNU/Linux, yet it still works fine on many systems. This patch "unexpires"
the support.
Taken from Arch Linux:
https://github.com/archlinux/svntogit-packages/blob/packages/chromium/trunk/unexpire-accelerated-video-decode-flag.patch
--- a/chrome/browser/flag-metadata.json
+++ b/chrome/browser/flag-metadata.json
@@ -1285,7 +1285,7 @@
{
"name": "enable-accelerated-video-decode",
"owners": [ "media-dev@chromium.org" ],
- "expiry_milestone": 93
+ "expiry_milestone": 99
},
{
"name": "enable-accessibility-live-caption",