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: Wed, 16 Jun 2021 01:34:27
Message-Id: 1623807234.9c60f686d350f72a1ed9b000adb8161227de21fa.gyakovlev@gentoo
1 commit: 9c60f686d350f72a1ed9b000adb8161227de21fa
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 16 01:16:34 2021 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 16 01:33:54 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c60f686
7
8 www-client/chromium: add ppc64le support to 92.0.4515.51
9
10 but no ~ppc64 keyword.
11 Chromium is always unstable-keyworded on ppc64, we don't want
12 users to get ver 92.x and use stable channel by default.
13 users are welcome to accept-keywords 92.x branch for testing.
14
15 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
16
17 www-client/chromium/chromium-92.0.4515.51.ebuild | 9 ++++++++-
18 1 file changed, 8 insertions(+), 1 deletion(-)
19
20 diff --git a/www-client/chromium/chromium-92.0.4515.51.ebuild b/www-client/chromium/chromium-92.0.4515.51.ebuild
21 index 744bf4df8d5..338eee1281c 100644
22 --- a/www-client/chromium/chromium-92.0.4515.51.ebuild
23 +++ b/www-client/chromium/chromium-92.0.4515.51.ebuild
24 @@ -15,10 +15,12 @@ DESCRIPTION="Open-source version of Google Chrome web browser"
25 HOMEPAGE="https://chromium.org/"
26 PATCHSET="6"
27 PATCHSET_NAME="chromium-$(ver_cut 1)-patchset-${PATCHSET}"
28 +PPC64LE_PATCHSET="91-ppc64le-6"
29 SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz
30 https://files.pythonhosted.org/packages/ed/7b/bbf89ca71e722b7f9464ebffe4b5ee20a9e5c9a555a56e2d3914bb9119a6/setuptools-44.1.0.zip
31 https://github.com/stha09/chromium-patches/releases/download/${PATCHSET_NAME}/${PATCHSET_NAME}.tar.xz
32 - arm64? ( https://github.com/google/highway/archive/refs/tags/0.12.1.tar.gz -> highway-0.12.1.tar.gz )"
33 + arm64? ( https://github.com/google/highway/archive/refs/tags/0.12.1.tar.gz -> highway-0.12.1.tar.gz )
34 + ppc64? ( https://dev.gentoo.org/~gyakovlev/distfiles/${PN}-${PPC64LE_PATCHSET}.tar.xz )"
35
36 LICENSE="BSD"
37 SLOT="0"
38 @@ -243,6 +245,8 @@ src_prepare() {
39 )
40 fi
41
42 + use ppc64 && eapply -p0 "${WORKDIR}/${PN}"-ppc64le
43 +
44 default
45
46 mkdir -p third_party/node/linux/node-linux-x64/bin || die
47 @@ -749,6 +753,9 @@ src_configure() {
48 append-cxxflags -flax-vector-conversions
49 fi
50
51 + # highway/libjxl fail on ppc64 without extra patches, disable for now.
52 + use ppc64 && myconf_gn+=" enable_jxl_decoder=false"
53 +
54 # Disable unknown warning message from clang.
55 tc-is-clang && append-flags -Wno-unknown-warning-option