diff --git a/www-client/chromium-bin/Manifest b/www-client/chromium-bin/Manifest index 8ffbd1a..e6bf16f 100644 --- a/www-client/chromium-bin/Manifest +++ b/www-client/chromium-bin/Manifest @@ -10,3 +10,15 @@ DIST chromium-bin-90.0.4430.212-1-wayland-x86_64.tar.xz 73345572 BLAKE2B 3fb5297 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 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..ecd5174 --- /dev/null +++ b/www-client/chromium-bin/chromium-bin-91.0.4472.69.ebuild @@ -0,0 +1,237 @@ +# 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." +}