commit:     5bc5d928ca9cc648700aa5f6546638195d162983
Author:     Han Gao <rabenda.cn <AT> gmail <DOT> com>
AuthorDate: Mon Apr 25 21:02:23 2022 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 06:56:11 2022 +0000
URL:        https://gitweb.gentoo.org/proj/riscv.git/commit/?id=5bc5d928

dev-qt/qtwebengine: add riscv patch

Signed-off-by: Han Gao <rabenda.cn <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-qt/qtwebengine/qtwebengine-5.15.3_p20220406.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-qt/qtwebengine/qtwebengine-5.15.3_p20220406.ebuild 
b/dev-qt/qtwebengine/qtwebengine-5.15.3_p20220406.ebuild
index 2cc0403..802ae75 100644
--- a/dev-qt/qtwebengine/qtwebengine-5.15.3_p20220406.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-5.15.3_p20220406.ebuild
@@ -29,6 +29,7 @@ fi
 # ppc64 patchset based on https://github.com/chromium-ppc64le releases
 SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-5.15.2_p20211019-jumbo-build.patch.bz2
        
https://dev.gentoo.org/~asturm/distfiles/${PN}-5.15.3_p20220406-patchset.tar.xz
+       riscv? ( 
https://dev.gentoo.org/~dlan/distfiles/${CATEGORY}/${PN}/${PN}-5.15.3-riscv-0.tar.xz
 )
        ppc64? ( 
https://dev.gentoo.org/~gyakovlev/distfiles/${PN}-5.15.2-r1-chromium87-ppc64le.tar.xz
 )"
 
 IUSE="alsa bindist designer geolocation +jumbo-build kerberos pulseaudio 
screencast +system-ffmpeg +system-icu widgets"
@@ -111,6 +112,8 @@ PATCHES=(
        "${FILESDIR}/${PN}-5.15.3_p20220329-clang14.patch" # by FreeBSD, bug 
836604
        "${WORKDIR}/${PN}-5.15.2_p20211019-jumbo-build.patch" # bug 813957
        "${WORKDIR}/${PN}-5.15.3_p20220406-patchset" # bug 698988 (py2--), 
pipewire-3
+       "${WORKDIR}/${PN}-5.15.3-riscv-general.patch"
+       "${WORKDIR}/${PN}-5.15.3-riscv-v8.patch"
 )
 
 qtwebengine_check-reqs() {
@@ -130,7 +133,7 @@ qtwebengine_check-reqs() {
        # Estimate the amount of RAM required
        # Multiplier is *10 because Bash doesn't do floating point maths.
        # Let's crudely assume ~2GB per compiler job for GCC.
-       local multiplier=20
+       local multiplier=8
 
        # And call it ~1.5GB for Clang.
        if tc-is-clang ; then

Reply via email to