diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2022-08-20 09:21:01 +0200 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2022-08-20 09:21:15 +0200 |
commit | 2b545da3430029ab15b0aadeff2d9e18de52dc87 (patch) | |
tree | 3f57ebc6152083ada7f70e91d007bf0a8a36ea93 /www-client | |
parent | www-client/google-chrome-unstable: add new localizations (diff) | |
download | gentoo-2b545da3430029ab15b0aadeff2d9e18de52dc87.tar.gz gentoo-2b545da3430029ab15b0aadeff2d9e18de52dc87.tar.bz2 gentoo-2b545da3430029ab15b0aadeff2d9e18de52dc87.zip |
www-client/chromium-bin: add 104.0.5112.101
Bug: https://bugs.gentoo.org/865501
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/chromium-bin/Manifest | 11 | ||||
-rw-r--r-- | www-client/chromium-bin/chromium-bin-104.0.5112.101.ebuild | 238 |
2 files changed, 249 insertions, 0 deletions
diff --git a/www-client/chromium-bin/Manifest b/www-client/chromium-bin/Manifest index 6678dfe4b602..10c2df325826 100644 --- a/www-client/chromium-bin/Manifest +++ b/www-client/chromium-bin/Manifest @@ -9,6 +9,17 @@ DIST chromium-bin-103.0.5060.53-1-wayland-x86_64.tar.xz 81504792 BLAKE2B fc3f0a5 DIST chromium-bin-103.0.5060.53-1-x11-aarch64.tar.xz 75338348 BLAKE2B 7f572fa4c57d1edb1688fa8cfe2fb7ef11f335947143afe659122ea2281cced51b9f557e124ce7b899f0f8e1665c25ffb14f6f2bada541263aff614f7a6fb11d SHA512 15e53454ca056de1c77487f5a6ec38ac37b65f62cbc5af0f8ede5005286a11c2329d091c66f31cedf80baa2884ab7d8840af4812b0fb14d2ad7e18592b56f1cc DIST chromium-bin-103.0.5060.53-1-x11-i686.tar.xz 82061828 BLAKE2B 83ab66195526af00d24ba43b2265258d355df6ae899542f3ed27986277b1987c49f679044338642f861b63a93edcd42646ac04114d85b1fb6343d5f5bc383115 SHA512 0e5103bef191db36b48a702a0d015061dc857b105d0089c155cd7d46a48204d56eb97da45e61a9e1648e8928cffa7397c151c4eb139aa44f750525396c2522b7 DIST chromium-bin-103.0.5060.53-1-x11-x86_64.tar.xz 81297424 BLAKE2B f8d3201eb20c155a106eb5413be00f50562d20900a9a651a42a55bf77331be4ab5138c99cdbbd8c2dfba290face4bc0940c5dd4924c65833220ef6fffce58a0b SHA512 96f6f73114547a5d6fe2bb16eaed310150df9aae459c8593da45ff81911ebbee763537017520a17c508ab08efe497f0200124d88164c063de6101147888836bf +DIST chromium-bin-104.0.5112.101-1-common-aarch64.tar.xz 3149688 BLAKE2B 77c9be16dcfe8c1d073bce316a6832f82a52a067ac82167743a6f03b79d9c84b44904801f711b47fadf331514c1a08f0b602694b92a3f6761db183b30a89aef9 SHA512 4b88e1dcc4a4219744944778e7d36684c8b17eefdb3858a70781f24b8978a064779c5a6f9dc1c912bc55e946a2b8dc5a22e9554002229b1f4788114dd79588a5 +DIST chromium-bin-104.0.5112.101-1-common-i686.tar.xz 3160916 BLAKE2B 49d147e99fe8cb1b05112363609cface8522d90885ec94f5e2f91dc5aaa012d64b3bd53af4815a1b99ef82114343c8c9893729ef1e9d31afd984fe242a015a3b SHA512 03946b9f74d07b419bbe113cb923199b1f438024d44aedd48fc0e81c618f7c5671c1ab218ee8386936362a5be8c95db2f55b99609d0244c68d83d402c6d88b0c +DIST chromium-bin-104.0.5112.101-1-common-x86_64.tar.xz 3213208 BLAKE2B c5ea2908cfd98fc5d2c37b52d4b30017125b18522637b68b7526e46b6410ef357227e1cbfb06388172972af9aae85e3ea99b460fbf651f735eb7067868d43740 SHA512 ab5b4b9a31abe6243a7972e90d08870057ae1866843dc4d29506f664ca29a7920d90449f689ae771d87dacb36be6c076e1e307cbccc47d9bc18915c4cd086644 +DIST chromium-bin-104.0.5112.101-1-common.tar.xz 4451064 BLAKE2B 5c3bcc1355f5f9e58e619bcd102a1f9da0b1e1881d3bd8eb2751a98d677f84b3d0fa9f2e7d1ae39b383a3ea3094f16cb6f54f341cdb271ad0ad754fc1e3baa14 SHA512 87f7befc40a51572f556bb90feefe77b7f59c46a1d688215d2ea8aa73576884544466b4af50e2d33dc7d03e9df7381c0cecf4e70dd5b9733e44d4feb8424644e +DIST chromium-bin-104.0.5112.101-1-l10n.tar.xz 5028548 BLAKE2B 3824e60dae4c53e6ee5534c48afd0253fa6a35d5b5dbc0fde808b97082c5f1df04c5fd101a3017df525bc33e3ec2137f6ee59ff32b96804a520d34c93aa06036 SHA512 d465e080cdb69e4109aeb6a6c70f610951279bd6bcd401b105af8007ce4522eda353c0a72a98b6fd1a40b4772171ec82f58b09754ec9429d576c42b590b332c1 +DIST chromium-bin-104.0.5112.101-1-wayland-aarch64.tar.xz 81740896 BLAKE2B 2e03d4fc42d47033df36be71b2ea92467b74b29324ea14f2d9fa6e6f38d9b5cd46bd398e0fd07dfe5d90c8f9b221d0b9d8920c185bc63a3e666cc1f40afbd669 SHA512 aa20caaccb7d618fb8a6c1541c50b60f8ab9ad989acc3b2dd25f63e3474458418d0316fb8401d6392fd606ccc535c405057de87890130552a78b577f2a98ec46 +DIST chromium-bin-104.0.5112.101-1-wayland-i686.tar.xz 84291980 BLAKE2B 26e0fd2353f2ac6fbb9dd49345fdf34f9d9631f7aad318aee3350a9dc91e67d4ea9dfba36b65d44731d9fcc2318ac49727d6b9029ca56bc885ffb3fc4bcad9d6 SHA512 c6546b9debb143773baa267a0aa58634c8d01adcfa3a37d2f7bf20aece9c0231f10d6ca54da85c29c75701a336ddef8a0e6757af377e36fb40b942c3c3c139cc +DIST chromium-bin-104.0.5112.101-1-wayland-x86_64.tar.xz 83428744 BLAKE2B 96ad32d3fbee261962382ea0044e379cb42c4e4f5eea58c941ed1bea595cfe5dbc58d73c6853ac47095898eeebb0af8c6f3444cd8191ae7fdf94ce73d280c857 SHA512 bc2c0be64938a9dd5aab49f3a1e6e9869b73c4e30123f3fb2cd1f9144bbbc15e75054f2776e192e9a09afd7939d2440eaf6c2749e2367e4b7dcb7df2117178dd +DIST chromium-bin-104.0.5112.101-1-x11-aarch64.tar.xz 81525248 BLAKE2B 308b352c1c7e6fb41811757d9ca2dbdd0d4c41e8d7ffc4232572774d24775bc4e087fb05fab5b6692fd360c2d70c7bf40708f1cd1bb028df917d60c5cb7f2fc0 SHA512 f4145b730468543652e21348a01e36d6cd6f8726a9ea4c641f1e0e4489b8c68c41bea034ebd41dc3edfde8e56fb5604dc100efef5a95ac2f7fab78d7113bcde0 +DIST chromium-bin-104.0.5112.101-1-x11-i686.tar.xz 84087564 BLAKE2B d75caa75e66bcf194b1673a3783ca4a24b3a99e34b33e7b378006f0492be717316f930175652bc5a5332e2ae74ec4601ab95f4a26ddce87b2e00303cdca335df SHA512 9d98fcf0eadc847272f668a540e7d6e93b46ccfa99aa31dcfeac83c92f6db58c9884c6ac31848432814c3804fd0a359d1873c28065bbf0c46f73737271cfef07 +DIST chromium-bin-104.0.5112.101-1-x11-x86_64.tar.xz 83261500 BLAKE2B 32a3a1c5f4c0e257a5a95b1b41b3ef891f0986b832b8d8a4f43c6c68af152980006915c37994549548fb0d33d873f088cfb0adacf92ba1404f70ddd5d6e06d6c SHA512 298bac1a25d10463bc82197aa61253b7be90e6ea2867e4b51ed3727d781609a9f13af8edd4917351a558b59647497759500b3e86dea43ff6aff9b00a3be77c76 DIST chromium-bin-104.0.5112.79-1-common-aarch64.tar.xz 3149640 BLAKE2B 2e42b0f67b657dfd8b54a92c13134346071eafbc16bbaf751f6726c2182f6ae7155c0f6483635eb5c11dd511027be61cc1d854cee452332a89e913df20b1fc13 SHA512 6d5d6ec9474049ccff67498ac86218ffe88b3a3d790b601da0c5c1872cc13045170b6a3854e64c4b21857a8f61c94adc5b0936c20e05e0d1abd5009459359ee9 DIST chromium-bin-104.0.5112.79-1-common-i686.tar.xz 3160744 BLAKE2B 71a83745bef6ac617a002bad1d5a78a915f145ba00d970ce1d9d498b70164bc117e7d5536300efd0040d85dbbea8148f4afa1bde158cc2f661b7e4e4554fd459 SHA512 079d87bcac72e8bd6238ba9077d2112abc89fd39b34011d1a11401a0e822b46f2db86ec9dba7de68b7e8400f5ece4e9f6e9dfe7306e7c2a32054035c62752bb8 DIST chromium-bin-104.0.5112.79-1-common-x86_64.tar.xz 3215408 BLAKE2B 61e659eece7ea2c45e8d38b9a1a9994c512f1ef042c403ebf0bff62f0f482bae3be2ddb0d65371324af1152b71d0cae8aa635e04de7ed099ffc10023b0565860 SHA512 c3d871a4c1e7377ab78f2f8d5635a6b2d4f8afe465d6c5e1364236910017f98635335f7697fc837f0c2366fd9501fe36dabf6f6b8066770f88bacfd4a77cce52 diff --git a/www-client/chromium-bin/chromium-bin-104.0.5112.101.ebuild b/www-client/chromium-bin/chromium-bin-104.0.5112.101.ebuild new file mode 100644 index 000000000000..19ffbef16a93 --- /dev/null +++ b/www-client/chromium-bin/chromium-bin-104.0.5112.101.ebuild @@ -0,0 +1,238 @@ +# 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 + 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." +} |