Skip to content

Instantly share code, notes, and snippets.

@shalzz
Last active June 24, 2018 17:46
Show Gist options
  • Save shalzz/3973a0dbf9a39410f799323c030bf6ec to your computer and use it in GitHub Desktop.
Save shalzz/3973a0dbf9a39410f799323c030bf6ec to your computer and use it in GitHub Desktop.
chromium: use ozone-gbm
From 1d8128e84271e3c02ae2c031c5a09b6e8ab674f2 Mon Sep 17 00:00:00 2001
From: Shaleen Jain <shaleen@jain.sh>
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
@simonbcn
Copy link

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