commit:     35bc113d1ea65d35c07ed2e0d0c237c0556adc35
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 22 22:45:25 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Nov 23 07:05:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35bc113d

www-client/chromium: keyword 96.0.4664.45 for ~ppc64

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 www-client/chromium/Manifest                     |  1 +
 www-client/chromium/chromium-96.0.4664.45.ebuild | 11 +++++++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
index 25a784ab1d5e..db139b55a9ca 100644
--- a/www-client/chromium/Manifest
+++ b/www-client/chromium/Manifest
@@ -1,6 +1,7 @@
 DIST chromium-95-patchset-4.tar.xz 4308 BLAKE2B 
e91cb78d2357af8c0dfc66e4d148c5e6ef20cf9a811bcebf411e07cc5af73f30760d889842923afb2945e57b0f67330deac3f9068b6ce7c487482a6434e5c672
 SHA512 
152657e13afab3caca6a9ff6c0b51203f5bc8b0a4075a4396794d7a85caddce1b26f989c7dede5fa9a54316334099d21889e6767885fbf974260a6e9bd90df9d
 DIST chromium-95.0.4638.69.tar.xz 1213470900 BLAKE2B 
31619448fd42bce74dac4fb3b7e04c59a2eb05461358e4fa59ab7122b07cd2dc6632a1a8c92a9bacd93c78c37a9e7fadfa7b9ded6371697177c419ce4e6665a5
 SHA512 
e8845a3add5f784342c51c530ed4fbf144f8ab16701d9dd6a2eedbd255167f39c26cf400d22f246ef5ad4afbb6a6133e17d767711587dd4bae18e3b5a997f95e
 DIST chromium-96-patchset-4.tar.xz 4812 BLAKE2B 
5d82d212b8ec1689be6f4a7a0646256311d06c17e74ee0e5b2035c32125a5235e4b6b7605cefffa367cc53e651be17b75f5e339149b4c80dca50cd959b1623f1
 SHA512 
a72c1bb2c58e9e2912a641093c153f01ad7239dc971c7c96481ba4164204afe41741f3253e8af03070dab8276179784dc6a11761b39ad7902ed2553016778282
+DIST chromium-96-ppc64le-1.tar.xz 29224 BLAKE2B 
3369a3b15eb4f42761e01758135995a1f34e40cecbfc0372a4bc17b393d50b276ea5a0813d1c57f73f0dd34cf2a021356d25c2b4dcaa95998ffc082545dc915c
 SHA512 
256d64fbf192e55d77c6580d36766a67dadfbd0f1e34e49bfc6d55114da7f2252d783db0dd09123996a71a01ec4a3d5c70fd1a5c8852db135857b8495f7cfbf1
 DIST chromium-96.0.4664.45.tar.xz 1221965612 BLAKE2B 
e990a2c3f0ae6d8bc4b6dddbecea2c640bb6491d9b321a301c1f168a35ad37553a23b8290a28dc05d50be005d3ad57fa69af2d3574266b9c83dcd24e65116c35
 SHA512 
0b1ccaf95697c14cb080dcb22e8584817ddcd98e704d081bc4f35a22dcfc8cca82dcabc4b82ad89ed0cd64752d226f389941bfab33b615e3948e2f778b9d9028
 DIST chromium-97-patchset-4.tar.xz 4240 BLAKE2B 
450d013b6fd68f7e0bcb21a2b0828d531eda86965e636fe24fc36c2e7e1f74fe93f27f0d4b1d03e67c605797e28db37de4949ff78d5106e07b0362bec4bc5d8a
 SHA512 
181c706c83bdbe07b2e7f02b654922a860aea761ad267e6545fb7d56b66373b003c1c79fae5cd45eeb3be8917782fa45df1c05bbb00e170f0146e7385f4246c4
 DIST chromium-97.0.4692.20.tar.xz 1225705204 BLAKE2B 
fd972611d2f6fdd385a7b33dd6ecb73a09804c6f94c8f4b8663efac1aada87df778c1f6172594e3b8cd9fcce404f0b32ff80998cb996a18428efb04e8ed179db
 SHA512 
3cd83efb93c88052e1f4b80342247536ec999bb2fffa3fd0394ef21d805de734b9582be4b82f65de1cfd8acc53c5118e7e9a2719a1279f6d1a22aefcf22bd9d7

diff --git a/www-client/chromium/chromium-96.0.4664.45.ebuild 
b/www-client/chromium/chromium-96.0.4664.45.ebuild
index ca9b434df070..58d5dc464121 100644
--- a/www-client/chromium/chromium-96.0.4664.45.ebuild
+++ b/www-client/chromium/chromium-96.0.4664.45.ebuild
@@ -15,12 +15,14 @@ DESCRIPTION="Open-source version of Google Chrome web 
browser"
 HOMEPAGE="https://chromium.org/";
 PATCHSET="4"
 PATCHSET_NAME="chromium-$(ver_cut 1)-patchset-${PATCHSET}"
+PPC64LE_PATCHSET="1"
 
SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz
-       
https://github.com/stha09/chromium-patches/releases/download/${PATCHSET_NAME}/${PATCHSET_NAME}.tar.xz";
+       
https://github.com/stha09/chromium-patches/releases/download/${PATCHSET_NAME}/${PATCHSET_NAME}.tar.xz
+       ppc64? ( https://dev.gentoo.org/~gyakovlev/distfiles/${PN}-$(ver_cut 
1)-ppc64le-${PPC64LE_PATCHSET}.tar.xz )"
 
 LICENSE="BSD"
 SLOT="0/stable"
-KEYWORDS="~amd64 arm64 ~x86"
+KEYWORDS="~amd64 arm64 ~ppc64 ~x86"
 IUSE="component-build cups cpu_flags_arm_neon debug +hangouts headless 
+js-type-check kerberos +official pic +proprietary-codecs pulseaudio screencast 
selinux +suid +system-ffmpeg +system-harfbuzz +system-icu vaapi wayland 
widevine"
 REQUIRED_USE="
        component-build? ( !suid )
@@ -239,6 +241,8 @@ src_prepare() {
                "${FILESDIR}/chromium-shim_headers.patch"
        )
 
+       use ppc64 && PATCHES+=( "${WORKDIR}/${PN}-ppc64le" )
+
        default
 
        mkdir -p third_party/node/linux/node-linux-x64/bin || die
@@ -746,6 +750,9 @@ src_configure() {
        # Chromium relies on this, but was disabled in >=clang-10, 
crbug.com/1042470
        append-cxxflags $(test-flags-CXX -flax-vector-conversions=all)
 
+       # highway/libjxl fail on ppc64 without extra patches, disable for now.
+       use ppc64 && myconf_gn+=" enable_jxl_decoder=false"
+
        # Disable unknown warning message from clang.
        tc-is-clang && append-flags -Wno-unknown-warning-option
 

Reply via email to