Last active
June 24, 2018 17:46
-
-
Save shalzz/3973a0dbf9a39410f799323c030bf6ec to your computer and use it in GitHub Desktop.
chromium: use ozone-gbm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 1d8128e84271e3c02ae2c031c5a09b6e8ab674f2 Mon Sep 17 00:00:00 2001 | |
From: Shaleen Jain <[email protected]> | |
Date: Sat, 23 Jun 2018 15:04:42 +0530 | |
Subject: [PATCH] use ozone-gbm | |
--- | |
PKGBUILD | 6 +++++- | |
1 file changed, 5 insertions(+), 1 deletion(-) | |
diff --git a/PKGBUILD b/PKGBUILD | |
index 7c6cfa5..a413e19 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -19,7 +19,7 @@ url="https://www.chromium.org/Home" | |
license=('BSD') | |
depends=('gtk3' 'nss' 'alsa-lib' 'xdg-utils' 'libxss' 'libcups' 'libgcrypt' | |
'ttf-font' 'systemd' 'dbus' 'libpulse' 'pciutils' 'json-glib' | |
- 'desktop-file-utils' 'hicolor-icon-theme' 'libva') | |
+ 'desktop-file-utils' 'hicolor-icon-theme' 'libva' 'libminigbm') | |
provides=('chromium') | |
conflicts=('chromium') | |
makedepends=('python' 'python2' 'gperf' 'yasm' 'mesa' 'ninja' 'nodejs' 'git' | |
@@ -173,6 +173,10 @@ build() { | |
"google_default_client_id=\"${_google_default_client_id}\"" | |
"google_default_client_secret=\"${_google_default_client_secret}\"" | |
'use_vaapi=true' | |
+ 'use_ozone=true' | |
+ 'ozone_platform_gbm=true' | |
+ 'use_intel_minigbm=true' | |
+ 'build_display_configuration=true' | |
) | |
# Facilitate deterministic builds (taken from build/config/compiler/BUILD.gn) | |
-- | |
2.18.0 |
I found a package with similar name in AUR: libminigbm-git
I'm compiling with this patch but:
...
The variable "build_display_configration" was set as a build argument
but never appeared in a declare_args() block in any buildfile.
...
I've corrected it, but it still doesn't understand it:
...
The variable "build_display_configuration" was set as a build argument
but never appeared in a declare_args() block in any buildfile.
...
WARNING: Install libminigbm-git
breaks the system: https://bugs.archlinux.org/task/59120
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
typo in line 30;
where do you got the libminigbm dependency info from?