commit:     79cca7c87df3d631065ec98fa9961610020a3d2f
Author:     Stephan Hartmann <sultan <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  1 08:08:35 2022 +0000
Commit:     Stephan Hartmann <sultan <AT> gentoo <DOT> org>
CommitDate: Sat Oct  1 08:08:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79cca7c8

www-client/chromium-bin: add 106.0.5249.91

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

 www-client/chromium-bin/Manifest                   |  11 +
 .../chromium-bin/chromium-bin-106.0.5249.91.ebuild | 241 +++++++++++++++++++++
 2 files changed, 252 insertions(+)

diff --git a/www-client/chromium-bin/Manifest b/www-client/chromium-bin/Manifest
index df8c7afa7732..e10ea5da5044 100644
--- a/www-client/chromium-bin/Manifest
+++ b/www-client/chromium-bin/Manifest
@@ -9,3 +9,14 @@ DIST chromium-bin-106.0.5249.61-1-wayland-x86_64.tar.xz 
85306772 BLAKE2B 6a79ad3
 DIST chromium-bin-106.0.5249.61-1-x11-aarch64.tar.xz 83195888 BLAKE2B 
b24605f987fa1f0aee8d7857237a8810cbf382ffd12652517373b08fed81f245bf9399065ddbe4175ee4ba29a38ce4a4b9c2683771b99530594c71e28561e46f
 SHA512 
1d43249499287207a256b605fa0ca04ca6ec3274c3ff6e44c3c5acd95191f2e69cba8a4be2913ad80b7f482e69d01641d93a98835195183653db859a70aa1479
 DIST chromium-bin-106.0.5249.61-1-x11-i686.tar.xz 85299124 BLAKE2B 
31683561e0d40d6a039755e62fd73e0fa1b8ec85c8343963517359db26802f024890c3a0003a8b0defabd196fd4f9002501e5266804e72a9c1e24f77880e782a
 SHA512 
beede9c2bcb49e3c7a2e05d5f89ea3f5d27c90f9b34f1f5145172662f12be1cbbbe0d1d15b41e2f4126be180d2345c7ea53cf7063ad52432923ca68d68f84a06
 DIST chromium-bin-106.0.5249.61-1-x11-x86_64.tar.xz 85046604 BLAKE2B 
6e7e9ef9d48ce57c12759449246ffa9ed69645a5df2de217e1e0797f966903e38d9d9868892341a71193cd04be3caa24d13d4c2188384e714d2afc30f4523d61
 SHA512 
212f11fe6b96fb6385313aff7c6a15d4346637a2def7bd17d4e91fa615658691da4159d2c88675494ef0c87c066dc6f82cbc0291b3191853c2699a9d20d55ee0
+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
+DIST chromium-bin-106.0.5249.91-1-common.tar.xz 4467896 BLAKE2B 
e45a541dfabec6a60f72f51c6ae6cb069a233762b32e3bc12b1f615de4dd074a93ab952dc7ad05945e21272e4adca90ef7a6f81eaba9d58a7346cb9170348aaa
 SHA512 
85941d889961423d84be7dd40a935442b14f0c5d8f53c4b947673e5ff3c4ae7efdfdf1525497f0911d2c8e76ce0dba072d2c8f56dbb6d1cc07e1952a93dca9b2
+DIST chromium-bin-106.0.5249.91-1-l10n.tar.xz 5152160 BLAKE2B 
a3085f156b99e6bb259c2d62466617d503b8df5a5dbcd5e0b8748c2426bbe6422fea7cb223c66fc1e28a4d0a191aeb3f51e1fd82668794b34b8fc2a170e4c13b
 SHA512 
167f7ab09a46c0c6694f89657e3aecc722ab7aa04f1dc5d5e676c1938297000573585eb3c8fc58e10cf7dc317553af3b0372bf1e5ec4a30734e81dcf146e22ed
+DIST chromium-bin-106.0.5249.91-1-wayland-aarch64.tar.xz 83409216 BLAKE2B 
9af658b0ea6223162ba29785516cfe5edac8acaacd6e74023d20ba0201cb1ee7308a2ae8dfd763981c792eb6ff8109c80beb4a943568ededa8b49b386d17588a
 SHA512 
8ddea0736327d04c08d9db49cbfe69f35ad1af495ed89ffc47ca71abb978f5ba9fa288cf7618238de6ea9b049803ff4ec55b4e1f67b7e2aafc078d37e8e792c7
+DIST chromium-bin-106.0.5249.91-1-wayland-i686.tar.xz 85531812 BLAKE2B 
e8fba6fc28e643944e4105813c790c5a5bc25781c71214043e7a34c5b472ec4a0cbe714969d79079584fbeea64a8f39241883892fc5ec6cca5741efd940c815c
 SHA512 
5d65287e1f1ab65d665369a0550d0bea728c51001cd1179dc0a0055108fcdf8c44391ed10703abf92af957600b6763468cd3cad839433b2269f94c7e5ffa6766
+DIST chromium-bin-106.0.5249.91-1-wayland-x86_64.tar.xz 85267608 BLAKE2B 
05542170ce303d5e26205dab3a520fcfb4c92b52bcfd22cb308891da4095e95c60a039745ef72202faa036b7f65afed8d1024f09be5408980db03c269e826562
 SHA512 
9cd8fb389e58a13090d017bcaac86c7c92bcbe8f3a60e8ea30a7d66ccb766822cdf1f415f7399fbda7cd4640911d633a95486db91864ec6fa5687b1c00907a4d
+DIST chromium-bin-106.0.5249.91-1-x11-aarch64.tar.xz 83198224 BLAKE2B 
6f78aae07ce419d183665aa41d71f199057e4312c821db4527d1fc6b6955d1f7c084f75b3a8538ac95761e89ddbed36e346251d0bd20f5172ee8f0d98ef46112
 SHA512 
0ddee396ba3dcddfe902ffa6f09783cbf63e6e0c376dcef450fab7f19806ae7706a6aeff68147674b62d3f675b5841cb737b43d189a0a7da4355146054910fc4
+DIST chromium-bin-106.0.5249.91-1-x11-i686.tar.xz 85301484 BLAKE2B 
0bd2e16fee99a53fe557f0db613553b6633256a1248e9a2220bb588698ec0788f04beb0145859b87f48eacad49c6814356e16411c8562f75d30b7f86dd7c3524
 SHA512 
02f7e5dc526a6475555aa1595fa46c0fbb1707a8c80a955b6c649e400866983c7d5d12a1ee1acc8d3429b3d97fc64ba46bb79d90e374a450195d8e9ead8d46e2
+DIST chromium-bin-106.0.5249.91-1-x11-x86_64.tar.xz 85049860 BLAKE2B 
77049c9939bef3797d0a93106e665a02bb5a433e792166f9c275fa0e3a6b7232c008318db3b80a38b42df02e6c4fc7b664d5aaf3674b9db80ce267307c0a9817
 SHA512 
f94df9f12306b23d2c14bdb6663b384a40af7b14d6dc9d51b5d835dd6d4b263a765038fba9c96803ab6cb7c31cc2b7e5bf0ee7538294442df1592bd33c36c7d6

diff --git a/www-client/chromium-bin/chromium-bin-106.0.5249.91.ebuild 
b/www-client/chromium-bin/chromium-bin-106.0.5249.91.ebuild
new file mode 100644
index 000000000000..9488132711a2
--- /dev/null
+++ b/www-client/chromium-bin/chromium-bin-106.0.5249.91.ebuild
@@ -0,0 +1,241 @@
+# 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-atk:2
+       app-accessibility/at-spi2-core:2
+       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