mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: ungoogled-chromium: Add VA-API fix for some Intel systems.
* gnu/packages/chromium.scm (%arch-patches): New variable. (ungoogled-chromium-snippet): Use it.
This commit is contained in:
parent
eb404f30ad
commit
66c3a35b1b
1 changed files with 12 additions and 1 deletions
|
@ -310,6 +310,17 @@ (define %debian-patches
|
||||||
(debian-patch "system/openjpeg.patch" %debian-revision
|
(debian-patch "system/openjpeg.patch" %debian-revision
|
||||||
"0zd6v5njx1pc7i0y6mslxvpx5j4cq01mmyx55qcqx8qzkm0gm48j")))
|
"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
|
(define %ungoogled-origin
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -343,7 +354,7 @@ (define ungoogled-chromium-snippet
|
||||||
(invoke "patch" "-p1" "--force" "--input"
|
(invoke "patch" "-p1" "--force" "--input"
|
||||||
patch "--no-backup-if-mismatch"))
|
patch "--no-backup-if-mismatch"))
|
||||||
(append
|
(append
|
||||||
'#+%gentoo-patches '#+%debian-patches
|
'#+%gentoo-patches '#+%debian-patches '#+%arch-patches
|
||||||
(find-files #$%chromium-gcc-patches "\\.patch$")
|
(find-files #$%chromium-gcc-patches "\\.patch$")
|
||||||
'#+(list (local-file
|
'#+(list (local-file
|
||||||
(search-patch
|
(search-patch
|
||||||
|
|
Loading…
Reference in a new issue