diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2022-12-23 17:51:29 +0100 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2022-12-23 17:52:20 +0100 |
commit | 8ea34fe5d827a97ce8212a670dc578afd60f078f (patch) | |
tree | 41a62dcbb8b88044d331c267e1c9cb5099a85e83 /www-client | |
parent | dev-java/commons-nullanalysis: Keyword 1.2.17 arm64, #888077 (diff) | |
download | gentoo-8ea34fe5d827a97ce8212a670dc578afd60f078f.tar.gz gentoo-8ea34fe5d827a97ce8212a670dc578afd60f078f.tar.bz2 gentoo-8ea34fe5d827a97ce8212a670dc578afd60f078f.zip |
www-client/chromium-bin: add 109.0.5414.46
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-109.0.5414.46.ebuild | 255 |
2 files changed, 266 insertions, 0 deletions
diff --git a/www-client/chromium-bin/Manifest b/www-client/chromium-bin/Manifest index e168b59c610c..cd422c2da432 100644 --- a/www-client/chromium-bin/Manifest +++ b/www-client/chromium-bin/Manifest @@ -9,3 +9,14 @@ DIST chromium-bin-108.0.5359.124-1-wayland-x86_64.tar.xz 86995916 BLAKE2B c85991 DIST chromium-bin-108.0.5359.124-1-x11-aarch64.tar.xz 84173992 BLAKE2B 0a5679e500cb36848b02f4fdf30b2a5c268093f216e2e8be1ba501a6400de72092ac9379d0e201325fb91e2575b9ff5b07351f882f5edfdc4d139617b7ba48f3 SHA512 a1b53f4e3da234d3f0d008fd098ff3c6765d7b25079e4cb7823260d00d0373bbb2e3c03426c112034e26fdceecf00f3a02158915a60167e3b991a9727056b467 DIST chromium-bin-108.0.5359.124-1-x11-i686.tar.xz 85921748 BLAKE2B aeda64d6589f1e4d3e63c1e1d463b50663f6850a85b7f22f146174011615804f5fa388c4a28e0bfdd994650679a1d5ac59b355fa90e2ea932eb595902c51ff09 SHA512 6a47b187e25514471c09b14b0b3b7616fbd079fa0b70ea7a11f5fae304169461d8b82d8ff26435af8b49b360ec9b80d1e04786c70ff16b65257e09e9fad21ae7 DIST chromium-bin-108.0.5359.124-1-x11-x86_64.tar.xz 86779524 BLAKE2B 84e2302b38353d13e6c3fe25b04ccc67f3c2871db76a3739995129aba7b452fc4181bc8fc094083cb4a4c62800160d3979428b3be0d7d34f840fd11b07b5d175 SHA512 619fbd159d762ad45b1c7df720a751f89e55875e9550ef282fb6f49b01212ae6442aca71a82874da6627be63e73401c637952d3922f4130465b73ba518f46826 +DIST chromium-bin-109.0.5414.46-1-common-aarch64.tar.xz 3224036 BLAKE2B 4bc977225a863986f1b1376a00a98f63e13a270b54168cb07de9b32e6a7421cfea9264768314efb6e1c9f1fd21f59e41d1b7e880eef3ef66fae8e8ca654916c5 SHA512 b62f47abfcc25fbeef8580118e3081e0322f0172c6f874f7f1e1dbeef49c3912f34cd237fa6f063f4f455cf59e93f38810dcaad6a47dc7cbd20bbebf35981170 +DIST chromium-bin-109.0.5414.46-1-common-i686.tar.xz 3252328 BLAKE2B 4224e5e109fb9c1a0a77a500bb2ddff0e194ff7c68f48a7d0afe915b657315b8576b4b232005c95278ed059cd952c2cae1d2fb04a88674cf733d1aafee6aa007 SHA512 eee0d47c37a190583ace8d57ec0e01ef1dfb37099dbcae07c9cf420c716add93192a9cd22d2efde0d7c96de984f4d2052343e256aa6545a3bcefa4e08978bf6d +DIST chromium-bin-109.0.5414.46-1-common-x86_64.tar.xz 3294204 BLAKE2B 5282547233a3fbf0049dfd6ddc4f10096137e0ce0bd6f923290859ff51b4918514c449d36934ff9e6470146ce5973e5dab2294f9afbd3c4de21591d72289cb82 SHA512 0954e1cf138dd8fbe2dd478f16e3df130c99a7454b4906e3373dc53de5d278eac3056e52182e7d15e3f4e976419b90f63e4738fa3e1645a22073187778314f85 +DIST chromium-bin-109.0.5414.46-1-common.tar.xz 4472264 BLAKE2B df46bf55e277a99e62acc4d45a2ac09c437d7f02f413308032110b82239dddd884e72ec852ca434a8a9ccc145e90947015b9e9afad1941977049eb9ed09c2bbe SHA512 1c9bc0c9edc3da20e2237a96d109c9898216e0bafd8836e6d66c5dac9a0bca7e90416b58bcb184598a507faa24837fcc236ef5a4b5abbf2b7d70bdcd4d895a1f +DIST chromium-bin-109.0.5414.46-1-l10n.tar.xz 5161728 BLAKE2B 94b236c2402359622824117d1f7b10f1e804ca2e986aa28868c009d0c7339358b8d92630b22d9c21c7c2f94a3c9854f00d55022b7bb488d65a628df5e20b8c21 SHA512 c0d8cf16df436e70f9b474c9dde1cf37b2efa7aa597794df0041b978ffffac982dbf693e59ca5d88ef4124da9639e324bf75d53ca1134b323b55cff23aa69655 +DIST chromium-bin-109.0.5414.46-1-wayland-aarch64.tar.xz 85008852 BLAKE2B 908b3c31ed6b391119e6bc26dffad0b645d22496561b9a7be11daa9627adb5a8968ceaeb5c103ff91b0541a67b6efb1f3a3dc97fe2f897d55e0e41bdc7b56dc4 SHA512 cd4125d337d9e9bb8778cf9ea07139cd150828d0144d68ae225dce55b0a26dfbc66af4b518d567a5eda4fa2eb4ce7b2d1122abea360e94a86d9f94cfbf5f8b29 +DIST chromium-bin-109.0.5414.46-1-wayland-i686.tar.xz 86818436 BLAKE2B 9df96a698179c4c2575b2f82e89668cc8e0a0f783698419fb15d3df28803c91c0a3b8f7a6fc7198fa9443348ba80b8200288e91c6e92e78af7f2979f77709836 SHA512 2979ae51f2c3a85664aca32271359a569601ac5bad6a957c143c526ac4c5983b9132518f7b60853cdecf98ed1af935d8b74a0e9c58b806aabb6c7f289cad571f +DIST chromium-bin-109.0.5414.46-1-wayland-x86_64.tar.xz 87718912 BLAKE2B 71cad37bfaa5946a580c6a41b5430da664064752c2f33e8827a513112965027e7621678eab25731440fe3ff6c7220965da7fc647a1a2d3473412ed22870bad29 SHA512 e53921bf458291faeab6c95c5995d038042477e65b28c003aaa38e7ec88c14397cb073c0cad1a106cca090182962ee31a4d8bcc38e5edb5020e100293745f7ea +DIST chromium-bin-109.0.5414.46-1-x11-aarch64.tar.xz 84808520 BLAKE2B 271094b7dd715c331dab066a8315c329fe5d91ab248b5a53f654dd1f0efdbc0ad11619ac7fcf017cedda2c1e91a6be8598851d968a7f82b319fdf7826b9015b3 SHA512 f5e8e861a9136dc4317bd2ad5c49fd972579081812787af42d00dd185125e73345adfca335b9612cb5fff9e98a44956e4f3d4cfb13076a58555e4601081c7830 +DIST chromium-bin-109.0.5414.46-1-x11-i686.tar.xz 86593284 BLAKE2B 22e27b88f51d29dd09b6b203ab277871ff2c4c8eff41f45cdbc2df94ec7bc85e332ab7091a730c4cfe6e0c22200f6d0bfbd6cd126df818955bdf780f15fc87d6 SHA512 d7c7bf5b6f8b60b2ad61de40de91987825d049f26a6794eda68236c4a948c67381304ba590eb8e184a4194ef8c0b5fa05640698bea6b9e7619596af4b3cdddb2 +DIST chromium-bin-109.0.5414.46-1-x11-x86_64.tar.xz 87472656 BLAKE2B ad5b140fb7fb70fd8cfd64157d48446fb4fcd42a9d1fbe09d402a6e59b685d53737e099d16627bff85a548cd8833f36454dadf329673f52b512681d57ae8b536 SHA512 e3237d98a7eccb86bb4a0d56f45815323a28fdc1adf4d9112e337e632cc9ea379e9b9d79ecfe4c9bccc8c709cf5910d54c9a7fc814aea7a42244cb1526d9ebd1 diff --git a/www-client/chromium-bin/chromium-bin-109.0.5414.46.ebuild b/www-client/chromium-bin/chromium-bin-109.0.5414.46.ebuild new file mode 100644 index 000000000000..0de30b711175 --- /dev/null +++ b/www-client/chromium-bin/chromium-bin-109.0.5414.46.ebuild @@ -0,0 +1,255 @@ +# 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/beta" +KEYWORDS="-* ~amd64 ~arm64" +IUSE="cpu_flags_x86_sse2 +suid qt5 wayland widevine" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + 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/dav1d:0/6 + media-libs/flac:0/10-12 + media-libs/fontconfig + >=media-libs/freetype-2.11.0-r1 + >=media-libs/libaom-3.4.0 + media-libs/libjpeg-turbo + media-libs/libwebp + media-libs/mesa[gbm(+)] + media-libs/openh264:0/7 + 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 ) + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5[X,wayland?] + dev-qt/qtwidgets:5 + ) + 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 + + if ! use qt5; then + rm "${CHROMIUM_BIN_HOME}/libqt5_shim.so" || 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 media-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 + + if use qt5; then + elog + elog "Qt5 is disabled by default at runtime. You have to enable it" + elog "by adding --enable-features=AllowQt5 to CHROMIUM_BIN_FLAGS" + elog "in /etc/chromium-bin/default. Afterwards you can select the" + elog "Qt5 theme in Settings->Appearance." + 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." +} |