From 744892aecb5cdf9ca0bbe504f7bbcdfb87b518fc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 6 Oct 2022 19:22:30 +0100 Subject: gentoo auto-resync : 06:10:2022 - 19:22:30 --- www-client/Manifest.gz | Bin 6208 -> 6207 bytes www-client/chromium-bin/Manifest | 24 +- .../chromium-bin-106.0.5249.103.ebuild | 242 +++++++++++++++++++++ .../chromium-bin-106.0.5249.91-r1.ebuild | 242 --------------------- www-client/chromium/Manifest | 2 +- www-client/chromium/chromium-106.0.5249.103.ebuild | 2 +- www-client/google-chrome/Manifest | 4 +- .../google-chrome-106.0.5249.103.ebuild | 123 +++++++++++ .../google-chrome-106.0.5249.91-r1.ebuild | 123 ----------- 9 files changed, 381 insertions(+), 381 deletions(-) create mode 100644 www-client/chromium-bin/chromium-bin-106.0.5249.103.ebuild delete mode 100644 www-client/chromium-bin/chromium-bin-106.0.5249.91-r1.ebuild create mode 100644 www-client/google-chrome/google-chrome-106.0.5249.103.ebuild delete mode 100644 www-client/google-chrome/google-chrome-106.0.5249.91-r1.ebuild (limited to 'www-client') diff --git a/www-client/Manifest.gz b/www-client/Manifest.gz index 81f566839faf..35a23ee7ed53 100644 Binary files a/www-client/Manifest.gz and b/www-client/Manifest.gz differ diff --git a/www-client/chromium-bin/Manifest b/www-client/chromium-bin/Manifest index 3b520d2f6554..bf463952b756 100644 --- a/www-client/chromium-bin/Manifest +++ b/www-client/chromium-bin/Manifest @@ -3,16 +3,16 @@ AUX chromium-bin-browser.1 4898 BLAKE2B 0660c64d019f681c49489676f858e3acedb6f982 AUX chromium-bin-browser.xml 425 BLAKE2B ca10cb376c379f8a233863e445f1625437f54493a3a67a29e5f26d3f80030c4deb2fe5d151dc6991012e6c9e3c8c7c7016fab507819fa77352183fd9e29cb8da SHA512 a583029ee59cbf9541ff89c7a879780cb0801d43aff06b00fa52bd34cbcd49142c46b13714c6527507470ec549378776223f9578140d87769ecced67467667f9 AUX chromium-bin-launcher.sh 1247 BLAKE2B f07f6f767ce4a8724b9a478b45abac358c1a2fcb208666744579c5c915ce5afcff01ab380883c9f6b593374963edff65fd54005ae15e60390bc97fb16e21da8a SHA512 41a04e1eb1ba97c19783f173fa11745efe9e31c3163a0867ad27627000155fcf8c3aaaafd468845f665b919ca41946a112365c5c95fec4a4347888d6e6137835 AUX chromium-bin.default 164 BLAKE2B e2a3bbb30fa7d98cbcdfb117af9ae480b25c84db334884ef3a798713b8f85db366a9076f3d4c84523c808c0b02c06837e13f00bd0bc99814d9239a742a1f1f7e SHA512 77a012a4ff7c883750e09830841a9900c9eb9c0ccff04f4064066a7e64fd04868e19a54da7fabe954c78b6333c19eef498b5a7b8f0ccf599198e70c8a8e362db -DIST chromium-bin-106.0.5249.91-1-common-aarch64.tar.xz 3204844 BLAKE2B 5b19b7d99c0f0970e1c8274c4d5caa066d0621a1e16fad6cbc7622d189c52207f386055375b6a3301bc2441b7577212b90f0ddca9d0dc5332ab8fa41e7279d3e SHA512 06b91e1472535e5881a20123b7e59fb3f05a704b4f764d8c41a1a44b4447d24f265f3f3e7aac91ed37a6d3f7454c0130ef3e098fe86d6b11f0bd9a4691943a73 -DIST chromium-bin-106.0.5249.91-1-common-i686.tar.xz 3217616 BLAKE2B 9c1223e7ef22046dd490ee3db556437bf28e8ebb22de517a3faa5b37ee61d53aff914f6bcf6792ec35cff48774a76c5145d05889e3b90f4f43ea5d58e943a206 SHA512 7610475e185b7c98588df8a908c63a404980104d708b873123cf695c62130a1d036ddfe22d3d8deff538d5ea289328257019f876f3fca68b95a35e8b02b84b79 -DIST chromium-bin-106.0.5249.91-1-common-x86_64.tar.xz 3270032 BLAKE2B f9f2308eb9c05472093c5b0c53befbb0801d6391c7b5f44aad5e4b91deaacff0b9723b37d221a1e945d12b678d2bba24839e24acd3b6b3ba3079ed9ddfbd6206 SHA512 525653283674dd9a605540f7f946e9802290167b5db90f3d7102e03298558bb445aa5e60dade7285342387a0f48b4d503ef12fd117b307c160a8706c9bb517c0 -DIST chromium-bin-106.0.5249.91-1-common.tar.xz 4467896 BLAKE2B e45a541dfabec6a60f72f51c6ae6cb069a233762b32e3bc12b1f615de4dd074a93ab952dc7ad05945e21272e4adca90ef7a6f81eaba9d58a7346cb9170348aaa SHA512 85941d889961423d84be7dd40a935442b14f0c5d8f53c4b947673e5ff3c4ae7efdfdf1525497f0911d2c8e76ce0dba072d2c8f56dbb6d1cc07e1952a93dca9b2 -DIST chromium-bin-106.0.5249.91-1-l10n.tar.xz 5152160 BLAKE2B a3085f156b99e6bb259c2d62466617d503b8df5a5dbcd5e0b8748c2426bbe6422fea7cb223c66fc1e28a4d0a191aeb3f51e1fd82668794b34b8fc2a170e4c13b SHA512 167f7ab09a46c0c6694f89657e3aecc722ab7aa04f1dc5d5e676c1938297000573585eb3c8fc58e10cf7dc317553af3b0372bf1e5ec4a30734e81dcf146e22ed -DIST chromium-bin-106.0.5249.91-1-wayland-aarch64.tar.xz 83409216 BLAKE2B 9af658b0ea6223162ba29785516cfe5edac8acaacd6e74023d20ba0201cb1ee7308a2ae8dfd763981c792eb6ff8109c80beb4a943568ededa8b49b386d17588a SHA512 8ddea0736327d04c08d9db49cbfe69f35ad1af495ed89ffc47ca71abb978f5ba9fa288cf7618238de6ea9b049803ff4ec55b4e1f67b7e2aafc078d37e8e792c7 -DIST chromium-bin-106.0.5249.91-1-wayland-i686.tar.xz 85531812 BLAKE2B e8fba6fc28e643944e4105813c790c5a5bc25781c71214043e7a34c5b472ec4a0cbe714969d79079584fbeea64a8f39241883892fc5ec6cca5741efd940c815c SHA512 5d65287e1f1ab65d665369a0550d0bea728c51001cd1179dc0a0055108fcdf8c44391ed10703abf92af957600b6763468cd3cad839433b2269f94c7e5ffa6766 -DIST chromium-bin-106.0.5249.91-1-wayland-x86_64.tar.xz 85267608 BLAKE2B 05542170ce303d5e26205dab3a520fcfb4c92b52bcfd22cb308891da4095e95c60a039745ef72202faa036b7f65afed8d1024f09be5408980db03c269e826562 SHA512 9cd8fb389e58a13090d017bcaac86c7c92bcbe8f3a60e8ea30a7d66ccb766822cdf1f415f7399fbda7cd4640911d633a95486db91864ec6fa5687b1c00907a4d -DIST chromium-bin-106.0.5249.91-1-x11-aarch64.tar.xz 83198224 BLAKE2B 6f78aae07ce419d183665aa41d71f199057e4312c821db4527d1fc6b6955d1f7c084f75b3a8538ac95761e89ddbed36e346251d0bd20f5172ee8f0d98ef46112 SHA512 0ddee396ba3dcddfe902ffa6f09783cbf63e6e0c376dcef450fab7f19806ae7706a6aeff68147674b62d3f675b5841cb737b43d189a0a7da4355146054910fc4 -DIST chromium-bin-106.0.5249.91-1-x11-i686.tar.xz 85301484 BLAKE2B 0bd2e16fee99a53fe557f0db613553b6633256a1248e9a2220bb588698ec0788f04beb0145859b87f48eacad49c6814356e16411c8562f75d30b7f86dd7c3524 SHA512 02f7e5dc526a6475555aa1595fa46c0fbb1707a8c80a955b6c649e400866983c7d5d12a1ee1acc8d3429b3d97fc64ba46bb79d90e374a450195d8e9ead8d46e2 -DIST chromium-bin-106.0.5249.91-1-x11-x86_64.tar.xz 85049860 BLAKE2B 77049c9939bef3797d0a93106e665a02bb5a433e792166f9c275fa0e3a6b7232c008318db3b80a38b42df02e6c4fc7b664d5aaf3674b9db80ce267307c0a9817 SHA512 f94df9f12306b23d2c14bdb6663b384a40af7b14d6dc9d51b5d835dd6d4b263a765038fba9c96803ab6cb7c31cc2b7e5bf0ee7538294442df1592bd33c36c7d6 -EBUILD chromium-bin-106.0.5249.91-r1.ebuild 7272 BLAKE2B aa304efd66ea7214834ddcc7910e716a126d2d98491ee076b60c07391c23e92a07b4658f55a9a6a2a863c9de41ca7dff07bec6fec26ad53c1a7d5de98d0e1751 SHA512 5725c82c0814deca75636d2ebbb62d8f628b41de2a05a9b383d99de0b98f48411ad55f7605cf5744028ba87ea9b85a96c30c1a685cac35cf2183ebdb3f3b6425 +DIST chromium-bin-106.0.5249.103-1-common-aarch64.tar.xz 3204844 BLAKE2B 5b19b7d99c0f0970e1c8274c4d5caa066d0621a1e16fad6cbc7622d189c52207f386055375b6a3301bc2441b7577212b90f0ddca9d0dc5332ab8fa41e7279d3e SHA512 06b91e1472535e5881a20123b7e59fb3f05a704b4f764d8c41a1a44b4447d24f265f3f3e7aac91ed37a6d3f7454c0130ef3e098fe86d6b11f0bd9a4691943a73 +DIST chromium-bin-106.0.5249.103-1-common-i686.tar.xz 3217616 BLAKE2B 9c1223e7ef22046dd490ee3db556437bf28e8ebb22de517a3faa5b37ee61d53aff914f6bcf6792ec35cff48774a76c5145d05889e3b90f4f43ea5d58e943a206 SHA512 7610475e185b7c98588df8a908c63a404980104d708b873123cf695c62130a1d036ddfe22d3d8deff538d5ea289328257019f876f3fca68b95a35e8b02b84b79 +DIST chromium-bin-106.0.5249.103-1-common-x86_64.tar.xz 3270032 BLAKE2B f9f2308eb9c05472093c5b0c53befbb0801d6391c7b5f44aad5e4b91deaacff0b9723b37d221a1e945d12b678d2bba24839e24acd3b6b3ba3079ed9ddfbd6206 SHA512 525653283674dd9a605540f7f946e9802290167b5db90f3d7102e03298558bb445aa5e60dade7285342387a0f48b4d503ef12fd117b307c160a8706c9bb517c0 +DIST chromium-bin-106.0.5249.103-1-common.tar.xz 4467896 BLAKE2B e45a541dfabec6a60f72f51c6ae6cb069a233762b32e3bc12b1f615de4dd074a93ab952dc7ad05945e21272e4adca90ef7a6f81eaba9d58a7346cb9170348aaa SHA512 85941d889961423d84be7dd40a935442b14f0c5d8f53c4b947673e5ff3c4ae7efdfdf1525497f0911d2c8e76ce0dba072d2c8f56dbb6d1cc07e1952a93dca9b2 +DIST chromium-bin-106.0.5249.103-1-l10n.tar.xz 5152160 BLAKE2B a3085f156b99e6bb259c2d62466617d503b8df5a5dbcd5e0b8748c2426bbe6422fea7cb223c66fc1e28a4d0a191aeb3f51e1fd82668794b34b8fc2a170e4c13b SHA512 167f7ab09a46c0c6694f89657e3aecc722ab7aa04f1dc5d5e676c1938297000573585eb3c8fc58e10cf7dc317553af3b0372bf1e5ec4a30734e81dcf146e22ed +DIST chromium-bin-106.0.5249.103-1-wayland-aarch64.tar.xz 83405524 BLAKE2B 62a29f22c249664aeea375e336bc51946b072a6626df17475e6fb515fb0666f852cd4c0fa86949bd6a8887bb68e38f38e3900572adbaa2584730ebbb489232ea SHA512 911ea9aaa3830c3a12a1d499a4cfaf92cd24f3cc619ec1faef97a55914aec75434ebb7289a6efc841599944693aeceb782384dad25973b91c4d591eba264fc75 +DIST chromium-bin-106.0.5249.103-1-wayland-i686.tar.xz 85526300 BLAKE2B 5878cb79d8e70bdabf92cbda50059370391a1bf6b5f0fbf5b1adf001361d4fce97b64ebbb41774ecdd8e2498028e897d4d64a3ace1593af4884ecb319745cc28 SHA512 669912b7ecdd18de76962ba0c9901cd8c6adf92f94c11deb2a9614a9f6138a54e2674b6958e1fd4baee440a748b62c4e995468fcfe5d6ac6d97ea9ffa314276e +DIST chromium-bin-106.0.5249.103-1-wayland-x86_64.tar.xz 85276328 BLAKE2B 393ca8f14cefc7ea50821bb8a98ce4ad9a71b2f839cb39dcbd43a4d81217f5a964c304737a59e3b3d90f40ca24edbbf3a469156e4f3058bee2f81bbf6c160344 SHA512 74448692352c6647b641ec301895726940ca5cc4964c1336ba439e1f79d745af0e25e75459b072aeeedab5c167eda40c2ef53c8e58a9cfcd66f69ccaeb0bc120 +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 +EBUILD chromium-bin-106.0.5249.103.ebuild 7272 BLAKE2B aa304efd66ea7214834ddcc7910e716a126d2d98491ee076b60c07391c23e92a07b4658f55a9a6a2a863c9de41ca7dff07bec6fec26ad53c1a7d5de98d0e1751 SHA512 5725c82c0814deca75636d2ebbb62d8f628b41de2a05a9b383d99de0b98f48411ad55f7605cf5744028ba87ea9b85a96c30c1a685cac35cf2183ebdb3f3b6425 MISC metadata.xml 480 BLAKE2B 29b9f565ea38e89bb5559aa99c540e02b77db24046bbe3407d36440d95a7f0850261b08fb243095f4ffb00bb14d72dcb235786dd19040bbe1a2808fef4bdc662 SHA512 980ebd9f5ba50970f73c2cca4e0fc01df5e6003319d63be37dbd063b127786de2ed36a12c97281bb5208a04c52594f7578fdcbf00ea5b49a63995ba55e7e7127 diff --git a/www-client/chromium-bin/chromium-bin-106.0.5249.103.ebuild b/www-client/chromium-bin/chromium-bin-106.0.5249.103.ebuild new file mode 100644 index 000000000000..06ad66a7eaa7 --- /dev/null +++ b/www-client/chromium-bin/chromium-bin-106.0.5249.103.ebuild @@ -0,0 +1,242 @@ +# 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-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/0 + media-libs/flac-compat:8.3.0 + ) + 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." +} diff --git a/www-client/chromium-bin/chromium-bin-106.0.5249.91-r1.ebuild b/www-client/chromium-bin/chromium-bin-106.0.5249.91-r1.ebuild deleted file mode 100644 index 06ad66a7eaa7..000000000000 --- a/www-client/chromium-bin/chromium-bin-106.0.5249.91-r1.ebuild +++ /dev/null @@ -1,242 +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" -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/0 - media-libs/flac-compat:8.3.0 - ) - 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." -} diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest index afc8f7a781c9..dad49a712b78 100644 --- a/www-client/chromium/Manifest +++ b/www-client/chromium/Manifest @@ -20,7 +20,7 @@ DIST chromium-107.0.5304.18.tar.xz 1692448900 BLAKE2B a6ad73f94ff9fbeb87a2255ac7 DIST chromium-108-patchset-1.tar.xz 6344 BLAKE2B d5febda6415d0573d86f1c85dcf4449ab63633605b8d3cb5815bee0ed26dba8348554f8c7e06eb0450932c1062d388d5ad8817ef698afeb978bce1a98fcb3c5b SHA512 d5f47692388c66099d6af75c781866bc45e05ffb7fa91c354243fcd1dd83f5de3279706809b3f65039e07d2c3b03d86b7dadcf6d14d93d9aa53562f1b8318b01 DIST chromium-108.0.5327.0.tar.xz 1672115480 BLAKE2B c92636436fb8017d4a6b5e7daa7518384149ea6478998e511dd04e17c1cc788cfa2fe5484c1f732e134d4f351fa9f37f68bab306904307cf2de5158f825a5efe SHA512 a073b08ea7cff74440510c08cc90105a80f91f8bdf49e74de9f048be54821a7ef246078775260ffeff00c925a849d9958c0643e9bdc1f31edc798d4bb0928efa DIST chromium-profiler-0.1.tar 269066240 BLAKE2B 6897387b63ff9a724b67f2e8799fe803dc75da376da809e752d19d6f5cf98bd84ac24161d07ac4a967577279e9ad5a8a46f0825332a7ee933a27693d6dc95611 SHA512 3fb6132599d28455d1b5c04d856ea7623e49b0b0b96f021c31d0952c4ba57d69d0a1cae6f0b91470a235221c89cc0d3bb38303ff02594ed0739712e6e2f8dbcc -EBUILD chromium-106.0.5249.103.ebuild 37135 BLAKE2B 6a582633d9b10e373b901151d88c36508d7869433df6b4e275ad1cc454dadba2d65b4098e1ae43f7537a48acadfe400bdde1fac66665a059661e99b22259c98f SHA512 d0eb5768b6ce8f4207155e2286984e4bc8e4d7ded262a7bccb7555759aad19cc21bc21ea4ffd90862d9e708ff96e3143d004bde59961a59288a48660481e5fe5 +EBUILD chromium-106.0.5249.103.ebuild 37134 BLAKE2B 415db4b01840a61b189ce74da98fb4b31c8f64f713e4ceaf1093bf02e46eeb0f7fcd3640df9c71a8e4cddf5c98a7327607f0955af7ee14dc92874ef74959e62c SHA512 5569b3088fa69c7aa330335dd628196e22281e1a3ad2d12b56004163fd61333d602afec097bf37386701a5eb578b64f73c2e76c34af1d6fc885184e556978ff5 EBUILD chromium-106.0.5249.61.ebuild 37058 BLAKE2B 96947a02d1a60de3a829aa4b3084066caea320d13306c81c31e8b28b8682d519c3f3920ae5bf8a73aaa39134c90c5972c66af5bb73d428c1ce412b0c0bc8a633 SHA512 5d818660493103d2f3b98016d283143eefe911a92781229be91cb98a3cc309463a9d3795fef3bb04c8b643ef048613969f464adba22e5d4e5cacbc9b75d9ba88 EBUILD chromium-106.0.5249.91.ebuild 37059 BLAKE2B 65acd6465413b3588c3d6ad18603f5cff20807867eb94a7a90165afbde6399e6db5f0468598f3350e979bb695f4b61e17257792320a7be666886e210c3f8597c SHA512 53b59fa110d400e78fbf8bde9559e3dd7cf84a379800d832fceab4a4dac2c1d5f8fdb04c4c0a4bafb7ede433208daa1e73dab6179c32c8e5e1d7159e91d71c71 EBUILD chromium-107.0.5304.18.ebuild 37326 BLAKE2B e7a8eb54405aa6c41f35333cbbb1a5b2c36f95dbe52026b62330874425bcf1efe7e25f6372e426ba51befa6b89ba19620b33e035ba8e141343ea48dab34d676b SHA512 e20a70a48413ce3cf8c0390f622f78182f17a7c093cfe34439548123f38efa5def85c9276a4b8e1b3ce92411c9f07e084fa11e1c6f505ddb1ece2f2ad56d5b55 diff --git a/www-client/chromium/chromium-106.0.5249.103.ebuild b/www-client/chromium/chromium-106.0.5249.103.ebuild index 4075c12b6a87..f77e3d8651e8 100644 --- a/www-client/chromium/chromium-106.0.5249.103.ebuild +++ b/www-client/chromium/chromium-106.0.5249.103.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P} LICENSE="BSD" SLOT="0/stable" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="amd64 ~arm64" IUSE="+X component-build cups cpu_flags_arm_neon debug gtk4 +hangouts headless +js-type-check kerberos libcxx lto +official pgo pic +proprietary-codecs pulseaudio screencast selinux +suid +system-ffmpeg +system-harfbuzz +system-icu +system-png vaapi wayland widevine" REQUIRED_USE=" component-build? ( !suid !libcxx ) diff --git a/www-client/google-chrome/Manifest b/www-client/google-chrome/Manifest index 13af41e73cb8..2234b947457a 100644 --- a/www-client/google-chrome/Manifest +++ b/www-client/google-chrome/Manifest @@ -1,3 +1,3 @@ -DIST google-chrome-stable_106.0.5249.91-1_amd64.deb 92251412 BLAKE2B c50e79e6c79ae9c9b2f6388547f2a4d728f07bc2277c0a1bb0a15da3805e230a8fd1f1d38559b49173122ada78cf6a80dbf75f959142c4fbd792b464f13cf896 SHA512 58feba90be6493baefa0bfd4d44ba2f1772a114e96d15b469c16c670a8123f183c9a7d9c963b4350014f00f0930667248fdf72db5820975093fbef50857b44b8 -EBUILD google-chrome-106.0.5249.91-r1.ebuild 2805 BLAKE2B ee542fcf80833dc447c3b0c5ae5431a8e4d9bb1d194a649bb19b8efc4e06db35851a3d910b476d73478326fb064e74a23a8d24ec024ee1da3549643a0b765061 SHA512 3ccf99e1300f5dc448f66694ae2b6af1938aae64c25a972059c6fe2087673d29ed9f6d5c953ac1decfdb1366b21bc85797fcc8a5e3baf50e6c63db1be93495f8 +DIST google-chrome-stable_106.0.5249.103-1_amd64.deb 92243056 BLAKE2B d8fefc40013ce91d67555186357ca1934d18a6c136a007a641a1e058c3b07b4e0187ca6c963838c59bb0785a3bfaa970b546fbd8b862687e4801dd17a499e489 SHA512 5d362c349eae00be7899e8b89dc122783c99ded7d715a0e235335608c5bfdc974f33c79d6c3269ff18cf145950e1489ef9a470468f7af93bbe3c235070699003 +EBUILD google-chrome-106.0.5249.103.ebuild 2805 BLAKE2B ee542fcf80833dc447c3b0c5ae5431a8e4d9bb1d194a649bb19b8efc4e06db35851a3d910b476d73478326fb064e74a23a8d24ec024ee1da3549643a0b765061 SHA512 3ccf99e1300f5dc448f66694ae2b6af1938aae64c25a972059c6fe2087673d29ed9f6d5c953ac1decfdb1366b21bc85797fcc8a5e3baf50e6c63db1be93495f8 MISC metadata.xml 437 BLAKE2B 35ab5a754d8e65db84e25b08c76bed923c2f9eb1b1d65687dda842313b5f339c90cbb3eb8fe12ecb58f201383955ad8f72a5b34484265194a3fcffcf760122ef SHA512 82e6057b085e849bc5484b53fef974022bb9db33836502e8d54fca3c8f54f47768f9b0ed4591d90a444e82142e727d4e4071236b114705f91c005f170b2a3986 diff --git a/www-client/google-chrome/google-chrome-106.0.5249.103.ebuild b/www-client/google-chrome/google-chrome-106.0.5249.103.ebuild new file mode 100644 index 000000000000..debf03942e48 --- /dev/null +++ b/www-client/google-chrome/google-chrome-106.0.5249.103.ebuild @@ -0,0 +1,123 @@ +# Copyright 2011-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 unpacker xdg + +DESCRIPTION="The web browser from Google" +HOMEPAGE="https://www.google.com/chrome" + +if [[ ${PN} == google-chrome ]]; then + MY_PN=${PN}-stable +else + MY_PN=${PN} +fi + +KEYWORDS="-* amd64" + +MY_P="${MY_PN}_${PV}-1" + +SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb" + +LICENSE="google-chrome" +SLOT="0" +IUSE="selinux" +RESTRICT="bindist mirror strip" + +RDEPEND=" + || ( + >=app-accessibility/at-spi2-core-2.46.0:2 + ( app-accessibility/at-spi2-atk dev-libs/atk ) + ) + app-misc/ca-certificates + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + >=dev-libs/nss-3.26 + dev-libs/wayland + media-fonts/liberation-fonts + media-libs/alsa-lib + media-libs/mesa[gbm(+)] + net-misc/curl + net-print/cups + sys-apps/dbus + sys-libs/glibc + sys-libs/libcap + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + || ( + x11-libs/gtk+:3[X] + gui-libs/gtk:4[X] + ) + x11-libs/libdrm + >=x11-libs/libX11-1.5.0 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/libxshmfence + x11-libs/pango + x11-misc/xdg-utils + selinux? ( sec-policy/selinux-chromium ) +" + +QA_PREBUILT="*" +QA_DESKTOP_FILE="usr/share/applications/google-chrome.*\\.desktop" +S=${WORKDIR} +CHROME_HOME="opt/google/chrome${PN#google-chrome}" + +pkg_nofetch() { + eerror "Please wait 24 hours and sync your tree before reporting a bug for google-chrome fetch failures." +} + +pkg_pretend() { + # Protect against people using autounmask overzealously + use amd64 || die "google-chrome only works on amd64" +} + +pkg_setup() { + chromium_suid_sandbox_check_kernel_config +} + +src_unpack() { + : +} + +src_install() { + dodir / + cd "${ED}" || die + unpacker + + rm -r etc usr/share/menu || die + mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die + + gzip -d usr/share/doc/${PF}/changelog.gz || die + gzip -d usr/share/man/man1/${MY_PN}.1.gz || die + if [[ -L usr/share/man/man1/google-chrome.1.gz ]]; then + rm usr/share/man/man1/google-chrome.1.gz || die + dosym ${MY_PN}.1 usr/share/man/man1/google-chrome.1 + fi + + pushd "${CHROME_HOME}/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + + local suffix= + [[ ${PN} == google-chrome-beta ]] && suffix=_beta + [[ ${PN} == google-chrome-unstable ]] && suffix=_dev + + local size + for size in 16 24 32 48 64 128 256 ; do + newicon -s ${size} "${CHROME_HOME}/product_logo_${size}${suffix}.png" ${PN}.png + done + + pax-mark m "${CHROME_HOME}/chrome" +} diff --git a/www-client/google-chrome/google-chrome-106.0.5249.91-r1.ebuild b/www-client/google-chrome/google-chrome-106.0.5249.91-r1.ebuild deleted file mode 100644 index debf03942e48..000000000000 --- a/www-client/google-chrome/google-chrome-106.0.5249.91-r1.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 2011-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 unpacker xdg - -DESCRIPTION="The web browser from Google" -HOMEPAGE="https://www.google.com/chrome" - -if [[ ${PN} == google-chrome ]]; then - MY_PN=${PN}-stable -else - MY_PN=${PN} -fi - -KEYWORDS="-* amd64" - -MY_P="${MY_PN}_${PV}-1" - -SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb" - -LICENSE="google-chrome" -SLOT="0" -IUSE="selinux" -RESTRICT="bindist mirror strip" - -RDEPEND=" - || ( - >=app-accessibility/at-spi2-core-2.46.0:2 - ( app-accessibility/at-spi2-atk dev-libs/atk ) - ) - app-misc/ca-certificates - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - >=dev-libs/nss-3.26 - dev-libs/wayland - media-fonts/liberation-fonts - media-libs/alsa-lib - media-libs/mesa[gbm(+)] - net-misc/curl - net-print/cups - sys-apps/dbus - sys-libs/glibc - sys-libs/libcap - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - || ( - x11-libs/gtk+:3[X] - gui-libs/gtk:4[X] - ) - x11-libs/libdrm - >=x11-libs/libX11-1.5.0 - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libxcb - x11-libs/libxkbcommon - x11-libs/libxshmfence - x11-libs/pango - x11-misc/xdg-utils - selinux? ( sec-policy/selinux-chromium ) -" - -QA_PREBUILT="*" -QA_DESKTOP_FILE="usr/share/applications/google-chrome.*\\.desktop" -S=${WORKDIR} -CHROME_HOME="opt/google/chrome${PN#google-chrome}" - -pkg_nofetch() { - eerror "Please wait 24 hours and sync your tree before reporting a bug for google-chrome fetch failures." -} - -pkg_pretend() { - # Protect against people using autounmask overzealously - use amd64 || die "google-chrome only works on amd64" -} - -pkg_setup() { - chromium_suid_sandbox_check_kernel_config -} - -src_unpack() { - : -} - -src_install() { - dodir / - cd "${ED}" || die - unpacker - - rm -r etc usr/share/menu || die - mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die - - gzip -d usr/share/doc/${PF}/changelog.gz || die - gzip -d usr/share/man/man1/${MY_PN}.1.gz || die - if [[ -L usr/share/man/man1/google-chrome.1.gz ]]; then - rm usr/share/man/man1/google-chrome.1.gz || die - dosym ${MY_PN}.1 usr/share/man/man1/google-chrome.1 - fi - - pushd "${CHROME_HOME}/locales" > /dev/null || die - chromium_remove_language_paks - popd > /dev/null || die - - local suffix= - [[ ${PN} == google-chrome-beta ]] && suffix=_beta - [[ ${PN} == google-chrome-unstable ]] && suffix=_dev - - local size - for size in 16 24 32 48 64 128 256 ; do - newicon -s ${size} "${CHROME_HOME}/product_logo_${size}${suffix}.png" ${PN}.png - done - - pax-mark m "${CHROME_HOME}/chrome" -} -- cgit v1.2.3