aboutsummaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorHan Gao <rabenda.cn@gmail.com>2022-04-26 05:02:23 +0800
committerYixun Lan <dlan@gentoo.org>2022-04-26 14:56:11 +0800
commit5bc5d928ca9cc648700aa5f6546638195d162983 (patch)
tree227b4651278980f0c48664737491c5444342b59e /dev-qt
parentdev-qt/qtwebengine: sync gentoo main tree (diff)
downloadriscv-5bc5d928ca9cc648700aa5f6546638195d162983.tar.gz
riscv-5bc5d928ca9cc648700aa5f6546638195d162983.tar.bz2
riscv-5bc5d928ca9cc648700aa5f6546638195d162983.zip
dev-qt/qtwebengine: add riscv patch
Signed-off-by: Han Gao <rabenda.cn@gmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qtwebengine/qtwebengine-5.15.3_p20220406.ebuild5
1 files changed, 4 insertions, 1 deletions
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