summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Hartmann <sultan@gentoo.org>2022-04-13 08:12:30 +0200
committerStephan Hartmann <sultan@gentoo.org>2022-04-13 08:12:54 +0200
commita20184ed918d9b159158df88c2286f367f6d6097 (patch)
treecc1878ad046c50a74299b4dddec60a44726b2f96 /www-client
parentmedia-plugins/libvisual-projectm: update EAPI 6 -> 8 (diff)
downloadgentoo-a20184ed918d9b159158df88c2286f367f6d6097.tar.gz
gentoo-a20184ed918d9b159158df88c2286f367f6d6097.tar.bz2
gentoo-a20184ed918d9b159158df88c2286f367f6d6097.zip
www-client/chromium-bin: initial import
Bug: https://bugs.gentoo.org/729366 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-100.0.4896.88.ebuild243
-rw-r--r--www-client/chromium-bin/files/chromium-bin-browser-chromium.desktop221
-rw-r--r--www-client/chromium-bin/files/chromium-bin-browser.1170
-rw-r--r--www-client/chromium-bin/files/chromium-bin-browser.xml13
-rw-r--r--www-client/chromium-bin/files/chromium-bin-launcher.sh39
-rw-r--r--www-client/chromium-bin/files/chromium-bin.default5
-rw-r--r--www-client/chromium-bin/metadata.xml13
8 files changed, 715 insertions, 0 deletions
diff --git a/www-client/chromium-bin/Manifest b/www-client/chromium-bin/Manifest
new file mode 100644
index 000000000000..863b4fc455cc
--- /dev/null
+++ b/www-client/chromium-bin/Manifest
@@ -0,0 +1,11 @@
+DIST chromium-bin-100.0.4896.88-1-common-aarch64.tar.xz 11875196 BLAKE2B acc19eefc26c2ff6543cfe911a1e7fb246aac89ff381b4b47d957d00addca62dd8920468f3065e1e0ef8c2f5a9332dbfa151b56710ca9e9ccbfa84d41a5dcbea SHA512 f8d73a430e18d78ebb2bf0ecc8491cc9579612a6449e6c7d5367c3e5284e9f56a26a27061bcb191af175b2a38f13cd3e470daaaaea5557754fd8867f642e6dd3
+DIST chromium-bin-100.0.4896.88-1-common-i686.tar.xz 6964916 BLAKE2B e3dbc93e2d911da000ffbbe816de4299437d1a1e1b14abdd54d8c332f0ff50ac52772e6b2a1dc479ae01e31f959584f745f6590ef76f91f832485d4d6a2c2302 SHA512 6f01aa9dcceefc049491f68e204a9928cc6f6caa4448be7896c4e223373767bb16155e057d0f014b69744b2f6bde42f87d606ef4e627fd60801fd01727a85d0d
+DIST chromium-bin-100.0.4896.88-1-common-x86_64.tar.xz 6940700 BLAKE2B 8a07ec45d9cda3e4fefc48aee502da16b259c24a0e97900bc3e20c5b9d2acbe685d07dd367041842334c1a3b663030553ca59e2fdd870a34c6060707390619b6 SHA512 3b0161c583028d473c94de32e0e7e64db7763d7614262b0e28f81b42d2f08e749908ee7a6c10f134a5600d53f2f6fb63a604a77b7a24be56daafc6101dec2110
+DIST chromium-bin-100.0.4896.88-1-common.tar.xz 4494756 BLAKE2B 64038fdbc89b1a5a5bf6bf1ee54d0b903b9cdef78f738c3eda246395089a2dde5beeb13417dc2a91a230a1781926c9f8ec58451a31cd1d4638ac8610c04103a1 SHA512 bf3034017e7d050f0bafa707db2e174e4f282827f2e874704cac38fdf0307e4954e8632400dda6d8f90364f032d1d9d725a1d3071213b7d7b66f445cc4b2ff66
+DIST chromium-bin-100.0.4896.88-1-l10n.tar.xz 4487460 BLAKE2B dc8c7e93119936c4928e8eb8cc7aa519b91063b601e60f6452909a749e5c05a85cec4d0e389f3fbea747877250a6e30d6d2032718d9c8eb35ae4a8866103531e SHA512 525dc12ada9ce3e8ee4378949c1c5c4b989dea1a6a5fc2f6bfe0acf35503a67836da54c388039fc0b45ed41e582725d29692500e727e4d5c3c5b9236454390da
+DIST chromium-bin-100.0.4896.88-1-wayland-aarch64.tar.xz 81864788 BLAKE2B 276e5cde1f6dc7a7b43d15d92be6ba10ccb50d4833e3bac4d6d1ccde790fe184654b5dfa1e31301143164086f171455d7c3817deb2e449766beb7403ba3bb017 SHA512 d447a7bd8614e6ab6380366c18b4291ecf1cc361ffd688de1aeedd55c5d6ff097ba596bf3997b19f1f645a20e048532a9099b20aaa7465de2c4490badcfba92b
+DIST chromium-bin-100.0.4896.88-1-wayland-i686.tar.xz 85404600 BLAKE2B 797499101112103042466f77e65b223050020d20dcd044e118a533b620eedaf751855a9aa25b50155ca71c1b4b3963ddc3e9b844b57c18fcc8b946f16a8456df SHA512 280d91bcb408a04882fbf9880544bbc27b2e7b7c21fdfb1f42956cc7ac09c61ab833dc85e314edbc0c99a95e8fc8d522094b6d181bde0f04ef4d7e7c1b926330
+DIST chromium-bin-100.0.4896.88-1-wayland-x86_64.tar.xz 82848960 BLAKE2B 3def1bef08f37d7cda10577637bf52e23982670ef544fe85a56c91beb57439efc63a43bdb1c1fb33194d0481eecb34884df06306533ce062e99353892edd06fb SHA512 d86216f240ed9fba1331c606e52a54336385862aeeff8733d886765ca5854ccdfc1c30eb73c3d52daf0d48a858bc71371c920b9735fbbadbd6dd9ea78dd52337
+DIST chromium-bin-100.0.4896.88-1-x11-aarch64.tar.xz 81679120 BLAKE2B 901041149724b6e205502150c5c1ac6b65302638f94bb267430a4794889dcdfa841a08ade2cb616dc061dbac5fa1933c85401ab8ab93310e2c462dcb2bbf3cb8 SHA512 76d61d7a2751cd6bd548f70442c166516b43946dc3fd00c92499a9c1946b8dc4b07cf87463d211a41e4ba50a93697866d467e58b8507410432f8d0ee1cfe62b9
+DIST chromium-bin-100.0.4896.88-1-x11-i686.tar.xz 85213240 BLAKE2B 0cf3d01a77c48aa366e233739019a91545011573abe2e5e01bc6fc0d32cae476219a8dcb03cf20d2aa45b1f90707e54e5bef692467401a9cac8a72203c1c0bec SHA512 4ca86480af88b73977390abb788368b49fcd3333cadec265a4ce04bc8b3069f9e280a817112fb70731a7622c89209c05d4b0767500e30ca880a8610ac5c168b2
+DIST chromium-bin-100.0.4896.88-1-x11-x86_64.tar.xz 82647632 BLAKE2B e3507bb4878474249a1d84117cc01bb496a396333de33fa4a1fd399d0f7e6c39e0e17a9c875a09ac8ab2a317222cbe01eff00ed7f3a5372c6f39dbb4185a8de0 SHA512 a504a24c7740be9e420a90b3c0cb27dae364df15b0c027aa95bf7fe6c912ffe8faa02e1cdd0389f722da2be9dd266061303cf9dab7cac20c9ee3f0662e1bdef1
diff --git a/www-client/chromium-bin/chromium-bin-100.0.4896.88.ebuild b/www-client/chromium-bin/chromium-bin-100.0.4896.88.ebuild
new file mode 100644
index 000000000000..aa72c6c076d3
--- /dev/null
+++ b/www-client/chromium-bin/chromium-bin-100.0.4896.88.ebuild
@@ -0,0 +1,243 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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
+ 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"
+KEYWORDS="-* ~amd64 ~arm64 ~x86"
+IUSE="cpu_flags_x86_sse2 suid +swiftshader wayland widevine"
+
+RDEPEND="
+ app-accessibility/at-spi2-atk:2
+ app-accessibility/at-spi2-core:2
+ 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
+ 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
+
+ # 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; 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."
+}
diff --git a/www-client/chromium-bin/files/chromium-bin-browser-chromium.desktop b/www-client/chromium-bin/files/chromium-bin-browser-chromium.desktop
new file mode 100644
index 000000000000..6cd41f031d08
--- /dev/null
+++ b/www-client/chromium-bin/files/chromium-bin-browser-chromium.desktop
@@ -0,0 +1,221 @@
+[Desktop Entry]
+Version=1.0
+Name=Chromium (Bin)
+# Only KDE 4 seems to use GenericName, so we reuse the KDE strings.
+# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413.
+GenericName=Web Browser
+GenericName[ar]=متصفح الشبكة
+GenericName[bg]=Уеб браузър
+GenericName[ca]=Navegador web
+GenericName[cs]=WWW prohlížeč
+GenericName[da]=Browser
+GenericName[de]=Web-Browser
+GenericName[el]=Περιηγητής ιστού
+GenericName[en_GB]=Web Browser
+GenericName[es]=Navegador web
+GenericName[et]=Veebibrauser
+GenericName[fi]=WWW-selain
+GenericName[fr]=Navigateur Web
+GenericName[gu]=વેબ બ્રાઉઝર
+GenericName[he]=דפדפן אינטרנט
+GenericName[hi]=वेब ब्राउज़र
+GenericName[hu]=Webböngésző
+GenericName[it]=Browser Web
+GenericName[ja]=ウェブブラウザ
+GenericName[kn]=ಜಾಲ ವೀಕ್ಷಕ
+GenericName[ko]=웹 브라우저
+GenericName[lt]=Žiniatinklio naršyklė
+GenericName[lv]=Tīmekļa pārlūks
+GenericName[ml]=വെബ് ബ്രൌസര്‍
+GenericName[mr]=वेब ब्राऊजर
+GenericName[nb]=Nettleser
+GenericName[nl]=Webbrowser
+GenericName[pl]=Przeglądarka WWW
+GenericName[pt]=Navegador Web
+GenericName[pt_BR]=Navegador da Internet
+GenericName[ro]=Navigator de Internet
+GenericName[ru]=Веб-браузер
+GenericName[sl]=Spletni brskalnik
+GenericName[sv]=Webbläsare
+GenericName[ta]=இணைய உலாவி
+GenericName[th]=เว็บเบราว์เซอร์
+GenericName[tr]=Web Tarayıcı
+GenericName[uk]=Навігатор Тенет
+GenericName[zh_CN]=网页浏览器
+GenericName[zh_HK]=網頁瀏覽器
+GenericName[zh_TW]=網頁瀏覽器
+# Not translated in KDE, from Epiphany 2.26.1-0ubuntu1.
+GenericName[bn]=ওয়েব ব্রাউজার
+GenericName[fil]=Web Browser
+GenericName[hr]=Web preglednik
+GenericName[id]=Browser Web
+GenericName[or]=ଓ୍ବେବ ବ୍ରାଉଜର
+GenericName[sk]=WWW prehliadač
+GenericName[sr]=Интернет прегледник
+GenericName[te]=మహాతల అన్వేషి
+GenericName[vi]=Bộ duyệt Web
+# Gnome and KDE 3 uses Comment.
+Comment=Access the Internet
+Comment[ar]=الدخول إلى الإنترنت
+Comment[bg]=Достъп до интернет
+Comment[bn]=ইন্টারনেটটি অ্যাক্সেস করুন
+Comment[ca]=Accedeix a Internet
+Comment[cs]=Přístup k internetu
+Comment[da]=Få adgang til internettet
+Comment[de]=Internetzugriff
+Comment[el]=Πρόσβαση στο Διαδίκτυο
+Comment[en_GB]=Access the Internet
+Comment[es]=Accede a Internet.
+Comment[et]=Pääs Internetti
+Comment[fi]=Käytä internetiä
+Comment[fil]=I-access ang Internet
+Comment[fr]=Accéder à Internet
+Comment[gu]=ઇંટરનેટ ઍક્સેસ કરો
+Comment[he]=גישה אל האינטרנט
+Comment[hi]=इंटरनेट तक पहुंच स्थापित करें
+Comment[hr]=Pristup Internetu
+Comment[hu]=Internetelérés
+Comment[id]=Akses Internet
+Comment[it]=Accesso a Internet
+Comment[ja]=インターネットにアクセス
+Comment[kn]=ಇಂಟರ್ನೆಟ್ ಅನ್ನು ಪ್ರವೇಶಿಸಿ
+Comment[ko]=인터넷 연결
+Comment[lt]=Interneto prieiga
+Comment[lv]=Piekļūt internetam
+Comment[ml]=ഇന്റര്‍‌നെറ്റ് ആക്‌സസ് ചെയ്യുക
+Comment[mr]=इंटरनेटमध्ये प्रवेश करा
+Comment[nb]=Gå til Internett
+Comment[nl]=Verbinding maken met internet
+Comment[or]=ଇଣ୍ଟର୍ନେଟ୍ ପ୍ରବେଶ କରନ୍ତୁ
+Comment[pl]=Skorzystaj z internetu
+Comment[pt]=Aceder à Internet
+Comment[pt_BR]=Acessar a internet
+Comment[ro]=Accesaţi Internetul
+Comment[ru]=Доступ в Интернет
+Comment[sk]=Prístup do siete Internet
+Comment[sl]=Dostop do interneta
+Comment[sr]=Приступите Интернету
+Comment[sv]=Gå ut på Internet
+Comment[ta]=இணையத்தை அணுகுதல்
+Comment[te]=ఇంటర్నెట్‌ను ఆక్సెస్ చెయ్యండి
+Comment[th]=เข้าถึงอินเทอร์เน็ต
+Comment[tr]=İnternet'e erişin
+Comment[uk]=Доступ до Інтернету
+Comment[vi]=Truy cập Internet
+Comment[zh_CN]=访问互联网
+Comment[zh_HK]=連線到網際網路
+Comment[zh_TW]=連線到網際網路
+Exec=chromium-bin-browser %U
+StartupNotify=true
+Terminal=false
+Icon=chromium-bin-browser
+Type=Application
+Categories=Network;WebBrowser;
+MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/ftp;x-scheme-handler/http;x-scheme-handler/https;
+Actions=new-window;new-private-window;
+
+[Desktop Action new-window]
+Name=New Window
+Name[am]=አዲስ መስኮት
+Name[ar]=نافذة جديدة
+Name[bg]=Нов прозорец
+Name[bn]=নতুন উইন্ডো
+Name[ca]=Finestra nova
+Name[cs]=Nové okno
+Name[da]=Nyt vindue
+Name[de]=Neues Fenster
+Name[el]=Νέο Παράθυρο
+Name[en_GB]=New Window
+Name[es]=Nueva ventana
+Name[et]=Uus aken
+Name[fa]=پنجره جدید
+Name[fi]=Uusi ikkuna
+Name[fil]=New Window
+Name[fr]=Nouvelle fenêtre
+Name[gu]=નવી વિંડો
+Name[hi]=नई विंडो
+Name[hr]=Novi prozor
+Name[hu]=Új ablak
+Name[id]=Jendela Baru
+Name[it]=Nuova finestra
+Name[iw]=חלון חדש
+Name[ja]=新規ウインドウ
+Name[kn]=ಹೊಸ ವಿಂಡೊ
+Name[ko]=새 창
+Name[lt]=Naujas langas
+Name[lv]=Jauns logs
+Name[ml]=പുതിയ വിന്‍ഡോ
+Name[mr]=नवीन विंडो
+Name[nl]=Nieuw venster
+Name[no]=Nytt vindu
+Name[pl]=Nowe okno
+Name[pt]=Nova janela
+Name[pt_BR]=Nova janela
+Name[ro]=Fereastră nouă
+Name[ru]=Новое окно
+Name[sk]=Nové okno
+Name[sl]=Novo okno
+Name[sr]=Нови прозор
+Name[sv]=Nytt fönster
+Name[sw]=Dirisha Jipya
+Name[ta]=புதிய சாளரம்
+Name[te]=క్రొత్త విండో
+Name[th]=หน้าต่างใหม่
+Name[tr]=Yeni Pencere
+Name[uk]=Нове вікно
+Name[vi]=Cửa sổ Mới
+Name[zh_CN]=新建窗口
+Name[zh_TW]=開新視窗
+Exec=chromium-bin-browser
+
+[Desktop Action new-private-window]
+Name=New Incognito Window
+Name[ar]=نافذة جديدة للتصفح المتخفي
+Name[bg]=Нов прозорец „инкогнито“
+Name[bn]=নতুন ছদ্মবেশী উইন্ডো
+Name[ca]=Finestra d'incògnit nova
+Name[cs]=Nové anonymní okno
+Name[da]=Nyt inkognitovindue
+Name[de]=Neues Inkognito-Fenster
+Name[el]=Νέο παράθυρο για ανώνυμη περιήγηση
+Name[en_GB]=New Incognito window
+Name[es]=Nueva ventana de incógnito
+Name[et]=Uus inkognito aken
+Name[fa]=پنجره جدید حالت ناشناس
+Name[fi]=Uusi incognito-ikkuna
+Name[fil]=Bagong Incognito window
+Name[fr]=Nouvelle fenêtre de navigation privée
+Name[gu]=નવી છુપી વિંડો
+Name[hi]=नई गुप्त विंडो
+Name[hr]=Novi anoniman prozor
+Name[hu]=Új Inkognitóablak
+Name[id]=Jendela Penyamaran baru
+Name[it]=Nuova finestra di navigazione in incognito
+Name[iw]=חלון חדש לגלישה בסתר
+Name[ja]=新しいシークレット ウィンドウ
+Name[kn]=ಹೊಸ ಅಜ್ಞಾತ ವಿಂಡೋ
+Name[ko]=새 시크릿 창
+Name[lt]=Naujas inkognito langas
+Name[lv]=Jauns inkognito režīma logs
+Name[ml]=പുതിയ വേഷ പ്രച്ഛന്ന വിന്‍ഡോ
+Name[mr]=नवीन गुप्त विंडो
+Name[nl]=Nieuw incognitovenster
+Name[no]=Nytt inkognitovindu
+Name[pl]=Nowe okno incognito
+Name[pt]=Nova janela de navegação anónima
+Name[pt_BR]=Nova janela anônima
+Name[ro]=Fereastră nouă incognito
+Name[ru]=Новое окно в режиме инкогнито
+Name[sk]=Nové okno inkognito
+Name[sl]=Novo okno brez beleženja zgodovine
+Name[sr]=Нови прозор за прегледање без архивирања
+Name[sv]=Nytt inkognitofönster
+Name[ta]=புதிய மறைநிலைச் சாளரம்
+Name[te]=క్రొత్త అజ్ఞాత విండో
+Name[th]=หน้าต่างใหม่ที่ไม่ระบุตัวตน
+Name[tr]=Yeni Gizli pencere
+Name[uk]=Нове вікно в режимі анонімного перегляду
+Name[vi]=Cửa sổ ẩn danh mới
+Name[zh_CN]=新建隐身窗口
+Name[zh_TW]=新增無痕式視窗
+Exec=chromium-bin-browser --incognito
diff --git a/www-client/chromium-bin/files/chromium-bin-browser.1 b/www-client/chromium-bin/files/chromium-bin-browser.1
new file mode 100644
index 000000000000..db5c5cb6645c
--- /dev/null
+++ b/www-client/chromium-bin/files/chromium-bin-browser.1
@@ -0,0 +1,170 @@
+.\" This file is processed to generate manpages in the
+.\" build diretory.
+.TH chromium-bin 1 "" "" "USER COMMANDS"
+
+.SH NAME
+chromium-bin \- the web browser from Google
+
+.SH SYNOPSIS
+.B chromium-bin
+[\fIOPTION\fR] [\fIPATH\fR|\fIURL\fR]
+
+.SH DESCRIPTION
+See the Google Chrome help center for help on using the browser.
+.IP
+<https://support.google.com/chrome/>
+.PP
+This manpage only describes invocation, environment, and arguments.
+
+.SH OPTIONS
+Chromium has hundreds of undocumented command-line flags that are added
+and removed at the whim of the developers. Here, we document relatively
+stable flags.
+.TP
+\fB\-\-user\-data\-dir\fR=\fIDIR\fR
+Specifies the directory that user data (your "profile") is kept in.
+Defaults to
+.I $HOME/.config/chromium-bin .
+Separate instances of Chromium must use separate user data directories;
+repeated invocations of chromium-bin will reuse an existing process for
+a given user data directory.
+
+.TP
+\fB\-\-app\fR=\fIURL\fR
+Runs
+.I URL
+in "app mode": with no browser toolbars.
+
+.TP
+\fB\-\-incognito\fR
+Open in incognito mode.
+
+.TP
+\fB\-\-new-window\fR
+If \fIPATH\fR or \fIURL\fR is given, open it in a new window.
+
+.TP
+\fB\-\-proxy-server\fR=\fIhost:port\fR
+Specify the HTTP/SOCKS4/SOCKS5 proxy server to use for requests. This
+overrides any environment variables or settings picked via the options dialog.
+An individual proxy server is specified using the format:
+
+ [<proxy-scheme>://]<proxy-host>[:<proxy-port>]
+
+Where <proxy-scheme> is the protocol of the proxy server, and is one of:
+
+ "http", "socks", "socks4", "socks5".
+
+If the <proxy-scheme> is omitted, it defaults to "http". Also note that
+"socks" is equivalent to "socks5".
+
+Examples:
+
+ --proxy-server="foopy:99"
+ Use the HTTP proxy "foopy:99" to load all URLs.
+
+ --proxy-server="socks://foobar:1080"
+ Use the SOCKS v5 proxy "foobar:1080" to load all URLs.
+
+ --proxy-server="socks4://foobar:1080"
+ Use the SOCKS v4 proxy "foobar:1080" to load all URLs.
+
+ --proxy-server="socks5://foobar:66"
+ Use the SOCKS v5 proxy "foobar:66" to load all URLs.
+
+It is also possible to specify a separate proxy server for different URL types,
+by prefixing the proxy server specifier with a URL specifier:
+
+Example:
+
+ --proxy-server="https=proxy1:80;http=socks4://baz:1080"
+ Load https://* URLs using the HTTP proxy "proxy1:80". And load http://*
+ URLs using the SOCKS v4 proxy "baz:1080".
+
+.TP
+\fB\-\-no-proxy-server\fR
+Disables the proxy server. Overrides any environment variables or
+settings picked via the options dialog.
+
+.TP
+\fB\-\-proxy-auto-detect\fR
+Autodetect proxy configuration. Overrides any environment variables
+or settings picked via the options dialog.
+
+.TP
+\fB\-\-proxy-pac-url\fR=\fIURL\fR
+Specify proxy autoconfiguration URL. Overrides any environment variables
+or settings picked via the options dialog.
+
+.TP
+\fB\-\-password-store\fR=<\fIbasic\fR|\fIgnome\fR|\fIkwallet\fR>
+Set the password store to use. The default is to automatically detect based
+on the desktop environment. \fIbasic\fR selects the built in, unencrypted
+password store. \fIgnome\fR selects Gnome keyring. \fIkwallet\fR selects
+(KDE) KWallet. (Note that KWallet may not work reliably outside KDE.)
+
+.TP
+\fB\-\-version\fR
+Show version information.
+
+.PP
+As a GTK+ app, Chromium also obeys GTK+ command-line flags, such
+as
+.BR \-\-display .
+See the GTK documentation for more:
+.IP
+<http://library.gnome.org/devel/gtk/stable/gtk-running.html>
+<http://library.gnome.org/devel/gtk/stable/gtk-x11.html>
+
+.SH ENVIRONMENT
+Chromium obeys the following environment variables:
+
+.TP
+.B all_proxy
+Shorthand for specifying all of
+.B http_proxy, https_proxy, ftp_proxy
+
+.TP
+.B http_proxy, https_proxy, ftp_proxy
+The proxy servers used for HTTP, HTTPS, and FTP.
+.I Note:
+because Gnome/KDE proxy settings may propagate into these variables
+in some terminals, this variable is ignored (in preference for actual
+system proxy settings) when running under Gnome or KDE. Use the
+command-line flags to set these when you want to force their values.
+
+.TP
+.B auto_proxy
+Specify proxy autoconfiguration. Defined and empty autodetects; otherwise,
+it should be an autoconfig URL. But see above note about Gnome/KDE.
+
+.TP
+.B SOCKS_SERVER
+SOCKS proxy server (defaults to SOCKS v4, also set
+.B SOCKS_VERSION=5
+to use SOCKS v5).
+
+.TP
+.B no_proxy
+Comma separated list of hosts or patterns to bypass proxying.
+
+.SH FILES
+.TP
+.I $HOME/.config/chromium-bin
+Default directory for configuration data.
+
+.TP
+.I $HOME/.cache/chromium-bin
+Default directory for cache data. (Why? See
+<http://standards.freedesktop.org/basedir-spec/latest/> .)
+
+.SH BUGS
+Bug tracker:
+.IP
+http://code.google.com/p/chromium/issues/list
+.PP
+Be sure to do your search within "All Issues" before reporting bugs,
+and be sure to pick the "Defect on Linux" template when filing a new one.
+
+.SH AUTHOR
+The Chromium team \- <http://www.chromium.org>
diff --git a/www-client/chromium-bin/files/chromium-bin-browser.xml b/www-client/chromium-bin/files/chromium-bin-browser.xml
new file mode 100644
index 000000000000..7ea1d2c7204a
--- /dev/null
+++ b/www-client/chromium-bin/files/chromium-bin-browser.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE default-apps SYSTEM "gnome-da-list.dtd">
+<default-apps>
+ <web-browsers>
+ <web-browser>
+ <name>Chromium (Bin)</name>
+ <executable>chromium-bin-browser</executable>
+ <command>chromium-bin-browser %s</command>
+ <icon-name>chromium-bin-browser</icon-name>
+ <run-in-terminal>false</run-in-terminal>
+ </web-browser>
+ </web-browsers>
+</default-apps>
diff --git a/www-client/chromium-bin/files/chromium-bin-launcher.sh b/www-client/chromium-bin/files/chromium-bin-launcher.sh
new file mode 100644
index 000000000000..3e9283df2e29
--- /dev/null
+++ b/www-client/chromium-bin/files/chromium-bin-launcher.sh
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+# Allow the user to override command-line flags, bug #357629.
+# This is based on Debian's chromium-browser package, and is intended
+# to be consistent with Debian.
+for f in /etc/chromium-bin/*; do
+ [[ -f ${f} ]] && source "${f}"
+done
+
+# Prefer user defined CHROMIUM_BIN_USER_FLAGS (from env) over system
+# default CHROMIUM_BIN_FLAGS (from /etc/chromium-bin/default).
+CHROMIUM_BIN_FLAGS=${CHROMIUM_BIN_USER_FLAGS:-"$CHROMIUM_BIN_FLAGS"}
+
+# Let the wrapped binary know that it has been run through the wrapper
+export CHROME_WRAPPER=$(readlink -f "$0")
+
+PROGDIR=${CHROME_WRAPPER%/*}
+
+case ":$PATH:" in
+ *:$PROGDIR:*)
+ # $PATH already contains $PROGDIR
+ ;;
+ *)
+ # Append $PROGDIR to $PATH
+ export PATH="$PATH:$PROGDIR"
+ ;;
+esac
+
+if [[ ${EUID} == 0 && -O ${XDG_CONFIG_HOME:-${HOME}} ]]; then
+ # Running as root with HOME owned by root.
+ # Pass --user-data-dir to work around upstream failsafe.
+ CHROMIUM_BIN_FLAGS="--user-data-dir=${XDG_CONFIG_HOME:-${HOME}/.config}/chromium
+ ${CHROMIUM_BIN_FLAGS}"
+fi
+
+# Set the .desktop file name
+export CHROME_DESKTOP="chromium-bin-browser-chromium.desktop"
+
+exec -a "chromium-bin-browser" "$PROGDIR/chrome" --extra-plugin-dir=/usr/lib/nsbrowser/plugins ${CHROMIUM_BIN_FLAGS} "$@"
diff --git a/www-client/chromium-bin/files/chromium-bin.default b/www-client/chromium-bin/files/chromium-bin.default
new file mode 100644
index 000000000000..1ab26e540c8e
--- /dev/null
+++ b/www-client/chromium-bin/files/chromium-bin.default
@@ -0,0 +1,5 @@
+# Default settings for chromium-bin. This file is sourced by /bin/bash from
+# the chromium-bin launcher.
+
+# Options to pass to chromium-bin.
+#CHROMIUM_BIN_FLAGS=""
diff --git a/www-client/chromium-bin/metadata.xml b/www-client/chromium-bin/metadata.xml
new file mode 100644
index 000000000000..0d0a99328653
--- /dev/null
+++ b/www-client/chromium-bin/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>chromium@gentoo.org</email>
+ <name>Chromium in Gentoo Project</name>
+ </maintainer>
+ <use>
+ <flag name="suid">Install the SUID sandbox, which is only needed on CONFIG_USER_NS=n kernels.</flag>
+ <flag name="swiftshader">Install SwiftShader OpenGL libraries.</flag>
+ <flag name="widevine">Unsupported closed-source DRM capability (required by Netflix VOD).</flag>
+ </use>
+</pkgmetadata>