summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Hartmann <sultan@gentoo.org>2022-12-15 15:48:38 +0100
committerStephan Hartmann <sultan@gentoo.org>2022-12-15 15:48:59 +0100
commita8c80b1e62066e3e64d83bca89b1e64bcec4b331 (patch)
treeb3f2206841b64382db88fab2bb6c00ea7e28086c /www-client
parentwww-client/vivaldi-snapshot: Drop old 5.6.2867.32 (diff)
downloadgentoo-a8c80b1e62066e3e64d83bca89b1e64bcec4b331.tar.gz
gentoo-a8c80b1e62066e3e64d83bca89b1e64bcec4b331.tar.bz2
gentoo-a8c80b1e62066e3e64d83bca89b1e64bcec4b331.zip
www-client/chromium-bin: add 108.0.5359.124
Closes: https://bugs.gentoo.org/878465 Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/chromium-bin/Manifest11
-rw-r--r--www-client/chromium-bin/chromium-bin-108.0.5359.124.ebuild255
2 files changed, 266 insertions, 0 deletions
diff --git a/www-client/chromium-bin/Manifest b/www-client/chromium-bin/Manifest
index 01701b27686e..08be8cc27f5f 100644
--- a/www-client/chromium-bin/Manifest
+++ b/www-client/chromium-bin/Manifest
@@ -20,3 +20,14 @@ DIST chromium-bin-107.0.5304.29-1-wayland-x86_64.tar.xz 85979708 BLAKE2B 1693b87
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
+DIST chromium-bin-108.0.5359.124-1-common-aarch64.tar.xz 3233044 BLAKE2B 501d30972c863479cdcfb15e1527751b7b28a41fc5427800a5678445da487632150e38d75cab1b4ef9e781a5198dbceeb27f02c330b7c560629dc8002d5c670c SHA512 2a9b02e463dde62193d247c607ebc4cf6a111a2708c5c39465647bf751e004e57c0183af0ed592721a5ef8961540d6b4106f90251169269c70dec7de23f95d8b
+DIST chromium-bin-108.0.5359.124-1-common-i686.tar.xz 3261516 BLAKE2B 6e9c884ce2dea510dead6ebcd3759ab36d84ee091286f59a40faab497e914a666058dde17196c832bf03e56e3c690e3cae4a62f89b469959d1c786f417f7bffd SHA512 825d4cd4a93f19c28eaae70c2603c582ea6fd019cee375bccd3c755bd884c6a4c8b154375910c2cef559342dced9ad5e860963b0914cfe06babd4ee39ba6f9d1
+DIST chromium-bin-108.0.5359.124-1-common-x86_64.tar.xz 3305004 BLAKE2B 8c08464c41057a97dbab960d788a47a6db6e2dc05a195016e0374f24d54ea0818bb3c512962d3a0cd44ea5caa9ef82531a7c78916c8739bce99a49a39206c8dc SHA512 ca153ed28bd61322376a220dd20684ff0927e13a3b12a82b1e0ac151e6e3d8593acfa4926a7a58148f9ffddd7ef5564ef76ebb4bf5bbb99e3e6a712c05005723
+DIST chromium-bin-108.0.5359.124-1-common.tar.xz 4471816 BLAKE2B 4ea38edf3b09756074c2b13e25d7a764172d0160ab971f7e1eb9520053683aa45672018535d3f78a8bbed04a674ea8ef86d7b2a49355de5c477c0773fa79f4d6 SHA512 8457e2b6ebcd78e8a1550ab41736c8bf45a67026dfc8e8d66c67bc9efe95ca08c926b480d3ab8d2634ec1a343ceacfc3df58f44bb3ade6387fd58044940909f0
+DIST chromium-bin-108.0.5359.124-1-l10n.tar.xz 5099664 BLAKE2B 4572e2980e6aa3f6090d675b1819ddc0cd147ccd9388d5ba5bd5c44768b62d18091d2e8291d15192778e0d09e4ab17de14521edf0becc80dce0dfb95d54ca880 SHA512 1d6f7b5d12be8fb4f139f1ef9f35d7a2a43c7379cc335952ff5124ea46029182b846690362cb4b71f7fd46db5869e358f460ee8dde425f506969a0cf184552b2
+DIST chromium-bin-108.0.5359.124-1-wayland-aarch64.tar.xz 84417084 BLAKE2B 4eb7dbb0768a99e0e0ea6351d20534359794239666d2ca5ff07c42093c112f66c16aa5162f5bd03910ecc6f8e015833f0bf2520122ca91289961937c33003aa2 SHA512 5fe484e5f45c641c0db5dfcad8b35549431c8d8e3b68526aff303c71ec3abd2ba6dff95c9c7d0be22ad14d74693a38c32ff4e2286d62bd7777155936b596d0ad
+DIST chromium-bin-108.0.5359.124-1-wayland-i686.tar.xz 86181284 BLAKE2B b97b7c8a320a0aeafd9c8f309d0cf3fcc2df9be6edaee6678addf3d93a5bfd63e6e0f6c07b34ca39ff2a09f3a3dd342bf1fe36e00d427f1497b08503a89c8272 SHA512 905786967c0561188514bf69b4ef7744b92137b8ca40710b524694205b5724ffcf9a152c11e2adabb45aed1e73279da5f50b683feacc35c84bcbf431294fa89d
+DIST chromium-bin-108.0.5359.124-1-wayland-x86_64.tar.xz 86995916 BLAKE2B c85991d2cd02d4f452bd90bd3730cb001cb574966757f83770008e627ad5fe4394cce9eb1843067d42e309d703d84e0f5f0a9b35b3bc6780def37f76bfded726 SHA512 9df65d66b79eab14dd1fa3055096a8c6be97c79414cbd8a3148389cef450134aa957014045bfea7178b80e46fe60240614906191682b4a293fcb99cbcec58925
+DIST chromium-bin-108.0.5359.124-1-x11-aarch64.tar.xz 84173992 BLAKE2B 0a5679e500cb36848b02f4fdf30b2a5c268093f216e2e8be1ba501a6400de72092ac9379d0e201325fb91e2575b9ff5b07351f882f5edfdc4d139617b7ba48f3 SHA512 a1b53f4e3da234d3f0d008fd098ff3c6765d7b25079e4cb7823260d00d0373bbb2e3c03426c112034e26fdceecf00f3a02158915a60167e3b991a9727056b467
+DIST chromium-bin-108.0.5359.124-1-x11-i686.tar.xz 85921748 BLAKE2B aeda64d6589f1e4d3e63c1e1d463b50663f6850a85b7f22f146174011615804f5fa388c4a28e0bfdd994650679a1d5ac59b355fa90e2ea932eb595902c51ff09 SHA512 6a47b187e25514471c09b14b0b3b7616fbd079fa0b70ea7a11f5fae304169461d8b82d8ff26435af8b49b360ec9b80d1e04786c70ff16b65257e09e9fad21ae7
+DIST chromium-bin-108.0.5359.124-1-x11-x86_64.tar.xz 86779524 BLAKE2B 84e2302b38353d13e6c3fe25b04ccc67f3c2871db76a3739995129aba7b452fc4181bc8fc094083cb4a4c62800160d3979428b3be0d7d34f840fd11b07b5d175 SHA512 619fbd159d762ad45b1c7df720a751f89e55875e9550ef282fb6f49b01212ae6442aca71a82874da6627be63e73401c637952d3922f4130465b73ba518f46826
diff --git a/www-client/chromium-bin/chromium-bin-108.0.5359.124.ebuild b/www-client/chromium-bin/chromium-bin-108.0.5359.124.ebuild
new file mode 100644
index 000000000000..9479bb9f81aa
--- /dev/null
+++ b/www-client/chromium-bin/chromium-bin-108.0.5359.124.ebuild
@@ -0,0 +1,255 @@
+# 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/stable"
+KEYWORDS="-* ~amd64 ~arm64"
+IUSE="cpu_flags_x86_sse2 +suid qt5 wayland widevine"
+
+RDEPEND="
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ 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/7
+ 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 )
+ )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5[X,wayland?]
+ dev-qt/qtwidgets:5
+ )
+ 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
+
+ if ! use qt5; then
+ rm "${CHROMIUM_BIN_HOME}/libqt5_shim.so" || 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 media-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
+
+ if use qt5; then
+ elog
+ elog "Qt5 is disabled by default at runtime. You have to enable it"
+ elog "by adding --enable-features=AllowQt5 to CHROMIUM_BIN_FLAGS"
+ elog "in /etc/chromium-bin/default. Afterwards you can select the"
+ elog "Qt5 theme in Settings->Appearance."
+ 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."
+}