Version Bump

This commit is contained in:
Gerben Jan Dijkman 2021-04-02 17:48:13 +02:00
parent 99b5b67dd9
commit c2ff8ec63c
2 changed files with 280 additions and 0 deletions

View File

@ -16,3 +16,21 @@ DIST chromium-bin-89.0.4389.90-1-x11-x86_64.tar.xz 67473856 BLAKE2B b9ab37034900
DIST chromium-bin-89.0.4389.90-1-x11_vaapi-aarch64.tar.xz 65943956 BLAKE2B 4dd40ba1dd356a36724c06ab6d8191b3c3d5a5879a2c0f639e27aac18384a13f4abaf0005ccab9afaab68e3a90e300e0bcf0e43edb769753e0b5188ca4e160e9 SHA512 41cbc2dc587e7ec1a5503850d00e6f41912dc69c134eafff69cc4435b6201fab1ca7dcd3f8fa864ff63652912c7d35d040dc03d5a56f4f5615f3a0bf10329880
DIST chromium-bin-89.0.4389.90-1-x11_vaapi-i686.tar.xz 87312752 BLAKE2B 1862ec0e73449c22cb2e76e965a8acce1de49577e5a2d672c92c1c2d9cdb18502c7250b043ac8af9c2cea674df1328e84f1789b05dc2da8c728a0ba1deff546b SHA512 e05ec84a1a9e1d091b57cf7c86eeb5b4436584aa32c2417b0f40c12def517a47b7e3befba7ac51bcbe9dc876dc2559d85043b4334926a3e4394192a0649900f0
DIST chromium-bin-89.0.4389.90-1-x11_vaapi-x86_64.tar.xz 67613256 BLAKE2B f789774f2dfe733c456b351296038c746c573d443063a78693c71a9e88e0fbcfa7eebc633ec8b826b7a8a49a6fafb30d3695a64108bfb4964a25b90b1b50a528 SHA512 1756071e27e9603db96d92230ffb9c0fe93eb0889d6c2c1c5aece221f2e69c5beb7e70a9e9ab9659ed5a2772e29d548ba0ffcc73a72857d1a5527fac15cc9c2e
DIST chromium-bin-89.0.4389.114-1-common-aarch64.tar.xz 5946416 BLAKE2B 24775f8e0c6278af4f40291c3c414a4383409a0ae525c231c072f00af49bf4166b0b391d89aaee8aa5d5780a68cb18f81fbe3874ed8ee287dda6cdb01762d475 SHA512 1bfbd4bfc92f899c1229953922063f309c10d22e9de23db47a37bbff91598a8429ac59bc518de699672b6ac2c8602351ad07327246230a99421371a3643e3954
DIST chromium-bin-89.0.4389.114-1-common-i686.tar.xz 2220380 BLAKE2B 9dbc788b2504a38316a71aa7df12335ea03306321ee0a264eacc1d6c7142780e075e2a9332d6393839d5724e69b432ba0e0028f72e5e13d632a951934705672b SHA512 722ad0448f266fd3b2f10f2dd702e334599f1b8a0f90631173c781fd3ff0c401aea4b1e8606b0ae6896ae77000b4ed899212a4734cfbd87a7d61a50f1d24ea81
DIST chromium-bin-89.0.4389.114-1-common-x86_64.tar.xz 1678340 BLAKE2B 5a7b3aba1f39bd30885b7536a807a7da8b1437ad879ea17c1ac21c097aebfe4edf9e74d9c09e0dbfa59606b957ebae28d153bdc206f8b6b0f83d522170b32f8f SHA512 46278949bbbafb148612dd383106ad6b5cb2a7cb0cf92ee4cd3d94fe2d7d8b2d1f45d8dff209993717d062378cae2f05a7a5d5e71fc40e22367864c3d919fb45
DIST chromium-bin-89.0.4389.114-1-common.tar.xz 1688824 BLAKE2B 2a34b8333eaf5e1b4c314c77cdd5ed79e02b021f9d78e219ee55bca7d6168aabf7efeb7cdfe0600fcfe2b7d39d84a6505d4857c169eb43fee516f4f92871be52 SHA512 e202d7cfe71ccc79e15a6d5a30bf27739944c9352749a0597fff5e09d3234f7b1f955812c6f9db3a106857414912856dbce13717bda44108d764756a2b288e6f
DIST chromium-bin-89.0.4389.114-1-l10n.tar.xz 3797772 BLAKE2B 23c1a41c9cb7f659a335f617306fd2494f18fa8cfa24835f8493188fa824f82290acf54f1077e53e9fc2fb79095ab5c686e6d5f16084540d489f056c5ccf7ee7 SHA512 4230c4d005788649e1aca0cc01bf7f4fc5dc3a647667c928c41e6fc5c292bb05b14b65d1566541fdbc605fa98a8ba3fa1eaad08f174c8ee956670d429b820e30
DIST chromium-bin-89.0.4389.114-1-resources.tar.xz 3084116 BLAKE2B d12ca3366dbbfa69d4e5b4d2df40995aa71cc9a45d9ba64cdce09a38236ad68bae662d695e67f4cb25d6a9bd23bae3b83448a59605e5cb9e4aade2c3209d40f4 SHA512 87047d1499aaa713270194284d84afab220c3d713d4064b52f22ca0805cf0aa65500860841c6fc759cd61f11c094a34b8cbe73c3b63eb28d93f042360e37f45a
DIST chromium-bin-89.0.4389.114-1-wayland-aarch64.tar.xz 65928300 BLAKE2B 19e487012d5e42c1fbf54bf8b4fbf2425885b0565bcd30f9bc7b2280e715658e2d39c3ce7465e9153fe4e68e6ff8967a07c9c8143b1c520c7d32dca68b949dc4 SHA512 3a1cd880a71dcafb8b4446980a1402c174d08703e6570703f78af897351ee6e62e33f75657c77306b1f6720ff5f0ec2f6ea4093b50edbaeb82596820d92d12ce
DIST chromium-bin-89.0.4389.114-1-wayland-i686.tar.xz 87388188 BLAKE2B d1ec3377ae04e9780a5a3ea99aeded840f75aff66468ed69b1079b70159d28cdaa92c282a46d066ffd1f48f431ea05a999cc98f9d6df363e1826fa6fe922608c SHA512 5b5fe4e7547c9e60ca59348ca8ce87e44ff98ac4d07d48fba924b97eae38bdc345e845d2704ecc73b36be101f0d0d74a53dd950e36bfd71506a2d40259662380
DIST chromium-bin-89.0.4389.114-1-wayland-x86_64.tar.xz 67626184 BLAKE2B 71f3b66e0e1675983e6132457091224bd0ea188b6add9da6140a8b931a13af08aeeb7018f3a9b172dd0b9cc7a2ef41cad7e75c536404dabdc45caa34e383234a SHA512 2a6a0eed2e3b437f07728e127baee9590c13ed0ad4887a1f8cdca3ff837248df656c294003ca7661b9d523cdd4753b93c156d91474194a3c724a0f001662eb34
DIST chromium-bin-89.0.4389.114-1-wayland_vaapi-aarch64.tar.xz 66083512 BLAKE2B 622259ab1972d3b0f782c68e2ee4254de6aaab8d784d6b6c77351b7af3e40f58b8429140ba87cfc3ffd507e3cf2a948e18c53238b89a611d7bb0bb0115d8dd45 SHA512 1a8eab9bcb0b6f5ed579e03037cdd89c1f3423158e535330fffd927bdd8592e9ddeac0a838752a088766319894aa71922018c93fda819a5c03934e0db1fa9640
DIST chromium-bin-89.0.4389.114-1-wayland_vaapi-i686.tar.xz 87542784 BLAKE2B 83e3caf1616073c1e3685994982d95f6c938499f6045564414a6242dba5aef9f0b71f86e71c1fc94dccc767d3c1881cc1f1ba6fb1ed4ef0138e9cfd3f0b83935 SHA512 daa66afad7a3761b84319f83d2f1f0fc5401f33fae1fcc9a39c8c00291d977c2832e9b1d04ebdc70c82ccc3ddcf9d477991f63d266bc6a0b0b508c240fb7d57e
DIST chromium-bin-89.0.4389.114-1-wayland_vaapi-x86_64.tar.xz 67803980 BLAKE2B d9bdf6db1234e2406c097ad6192a0df13469a4d25179a001ec6e34c86575303e8030e124c4f4c315f0d8938d81df6fb41aabb5e00f26f7bede888902a6cb1c56 SHA512 f4d4da4dabcc39d62ec07bf93fda861926efa556fcb0069ea02313cec8ef177408da686c99250913ada711d9b94f607bcddc3e50af6aeda3f6fc27008d62f479
DIST chromium-bin-89.0.4389.114-1-x11-aarch64.tar.xz 65791480 BLAKE2B 0e42609c639d75120c27fed6ba0a1488728a8e786fbfc65d970f82cfaaf3b87f4bd83f3aaf87648dd12b60e7f0d000fd234b54a61e8fbb60fb6e2c2154772753 SHA512 89db03da00fb7be4ad364152ca674a276aaf8ab667be52c2c5dde95bdbeffd72cf9a0a4999e52fc5b1cf62727dcf47b65c1d1c7997221e1d7122e8825daa3073
DIST chromium-bin-89.0.4389.114-1-x11-i686.tar.xz 87144512 BLAKE2B 0a804954df3b6a0dbbc275782becd8733b4e8f686ae9e0a0b7464e78d251efcfb83f3f821fa1a739b05ba52cf1ae72ace07e48df5d944e65e7cd150388322720 SHA512 bb623e2c8d53cbd7321cbc5b52f6277982ad68721e18ce4df560781fdb017a85d611632977e3bd7cc1bb66087b3c3ad0f6aec9c5aee7c00b6eeac10dcc3da4a1
DIST chromium-bin-89.0.4389.114-1-x11-x86_64.tar.xz 67467648 BLAKE2B 46a284c6f64ab55f99e44bccc37f3a9781fcf41f499de2426bc206899077019003fb24ef092c3adec0427b47440ee655befb1169e87c578c2af34848529108cd SHA512 ee8c782da9f38908736ef28662fa540c95d2fd1ccf6e8d64324c0e2f8344d2fed3789f9885fe76502599a08b3f19ce5560b51855be3736f424826129f62ba6f7
DIST chromium-bin-89.0.4389.114-1-x11_vaapi-aarch64.tar.xz 65928672 BLAKE2B a68218e00547d80a326a5a8f938952af5387eee92a5cd4bcb189dd76ce84f0ecede1d2a06f78e919e1c5cf2e061f0f30dfe8f68e999f1cb8b242d261b02c3481 SHA512 50b05b7eadc0c2eb5cf620bc40b4bd0070b6f42e3db2732e3c2b5ad16c756da37e3e14fb3179516117996aa7154967465a193cd18aedfd1378c93b8900bfb8e8
DIST chromium-bin-89.0.4389.114-1-x11_vaapi-i686.tar.xz 87336860 BLAKE2B 56a9b21f4e3234becfb589d3a77558ba1ecdd6b216299f135ca169a40017371cbaa3259ae6a3940f66cbd8e7a7cbffafb150a111ed073715a20f0f61773cf63d SHA512 416d0d22bb6754c0437cb7990c772ef482332215499061ba137f5a24c04f4bd5c585234a3ae7deb60fb52816cdc62205dafc46c4c4817b65b4cd9aacb2048032
DIST chromium-bin-89.0.4389.114-1-x11_vaapi-x86_64.tar.xz 67594240 BLAKE2B 42a5394d9eb7b60fcfd00aa37270fc94992e57f28032e07745b52d2947ff6d97d4e8cc8eda5aaf233b748edf9fb9c97ae20aadb51ad97d90d0d3c74939f86fb9 SHA512 6cd5464e1f986bea79a36f4ff8e523bed224282bcbd690f435516975b2ba10e0b00cc2e83027d5f3e6bada243a98acd059427a21e6d095864d7f84e0e2409ca4

View File

@ -0,0 +1,262 @@
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CHROMIUM_LANGS="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 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
devtools? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-resources.tar.xz )
amd64? (
https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-common-x86_64.tar.xz
wayland? (
vaapi? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland_vaapi-x86_64.tar.xz )
!vaapi? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland-x86_64.tar.xz )
)
!wayland? (
vaapi? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-x11_vaapi-x86_64.tar.xz )
!vaapi? ( 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? (
vaapi? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland_vaapi-aarch64.tar.xz )
!vaapi? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland-aarch64.tar.xz )
)
!wayland? (
vaapi? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-x11_vaapi-aarch64.tar.xz )
!vaapi? ( 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? (
vaapi? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland_vaapi-i686.tar.xz )
!vaapi? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland-i686.tar.xz )
)
!wayland? (
vaapi? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-x11_vaapi-i686.tar.xz )
!vaapi? ( 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 devtools selinux suid +swiftshader vaapi wayland widevine"
RDEPEND="
app-accessibility/at-spi2-atk:2
app-accessibility/at-spi2-core:2
app-arch/bzip2
app-arch/snappy
dev-libs/atk
dev-libs/expat
dev-libs/glib:2
dev-libs/icu:0/68.2
dev-libs/libxml2[icu]
dev-libs/libxslt
dev-libs/nspr
>=dev-libs/nss-3.26
dev-libs/re2:0/9
media-libs/alsa-lib
media-libs/flac
media-libs/fontconfig
media-libs/freetype
media-libs/harfbuzz[icu(-)]
media-libs/libjpeg-turbo
media-libs/libpng
media-libs/libwebp
media-libs/mesa[gbm]
media-libs/openh264
media-libs/opus
>=media-video/ffmpeg-4.3
|| (
>=media-video/ffmpeg-4.3[-samba]
net-fs/samba[-debug(-)]
)
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/opengl
virtual/ttf-fonts
virtual/udev
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3[X]
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXi
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/libXScrnSaver
x11-libs/libxcb
x11-libs/pango
x11-misc/xdg-utils
amd64? (
widevine? ( www-plugins/chrome-binary-plugins )
)
selinux? ( sec-policy/selinux-chromium )
wayland? (
dev-libs/wayland
dev-libs/libffi
x11-libs/gtk+:3[wayland,X]
x11-libs/libdrm
x11-libs/libxkbcommon
)
"
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
# Remove SwiftShader OpenGL libraries
if ! use swiftshader; then
rm -r "${CHROMIUM_BIN_HOME}/swiftshader" || 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 && use amd64; 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
if use vaapi; then
elog "VA-API is disabled by default at runtime. Either enable it"
elog "by navigating to chrome://flags/#enable-accelerated-video-decode"
elog "inside Chromium or add --enable-accelerated-video-decode"
elog "to CHROMIUM_BIN_FLAGS in /etc/chromium-bin/default."
fi
}