From 4df758340c38fb7f188a6356561aeb4ed2c3f38c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 8 Oct 2022 13:29:57 +0100 Subject: gentoo auto-resync : 08:10:2022 - 13:29:57 --- www-client/chromium-bin/Manifest | 2 +- .../chromium-bin-107.0.5304.29-r1.ebuild | 241 +++++++++++++++++++++ .../chromium-bin/chromium-bin-107.0.5304.29.ebuild | 239 -------------------- 3 files changed, 242 insertions(+), 240 deletions(-) create mode 100644 www-client/chromium-bin/chromium-bin-107.0.5304.29-r1.ebuild delete mode 100644 www-client/chromium-bin/chromium-bin-107.0.5304.29.ebuild (limited to 'www-client/chromium-bin') diff --git a/www-client/chromium-bin/Manifest b/www-client/chromium-bin/Manifest index 3f49b10aa5e9..27963017c703 100644 --- a/www-client/chromium-bin/Manifest +++ b/www-client/chromium-bin/Manifest @@ -26,5 +26,5 @@ DIST chromium-bin-107.0.5304.29-1-x11-aarch64.tar.xz 83690600 BLAKE2B 6f23bbf9f1 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 EBUILD chromium-bin-106.0.5249.103.ebuild 7279 BLAKE2B d6784f1e3e60dc72ce421477a229fd3b7157c0f46504ebe269535f3f31b07a4077b55256adbc96decd1fe816ac34aa69bc4671f7d1261193d8f00cae7ba908c6 SHA512 b8d9ad5aa0a9a61228e6ac1d76069a565700c3889b231dfe47730293b8c8df2787a048f24ee4a96e0cc59391da1d8a7384d16504a610506f6e927c50be2dcf8f -EBUILD chromium-bin-107.0.5304.29.ebuild 7237 BLAKE2B 62e51bba5a0ced4dbc814bcd324b82ad639a76cde2446f6d0d7c88383453927568b9cc2025364ee9b99105d4392ce326e11660417d2edda5344ee6a83786e525 SHA512 de7e03a9a3b762bcd34f27fe0b5f5306e5b71cf756c378f53932a3a3703f7b19368d8f18d158d2aacf2f92518223b3a79e2acaa424310ed8e6bf37c69a346a8c +EBUILD chromium-bin-107.0.5304.29-r1.ebuild 7286 BLAKE2B 319de6ef65e633157540395e16a70ee624d0a3e0589b3793f841a9c003cbb38e406c70ed82a9ed1a713eaf0d3efb8dc065bb20a50d99621097fd325f2acdb406 SHA512 40791f99f557829edebdccc303e6b5ec0ed4f872190d71d79584393dd06001961bc511c0baac5ac0062a01dd3225b79ea15be45f417766b93d7a51b3a0d0e404 MISC metadata.xml 480 BLAKE2B 29b9f565ea38e89bb5559aa99c540e02b77db24046bbe3407d36440d95a7f0850261b08fb243095f4ffb00bb14d72dcb235786dd19040bbe1a2808fef4bdc662 SHA512 980ebd9f5ba50970f73c2cca4e0fc01df5e6003319d63be37dbd063b127786de2ed36a12c97281bb5208a04c52594f7578fdcbf00ea5b49a63995ba55e7e7127 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 new file mode 100644 index 000000000000..3de45ac64a48 --- /dev/null +++ b/www-client/chromium-bin/chromium-bin-107.0.5304.29-r1.ebuild @@ -0,0 +1,241 @@ +# 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 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-107.0.5304.29.ebuild b/www-client/chromium-bin/chromium-bin-107.0.5304.29.ebuild deleted file mode 100644 index be7bc277c890..000000000000 --- a/www-client/chromium-bin/chromium-bin-107.0.5304.29.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/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/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 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." -} -- cgit v1.2.3