commit:     6b20d97cf021dad4c5978b18c899337a63956d12
Author:     Stephan Hartmann <sultan <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 19 09:32:42 2020 +0000
Commit:     Stephan Hartmann <sultan <AT> gentoo <DOT> org>
CommitDate: Sat Dec 19 09:32:49 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b20d97c

www-client/chromium: dev channel bump to 89.0.4356.6

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>

 www-client/chromium/Manifest                             |  4 ++--
 ...um-89.0.4350.4.ebuild => chromium-89.0.4356.6.ebuild} | 16 ++++++++++++----
 www-client/chromium/metadata.xml                         |  1 +
 3 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
index e77b5cb418b..3e8b73b647a 100644
--- a/www-client/chromium/Manifest
+++ b/www-client/chromium/Manifest
@@ -2,6 +2,6 @@ DIST chromium-87-patchset-9.tar.xz 6036 BLAKE2B 
4dd9aa0e88f11a9104cb13e73607c3b4
 DIST chromium-87.0.4280.88.tar.xz 856266548 BLAKE2B 
06a29a6c1e8cf71eb2db6e93a009feb8fd0b7ee676ff2c1dd31d2d72c597e5e84d979dbc64b7cb3f80ee0c51196f60a56157a27b679cab7f779baee61cd1928a
 SHA512 
ac3903b598bd69f4ee3065845eac3c85cb5524715b9ce629c9c2bd017f2ebd168b7ee8111bccc2e6b6cfd12ad07add834cb2cd3bf0e27a8a5076bb7842fca897
 DIST chromium-88-patchset-3.tar.xz 8396 BLAKE2B 
4c978f1a6efef3f71e3dd6340c392b74bc6a734b49a9ca43343d03903159dafc66159939f9a6c4b55665ddbe7bd97a26d8d86c285ec02cf76cad5f5cc7410570
 SHA512 
c39afa26f5b0b9930f6f67ce0c42eefd74c09d528b26bc0db57129b150f75ff83c8b1cb97bd9c5d75f288fb4767cc68c9c5ce89231b4a59f8ca02493e4dd281a
 DIST chromium-88.0.4324.50.tar.xz 857151388 BLAKE2B 
0e6cb0ae6f73e7313b57bbf3cca5f18e8a1c06d9dd103a6fa8283401196ccdfcfdd194049cab3477537e4a926290a778699e11a62d55d772814046c3e9390c61
 SHA512 
18ffa3f42d77b3097d095dbf28581a7ab32f05ed64f6d3fdd1c6efb2a48bf02ea0c6dce2c0a715dc6a100152737fdb7d56b0ec9f3b0e417ae7c33fd259f1ffa9
-DIST chromium-89-patchset-2.tar.xz 7016 BLAKE2B 
6512f6d35420a7df1d897b1ca4b157511436a6cb918a433a147cd6e405bd98c112849c65587b3f99b3ce824cdb2d24ade424e2cab898bf9006c141ff6aa72ff1
 SHA512 
7c6aff43f8f4b36a43012a352d61c4f77ad5eb64ac02b9a2561cf7ec18bacd64e94af94a970b9ba93b416da13a8dee3923634dc48981785c1e0ea9d48427270b
-DIST chromium-89.0.4350.4.tar.xz 884498160 BLAKE2B 
7e34647c9df6e8c00c9202329bc861a2b9d036eb74975f21d65c9daab8d25c792bbaa71a2e293a30831598ea035765a0ff87b1a87de73537ebd570d0b4528cd5
 SHA512 
e6db4cd4bebb438c5c32e140e4afed5a6b8ab99e832c83d7f1a37c9014649bd5a6483223c6d0e3414355fa9af98abccb570bfcd05a1f67e4b77fa2cc67aa12e3
+DIST chromium-89-patchset-3.tar.xz 5276 BLAKE2B 
c5001450e876c4be85d1ecfa9219c9d5d59d95d7c7a783470357e4a34fb60a72c20a138d652e3d587fd893e230d8e729ad5887915f1d39fdc940e726cb965341
 SHA512 
5157265a5d712bbf5a456cc5e0b798ee358d03f571dc91e2bff4b53eab71aae013d40a0140c1adf5aea9d791bbd543883cd5a133a2d3eb971baababb0acd54b7
+DIST chromium-89.0.4356.6.tar.xz 885537076 BLAKE2B 
75c8f977b62bb73f5b0c8223561d1bd868270f3fdb01ca86a7e9355d442352fa17d7c7db3d67a20f273b8caeda06a03ce57b1f04017d73d6d4bc195356e39d1b
 SHA512 
f83ce11fd9957a794c6dfdd5e128016f55140936af94daf1b7f09156b04b28d77f924bd9c9f92e062c75aae14d11508cb532deda23732acfa85d987de28cbad3
 DIST setuptools-44.1.0.zip 858569 BLAKE2B 
f59f154e121502a731e51294ccd293d60ffccadacf51e23b53bf7ceba38858948b86783238061136c827ac3373ea7ea8e6253d4bb53f3f1dd69284568ec65a68
 SHA512 
4dfb0f42d334b835758e865a26ecd1e725711fa2b9c38ddc273b8b3849fba04527bc97436d11ba1e98f1a42922aa0f0b9032e32998273c705fac6e10735eacbf

diff --git a/www-client/chromium/chromium-89.0.4350.4.ebuild 
b/www-client/chromium/chromium-89.0.4356.6.ebuild
similarity index 97%
rename from www-client/chromium/chromium-89.0.4350.4.ebuild
rename to www-client/chromium/chromium-89.0.4356.6.ebuild
index ad25c876622..9a4725ffc82 100644
--- a/www-client/chromium/chromium-89.0.4350.4.ebuild
+++ b/www-client/chromium/chromium-89.0.4356.6.ebuild
@@ -13,7 +13,7 @@ inherit check-reqs chromium-2 desktop flag-o-matic multilib 
ninja-utils pax-util
 
 DESCRIPTION="Open-source version of Google Chrome web browser"
 HOMEPAGE="https://chromium.org/";
-PATCHSET="2"
+PATCHSET="3"
 PATCHSET_NAME="chromium-$(ver_cut 1)-patchset-${PATCHSET}"
 
SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz
        
https://files.pythonhosted.org/packages/ed/7b/bbf89ca71e722b7f9464ebffe4b5ee20a9e5c9a555a56e2d3914bb9119a6/setuptools-44.1.0.zip
@@ -22,9 +22,10 @@ 
SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="component-build cups cpu_flags_arm_neon +hangouts headless 
+js-type-check kerberos official pic +proprietary-codecs pulseaudio selinux 
+suid +system-ffmpeg +system-icu +tcmalloc vaapi wayland widevine"
+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 +tcmalloc vaapi wayland widevine"
 REQUIRED_USE="
        component-build? ( !suid )
+       screencast? ( wayland )
 "
 
 COMMON_X_DEPEND="
@@ -86,6 +87,7 @@ COMMON_DEPEND="
                wayland? (
                        dev-libs/wayland:=
                        dev-libs/libffi:=
+                       screencast? ( media-video/pipewire:0/0.3 )
                        x11-libs/gtk+:3[wayland,X]
                        x11-libs/libdrm:=
                        x11-libs/libxkbcommon:=
@@ -598,6 +600,7 @@ src_configure() {
        myconf_gn+=" use_kerberos=$(usex kerberos true false)"
        myconf_gn+=" use_pulseaudio=$(usex pulseaudio true false)"
        myconf_gn+=" use_vaapi=$(usex vaapi true false)"
+       myconf_gn+=" rtc_use_pipewire=$(usex screencast true false) 
rtc_pipewire_version=\"0.3\""
 
        # TODO: link_pulseaudio=true for GN.
 
@@ -741,8 +744,7 @@ src_configure() {
                        tools/generate_shim_headers/generate_shim_headers.py || 
die
                # Disable CFI: unsupported for GCC, requires clang+lto+lld
                myconf_gn+=" is_cfi=false"
-               # Disable PGO, because profile data is missing in tarball
-               # 
(https://groups.google.com/a/chromium.org/g/chromium-packagers/c/2ID9c4j6UkY)
+               # Disable PGO, because profile data is only compatible with 
>=clang-11
                myconf_gn+=" chrome_pgo_phase=0"
        fi
 
@@ -896,4 +898,10 @@ pkg_postinst() {
                elog "inside Chromium or add --enable-accelerated-video-decode"
                elog "to CHROMIUM_FLAGS in /etc/chromium/default."
        fi
+       if use screencast; then
+               elog "Screencast is disabled by default at runtime. Either 
enable it"
+               elog "by navigating to 
chrome://flags/#enable-webrtc-pipewire-capturer"
+               elog "inside Chromium or add --enable-webrtc-pipewire-capturer"
+               elog "to CHROMIUM_FLAGS in /etc/chromium/default."
+       fi
 }

diff --git a/www-client/chromium/metadata.xml b/www-client/chromium/metadata.xml
index 4f72ec48b4c..ede03e58287 100644
--- a/www-client/chromium/metadata.xml
+++ b/www-client/chromium/metadata.xml
@@ -13,6 +13,7 @@
                <flag name="official">Enable Official build instead of 
Developer build.</flag>
                <flag name="pic">Disable optimized assembly code that is not 
PIC friendly</flag>
                <flag name="proprietary-codecs">Enable codecs for 
patent-encumbered audio and video formats.</flag>
+               <flag name="screencast">Enable support for remote desktop and 
screen cast using <pkg>media-video/pipewire</pkg></flag>
                <flag name="suid">Build the SUID sandbox, which is only needed 
on CONFIG_USER_NS=n kernels</flag>
                <flag name="system-ffmpeg">Use system ffmpeg instead of the 
bundled one</flag>
                <flag name="system-icu">Use system icu instead of the bundled 
one</flag>

Reply via email to