From f54116d3fa23b2223762bd6ccbd79e1cc361a2fc Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Tue, 8 Jun 2021 16:10:34 +0200 Subject: [PATCH] Reverted old version --- www-client/chromium-bin/Manifest | 24 ++ .../chromium-bin-91.0.4472.69.ebuild | 234 ++++++++++++++++++ 2 files changed, 258 insertions(+) create mode 100644 www-client/chromium-bin/chromium-bin-91.0.4472.69.ebuild diff --git a/www-client/chromium-bin/Manifest b/www-client/chromium-bin/Manifest index dc8b867..e69881f 100644 --- a/www-client/chromium-bin/Manifest +++ b/www-client/chromium-bin/Manifest @@ -1,3 +1,27 @@ +DIST chromium-bin-90.0.4430.212-1-common-aarch64.tar.xz 5928052 BLAKE2B b1cdd0e59da717a847758128dbe37e67a0f1ba80b45f1a7e00199f9be77eb4c54b6e9a60348d110427bfc97f47ccc09777e1b909fdd68254dfb590d8ff2b3ee6 SHA512 abeb3ccbf085ee50db87d1c44687f55823aac4f87053ab5826bf1fa67ff8176c0e3598fd61f90740c61e7b15fa97106b4bccdcfb3f0d568c61f5f7be828c5c53 +DIST chromium-bin-90.0.4430.212-1-common-i686.tar.xz 2172640 BLAKE2B 61703c4669789c0eb2d713d731bd5522e51f57af3ec7d594b0e29e694999aefc415a258c7a98edf247a41e313d7b126d4f5bdd7db9e4c0a1abe81ea05fd7c6a2 SHA512 8abf0878a54605aeeed1379d3bf3eae65db49761e79268571bc55e008ad2e842b0b2831185158c3cb30bba0423a5975c2110d6f6b5a490da8a1f1b48df7758d6 +DIST chromium-bin-90.0.4430.212-1-common-x86_64.tar.xz 1640880 BLAKE2B a59f94070ebeb848a42a79588b7b8a26c10fb7af406fa04ab7d4c57cf832b1c2408e3e9c87579b65dc6ef94ada25ed491bae91c089356116101a5f6f28d2c7b0 SHA512 ad8d2c319dc5d2fbaa470c4e3ee25eb80e7e5617e4a4a938b2af39d8738d9a3adef8ff713abaad085c1a896ca46e67a77c4beaca3c3053c2490a54c7927e6e89 +DIST chromium-bin-90.0.4430.212-1-common.tar.xz 1689260 BLAKE2B a70a6f1082db884cfbd51cbdac0b8c32195afe9f04487db9ff0190d8d8ceaee6c83877e96fe97154a01c283512ca116db2f86b7cdb199997db4abf513d8206a6 SHA512 64da5562c0e5a681593a935a85aa66de943f78556945e6e3b58b45125cb7fc972f368489756aee3af55e74899f79e5ff5b2c35d308b3caa597eda3147a9159d6 +DIST chromium-bin-90.0.4430.212-1-l10n.tar.xz 3831652 BLAKE2B fad09064fe6e10bd63ef574778f192e8c6561fe73c8d02fab61b61a6002093e1157537179b86f4bdc6e3f081792f5775621f016f754d423ea39bb48519d388e9 SHA512 1e61cb072389d9731830799d3887765a7ccba75723116835c445e3135bbe0ab51b55821effc1ba5dfe7f56f5cca02219bb162da2b1f28fa2a732a8052728aca4 +DIST chromium-bin-90.0.4430.212-1-resources.tar.xz 3309048 BLAKE2B a29bae09aafa903d5ce8bba9686b486582be9b9883bf34cfa1dab66347064bb44af63682c861714e2e3ec7ca4372b57b7caa0e284d110b1761ae9c8119f57777 SHA512 b3a4d20bc3315410b656621d51b14c3f943e498af13e249f41e74c08476133dd79b65c06b7d72dae323b64e9d9a9bad296b543ec3ca7d00fa68c25dde1d4df86 +DIST chromium-bin-90.0.4430.212-1-wayland-aarch64.tar.xz 71529352 BLAKE2B 69c9e1caa826f794bb49633d00fd29f3a1497bdb3d01e48c384ed096cac5cf6175285e5ea4850e75e593bb756807d78f170e17cc2fa2ff860fb1d101170c8d5e SHA512 8a6797e8aa3a25756fd1884a7e172a81872d9d53b49a6a385639602cbd3052a69583acac2400781354628a228fcee0ab557ee228f38cc2b6618ea07634eeba25 +DIST chromium-bin-90.0.4430.212-1-wayland-i686.tar.xz 93710084 BLAKE2B 8f078beec0255b861073ba365f3438d3e50ec6131affa7be74ed49b80366d3afd234e3a73c0ff984e82786f6369c2531bd56e794b0653f8c59fc8a71608a94f1 SHA512 8b7661fdf090a01a56af1ee023bcd6f93a628d970152f874178a1e8ffb135f4988529cd0e97a04e27608c8f97d9e19c4a1966ba2f634a7e4c68ad60ef63bd5a2 +DIST chromium-bin-90.0.4430.212-1-wayland-x86_64.tar.xz 73345572 BLAKE2B 3fb529771990828b4846f3d38021f189e89e427c93b6852f8a3bff45ad89b5f12fcce47ba90672240508ba0ccedda762247cbcdd6e5822b9b06a679d87498f0b SHA512 42caf0cf951d06126e48faf5518f2c07563c72e5a6d2c744ed0d5b952b4a8abae2dcf7fdcbf830a2bf9299a64c75d5326f1bd7bfa867153db4272a1b02f084d4 +DIST chromium-bin-90.0.4430.212-1-x11-aarch64.tar.xz 71402020 BLAKE2B 00c753a528a1990654d899dd80357f7ec0b2c8d2f2a72ad6eddf55ec3c388541b96ef54171dca443452c7cd44e59332c2875e8251874a5f224e36c6759ea1605 SHA512 b51ca82634c68ed8e40eb4ce3eb4438807447ea1403076d3ddd22bb80a222514626da77c94deca6c1a70ed3a2038df1dc42fa8bfc7499a7e4459e602c3675e65 +DIST chromium-bin-90.0.4430.212-1-x11-i686.tar.xz 93425664 BLAKE2B bd83f75cb74d3d02ec62034cb4f83d76749c55344b7b93f7312fb0c14d358d607f51c305fa70f7601cab2a640424b92c141aa4ebd55be8dd6ad62560c4eba684 SHA512 bc607f5b5f742b3655ff91f05f42ead0f84311608eadfb88d10be7052d7c0834eb64fed037c551727b5f37946a5d74d06d1d199d3f179fc82f6276287551eac1 +DIST chromium-bin-90.0.4430.212-1-x11-x86_64.tar.xz 73154292 BLAKE2B 87d66563a8875e0b40a892952fa4afa64003efe84a1667138dc02eb62ec4cf0756ee0d2c4b68be1c8b746f2e7a844fff137cc9c93a30c64b3ae80a750ae90e33 SHA512 180cc5d9bef0a737764564fa04dee8cf820e8628f45f370f97100d78c4c643680ed013194197303d99cd570041d83ef9b78ab0c8310c190cb106d4aaffe5cf57 +DIST chromium-bin-91.0.4472.69-1-common-aarch64.tar.xz 5928788 BLAKE2B 0dde74d70be29b1ec8a2dcb517db963482a8d15514983bfd5f176ca7041f9d35ba5df3bc3f6d052f78bcfe3ac9ea87e194ed461fabf68f4c71c5cada2248b702 SHA512 58419f5316dca53ac82c3c68e8b50fc47c7f6d3f23849f5b65e261d3f016664d74ee3d01122d44047d95689346193b623fc0c045a5398dd0229135bdff7e091b +DIST chromium-bin-91.0.4472.69-1-common-i686.tar.xz 2185540 BLAKE2B 29923f6d06dbc1e96590bfbf0c10e933b002d1ecb9b3e6605149db4c0c9f050b9e2dbee3ab940391adceb3374cb4053573e3839c62ed00de14376cce7585f234 SHA512 cfc936ab465f0e98090e5bb65b4aae8eb50790074709822782733e4f5ccfc333b75bef3e7a682ca0ea8c97864581ce706768e8673b66620c637b0820257df62e +DIST chromium-bin-91.0.4472.69-1-common-x86_64.tar.xz 1646044 BLAKE2B c196a1b9c1909a95466fed014ab8e3e9d754d02f71705df4f35788ead6aa8fd0fa21343377b0ac5689c8ca117fb382210edaf64f7efa17a09a7d94eecdfd28bb SHA512 6e0c3b10f70a227ac4095681814042b09d240edc1b7369c431addfa5bd8cd49ac676894416cdbe3eac252670209810284c5e3a8f5da744a8dbe1212a23cad6d8 +DIST chromium-bin-91.0.4472.69-1-common.tar.xz 1683988 BLAKE2B 4b2ea5b6a79c6cf21623bd272ae7866ea7aff56430ede653c3940aa8eb61b91153c866656f0357e7164db9dd544fa5a22cff4399f997f2995a73e53da90014ef SHA512 351c6071360b2d32ebe0f4ffb0df69274f54952b7c3b40ffef509a3928646f3b350fc9faccd69802aa4aed6964349cb2bcbf3bf332402d8e1642ab1da1354cf5 +DIST chromium-bin-91.0.4472.69-1-l10n.tar.xz 3889292 BLAKE2B a7d007a29956846ce1b3250ea6edbecc6ad0c996478ab3f8234ac6207d89382fb58cbbbad3310d83eeeed663fb2fcb1ace22844c10174667f2f5bb403dd36075 SHA512 7f2568ed7b9aca9a66d8bcc984b423442baf37f1ec281a0bbc8b3d04c5c95b3a77c2b75ecc4acbf0746ec3b1be763627a1951830d9f2f713f57f46bcb3e92594 +DIST chromium-bin-91.0.4472.69-1-resources.tar.xz 21404 BLAKE2B 3b13df4eb46c0a65476fe5e10e648d19a73eafe1313f43192384d3cb82d67081ff599059a54c61ae4fd9d136d3397a5c50a49dfc6903b6c2d231c2d4eea86d63 SHA512 bb383d1d390c8f74948803ac0ad5a3a607300c3f5a1c11e8002713df75dd227ee2d7b9417ea7a2de59925aa7c091c0ed44b2d03b7e1cd35dc14f70d365311de9 +DIST chromium-bin-91.0.4472.69-1-wayland-aarch64.tar.xz 71789644 BLAKE2B d76647bc25a77da7c922f505d103ed156c569e02f1ec05e7d1a364b8ef545e0fb67dad101fe0bfdf3249c347e016bdfa41ce6cb75ac362a89cb7da3a8ba63236 SHA512 b6120b7602e13269250e4f7f74ce227e8a2f4912d66be1d799d86c61132bfdd4f7ffeb1775c7a498525306994eda28323e29567bde9bc83e9997a0486e1c9dc4 +DIST chromium-bin-91.0.4472.69-1-wayland-i686.tar.xz 95000556 BLAKE2B 0d6a2fde26088cb6831a47baa1563deb21fd31e7cb3706ea18a65825014d3c821170ddb7f60a6b74daca69a51f112665b60d0e298a920a3166f5edfda2ecf1c3 SHA512 18e33b7b2c3e618b23d2115fcfcf71aca8b3386c3c589406d2454e177493e1f9f7d9cbbf232983638475aa0afc62a0f711709361fb9525183ea088ec12a32b25 +DIST chromium-bin-91.0.4472.69-1-wayland-x86_64.tar.xz 74063088 BLAKE2B aa581e152a3b1f075fcd6caf38e09882450ee1e2d1300e431d9e595aa6e919441fad569ae73ed14018a794d4488a355c6a570bf5ade91918bae53f6747661da9 SHA512 547d1d0e2965d0334cc3877c17c1029a33e646667e5a6f1930a554db04efd540ce9fae83dcec1aa710e7c54f71109fc28d867ebd66a4bac56baa4a1b1391b416 +DIST chromium-bin-91.0.4472.69-1-x11-aarch64.tar.xz 71652868 BLAKE2B 7d2d360dc07606ca8f6a53488d090e94a0ba2757e2919aa063c9d4956aa7d904ed72a9833a73bc12ef0e7dcdaa926d925bb4cc6ce939f55dd46e401dde0212e8 SHA512 70c3ea3b0c110548d2e61e0b6f8967d89fce1e6e68101d75dff0e0d0625c42ddc0895d83d53ed29ac58f5ac2a4074125eb2840c3ced1063c5008f992dd02823f +DIST chromium-bin-91.0.4472.69-1-x11-i686.tar.xz 94897352 BLAKE2B 7fbb521425a419a829d24e44b3a7a369376c847eafc6fe7ddb886bfa2a1bb0a19f8c67fa8b0fd0dc47967aa5eb9e583c354741700e26d73db80a35763abb7298 SHA512 04a21a8ebe8117d36d4527745d8bc285f83f8c290f18fb38d345b9f7ed8aa0eb71e79367c8a219c7a16337c04ad322547329e05f51b4ff5ccd8d199a9db5423e +DIST chromium-bin-91.0.4472.69-1-x11-x86_64.tar.xz 73897076 BLAKE2B fd6be76bc83ef33daa1f74eb04bf97987e53384faf6c6174299220b666fcc159fe3114b858ec71a295d78319e0b0121a0c653b24a1e786a242c509ac254e77c1 SHA512 724c8d8e92bfe28b9e2d65bc063cde3708dcddf1836cd46870f7ab8c673f30c1d9bd358ded1ac72141322373406e28dbe860ddfcb163ea861d3c70752de120da DIST chromium-bin-91.0.4472.77-1-common-aarch64.tar.xz 5929860 BLAKE2B bbd873c513a4a13eaba0cf10f658c6b50ed8b9885ba3d91937ed3f37f15d8e8767ab03cc16518a0d4cc638df278ed8f6a5a827860b327ad95ca053b5870632a6 SHA512 0312dbbc8baa31f1c482a2eb291e132ec0c9f0b429b4ca14e16e6b790755c82222cb123fa927ef7a7f47d7f51c6f2e6d50c1ce1e975f501801f0606ea2bc6721 DIST chromium-bin-91.0.4472.77-1-common-i686.tar.xz 2185520 BLAKE2B 1ae4adc1df052ff3bf4951b6288ddd2f2b60f8876b2ed884282df940d5e9e699c583c6dd3a1e83edb22d0db242057cda2f6394ccbbabe4e600cbcb346ee3e93b SHA512 76090f509ccd0ea0e3b0de317ba496104a1f6c0ffde6a403de26041d030d20a03bf4718530394302540ebda1ca1ac765806777729efb783b6a24edadcfa0afce DIST chromium-bin-91.0.4472.77-1-common-x86_64.tar.xz 1646104 BLAKE2B f4b2d2e77c764e7eaa550d4eb3d2861d7269873b60399df1cf0b999a09b6df16607b257009424525f3c5b7b9fa0a41d55b707421d2ac5957a45c571f18654c07 SHA512 c6fa292024c53824c0460b7c8f78ea81336ce4995781b3735b21ae8a9f0691cd43e8cccf846290df0d9e8427e3ee70b429d2a4aedff646651cdc525eb169819e diff --git a/www-client/chromium-bin/chromium-bin-91.0.4472.69.ebuild b/www-client/chromium-bin/chromium-bin-91.0.4472.69.ebuild new file mode 100644 index 0000000..c818e77 --- /dev/null +++ b/www-client/chromium-bin/chromium-bin-91.0.4472.69.ebuild @@ -0,0 +1,234 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CHROMIUM_LANGS="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 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 + devtools? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-resources.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 devtools selinux suid +swiftshader wayland widevine" + +RDEPEND=" + app-accessibility/at-spi2-atk:2 + app-accessibility/at-spi2-core:2 + app-arch/snappy + dev-libs/atk + dev-libs/expat + dev-libs/glib:2 + dev-libs/icu:0/69.1 + dev-libs/libxml2[icu] + dev-libs/libxslt + dev-libs/nspr + >=dev-libs/nss-3.26 + dev-libs/re2:0/9 + media-libs/alsa-lib + media-libs/flac + media-libs/fontconfig + media-libs/freetype + media-libs/harfbuzz[icu(-)] + media-libs/libjpeg-turbo + media-libs/libpng + media-libs/libwebp + media-libs/mesa[gbm] + media-libs/openh264 + media-libs/opus + >=media-video/ffmpeg-4.3 + || ( + >=media-video/ffmpeg-4.3[-samba] + net-fs/samba[-debug(-)] + ) + net-print/cups + sys-apps/dbus + >=sys-devel/gcc-9.3.0 + >=sys-libs/glibc-2.32 + sys-libs/zlib[minizip] + virtual/ttf-fonts + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3[X] + x11-libs/libX11 + 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 + amd64? ( + widevine? ( www-plugins/chrome-binary-plugins ) + ) + selinux? ( sec-policy/selinux-chromium ) + wayland? ( + dev-libs/wayland + dev-libs/libffi + x11-libs/gtk+:3[wayland,X] + x11-libs/libdrm + ) +" + +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 + + # Remove SwiftShader OpenGL libraries + if ! use swiftshader; then + rm -r "${CHROMIUM_BIN_HOME}/swiftshader" || 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 && use amd64; 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 and USE=drm enabled." + elog + elog "VA-API is disabled by default at runtime. Either enable it" + elog "by navigating to chrome://flags/#enable-accelerated-video-decode" + elog "inside Chromium or add --enable-accelerated-video-decode" + elog "to CHROMIUM_BIN_FLAGS in /etc/chromium-bin/default." +} \ No newline at end of file