dev-qt/qtwebengine: Support EXTRA_GN env var

Thanks-to: Jannik Glückert <jannik.glueckert@gmail.com>
Closes: https://bugs.gentoo.org/774186
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2021-08-28 12:13:58 +02:00
parent 65d22cb153
commit 5cb1eb3cca
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
diff --git a/src/core/gn_run.pro b/src/core/gn_run.pro
index 3d6fda80e..3d0bc86fe 100644
--- a/src/core/gn_run.pro
+++ b/src/core/gn_run.pro
@@ -38,5 +38,6 @@ build_pass|!debug_and_release {
}
+ gn_args += $$(EXTRA_GN)
gn_args = $$system_quote($$gn_args)
gn_src_root = $$system_quote($$system_path($$QTWEBENGINE_ROOT/$$getChromiumSrcDir()))
gn_build_root = $$system_quote($$system_path($$OUT_PWD/$$getConfigDir()))
gn_python = "--script-executable=$$pythonPathForSystem()"

View File

@@ -100,6 +100,7 @@ BDEPEND="${PYTHON_DEPS}
PATCHES=(
"${FILESDIR}/${PN}-5.15.0-disable-fatal-warnings.patch" # bug 695446
"${FILESDIR}/${PN}-5.15.2-extra_gn.patch" # downstream, bug 774186
"${FILESDIR}/${PN}-5.15.2_p20210224-chromium-87-v8-icu68.patch" # downstream, bug 757606
"${FILESDIR}/${PN}-5.15.2_p20210224-disable-git.patch" # downstream snapshot fix
"${FILESDIR}/${PN}-5.15.2_p20210406-glibc-2.33.patch" # by Fedora, bug 769989