From 81b8f20732954c4508baf2f77472b5435e3f851f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 14 Sep 2022 11:10:11 +0100 Subject: gentoo auto-resync : 14:09:2022 - 11:10:10 --- www-client/chromium-bin/Manifest | 2 +- .../chromium-bin-104.0.5112.101-r1.ebuild | 238 +++++++++++++++++++++ .../chromium-bin-104.0.5112.101.ebuild | 238 --------------------- 3 files changed, 239 insertions(+), 239 deletions(-) create mode 100644 www-client/chromium-bin/chromium-bin-104.0.5112.101-r1.ebuild delete mode 100644 www-client/chromium-bin/chromium-bin-104.0.5112.101.ebuild (limited to 'www-client/chromium-bin') diff --git a/www-client/chromium-bin/Manifest b/www-client/chromium-bin/Manifest index f9f3bd74a37b..2984f46984ca 100644 --- a/www-client/chromium-bin/Manifest +++ b/www-client/chromium-bin/Manifest @@ -14,5 +14,5 @@ DIST chromium-bin-104.0.5112.101-1-wayland-x86_64.tar.xz 83428744 BLAKE2B 96ad32 DIST chromium-bin-104.0.5112.101-1-x11-aarch64.tar.xz 81525248 BLAKE2B 308b352c1c7e6fb41811757d9ca2dbdd0d4c41e8d7ffc4232572774d24775bc4e087fb05fab5b6692fd360c2d70c7bf40708f1cd1bb028df917d60c5cb7f2fc0 SHA512 f4145b730468543652e21348a01e36d6cd6f8726a9ea4c641f1e0e4489b8c68c41bea034ebd41dc3edfde8e56fb5604dc100efef5a95ac2f7fab78d7113bcde0 DIST chromium-bin-104.0.5112.101-1-x11-i686.tar.xz 84087564 BLAKE2B d75caa75e66bcf194b1673a3783ca4a24b3a99e34b33e7b378006f0492be717316f930175652bc5a5332e2ae74ec4601ab95f4a26ddce87b2e00303cdca335df SHA512 9d98fcf0eadc847272f668a540e7d6e93b46ccfa99aa31dcfeac83c92f6db58c9884c6ac31848432814c3804fd0a359d1873c28065bbf0c46f73737271cfef07 DIST chromium-bin-104.0.5112.101-1-x11-x86_64.tar.xz 83261500 BLAKE2B 32a3a1c5f4c0e257a5a95b1b41b3ef891f0986b832b8d8a4f43c6c68af152980006915c37994549548fb0d33d873f088cfb0adacf92ba1404f70ddd5d6e06d6c SHA512 298bac1a25d10463bc82197aa61253b7be90e6ea2867e4b51ed3727d781609a9f13af8edd4917351a558b59647497759500b3e86dea43ff6aff9b00a3be77c76 -EBUILD chromium-bin-104.0.5112.101.ebuild 7207 BLAKE2B fe270d0acb2610d94823454588a3e3adf437b96c44c456520718962fda7f2f74d17712d0b5b540d5acf278d03691c02368fe59c508802ab0b98f4179a482a7b5 SHA512 88cd0b648916f44fffa470ffdb781d29e94a688745a8f6d1d11eeb717c40c91169805dbf8239d67a54372c4f290c71b3fd43bb1cca13311be4e3723d0ae04419 +EBUILD chromium-bin-104.0.5112.101-r1.ebuild 7247 BLAKE2B 89de313b8c04b64dadb643f8e30a0d5b560ed8dfb05e4960547d1b018396e34b7153678e6b926b6771038a79ccf38d130f1f2b6f946054e151a2cd8e80b653c4 SHA512 71050908f980be1d5af6dc60a7f33c9c583ce29302a2659f55194d931ec2ba24449bc654c42a1cc31ecd5029d427d001c763c1b8408843711ace86a9727fcd85 MISC metadata.xml 480 BLAKE2B 29b9f565ea38e89bb5559aa99c540e02b77db24046bbe3407d36440d95a7f0850261b08fb243095f4ffb00bb14d72dcb235786dd19040bbe1a2808fef4bdc662 SHA512 980ebd9f5ba50970f73c2cca4e0fc01df5e6003319d63be37dbd063b127786de2ed36a12c97281bb5208a04c52594f7578fdcbf00ea5b49a63995ba55e7e7127 diff --git a/www-client/chromium-bin/chromium-bin-104.0.5112.101-r1.ebuild b/www-client/chromium-bin/chromium-bin-104.0.5112.101-r1.ebuild new file mode 100644 index 000000000000..df4e400c36a9 --- /dev/null +++ b/www-client/chromium-bin/chromium-bin-104.0.5112.101-r1.ebuild @@ -0,0 +1,238 @@ +# 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-atk:2 + app-accessibility/at-spi2-core:2 + 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-104.0.5112.101.ebuild b/www-client/chromium-bin/chromium-bin-104.0.5112.101.ebuild deleted file mode 100644 index 19ffbef16a93..000000000000 --- a/www-client/chromium-bin/chromium-bin-104.0.5112.101.ebuild +++ /dev/null @@ -1,238 +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-atk:2 - app-accessibility/at-spi2-core:2 - 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 - 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