summaryrefslogtreecommitdiff
path: root/www-client/chromium-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-08 01:28:43 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-08 01:28:43 +0100
commitad75ca50360f9590325f0f709c091832b70eab1d (patch)
tree8a0b109f05da2a3728e461abf6e31347c2e8b0b2 /www-client/chromium-bin
parent7b5e4e1f63da7fb63fba5f1a9fc41866c8ae5b2f (diff)
gentoo auto-resync : 08:10:2022 - 01:28:43
Diffstat (limited to 'www-client/chromium-bin')
-rw-r--r--www-client/chromium-bin/Manifest14
-rw-r--r--www-client/chromium-bin/chromium-bin-106.0.5249.103.ebuild2
-rw-r--r--www-client/chromium-bin/chromium-bin-107.0.5304.29.ebuild239
3 files changed, 253 insertions, 2 deletions
diff --git a/www-client/chromium-bin/Manifest b/www-client/chromium-bin/Manifest
index bf463952b756..3f49b10aa5e9 100644
--- a/www-client/chromium-bin/Manifest
+++ b/www-client/chromium-bin/Manifest
@@ -14,5 +14,17 @@ DIST chromium-bin-106.0.5249.103-1-wayland-x86_64.tar.xz 85276328 BLAKE2B 393ca8
DIST chromium-bin-106.0.5249.103-1-x11-aarch64.tar.xz 83236004 BLAKE2B 72997175e32b8e101af3d9c682ecd8f3c07f49aba2770339b72bacc85a6f91a04ccdca2d415833e7c32b91f5fdf83eab98070e8d5ad88687d8bb0f2343f69971 SHA512 7fc2d20394f80767c65ff31f6c50e0ee970b2354e34f96e5884de94b85da510f5ba166bc3ef50b3e26b73920cce3593bfff9bd99ec4acdbfa8326be4a30377c5
DIST chromium-bin-106.0.5249.103-1-x11-i686.tar.xz 85294364 BLAKE2B 7117fc44323ffa1bb65f6ba03c1e0d04f929af8efaeafbf6b6b7b2583fc8bc65c3a1a592783a5a820e525ba2b71ef6838fe7366c21b2a74875a3554d5dbd2f5c SHA512 dd92a82851fdb45cdb4c1d522b7a5dbb6a0289d7648507e1fe698c7ece14eb1aba3584da7e7142156d018788c935fed3d200e8e09d531790cd59d43543e7b367
DIST chromium-bin-106.0.5249.103-1-x11-x86_64.tar.xz 85045040 BLAKE2B 0f1173812f7a28903e348a5c066c27240fb436f6f5205b4386b564d7923e08c929b996e44b8711e92bd880174f5fd86e7f003e182d5862631022b83a02264fda SHA512 9a806a6f90fffffbd6a4efb91b2583c7cddd7e60e82084e8eec64d406b567c2e30f51b6e7e5022fd922e77ff73cf5d5ac23a1a4ad2c93eedad1d500317ae20ce
-EBUILD chromium-bin-106.0.5249.103.ebuild 7272 BLAKE2B aa304efd66ea7214834ddcc7910e716a126d2d98491ee076b60c07391c23e92a07b4658f55a9a6a2a863c9de41ca7dff07bec6fec26ad53c1a7d5de98d0e1751 SHA512 5725c82c0814deca75636d2ebbb62d8f628b41de2a05a9b383d99de0b98f48411ad55f7605cf5744028ba87ea9b85a96c30c1a685cac35cf2183ebdb3f3b6425
+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
+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
MISC metadata.xml 480 BLAKE2B 29b9f565ea38e89bb5559aa99c540e02b77db24046bbe3407d36440d95a7f0850261b08fb243095f4ffb00bb14d72dcb235786dd19040bbe1a2808fef4bdc662 SHA512 980ebd9f5ba50970f73c2cca4e0fc01df5e6003319d63be37dbd063b127786de2ed36a12c97281bb5208a04c52594f7578fdcbf00ea5b49a63995ba55e7e7127
diff --git a/www-client/chromium-bin/chromium-bin-106.0.5249.103.ebuild b/www-client/chromium-bin/chromium-bin-106.0.5249.103.ebuild
index 06ad66a7eaa7..2403860ddfe7 100644
--- a/www-client/chromium-bin/chromium-bin-106.0.5249.103.ebuild
+++ b/www-client/chromium-bin/chromium-bin-106.0.5249.103.ebuild
@@ -33,7 +33,7 @@ SRC_URI="https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P
)"
LICENSE="BSD"
-SLOT="0"
+SLOT="0/stable"
KEYWORDS="-* amd64 arm64 ~x86"
IUSE="cpu_flags_x86_sse2 +suid wayland widevine"
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
new file mode 100644
index 000000000000..be7bc277c890
--- /dev/null
+++ b/www-client/chromium-bin/chromium-bin-107.0.5304.29.ebuild
@@ -0,0 +1,239 @@
+# 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."
+}