From ea5bad4d0ba1eb937df22adb7f6cc57ea77f03d8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 31 Dec 2022 14:19:51 +0000 Subject: gentoo auto-resync : 31:12:2022 - 14:19:51 --- www-client/chromium-bin/Manifest | 24 +- .../chromium-bin/chromium-bin-109.0.5414.46.ebuild | 255 --------------------- .../chromium-bin/chromium-bin-109.0.5414.61.ebuild | 255 +++++++++++++++++++++ 3 files changed, 267 insertions(+), 267 deletions(-) delete mode 100644 www-client/chromium-bin/chromium-bin-109.0.5414.46.ebuild create mode 100644 www-client/chromium-bin/chromium-bin-109.0.5414.61.ebuild (limited to 'www-client/chromium-bin') diff --git a/www-client/chromium-bin/Manifest b/www-client/chromium-bin/Manifest index 95e02b800fa8..4fb2b2dc3948 100644 --- a/www-client/chromium-bin/Manifest +++ b/www-client/chromium-bin/Manifest @@ -14,17 +14,17 @@ 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 +DIST chromium-bin-109.0.5414.61-1-common-aarch64.tar.xz 3224980 BLAKE2B 623c3a4154871b83c20d37778751c8eaaeca5c848fd08bab264edc795956e58f8c6bc4bfd6dd6be0631c867af9283eb67df5c9112119f34c1a5ee2722af77922 SHA512 6dad804699a0e32a42e5431e7ce9f15c12caad3565e39b920b16ed08ef602497fb6590f143f2d0245b3dfe841fb81b72047bbd18e6cf0684779c771d4579d607 +DIST chromium-bin-109.0.5414.61-1-common-i686.tar.xz 3252068 BLAKE2B f7794fb898224001df8ce4d175146d24dcba859e4f0ad051c5a6da16355dd44ad116b06ff315470153ae74afa459f32736aef86bf419517936c529e23943ac60 SHA512 17f1c561077032912b5e3cde139c5e8eebb90f8446d23b7035be32e8a22e77d82734f4c6ad0fa6c47471ed701eca090bfce93c9d7a4dc6b5645aafdceceb2876 +DIST chromium-bin-109.0.5414.61-1-common-x86_64.tar.xz 3294248 BLAKE2B 84edc3d3353307e9bd48d0c2ad2eb8916866f6510f966f7a117145140c1e3e77ae7f4a1e3f094fba20ae61b94ab56264f756b409ec0e05df4d8a062880c28e0c SHA512 368600c53319a5d7c93a41e6ad16354148df798af3884c9963d5e4be17dbf0f86ce69e7b79e166bcdb67f8cbbeccd96c088d2f0931ca1422704d43e1268543dd +DIST chromium-bin-109.0.5414.61-1-common.tar.xz 4472264 BLAKE2B df46bf55e277a99e62acc4d45a2ac09c437d7f02f413308032110b82239dddd884e72ec852ca434a8a9ccc145e90947015b9e9afad1941977049eb9ed09c2bbe SHA512 1c9bc0c9edc3da20e2237a96d109c9898216e0bafd8836e6d66c5dac9a0bca7e90416b58bcb184598a507faa24837fcc236ef5a4b5abbf2b7d70bdcd4d895a1f +DIST chromium-bin-109.0.5414.61-1-l10n.tar.xz 5143772 BLAKE2B 1f8a271ae712d3a412fb3ce6b5f3c0f68949be9c077be752d4a13040f77bd8d011d6930a24ebaafef913f2877041996d303fd962221c833d5c50faa9bb8716b9 SHA512 2dbb1ff4e37382228a28b10f69f8597f41145cb32be9c5776397b26459fcae833d2d8c56c72b6fd4af5f37b0b85cbcf0d2bdb4c0e77aedaada755daeb1595f45 +DIST chromium-bin-109.0.5414.61-1-wayland-aarch64.tar.xz 85031456 BLAKE2B f82f3b4daf5c7bc82093fe0693da21d4debbc15030b42e9e9c529636ae5304b9c2d673e1b7267b912177bbf1cc61fb47824867f800758bc51ba39f99ded4c411 SHA512 1daadd46bf17b501b575395adb649f9ba95fa0a03e2c171251d4078be7d0da10f80b363cdc4b8ecaa27a45f6f7da8d9465904b341e7c52532ea2e586fb003c8a +DIST chromium-bin-109.0.5414.61-1-wayland-i686.tar.xz 86812224 BLAKE2B 6aeb5b3819bb296eb834d2a08b691c7433dbd14d538883a82dcd53ebce1f922cd82250a3e35031decd8a39000ca4508d3e0a0984034f768e3feba97ad1c0eefd SHA512 7f37fb6d9713a3f20fbb5fa1332077814e2d4adffb89381d1d80bcfa19397db6579ba0228680fb6874d1b4112fd58fd7183a033f4b2899c1cfc4abdefc1e846a +DIST chromium-bin-109.0.5414.61-1-wayland-x86_64.tar.xz 87722728 BLAKE2B 2ddafa5df4bb1b0136a9f9aaeeec3232f411bef06f00b4da35a9b6b45a232f0e85494a36fa1f1e5413a574f4c4af039a3b864aca720433dd2cc193c04eb6865f SHA512 f4355e9bf863023526a961c123f8844ebd73263c993dfb718ee57f2a6ab4a15f577e78eda87a37adf6b253ce1b922e9e4b73b7cb5a790f946b38229bf815ce13 +DIST chromium-bin-109.0.5414.61-1-x11-aarch64.tar.xz 84810748 BLAKE2B 9d1a0f0fbe2a978e469f2a87cc0b5780b0c081f4fa482ed5981e780d9897b5da3c2f981b1413db5bb5eb86d8a5de4b8b03d24c5ad1dd92f25fc35a5645f06364 SHA512 e427803b8b1d3b80ded488c00cccaa8ef4dfb5379e93f2a2a340dd0af23fe2c7dd85b5bed526c68354a6867544ce84090b5769d45270fb561f0b4e8cf7d6ec5e +DIST chromium-bin-109.0.5414.61-1-x11-i686.tar.xz 86594452 BLAKE2B 47dab0033b04579069d19bdbc560f768340382a2e7d2a1819e773b5ec64403f6cf014a8aa9b43c280997dc3f4e5dbacc1b919f35f668e3f17498681f9e41758d SHA512 7c3a85ca8727a7665c574d564b55cf9635592a00840ffa951f6fc1a1cfedbdd722530b92b0b05636ee030de1efd72359e58f12f180191ec2c3702aa333bbca6d +DIST chromium-bin-109.0.5414.61-1-x11-x86_64.tar.xz 87482916 BLAKE2B 84449b9a1642beef857fcd8fdb09dcfdbf2411d4b43c798285002004a3dd36b2e75ff27d8f60a94ea92d76a74f1c7dcaa928ca914b29c402359eedd8ac9bc067 SHA512 ad67c0784f6a729550bfa759e417161e62989022cb8c53cc2632b4c36690dc183ee8ceaacaedaf44495b63f338312fedcc769aa51a462c20ec8713428440fea8 EBUILD chromium-bin-108.0.5359.124.ebuild 7671 BLAKE2B 2ebfdd8a48c2280f9ea05c4446e26602c0eb637beeb86331f6dff3e11594377b30d383cddc8d3696bba1ebdecf21013869fa6ecec61a192d981b5d0fabf44523 SHA512 ae97bfa85b0cceda40b367f301795cd7dbec5468566680b93475ea3408a5dd0051fac28dcf0a99396db1d759a2d70cc5fe5ae95b1a55622e3f1aa4955f64181a -EBUILD chromium-bin-109.0.5414.46.ebuild 7666 BLAKE2B 320abc26ea2fbad01890b2ed04305452c587a8198f6d25fce7bcb222e93c0ffe5c8f9481e2aae5eab0d130af0b04d9890130d4c2931424e9090b2ad9328eab48 SHA512 3aaee6373525211e92b77bf6f7ef0aace75e7666d347d57342b6407cd94600a0fe12c43c0db46b679947fc9473364e6ef08e6aec517e776c1a3e5cda47110850 +EBUILD chromium-bin-109.0.5414.61.ebuild 7666 BLAKE2B 320abc26ea2fbad01890b2ed04305452c587a8198f6d25fce7bcb222e93c0ffe5c8f9481e2aae5eab0d130af0b04d9890130d4c2931424e9090b2ad9328eab48 SHA512 3aaee6373525211e92b77bf6f7ef0aace75e7666d347d57342b6407cd94600a0fe12c43c0db46b679947fc9473364e6ef08e6aec517e776c1a3e5cda47110850 MISC metadata.xml 480 BLAKE2B 29b9f565ea38e89bb5559aa99c540e02b77db24046bbe3407d36440d95a7f0850261b08fb243095f4ffb00bb14d72dcb235786dd19040bbe1a2808fef4bdc662 SHA512 980ebd9f5ba50970f73c2cca4e0fc01df5e6003319d63be37dbd063b127786de2ed36a12c97281bb5208a04c52594f7578fdcbf00ea5b49a63995ba55e7e7127 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 deleted file mode 100644 index 0de30b711175..000000000000 --- a/www-client/chromium-bin/chromium-bin-109.0.5414.46.ebuild +++ /dev/null @@ -1,255 +0,0 @@ -# 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." -} diff --git a/www-client/chromium-bin/chromium-bin-109.0.5414.61.ebuild b/www-client/chromium-bin/chromium-bin-109.0.5414.61.ebuild new file mode 100644 index 000000000000..0de30b711175 --- /dev/null +++ b/www-client/chromium-bin/chromium-bin-109.0.5414.61.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." +} -- cgit v1.2.3