summaryrefslogtreecommitdiff
path: root/www-client/chromium-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-23 20:00:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-23 20:00:08 +0000
commitedb8ee6f86e56d25f82a4f088a4504c903aede08 (patch)
tree3670c3d3d18146edbe5ef22d5623329c49fe1806 /www-client/chromium-bin
parent1ffbeeb1643e9197d8a58c65a1d76bbaf3656292 (diff)
gentoo auto-resync : 23:12:2022 - 20:00:08
Diffstat (limited to 'www-client/chromium-bin')
-rw-r--r--www-client/chromium-bin/Manifest14
-rw-r--r--www-client/chromium-bin/chromium-bin-108.0.5359.124.ebuild2
-rw-r--r--www-client/chromium-bin/chromium-bin-109.0.5414.46.ebuild255
3 files changed, 269 insertions, 2 deletions
diff --git a/www-client/chromium-bin/Manifest b/www-client/chromium-bin/Manifest
index 65efaab3c49a..95e02b800fa8 100644
--- a/www-client/chromium-bin/Manifest
+++ b/www-client/chromium-bin/Manifest
@@ -14,5 +14,17 @@ DIST chromium-bin-108.0.5359.124-1-wayland-x86_64.tar.xz 86995916 BLAKE2B c85991
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
-EBUILD chromium-bin-108.0.5359.124.ebuild 7666 BLAKE2B 451ba96abd9835a31557b00b629ccd578631b2254c7b5d659c049a91b52668e5cc5126ca62029f3337b27d87a44de2b28933a37700502d30a4d63c65a4de55d4 SHA512 5db9cc3c83a9def60121c8ce38cdbbdf70744c8cdd6fbb3505e466fd26b2514b8f659c79e3c3f802aad2293d38ad613dd31b6677fc7e0485506dc4b76c1e0d7f
+DIST chromium-bin-109.0.5414.46-1-common-aarch64.tar.xz 3224036 BLAKE2B 4bc977225a863986f1b1376a00a98f63e13a270b54168cb07de9b32e6a7421cfea9264768314efb6e1c9f1fd21f59e41d1b7e880eef3ef66fae8e8ca654916c5 SHA512 b62f47abfcc25fbeef8580118e3081e0322f0172c6f874f7f1e1dbeef49c3912f34cd237fa6f063f4f455cf59e93f38810dcaad6a47dc7cbd20bbebf35981170
+DIST chromium-bin-109.0.5414.46-1-common-i686.tar.xz 3252328 BLAKE2B 4224e5e109fb9c1a0a77a500bb2ddff0e194ff7c68f48a7d0afe915b657315b8576b4b232005c95278ed059cd952c2cae1d2fb04a88674cf733d1aafee6aa007 SHA512 eee0d47c37a190583ace8d57ec0e01ef1dfb37099dbcae07c9cf420c716add93192a9cd22d2efde0d7c96de984f4d2052343e256aa6545a3bcefa4e08978bf6d
+DIST chromium-bin-109.0.5414.46-1-common-x86_64.tar.xz 3294204 BLAKE2B 5282547233a3fbf0049dfd6ddc4f10096137e0ce0bd6f923290859ff51b4918514c449d36934ff9e6470146ce5973e5dab2294f9afbd3c4de21591d72289cb82 SHA512 0954e1cf138dd8fbe2dd478f16e3df130c99a7454b4906e3373dc53de5d278eac3056e52182e7d15e3f4e976419b90f63e4738fa3e1645a22073187778314f85
+DIST chromium-bin-109.0.5414.46-1-common.tar.xz 4472264 BLAKE2B df46bf55e277a99e62acc4d45a2ac09c437d7f02f413308032110b82239dddd884e72ec852ca434a8a9ccc145e90947015b9e9afad1941977049eb9ed09c2bbe SHA512 1c9bc0c9edc3da20e2237a96d109c9898216e0bafd8836e6d66c5dac9a0bca7e90416b58bcb184598a507faa24837fcc236ef5a4b5abbf2b7d70bdcd4d895a1f
+DIST chromium-bin-109.0.5414.46-1-l10n.tar.xz 5161728 BLAKE2B 94b236c2402359622824117d1f7b10f1e804ca2e986aa28868c009d0c7339358b8d92630b22d9c21c7c2f94a3c9854f00d55022b7bb488d65a628df5e20b8c21 SHA512 c0d8cf16df436e70f9b474c9dde1cf37b2efa7aa597794df0041b978ffffac982dbf693e59ca5d88ef4124da9639e324bf75d53ca1134b323b55cff23aa69655
+DIST chromium-bin-109.0.5414.46-1-wayland-aarch64.tar.xz 85008852 BLAKE2B 908b3c31ed6b391119e6bc26dffad0b645d22496561b9a7be11daa9627adb5a8968ceaeb5c103ff91b0541a67b6efb1f3a3dc97fe2f897d55e0e41bdc7b56dc4 SHA512 cd4125d337d9e9bb8778cf9ea07139cd150828d0144d68ae225dce55b0a26dfbc66af4b518d567a5eda4fa2eb4ce7b2d1122abea360e94a86d9f94cfbf5f8b29
+DIST chromium-bin-109.0.5414.46-1-wayland-i686.tar.xz 86818436 BLAKE2B 9df96a698179c4c2575b2f82e89668cc8e0a0f783698419fb15d3df28803c91c0a3b8f7a6fc7198fa9443348ba80b8200288e91c6e92e78af7f2979f77709836 SHA512 2979ae51f2c3a85664aca32271359a569601ac5bad6a957c143c526ac4c5983b9132518f7b60853cdecf98ed1af935d8b74a0e9c58b806aabb6c7f289cad571f
+DIST chromium-bin-109.0.5414.46-1-wayland-x86_64.tar.xz 87718912 BLAKE2B 71cad37bfaa5946a580c6a41b5430da664064752c2f33e8827a513112965027e7621678eab25731440fe3ff6c7220965da7fc647a1a2d3473412ed22870bad29 SHA512 e53921bf458291faeab6c95c5995d038042477e65b28c003aaa38e7ec88c14397cb073c0cad1a106cca090182962ee31a4d8bcc38e5edb5020e100293745f7ea
+DIST chromium-bin-109.0.5414.46-1-x11-aarch64.tar.xz 84808520 BLAKE2B 271094b7dd715c331dab066a8315c329fe5d91ab248b5a53f654dd1f0efdbc0ad11619ac7fcf017cedda2c1e91a6be8598851d968a7f82b319fdf7826b9015b3 SHA512 f5e8e861a9136dc4317bd2ad5c49fd972579081812787af42d00dd185125e73345adfca335b9612cb5fff9e98a44956e4f3d4cfb13076a58555e4601081c7830
+DIST chromium-bin-109.0.5414.46-1-x11-i686.tar.xz 86593284 BLAKE2B 22e27b88f51d29dd09b6b203ab277871ff2c4c8eff41f45cdbc2df94ec7bc85e332ab7091a730c4cfe6e0c22200f6d0bfbd6cd126df818955bdf780f15fc87d6 SHA512 d7c7bf5b6f8b60b2ad61de40de91987825d049f26a6794eda68236c4a948c67381304ba590eb8e184a4194ef8c0b5fa05640698bea6b9e7619596af4b3cdddb2
+DIST chromium-bin-109.0.5414.46-1-x11-x86_64.tar.xz 87472656 BLAKE2B ad5b140fb7fb70fd8cfd64157d48446fb4fcd42a9d1fbe09d402a6e59b685d53737e099d16627bff85a548cd8833f36454dadf329673f52b512681d57ae8b536 SHA512 e3237d98a7eccb86bb4a0d56f45815323a28fdc1adf4d9112e337e632cc9ea379e9b9d79ecfe4c9bccc8c709cf5910d54c9a7fc814aea7a42244cb1526d9ebd1
+EBUILD chromium-bin-108.0.5359.124.ebuild 7671 BLAKE2B 2ebfdd8a48c2280f9ea05c4446e26602c0eb637beeb86331f6dff3e11594377b30d383cddc8d3696bba1ebdecf21013869fa6ecec61a192d981b5d0fabf44523 SHA512 ae97bfa85b0cceda40b367f301795cd7dbec5468566680b93475ea3408a5dd0051fac28dcf0a99396db1d759a2d70cc5fe5ae95b1a55622e3f1aa4955f64181a
+EBUILD chromium-bin-109.0.5414.46.ebuild 7666 BLAKE2B 320abc26ea2fbad01890b2ed04305452c587a8198f6d25fce7bcb222e93c0ffe5c8f9481e2aae5eab0d130af0b04d9890130d4c2931424e9090b2ad9328eab48 SHA512 3aaee6373525211e92b77bf6f7ef0aace75e7666d347d57342b6407cd94600a0fe12c43c0db46b679947fc9473364e6ef08e6aec517e776c1a3e5cda47110850
MISC metadata.xml 480 BLAKE2B 29b9f565ea38e89bb5559aa99c540e02b77db24046bbe3407d36440d95a7f0850261b08fb243095f4ffb00bb14d72dcb235786dd19040bbe1a2808fef4bdc662 SHA512 980ebd9f5ba50970f73c2cca4e0fc01df5e6003319d63be37dbd063b127786de2ed36a12c97281bb5208a04c52594f7578fdcbf00ea5b49a63995ba55e7e7127
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
index 69aa213d4211..d0e5a50c0d4c 100644
--- a/www-client/chromium-bin/chromium-bin-108.0.5359.124.ebuild
+++ b/www-client/chromium-bin/chromium-bin-108.0.5359.124.ebuild
@@ -34,7 +34,7 @@ SRC_URI="https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P
LICENSE="BSD"
SLOT="0/stable"
-KEYWORDS="-* amd64 arm64"
+KEYWORDS="-* amd64 arm64 ~x86"
IUSE="cpu_flags_x86_sse2 +suid qt5 wayland widevine"
RDEPEND="
diff --git a/www-client/chromium-bin/chromium-bin-109.0.5414.46.ebuild b/www-client/chromium-bin/chromium-bin-109.0.5414.46.ebuild
new file mode 100644
index 000000000000..0de30b711175
--- /dev/null
+++ b/www-client/chromium-bin/chromium-bin-109.0.5414.46.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/beta"
+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."
+}