Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/chromium/
Date: Sun, 30 May 2021 23:59:05
Message-Id: 1622419096.fb4762b797e79a25b7faeb32fbbccdb4fbb562dc.gyakovlev@gentoo
1 commit: fb4762b797e79a25b7faeb32fbbccdb4fbb562dc
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 30 09:02:03 2021 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Sun May 30 23:58:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb4762b7
7
8 www-client/chromium: keyword chromium-91 on ppc64
9
10 added rebased patchset.
11 disable libjxl on ppc64, as it does not work with only-scalar hwy.
12 and there's no verctor ppc impl in hwy.
13
14 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
15
16 www-client/chromium/Manifest | 1 +
17 www-client/chromium/chromium-91.0.4472.77.ebuild | 11 +++++++++--
18 2 files changed, 10 insertions(+), 2 deletions(-)
19
20 diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
21 index 89c9d71356c..eb3a95075bf 100644
22 --- a/www-client/chromium/Manifest
23 +++ b/www-client/chromium/Manifest
24 @@ -1,6 +1,7 @@
25 DIST chromium-90-patchset-7.tar.xz 3892 BLAKE2B 3ba169baaaf74b548749be3f845f505256cc9573f798e10929b5d1f0f534d739e657e3fa134c78ec3f7987a3b89adfc4bee0d1a6585ad8fe4bdc3ffd1181042c SHA512 5e1aa834ee5668ee40fc3af5cda7325da710dd1a0dea7ce535e89e36fd7d321db63d520a9b6ce6372ed941473dff18d1276316567af810c18e1478a04d3f23f8
26 DIST chromium-90.0.4430.212.tar.xz 917430448 BLAKE2B dbea5515a62c3f3a12596da6d77cad106d377ddda8956da81b8fe8c0c1e3bfa90ba82bca8c1c4fd95282ee0c00a5f3f5206a05728043eb967395a8cf8bda960d SHA512 7cd300d22725e3457b9e3347fb34d6f5728c91aa178d6960d4243bc80122c446890c2276334a01f9c81a43479339e9e266c3bbb040081a22c521b3c4250850f5
27 DIST chromium-91-patchset-6.tar.xz 4280 BLAKE2B 18887953453133589cfc5df58d24725047235fac3652cc7af7bd117fbc94aa9a2e1b1dd3147f772f84d8fa3e7b5b77159abc1e408d7b24b065bb1f12cebbfb2f SHA512 49b4aaedfbb1fa5629dbb453bb74f5735c05b14407ea3d2bb1eaee9686e03661a3c471357d085ab839dff16df92d71dae3a6f17486c017a79a836c1d8780a250
28 +DIST chromium-91-ppc64le-0.tar.xz 28824 BLAKE2B b5993cd763ea629b6689132513e76bd04bbe5a14f1b5a608fc0d4643d421118335fb57d1982069a548394b071e75e24c3e493f4d8a5f9f11d0fb5f40c43ff574 SHA512 bb4fd9a5ab122b10f08f33955e102e6fc67fda5d4320180e97c2ea64e18e4b993bb27dd525b568cd48ab2d3a3d802c0537047e19dd8773ddb8c0bb095fbfb608
29 DIST chromium-91.0.4472.77.tar.xz 949848268 BLAKE2B 6d32b7334399325046f4b6c8d2a766b2f42ff7cc74adf68da880113ebede13dbbeb52c2f7ffcdea8c8934ec16f2161300a0b727cec112463def5eb6e772fafec SHA512 06113c3627c1ccd390f078a52e0eaaf9c1d7178d568d6d2e37c96e1eb09fc0e872ac2b2d7ebe55e4da87eebee4965816bbba2f6ea53047f86cd5d0ad1d260a25
30 DIST chromium-92-patchset-6.tar.xz 3764 BLAKE2B a7149940b1371e4bd295e6038b87cc13f4edf8d8ed286d9d8d0e63144c2546de39564fc203a4b2e185267e46398efd0414c1f695ee31c78d33a6cd8d7b434016 SHA512 2f104901271d42762ea27f7c8a017307bde7348ec6b84d0c85875a07bf3783ba43bdb886fb3c6376753b6a14102b495a28bdc7adc611992440d2c1345aea035b
31 DIST chromium-92.0.4515.20.tar.xz 962353324 BLAKE2B 3b56948a34c5938649af3dbc0d9036ed1a0b8f067cb1b2fcee6d0ccc55a503efb373f26eedabc1c2a6e789a16eb0e83055c85ab1bb55f4d9f8dafe267a894ae5 SHA512 46cfbffa58ca049a336311940c81292354ccf4fc6032ce0ecb6822b6ecfe3b3d17fa2092ef688f11b82eface85c2084e046264ca847e7d110a4980c1c2b132f3
32
33 diff --git a/www-client/chromium/chromium-91.0.4472.77.ebuild b/www-client/chromium/chromium-91.0.4472.77.ebuild
34 index 9b739234107..2b6dd7b1b6e 100644
35 --- a/www-client/chromium/chromium-91.0.4472.77.ebuild
36 +++ b/www-client/chromium/chromium-91.0.4472.77.ebuild
37 @@ -15,14 +15,16 @@ DESCRIPTION="Open-source version of Google Chrome web browser"
38 HOMEPAGE="https://chromium.org/"
39 PATCHSET="6"
40 PATCHSET_NAME="chromium-$(ver_cut 1)-patchset-${PATCHSET}"
41 +PPC64LE_PATCHSET="5"
42 SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz
43 https://files.pythonhosted.org/packages/ed/7b/bbf89ca71e722b7f9464ebffe4b5ee20a9e5c9a555a56e2d3914bb9119a6/setuptools-44.1.0.zip
44 https://github.com/stha09/chromium-patches/releases/download/${PATCHSET_NAME}/${PATCHSET_NAME}.tar.xz
45 - arm64? ( https://github.com/google/highway/archive/refs/tags/0.12.1.tar.gz -> highway-0.12.1.tar.gz )"
46 + arm64? ( https://github.com/google/highway/archive/refs/tags/0.12.1.tar.gz -> highway-0.12.1.tar.gz )
47 + ppc64? ( https://dev.gentoo.org/~gyakovlev/distfiles/${PN}-$(ver_cut 1)-ppc64le-${PPC64LE_PATCHSET}.tar.xz )"
48
49 LICENSE="BSD"
50 SLOT="0"
51 -KEYWORDS="~amd64 ~arm64 ~x86"
52 +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
53 IUSE="component-build cups cpu_flags_arm_neon +hangouts headless +js-type-check kerberos official pic +proprietary-codecs pulseaudio screencast selinux +suid +system-ffmpeg +system-icu vaapi wayland widevine"
54 REQUIRED_USE="
55 component-build? ( !suid )
56 @@ -243,6 +245,8 @@ src_prepare() {
57 )
58 fi
59
60 + use ppc64 && eapply -p0 "${WORKDIR}/${PN}"-ppc64le
61 +
62 default
63
64 mkdir -p third_party/node/linux/node-linux-x64/bin || die
65 @@ -741,6 +745,9 @@ src_configure() {
66 append-cxxflags -flax-vector-conversions
67 fi
68
69 + # highway/libjxl fail on ppc64 without extra patches, disable for now.
70 + use ppc64 && myconf_gn+=" enable_jxl_decoder=false"
71 +
72 # Disable unknown warning message from clang.
73 tc-is-clang && append-flags -Wno-unknown-warning-option