commit:     82bdba47b6ec0a4ac83ef37e64023c4f0580f108
Author:     Stephan Hartmann <sultan <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  6 16:59:03 2022 +0000
Commit:     Stephan Hartmann <sultan <AT> gentoo <DOT> org>
CommitDate: Thu Oct  6 16:59:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82bdba47

www-client/chromium-bin: add 106.0.5249.103

Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>

 www-client/chromium-bin/Manifest                   |  11 +
 .../chromium-bin-106.0.5249.103.ebuild             | 242 +++++++++++++++++++++
 2 files changed, 253 insertions(+)

diff --git a/www-client/chromium-bin/Manifest b/www-client/chromium-bin/Manifest
index 748e020bb9d0..947eaa18049a 100644
--- a/www-client/chromium-bin/Manifest
+++ b/www-client/chromium-bin/Manifest
@@ -1,3 +1,14 @@
+DIST chromium-bin-106.0.5249.103-1-common-aarch64.tar.xz 3204844 BLAKE2B 
5b19b7d99c0f0970e1c8274c4d5caa066d0621a1e16fad6cbc7622d189c52207f386055375b6a3301bc2441b7577212b90f0ddca9d0dc5332ab8fa41e7279d3e
 SHA512 
06b91e1472535e5881a20123b7e59fb3f05a704b4f764d8c41a1a44b4447d24f265f3f3e7aac91ed37a6d3f7454c0130ef3e098fe86d6b11f0bd9a4691943a73
+DIST chromium-bin-106.0.5249.103-1-common-i686.tar.xz 3217616 BLAKE2B 
9c1223e7ef22046dd490ee3db556437bf28e8ebb22de517a3faa5b37ee61d53aff914f6bcf6792ec35cff48774a76c5145d05889e3b90f4f43ea5d58e943a206
 SHA512 
7610475e185b7c98588df8a908c63a404980104d708b873123cf695c62130a1d036ddfe22d3d8deff538d5ea289328257019f876f3fca68b95a35e8b02b84b79
+DIST chromium-bin-106.0.5249.103-1-common-x86_64.tar.xz 3270032 BLAKE2B 
f9f2308eb9c05472093c5b0c53befbb0801d6391c7b5f44aad5e4b91deaacff0b9723b37d221a1e945d12b678d2bba24839e24acd3b6b3ba3079ed9ddfbd6206
 SHA512 
525653283674dd9a605540f7f946e9802290167b5db90f3d7102e03298558bb445aa5e60dade7285342387a0f48b4d503ef12fd117b307c160a8706c9bb517c0
+DIST chromium-bin-106.0.5249.103-1-common.tar.xz 4467896 BLAKE2B 
e45a541dfabec6a60f72f51c6ae6cb069a233762b32e3bc12b1f615de4dd074a93ab952dc7ad05945e21272e4adca90ef7a6f81eaba9d58a7346cb9170348aaa
 SHA512 
85941d889961423d84be7dd40a935442b14f0c5d8f53c4b947673e5ff3c4ae7efdfdf1525497f0911d2c8e76ce0dba072d2c8f56dbb6d1cc07e1952a93dca9b2
+DIST chromium-bin-106.0.5249.103-1-l10n.tar.xz 5152160 BLAKE2B 
a3085f156b99e6bb259c2d62466617d503b8df5a5dbcd5e0b8748c2426bbe6422fea7cb223c66fc1e28a4d0a191aeb3f51e1fd82668794b34b8fc2a170e4c13b
 SHA512 
167f7ab09a46c0c6694f89657e3aecc722ab7aa04f1dc5d5e676c1938297000573585eb3c8fc58e10cf7dc317553af3b0372bf1e5ec4a30734e81dcf146e22ed
+DIST chromium-bin-106.0.5249.103-1-wayland-aarch64.tar.xz 83405524 BLAKE2B 
62a29f22c249664aeea375e336bc51946b072a6626df17475e6fb515fb0666f852cd4c0fa86949bd6a8887bb68e38f38e3900572adbaa2584730ebbb489232ea
 SHA512 
911ea9aaa3830c3a12a1d499a4cfaf92cd24f3cc619ec1faef97a55914aec75434ebb7289a6efc841599944693aeceb782384dad25973b91c4d591eba264fc75
+DIST chromium-bin-106.0.5249.103-1-wayland-i686.tar.xz 85526300 BLAKE2B 
5878cb79d8e70bdabf92cbda50059370391a1bf6b5f0fbf5b1adf001361d4fce97b64ebbb41774ecdd8e2498028e897d4d64a3ace1593af4884ecb319745cc28
 SHA512 
669912b7ecdd18de76962ba0c9901cd8c6adf92f94c11deb2a9614a9f6138a54e2674b6958e1fd4baee440a748b62c4e995468fcfe5d6ac6d97ea9ffa314276e
+DIST chromium-bin-106.0.5249.103-1-wayland-x86_64.tar.xz 85276328 BLAKE2B 
393ca8f14cefc7ea50821bb8a98ce4ad9a71b2f839cb39dcbd43a4d81217f5a964c304737a59e3b3d90f40ca24edbbf3a469156e4f3058bee2f81bbf6c160344
 SHA512 
74448692352c6647b641ec301895726940ca5cc4964c1336ba439e1f79d745af0e25e75459b072aeeedab5c167eda40c2ef53c8e58a9cfcd66f69ccaeb0bc120
+DIST chromium-bin-106.0.5249.103-1-x11-aarch64.tar.xz 83236004 BLAKE2B 
72997175e32b8e101af3d9c682ecd8f3c07f49aba2770339b72bacc85a6f91a04ccdca2d415833e7c32b91f5fdf83eab98070e8d5ad88687d8bb0f2343f69971
 SHA512 
7fc2d20394f80767c65ff31f6c50e0ee970b2354e34f96e5884de94b85da510f5ba166bc3ef50b3e26b73920cce3593bfff9bd99ec4acdbfa8326be4a30377c5
+DIST chromium-bin-106.0.5249.103-1-x11-i686.tar.xz 85294364 BLAKE2B 
7117fc44323ffa1bb65f6ba03c1e0d04f929af8efaeafbf6b6b7b2583fc8bc65c3a1a592783a5a820e525ba2b71ef6838fe7366c21b2a74875a3554d5dbd2f5c
 SHA512 
dd92a82851fdb45cdb4c1d522b7a5dbb6a0289d7648507e1fe698c7ece14eb1aba3584da7e7142156d018788c935fed3d200e8e09d531790cd59d43543e7b367
+DIST chromium-bin-106.0.5249.103-1-x11-x86_64.tar.xz 85045040 BLAKE2B 
0f1173812f7a28903e348a5c066c27240fb436f6f5205b4386b564d7923e08c929b996e44b8711e92bd880174f5fd86e7f003e182d5862631022b83a02264fda
 SHA512 
9a806a6f90fffffbd6a4efb91b2583c7cddd7e60e82084e8eec64d406b567c2e30f51b6e7e5022fd922e77ff73cf5d5ac23a1a4ad2c93eedad1d500317ae20ce
 DIST chromium-bin-106.0.5249.91-1-common-aarch64.tar.xz 3204844 BLAKE2B 
5b19b7d99c0f0970e1c8274c4d5caa066d0621a1e16fad6cbc7622d189c52207f386055375b6a3301bc2441b7577212b90f0ddca9d0dc5332ab8fa41e7279d3e
 SHA512 
06b91e1472535e5881a20123b7e59fb3f05a704b4f764d8c41a1a44b4447d24f265f3f3e7aac91ed37a6d3f7454c0130ef3e098fe86d6b11f0bd9a4691943a73
 DIST chromium-bin-106.0.5249.91-1-common-i686.tar.xz 3217616 BLAKE2B 
9c1223e7ef22046dd490ee3db556437bf28e8ebb22de517a3faa5b37ee61d53aff914f6bcf6792ec35cff48774a76c5145d05889e3b90f4f43ea5d58e943a206
 SHA512 
7610475e185b7c98588df8a908c63a404980104d708b873123cf695c62130a1d036ddfe22d3d8deff538d5ea289328257019f876f3fca68b95a35e8b02b84b79
 DIST chromium-bin-106.0.5249.91-1-common-x86_64.tar.xz 3270032 BLAKE2B 
f9f2308eb9c05472093c5b0c53befbb0801d6391c7b5f44aad5e4b91deaacff0b9723b37d221a1e945d12b678d2bba24839e24acd3b6b3ba3079ed9ddfbd6206
 SHA512 
525653283674dd9a605540f7f946e9802290167b5db90f3d7102e03298558bb445aa5e60dade7285342387a0f48b4d503ef12fd117b307c160a8706c9bb517c0

diff --git a/www-client/chromium-bin/chromium-bin-106.0.5249.103.ebuild 
b/www-client/chromium-bin/chromium-bin-106.0.5249.103.ebuild
new file mode 100644
index 000000000000..203c80c2cde1
--- /dev/null
+++ b/www-client/chromium-bin/chromium-bin-106.0.5249.103.ebuild
@@ -0,0 +1,242 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_LANGS="af am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr 
gu he
+       hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl 
sr
+       sv sw ta te th tr uk ur vi zh-CN zh-TW"
+
+inherit chromium-2 desktop pax-utils readme.gentoo-r1 unpacker xdg-utils
+
+DESCRIPTION="Open-source version of Google Chrome web browser"
+HOMEPAGE="https://chromium.org/";
+
+MY_P=${P}-1
+
+SRC_URI="https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-common.tar.xz
+       
https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-l10n.tar.xz
+       amd64? (
+               
https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-common-x86_64.tar.xz
+               wayland? ( 
https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland-x86_64.tar.xz
 )
+               !wayland? ( 
https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-x11-x86_64.tar.xz
 )
+       )
+       arm64? (
+               
https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-common-aarch64.tar.xz
+               wayland? ( 
https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland-aarch64.tar.xz
 )
+               !wayland? ( 
https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-x11-aarch64.tar.xz
 )
+       )
+       x86? (
+               
https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-common-i686.tar.xz
+               wayland? ( 
https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland-i686.tar.xz
 )
+               !wayland? ( 
https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-x11-i686.tar.xz
 )
+       )"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64 ~x86"
+IUSE="cpu_flags_x86_sse2 +suid wayland widevine"
+
+RDEPEND="
+       || (
+               >=app-accessibility/at-spi2-core-2.46.0:2
+               ( app-accessibility/at-spi2-atk dev-libs/atk )
+       )
+       dev-libs/expat
+       dev-libs/glib:2
+       dev-libs/libxml2[icu]
+       dev-libs/libxslt
+       dev-libs/nspr
+       >=dev-libs/nss-3.26
+       media-libs/alsa-lib
+       || (
+               media-libs/flac:0/0
+               media-libs/flac-compat:8.3.0
+       )
+       media-libs/fontconfig
+       >=media-libs/freetype-2.11.0-r1
+       media-libs/libjpeg-turbo
+       media-libs/libwebp
+       media-libs/mesa[gbm(+)]
+       media-libs/openh264:0/6.1
+       net-misc/curl[ssl]
+       net-print/cups
+       sys-apps/dbus
+       sys-apps/pciutils
+       >=sys-devel/gcc-9.3.0
+       >=sys-libs/glibc-2.32
+       sys-libs/zlib[minizip]
+       virtual/ttf-fonts
+       virtual/udev
+       x11-libs/cairo
+       x11-libs/libdrm
+       x11-libs/gdk-pixbuf:2
+       || (
+               x11-libs/gtk+:3[X,wayland?]
+               gui-libs/gtk:4[X,wayland?]
+       )
+       x11-libs/libX11
+       x11-libs/libXcomposite
+       x11-libs/libXdamage
+       x11-libs/libXext
+       x11-libs/libXfixes
+       x11-libs/libXrandr
+       x11-libs/libXtst
+       x11-libs/libxcb
+       x11-libs/libxkbcommon
+       x11-libs/libxshmfence
+       x11-libs/pango
+       x11-misc/xdg-utils
+       amd64? (
+               widevine? ( www-plugins/chrome-binary-plugins )
+       )
+       wayland? ( dev-libs/wayland )
+"
+
+S=${WORKDIR}
+QA_PREBUILT="*"
+
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="
+Some web pages may require additional fonts to display properly.
+Try installing some of the following packages if some characters
+are not displayed properly:
+- media-fonts/arphicfonts
+- media-fonts/droid
+- media-fonts/ipamonafont
+- media-fonts/noto
+- media-fonts/ja-ipafonts
+- media-fonts/takao-fonts
+- media-fonts/wqy-microhei
+- media-fonts/wqy-zenhei
+
+To fix broken icons on the Downloads page, you should install an icon
+theme that covers the appropriate MIME types, and configure this as your
+GTK+ icon theme.
+
+For native file dialogs in KDE, install kde-apps/kdialog.
+
+To make password storage work with your desktop environment you may
+have install one of the supported credentials management applications:
+- app-crypt/libsecret (GNOME)
+- kde-frameworks/kwallet (KDE)
+If you have one of above packages installed, but don't want to use
+them in Chromium, then add --password-store=basic to CHROMIUM_BIN_FLAGS
+in /etc/chromium-bin/default.
+"
+
+pkg_pretend() {
+       if use amd64 || use x86; then
+               if ! use cpu_flags_x86_sse2; then
+                       eerror "This package requires a CPU supporting the SSE2 
instruction set."
+                       die "SSE2 support missing"
+               fi
+       fi
+}
+
+pkg_setup() {
+       chromium_suid_sandbox_check_kernel_config
+
+       if ! use amd64 && use widevine; then
+               ewarn "Widevine CDM plugin is not available for your 
architecture."
+       fi
+}
+
+src_unpack() {
+       :
+}
+
+src_install() {
+       dodir /
+       cd "${ED}" || die
+       unpacker
+
+       local CHROMIUM_BIN_HOME="opt/chromium-bin"
+
+       if ! use suid; then
+               rm "${CHROMIUM_BIN_HOME}/chrome-sandbox" || die
+       fi
+
+       # Clean unneeded languages
+       pushd "${CHROMIUM_BIN_HOME}/locales" > /dev/null || die
+       chromium_remove_language_paks
+       popd > /dev/null || die
+
+       # Install icons
+       local size
+       for size in 16 24 32 48 64 128 256 ; do
+               newicon -s ${size} 
"${CHROMIUM_BIN_HOME}/icons/hicolor/${size}x${size}/apps/chromium-browser.png" 
${PN}-browser.png
+       done
+       rm -r "${CHROMIUM_BIN_HOME}/icons"
+
+       # Allow users to override command-line options, bug #357629.
+       insinto /etc/chromium-bin
+       newins "${FILESDIR}/chromium-bin.default" "default"
+
+       # Install desktop entry
+       domenu "${FILESDIR}/chromium-bin-browser-chromium.desktop"
+
+       # Install GNOME default application entry (bug #303100).
+       insinto /usr/share/gnome-control-center/default-apps
+       newins "${FILESDIR}/chromium-bin-browser.xml" chromium-bin-browser.xml
+
+       # Install manpage; bug #684550
+       doman "${FILESDIR}/chromium-bin-browser.1"
+       dosym chromium-bin-browser.1 /usr/share/man/man1/chromium-bin.1
+
+       pax-mark m "${CHROMIUM_BIN_HOME}/chrome"
+
+       # Symlink Widevine CDM
+       if use widevine; then
+               dosym "../../usr/$(get_libdir)/chromium-browser/WidevineCdm" 
"${CHROMIUM_BIN_HOME}/WidevineCdm"
+       fi
+
+       # Install launcher
+       exeinto "${CHROMIUM_BIN_HOME}"
+       doexe "${FILESDIR}/chromium-bin-launcher.sh"
+
+       # It is important that we name the target "chromium-bin-browser",
+       # xdg-utils expect it; bug #355517.
+       dosym "../../${CHROMIUM_BIN_HOME}/chromium-bin-launcher.sh" 
/usr/bin/chromium-bin-browser
+       # keep the old symlink around for consistency
+       dosym "../../${CHROMIUM_BIN_HOME}/chromium-bin-launcher.sh" 
/usr/bin/chromium-bin
+
+       dosym "../../${CHROMIUM_BIN_HOME}/chromedriver" 
/usr/bin/chromedriver-bin
+
+       readme.gentoo_create_doc
+}
+
+pkg_postrm() {
+       xdg_icon_cache_update
+       xdg_desktop_database_update
+}
+
+pkg_postinst() {
+       xdg_icon_cache_update
+       xdg_desktop_database_update
+       readme.gentoo_print_elog
+
+       elog "For VA-API support you need to install x11-libs/libva with"
+       elog "USE=X enabled."
+       elog
+       elog "VA-API is disabled by default at runtime. You have to enable it"
+       elog "by adding --enable-features=VaapiVideoDecoder to 
CHROMIUM_BIN_FLAGS"
+       elog "in /etc/chromium-bin/default."
+
+       if use wayland; then
+               elog
+               elog "For screencast support you need to install 
media-video/pipewire."
+               elog
+               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-features=WebRTCPipeWireCapturer"
+               elog "to CHROMIUM_BIN_FLAGS in /etc/chromium-bin/default."
+       fi
+
+       elog
+       elog "chromium-bin profile defaults to \${HOME}/.config/chromium-bin."
+       elog "Some extensions (e.g. KeepassXC) expect default chromium profile"
+       elog "at \${HOME}/.config/chromium. You can overwrite this by adding"
+       elog "--user-data-dir=\${HOME}/.config/chromium to CHROMIUM_BIN_FLAGS"
+       elog "in /etc/chromium-bin/default."
+}

Reply via email to