diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2022-12-15 15:50:09 +0100 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2022-12-15 15:50:09 +0100 |
commit | 11af88d2b1c01644d44fb983fedcf0d9986e87e6 (patch) | |
tree | 7d3c10df1c50c94986928a129b0144275f481f5d /www-client/chromium-bin | |
parent | www-client/chromium-bin: stabilize 108.0.5359.124 for arm64 (diff) | |
download | gentoo-11af88d2b1c01644d44fb983fedcf0d9986e87e6.tar.gz gentoo-11af88d2b1c01644d44fb983fedcf0d9986e87e6.tar.bz2 gentoo-11af88d2b1c01644d44fb983fedcf0d9986e87e6.zip |
www-client/chromium-bin: drop 106.0.5249.119, 107.0.5304.29-r1
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'www-client/chromium-bin')
-rw-r--r-- | www-client/chromium-bin/Manifest | 22 | ||||
-rw-r--r-- | www-client/chromium-bin/chromium-bin-106.0.5249.119.ebuild | 239 | ||||
-rw-r--r-- | www-client/chromium-bin/chromium-bin-107.0.5304.29-r1.ebuild | 241 |
3 files changed, 0 insertions, 502 deletions
diff --git a/www-client/chromium-bin/Manifest b/www-client/chromium-bin/Manifest index 08be8cc27f5f..e168b59c610c 100644 --- a/www-client/chromium-bin/Manifest +++ b/www-client/chromium-bin/Manifest @@ -1,25 +1,3 @@ -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 -DIST chromium-bin-107.0.5304.29-1-common.tar.xz 4430104 BLAKE2B a1d111c1d6ed9cf12a3a02a27b8e32155478e1b418cc889b71d2ca490e02794cce158944ad5d03ad292629f2b813332962eead7d058ac2a9bfff25137c45a473 SHA512 82c56e625a2e5675dd1a68966bc41150d49c0d75b7d40d5f7e11c0b17d83cc767f8494f235a239e97c7fa47b3f5cb4c16d37e068c4263083905ce8cd8d1a7ed1 -DIST chromium-bin-107.0.5304.29-1-l10n.tar.xz 5223852 BLAKE2B a025bad668cefb4ab50486fad3fffae95975dcfdc40f4bf0eca09022c504ffffa262c8ca57692c347dce19a225ebde9665013aecc375ca371dafb103d5e6a36a SHA512 2b026a3110f9662476901b9b29e092d676147e82b8645378a3528cf6b1a7b00fe15442983a5f4c283d73309ae7cba770ba2a034bb0b90e8d121ab6dac80bdc53 -DIST chromium-bin-107.0.5304.29-1-wayland-aarch64.tar.xz 83926632 BLAKE2B 063061cd6dd3cd545bf3ede8855f3858ed5a89755c2b04c84effd103b1fb2df90e8df588966ab21b89f23b8fff5a51ccf42293c6f91517a4200cb1fe60447527 SHA512 cb244d290dc7f2d5001c5a422437ce47a2628773a693330a933d6dfc3176dd3e672119cc7932261db5c98be5824562b7b70211d1f8425b80227c45cb4f4034e2 -DIST chromium-bin-107.0.5304.29-1-wayland-i686.tar.xz 85616652 BLAKE2B 9584c172decf03d9e611a9e6f4f0032c701bfc5f63120f1c0c013753e8ec3f8a9d44750ef4a8daa8805f3b21184ba86a8668a9d92619b05d27e0f57b64d8b03f SHA512 8ef8f781ee6556d86fafb99755143ae51c49d035d99b90b2b162beb6aeeff49d797ec525cfb429a5fc386caf53ab82f068c21eb2b4ddc0557704f7f96e94292e -DIST chromium-bin-107.0.5304.29-1-wayland-x86_64.tar.xz 85979708 BLAKE2B 1693b87ebc8ad04392abda4cac972a740176dd99cf9d38410c25857457add83fe50002fa0afc89c3353cdecbc32e9c689b457c00b62303bf6309b5e2c0946520 SHA512 2376294b6d03ebb7355754109dd1b37d432c86baa63b663ef4c060f215705c918c5086dce4102b4e96249a953596e6dfcbbc02b455f7ac58ee514fe7d0cbee7f -DIST chromium-bin-107.0.5304.29-1-x11-aarch64.tar.xz 83690600 BLAKE2B 6f23bbf9f10e248f5effc8be11de2d9c5e27cf7231e42c153b298b3589a7d89b3719e40f017682331a6d90ae6fbed31693f05bf17ff8eff7c54540d2eaabfa38 SHA512 f13d16780f06eef28a9a1a2f4f12bb7c40f8a7d20064f42c7435467d848b062922730a4d0f03c35660ed18df7803878c87de7749012a1de4c7582bf305a8d03d -DIST chromium-bin-107.0.5304.29-1-x11-i686.tar.xz 85389512 BLAKE2B 715330c9a6c1430290e955262ba0d3dd61147f2a767134fc35738432b5334d093dc8a940cbaf4d2b191f58d495b9e557cb999d8841f4cfa12b5d5d2a43a24082 SHA512 6ab2690d5486b36849e76e758590b65c1bb5b0a4d3ccb86ba909f086c076eee7cb7aaec9eda24629f2acf62774e45cdd5091d0aff26962c1835478e62ae52714 -DIST chromium-bin-107.0.5304.29-1-x11-x86_64.tar.xz 85727940 BLAKE2B f94a00102c93078a147e4dc66333c7cb2ad6820ea61afd4a8be3837d620a29bd31f8bcf0e983008abe280722219c605e2aab0a961778596319ac596fe254a537 SHA512 2202dc504f9cec5eb38a5c7299d5fe9c7af834b1e0ae3162aa2df7e929d6dadf13b2391c7bdf1f4790c532f80364d3d53a1e99c53602f80ca48d10ecfd6b9ffd DIST chromium-bin-108.0.5359.124-1-common-aarch64.tar.xz 3233044 BLAKE2B 501d30972c863479cdcfb15e1527751b7b28a41fc5427800a5678445da487632150e38d75cab1b4ef9e781a5198dbceeb27f02c330b7c560629dc8002d5c670c SHA512 2a9b02e463dde62193d247c607ebc4cf6a111a2708c5c39465647bf751e004e57c0183af0ed592721a5ef8961540d6b4106f90251169269c70dec7de23f95d8b DIST chromium-bin-108.0.5359.124-1-common-i686.tar.xz 3261516 BLAKE2B 6e9c884ce2dea510dead6ebcd3759ab36d84ee091286f59a40faab497e914a666058dde17196c832bf03e56e3c690e3cae4a62f89b469959d1c786f417f7bffd SHA512 825d4cd4a93f19c28eaae70c2603c582ea6fd019cee375bccd3c755bd884c6a4c8b154375910c2cef559342dced9ad5e860963b0914cfe06babd4ee39ba6f9d1 DIST chromium-bin-108.0.5359.124-1-common-x86_64.tar.xz 3305004 BLAKE2B 8c08464c41057a97dbab960d788a47a6db6e2dc05a195016e0374f24d54ea0818bb3c512962d3a0cd44ea5caa9ef82531a7c78916c8739bce99a49a39206c8dc SHA512 ca153ed28bd61322376a220dd20684ff0927e13a3b12a82b1e0ac151e6e3d8593acfa4926a7a58148f9ffddd7ef5564ef76ebb4bf5bbb99e3e6a712c05005723 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 deleted file mode 100644 index 1845cba9e26b..000000000000 --- a/www-client/chromium-bin/chromium-bin-106.0.5249.119.ebuild +++ /dev/null @@ -1,239 +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/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 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 - - 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-107.0.5304.29-r1.ebuild b/www-client/chromium-bin/chromium-bin-107.0.5304.29-r1.ebuild deleted file mode 100644 index 5d271a2afb1c..000000000000 --- a/www-client/chromium-bin/chromium-bin-107.0.5304.29-r1.ebuild +++ /dev/null @@ -1,241 +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 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/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/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 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 - - 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." -} |