diff options
author | John Helmert III <ajak@gentoo.org> | 2022-08-11 22:44:02 -0500 |
---|---|---|
committer | John Helmert III <ajak@gentoo.org> | 2022-08-12 16:07:55 -0500 |
commit | 70af66d6fdcbf39dfc461540b9337f16815b8d4e (patch) | |
tree | fd3b7644180fa1321f0d411b660b4e03d6f0910e /www-client/chromium-bin | |
parent | dev-cpp/nlohmann_json: add 3.11.2 (diff) | |
download | gentoo-70af66d6fdcbf39dfc461540b9337f16815b8d4e.tar.gz gentoo-70af66d6fdcbf39dfc461540b9337f16815b8d4e.tar.bz2 gentoo-70af66d6fdcbf39dfc461540b9337f16815b8d4e.zip |
www-client/chromium-bin: add 104.0.5112.79
Bug: https://bugs.gentoo.org/863512
Signed-off-by: John Helmert III <ajak@gentoo.org>
Diffstat (limited to 'www-client/chromium-bin')
-rw-r--r-- | www-client/chromium-bin/Manifest | 11 | ||||
-rw-r--r-- | www-client/chromium-bin/chromium-bin-104.0.5112.79.ebuild | 238 |
2 files changed, 249 insertions, 0 deletions
diff --git a/www-client/chromium-bin/Manifest b/www-client/chromium-bin/Manifest index d0358a712474..6678dfe4b602 100644 --- a/www-client/chromium-bin/Manifest +++ b/www-client/chromium-bin/Manifest @@ -9,3 +9,14 @@ 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.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 +DIST chromium-bin-104.0.5112.79-1-common.tar.xz 4451064 BLAKE2B 5c3bcc1355f5f9e58e619bcd102a1f9da0b1e1881d3bd8eb2751a98d677f84b3d0fa9f2e7d1ae39b383a3ea3094f16cb6f54f341cdb271ad0ad754fc1e3baa14 SHA512 87f7befc40a51572f556bb90feefe77b7f59c46a1d688215d2ea8aa73576884544466b4af50e2d33dc7d03e9df7381c0cecf4e70dd5b9733e44d4feb8424644e +DIST chromium-bin-104.0.5112.79-1-l10n.tar.xz 5016008 BLAKE2B 02d7b773cf203abe6c67d18cf1067e7dbd27faaccf8756394413f248608d1d3de118fbca6c84ef32a8865b62beb6d1fc3a2d177ae9f93a0b0a252f2216bd3f9a SHA512 2c3c559032060ddde91efa5b264bc90e2f634197f64fb96e092a57e01e1322411b828ffe2edf316ccbb691887af85fc9fee69c6b0a6c0fcee71273feb8b41d1e +DIST chromium-bin-104.0.5112.79-1-wayland-aarch64.tar.xz 81740164 BLAKE2B 7e7b9199c76bfd5944ac86b07ae42fd28686f2e11cfcd8bda280ee4aa893940b9bb07325d0f78911fa36c76272567ffb68d5f361c7df39e6f8419cc4163b17ea SHA512 f25c35f262e7bd95d0ac8444cf4e62afd29772431fccf65c49aa22e5ccc13e31e8aed6ed091f12bda636c87742a6c6aa2766804d10d51af1139bed514f76c14a +DIST chromium-bin-104.0.5112.79-1-wayland-i686.tar.xz 84290548 BLAKE2B 553851e92240bef0e3a95b4b1b83eda548a0ce00086a5211de7b6de543380ac3f5445ddccbb6f8b83100f58cfd06818d0959a0ad4376fa4bd141ff62649c4e26 SHA512 c0ecdeeb4fc08059604ed904b7ab9019212e6308d5362aa6ab33361a378685d2db1a3bc05097d758adf9e4f77e33fa039a2e3b105e9b663f4f2e426e1a1ca22b +DIST chromium-bin-104.0.5112.79-1-wayland-x86_64.tar.xz 83455700 BLAKE2B 10e8f12988eefcbd3e28cea7a003046abe6017208bb5516d5ada0705265359e87c4229821340436d3c197165db77b06ce239ae025a05bc2dc7833cad74bf18f3 SHA512 7171bb34fd74eb32f177c1185119f6ef7030c872c9aacd4f8efb84a654356dd2c8902e3c78c76ac3adc794d4c6536c92a58ae70c8de6745d4af473f8a3818114 +DIST chromium-bin-104.0.5112.79-1-x11-aarch64.tar.xz 81589816 BLAKE2B c7e3a3a994cf2e94d5584c16bd4a93fa0ef2afde6cd17845c049ef95da1ad7d2d6168efe444d773dec3f03bae887ae7a86738e34f8853722fe5d34bd789e72f0 SHA512 f9a29028558e133be07c2574039c5b740dfb742c01c821a15900ff42bdf82c17bb528ac62d102cfd280d219381b74b4aecd0e89edb1535197937c6664019c038 +DIST chromium-bin-104.0.5112.79-1-x11-i686.tar.xz 84085120 BLAKE2B 66f3dcc760e06a50dfca94929d3fbe33b94b1354844b559be0b14d8041909d90dc9faaba3d51f78e7e2dd23fe8e7902092c34b605349d21f42b0ab28b8da5921 SHA512 395f5f443aa98e184bfb58e886358a6c0163f6afbec2f0dd40428b42009c7d0dc79ea53b385e8911e6dead8aa42e9cb5f5462e4febcc42c2c8788ce1c72088ba +DIST chromium-bin-104.0.5112.79-1-x11-x86_64.tar.xz 83241948 BLAKE2B af6aea93458082824f48fe20466ac0d5d870669675a3b7319fa0fcb548947d49387fdaeaa8617d6cccaf829829a7fd92766f471990b0a1b736e592953cc10494 SHA512 9be2de1407219289f0ce9e78aedc02317a584a2524d15ca0616b744af93de8acd31737c41f793bb9c3487817263996a671b1c8b0478df05afe9c0dd2164cc1ef diff --git a/www-client/chromium-bin/chromium-bin-104.0.5112.79.ebuild b/www-client/chromium-bin/chromium-bin-104.0.5112.79.ebuild new file mode 100644 index 000000000000..19ffbef16a93 --- /dev/null +++ b/www-client/chromium-bin/chromium-bin-104.0.5112.79.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." +} |