diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2023-01-16 22:15:26 +0100 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2023-01-16 22:15:39 +0100 |
commit | 3681a3c69f81e830bcd8b510e73753a9771dad3d (patch) | |
tree | 1009140e24910c3c785d8eb5490d95e3199d6e25 /www-client/chromium-bin | |
parent | linux-info.eclass: Chk for existance of .config/config.gz when opts req (diff) | |
download | gentoo-3681a3c69f81e830bcd8b510e73753a9771dad3d.tar.gz gentoo-3681a3c69f81e830bcd8b510e73753a9771dad3d.tar.bz2 gentoo-3681a3c69f81e830bcd8b510e73753a9771dad3d.zip |
www-client/chromium-bin: add 110.0.5481.30
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'www-client/chromium-bin')
-rw-r--r-- | www-client/chromium-bin/Manifest | 11 | ||||
-rw-r--r-- | www-client/chromium-bin/chromium-bin-110.0.5481.30.ebuild | 257 |
2 files changed, 268 insertions, 0 deletions
diff --git a/www-client/chromium-bin/Manifest b/www-client/chromium-bin/Manifest index ed9e755f1e0e..80273b2eea44 100644 --- a/www-client/chromium-bin/Manifest +++ b/www-client/chromium-bin/Manifest @@ -12,3 +12,14 @@ DIST chromium-bin-109.0.5414.74-1-x11-aarch64.tar.xz 84823164 BLAKE2B da830d04ba DIST chromium-bin-109.0.5414.74-1-x11-i686.tar.xz 86613848 BLAKE2B 290a2ecb1b4a6f9aea2eb486f85ac68176432860f81278dece4a0d6b64e449346e09cc0f57f941f4464eaa19ca53ef54697fdd26e701ef0995e358001cd7e4fc SHA512 1e20fc064b77be1d79633fd08785063f70f57ba00e3704fb741f713fb87cea7c276b32dff3c97a90789d715be030fb1768e8c23342eccb9713cea3c906e45e4e DIST chromium-bin-109.0.5414.74-1-x11-ppc64.tar.xz 89590124 BLAKE2B 29712ad76a5c200dfbdfd6df1cca125ed222ca3101074584a35e66e5a02999209e641ebb1f215e98f7dfc43882f0af7836a0efc561dfdff99504c081b1311087 SHA512 8182a09392c735ee0e0151c8517443935d10f705b2c2eaf4ada9a5fd2875d961b000cd428754aaeffbf0b5e1c17b32ef1fe99bee88170970e36dbb99bd9b841b DIST chromium-bin-109.0.5414.74-1-x11-x86_64.tar.xz 87506828 BLAKE2B 5a30088629ae1869f3ddda7dc837d164582817b0019c5303a5b4895cebb8c02bf7a8486740dea24b76f4b765010e5a419143051762a1725c3c72fdeda51ea16b SHA512 abc4b5d20c902a0728e3239ead23d733346b6681eec63175198499aa13673329eb05be2de1e297f52faa30fad53a799eb20b4b7173ac010f13d1bab8c2e8ccfe +DIST chromium-bin-110.0.5481.30-1-common-aarch64.tar.xz 3297608 BLAKE2B 8f6e92b1d659f7f8ac42d4301cee0de0259709961a2e7164dc0c01d1dccb3cac44ef1a7078cc6c5bf473b24d3d29dd0186fe3f6c81f1514826dec40b13319532 SHA512 431ca6ff35a703d01243925a92c9a427bfb3660dd6eb7a6bcdde11ed2d22402c971b7e97442be4d1d522b3e0f0370797542de09443055610e4f443dbc48f13b8 +DIST chromium-bin-110.0.5481.30-1-common-i686.tar.xz 3325076 BLAKE2B c0a8bffd41e0875de93e4f529991bf750c8faa14f41e605d3e3bff2b57159008cebec607843a1bab869e35d81aada5831d5781b4bb94009da30d5243aa064f87 SHA512 917930d96118892b916ba8e60959ce37cae2694c09356d0c584cb6c2c6f04b304900b94dffeec3a0091487557b553e4da2729e308e8b507944b439bd570d848d +DIST chromium-bin-110.0.5481.30-1-common-x86_64.tar.xz 3368608 BLAKE2B 4c99ef743d47ceabcb9e11da5f881bf21f838cf1aaf20a4801a82bfd92b0c5e97e5ce8402208691fce27ba8646f426ce0adba210d4e16be01f0b7c2e975a9b66 SHA512 c491535011f5860115e5347bfc9ded351402355cee3f039dcfcceba8b1f22b542947593fa6138971cb739132da0ffb799b46363ec3e0b98c826a11145709ceb0 +DIST chromium-bin-110.0.5481.30-1-common.tar.xz 4478316 BLAKE2B 08d6633aa4961b96e676f99f684c1385ebd5026e5b33c32c8db85c233e2ecaba8b50f62a1f42170c148c5082a190482d09fa348820422cd4c3cef918beff313e SHA512 6f2942e68ce848136ad51888d32132d6a6a9912a1ddbdbb55617d9d0a0e487eb900accc3552b83110650a5969e215ffcf90122a5a687bedf83c9da4a67912f72 +DIST chromium-bin-110.0.5481.30-1-l10n.tar.xz 5218408 BLAKE2B 62102fc6249013722439666c22eb32dc0567819d28d9a2260157e9b24cc47310ae59923b0ce8f19b483a2d0cd54c12a4e638f1621ec0e51f1b33356a7e47f0d8 SHA512 a19ac2974ceff256da849da114e2e1e1445d1911a1d389ffbe702ba7bb396224422da00a675ab53412d3fd6a5544740fe358affa0e0972120f58b271af63bb70 +DIST chromium-bin-110.0.5481.30-1-wayland-aarch64.tar.xz 85130280 BLAKE2B 380aad5fc2285eeffdc64ee4c883804e7f3bb5d3401b63bc5a7ccbe80bb47e2f0541dc1ddcb5b0a233f8d5bac0222c407212154032ae45ca11f6d0d3a39c8a31 SHA512 22ef869b7481ff07ce8c3d934a5dd275eec5a2118464d15ca6a388211b73569f35dfbab6ee18bbe867f2776c4fc4194884f7064ac83dfbeb1e7756661982ce7e +DIST chromium-bin-110.0.5481.30-1-wayland-i686.tar.xz 86742640 BLAKE2B 8461450a6796192297a346005d25eb34906105160fe18922511ceb2b370e31c72a48c94f922f0e30dde739c56b0ba7965573f53cd93d7be73c230072f9965e04 SHA512 4b8fc06dcf814fc8d1f2b1cfc185f5ec969537890246be6a60141b0e66b268c17fa551d40f23b9aa77b7bb2b6829e11d8e5a59ac5c008dd8923ad5b2220c6570 +DIST chromium-bin-110.0.5481.30-1-wayland-x86_64.tar.xz 87963804 BLAKE2B 93669e2dac8e6ce7c3b123cc7f0f47387e78c6f9055fb3c9ce87eb126f5b059b5da9700cedc13ad500470a95a29237a2d3ca897f289e455ff5858b2a33a5f3b7 SHA512 83935061bff415d90a36f93674b36fbb5ab52f5c2a9e89981759d00478df3d074ad07128dee6919fefa8b0b3ed24edce9605cf49dbafc607ce8ece70772b4f40 +DIST chromium-bin-110.0.5481.30-1-x11-aarch64.tar.xz 84899400 BLAKE2B 5e4d06701b5c6818f1b1192d5a01375862244c00943a707ce290206c213517edfe36827453471899567765cc2eb914ebd7d62f8ec038cec50f103562d30e9127 SHA512 3158e72e0ae260ff0730244b873fe0d585354444a6e17d002decdc20d532e8f6d41fa4172b43bc492da06da9702554aeebaba7bbca49388e7260f6850d8bfb53 +DIST chromium-bin-110.0.5481.30-1-x11-i686.tar.xz 86494512 BLAKE2B c100b9c43f2ea8cfa45802f65a87c138994545cbede5bb80288fbec67b391ab5dd3e3f0d3ce94bd0576cc17ce3748dbf6b40d95fb97b5f938e90285e4e094123 SHA512 f428620973f9d2d955ac27108930e8b0d4f9457283077733140c4669aedf11b1e4edd7e3afeac0e7a62ab27cf7df3519368c3ab174da1d75a06e526c738426e7 +DIST chromium-bin-110.0.5481.30-1-x11-x86_64.tar.xz 87728808 BLAKE2B d7b45cf2985a806f95f4bc7faa3e985b487fe33e6f08b9458750f4297bbdc9a9eb8ef3d8ede54704a0aa4254a7dbb3d8b112a563bb531bbd126834d3e0b418de SHA512 66504dea0edb66b2f9d182f4c2a9ce80c519b9563466214d202faea9e6df3de40a20d0ae9b21287e27410c2aff4d5a293f5136272fcc15f38e7c22cefd9b3eff diff --git a/www-client/chromium-bin/chromium-bin-110.0.5481.30.ebuild b/www-client/chromium-bin/chromium-bin-110.0.5481.30.ebuild new file mode 100644 index 000000000000..fad807e86367 --- /dev/null +++ b/www-client/chromium-bin/chromium-bin-110.0.5481.30.ebuild @@ -0,0 +1,257 @@ +# Copyright 2020-2023 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/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/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 ) + ) + !ppc64? ( + >=media-libs/libaom-3.4.0 + media-libs/dav1d:0/6 + ) + 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." +} |