diff options
author | Marius Bakke <marius@gnu.org> | 2020-07-20 17:03:12 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2020-07-23 01:14:59 +0200 |
commit | 66c3a35b1bad6060a9b9af78b764449dbfdededf (patch) | |
tree | 5862ee548c291842c788d77994dca03699778ba4 | |
parent | eb404f30adfa74ce9efcf3a5e5833204a9c3ee56 (diff) | |
download | guix-66c3a35b1bad6060a9b9af78b764449dbfdededf.tar guix-66c3a35b1bad6060a9b9af78b764449dbfdededf.tar.gz |
gnu: ungoogled-chromium: Add VA-API fix for some Intel systems.
* gnu/packages/chromium.scm (%arch-patches): New variable.
(ungoogled-chromium-snippet): Use it.
-rw-r--r-- | gnu/packages/chromium.scm | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm index 7ce9b65abf..e4d6503dbb 100644 --- a/gnu/packages/chromium.scm +++ b/gnu/packages/chromium.scm @@ -310,6 +310,17 @@ (debian-patch "system/openjpeg.patch" %debian-revision "0zd6v5njx1pc7i0y6mslxvpx5j4cq01mmyx55qcqx8qzkm0gm48j"))) +(define %arch-patches + (list (origin + (method url-fetch) + (uri "https://git.archlinux.org/svntogit/packages.git/plain/trunk/\ +chromium-fix-vaapi-on-intel.patch?h=packages/chromium\ +&id=93b5b90621b4827084288197c6e0e09b987b372a") + (file-name "ungoogled-chromium-fix-vaapi-on-intel.patch") + (sha256 + (base32 + "16jbjjf4d9jp52rdrrxx5vm69nx3w0qrijgjpwapnmcif13z55g4"))))) + (define %ungoogled-origin (origin (method git-fetch) @@ -343,7 +354,7 @@ (invoke "patch" "-p1" "--force" "--input" patch "--no-backup-if-mismatch")) (append - '#+%gentoo-patches '#+%debian-patches + '#+%gentoo-patches '#+%debian-patches '#+%arch-patches (find-files #$%chromium-gcc-patches "\\.patch$") '#+(list (local-file (search-patch |