diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2022-10-12 19:52:33 +0200 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2022-10-12 19:52:41 +0200 |
commit | 1181886993ab3264fe6f4cf6f4c8e96c083967b0 (patch) | |
tree | d58d3d02b215b599b118c1efbe1d353114c2ed06 /www-client | |
parent | sys-kernel/vanilla-kernel: Add live ebuilds for stable branches (diff) | |
download | gentoo-1181886993ab3264fe6f4cf6f4c8e96c083967b0.tar.gz gentoo-1181886993ab3264fe6f4cf6f4c8e96c083967b0.tar.bz2 gentoo-1181886993ab3264fe6f4cf6f4c8e96c083967b0.zip |
www-client/chromium-bin: add 106.0.5249.119
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-106.0.5249.119.ebuild | 239 |
2 files changed, 250 insertions, 0 deletions
diff --git a/www-client/chromium-bin/Manifest b/www-client/chromium-bin/Manifest index 22c9455c68b3..c8e6effddbb1 100644 --- a/www-client/chromium-bin/Manifest +++ b/www-client/chromium-bin/Manifest @@ -9,6 +9,17 @@ DIST chromium-bin-106.0.5249.103-1-wayland-x86_64.tar.xz 85276328 BLAKE2B 393ca8 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.119-1-common-aarch64.tar.xz 3204844 BLAKE2B 16c0428b04f1a56f7fe3f451c7604859557302b01349457c83ade9673adcd6474ac52d7df787062410c852993c85e4da1725f10371c7e5d78ed757a60644586b SHA512 427ad17011fcbc30f63f75f4d644b17a1a484521d400a009299ea6f505f20fb787681f88316347acfd2ce1c4ab1459ac61bfa7e80110d39f5f86cb60313fc931 +DIST chromium-bin-106.0.5249.119-1-common-i686.tar.xz 3217584 BLAKE2B 912adb775fbcbdea7ee96d5fcabab6b26ff7e62bb636311fbab0cd220462813584162e7654b319cd9aa0eade203e568323ec9b848a421df14a97b55c58750da8 SHA512 16653d66a5652887934f326286cb1f55d31cbab87c4a539b8fc39052fa0248d639a233409ee98aac66ac081de56b379be5f1fb14607598f8c0ee34760a522b04 +DIST chromium-bin-106.0.5249.119-1-common-x86_64.tar.xz 3269828 BLAKE2B f8675b7c368b092700a9f3d4006555016463b9ede4f2e7220f1d33a5106b18e9871da6282f26f8636e06e44b36b89d201577a191126e7217d9c354fbf58b0988 SHA512 5a238f6ec25d95aa5a454fefaad6d69199cff967bee81bcbf3eb5a4d4d3dc0613b3093d952f2cb5ab9acf4a55786d4d33a7bf2da59171a095d4a3af59f9edd1f +DIST chromium-bin-106.0.5249.119-1-common.tar.xz 4467896 BLAKE2B e45a541dfabec6a60f72f51c6ae6cb069a233762b32e3bc12b1f615de4dd074a93ab952dc7ad05945e21272e4adca90ef7a6f81eaba9d58a7346cb9170348aaa SHA512 85941d889961423d84be7dd40a935442b14f0c5d8f53c4b947673e5ff3c4ae7efdfdf1525497f0911d2c8e76ce0dba072d2c8f56dbb6d1cc07e1952a93dca9b2 +DIST chromium-bin-106.0.5249.119-1-l10n.tar.xz 5133872 BLAKE2B 13d76d1c009fed8c24a2e5497759b9fe3ceebbe043295462b69145af734681926134b819b86872cb6db6dabc13c847b8949110aa80ea49e3b8ecc62393cec4e3 SHA512 aa7dd3906070ac38331e55b395dbd6aef17dc805d3e5dea9ae1c6fb26d2bb370c2acb2c3157db5f58a8d7bd450f4f95a869411f3b58086dc55e3897461128376 +DIST chromium-bin-106.0.5249.119-1-wayland-aarch64.tar.xz 83435468 BLAKE2B 9c2b9ed05ff643cd865b40f15bd0645bebb4afbc320e838c5fd0adbdf114f94d4b02359a79d3c90a75319031e23f3394a7112a235ca2146c731d112d430b60de SHA512 4c86244a74eae7ae0a8856eb0b0e62c44dead0b04258b8a2c0d090d459bce901dd59c59a9b0db16262181f87c465251b3f43bcb46eb0df279a68a75ba5772d15 +DIST chromium-bin-106.0.5249.119-1-wayland-i686.tar.xz 85507988 BLAKE2B 76ca84c50b97c948dab82f524637cc1c4daa1bc30074864e218cf35ec1b49d9a2dbad2b7a50ce6ef15d13febc4f4eecc6ce7cd5877d0f0331e1ba4d8e4a2f1cf SHA512 3a8c84baa5f7839b79670eda55d980c38d0a5e19515e69793ee3ac843567a354b18da81fbe7a8dd0dd06480d6a48d7b724eef397e56cfc3bd248f0f6ae26bf0e +DIST chromium-bin-106.0.5249.119-1-wayland-x86_64.tar.xz 85266236 BLAKE2B 27a973a0361bf7eee585417403e70f19b3822a02a341ca8fede94a1913f539e319b0c622ca1018319cfcf70905e9748ac8d23a9352aaf0178fedd59ab3ad6bc1 SHA512 ca35187c55f2841cbc9651a98fdfef2b439b5d9e0d9259673f758758e65c0d9a6bdb4a588ba19f2f645dfcabf18f58911f8682c895b99f579c3e354efed910a9 +DIST chromium-bin-106.0.5249.119-1-x11-aarch64.tar.xz 83214700 BLAKE2B a41dfe375e32c34a7d5f32983c59f80abba9e06bf5fce2896fbba0f9c202375c381172d4b97aba7c046e760316dd962d6e36245d1f53ff817f84da8b3c87aea5 SHA512 bc820edab34a3eb12ed17945ab4ef4de3d5a28d09bcf08a22de0489b00bbb6620f21b2c59660f8c8855ce3a7e72840f64459dad8444941d6cfe255a1b33a0773 +DIST chromium-bin-106.0.5249.119-1-x11-i686.tar.xz 85308512 BLAKE2B 2f91da81bc0c2fec2cd2cc8ba78ddf4ad6378ff578f4b3d467b18cb51fe07f89bc9b9e718acc45951640ca2b88011533fcce7861a0f214dc7b7101ae49f62317 SHA512 ce549e5be6540ecf836b7b66738d3cc3e4840819a3927cdd14b06ae42de746550b323a75688e8d6c7a32305da4ec8e88dd6afb45e60dcaa1042f3b3e2fafc6aa +DIST chromium-bin-106.0.5249.119-1-x11-x86_64.tar.xz 85022648 BLAKE2B d96c3117f5eea55f1344c07e0f7d86ef6baa6f1cc11941993ea4f6dfdd70ddf2b47469de20a2d6bce189085a58140fb9cd5d940448c742fdb3b1022c34913784 SHA512 a0cd3ee6d1952cd1e7b56105afdaef7538dbc353d54a5f9753e0d7d563911921a9eee83be1187670e75eac0614c528ea542e38e074c12e7187e485e7eb5dc9ea DIST chromium-bin-107.0.5304.29-1-common-aarch64.tar.xz 3211404 BLAKE2B c0ea1b64321de4455d1bc3aa67340df6a0b50581e927d0ca95cb2c90b088901c76b75705bd3a40d32c938d5307998c9311a962ecb01d64ee24a9928bedc5bdf8 SHA512 0b744d524bc01769cf7eb6bce31db6c2f384ac64948981309157853dc74966432f5aa0d22f9c108f0c2510450a53f22efc07f7825a7d6895a3d988af5aa0b110 DIST chromium-bin-107.0.5304.29-1-common-i686.tar.xz 3253248 BLAKE2B 508dfc7c08510af16f5ee439746c8b44d3d08e4b013127fe1f4dcce7b3423e478b6e29e05c61b002c41c213a9ea3cdf605e8d085b1d2b6b3dd8884e6d843576e SHA512 933b8e5b13f17839cbd745ceb6f1afe96e74f9b4649ea6820c46f43bfc4e775fafdec87aaafbe9f8be3828f47eb11453c9857493887f0e7d3cd441bb779deccd DIST chromium-bin-107.0.5304.29-1-common-x86_64.tar.xz 3283228 BLAKE2B 8bc70532c1e1da19f04495baee3a5be7ab69f04b62e457b3a4eb2b2a0b180b02a2bcc409726ae3e5383ebda3d5dc86c835ef7e034e724de52b41fb1184e3b205 SHA512 d118323f54c1a48fc684dfd082bab83c9edb1d73acae5e44498bb4cc14a5beab0609f0143b6ca7c0a21db25e7c9b65968a1448c8eefcbc48771e96b6f15295a6 diff --git a/www-client/chromium-bin/chromium-bin-106.0.5249.119.ebuild b/www-client/chromium-bin/chromium-bin-106.0.5249.119.ebuild new file mode 100644 index 000000000000..72e117c80b49 --- /dev/null +++ b/www-client/chromium-bin/chromium-bin-106.0.5249.119.ebuild @@ -0,0 +1,239 @@ +# 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/stable" +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/10-12 + 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." +} |