1 # Copyright 2012-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit multilib unpacker
8 DESCRIPTION="Binary plugins from Google Chrome for use in Chromium"
9 HOMEPAGE="https://www.google.com/chrome"
14 CHROMEDIR="opt/google/chrome-${SLOT}"
19 CHROMEDIR="opt/google/chrome-${SLOT}"
24 CHROMEDIR="opt/google/chrome"
29 MY_PN="google-chrome-${SLOT}"
30 MY_P="${MY_PN}_${MY_PV}"
32 SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb"
35 LICENSE="google-chrome"
36 RESTRICT="bindist mirror strip"
42 !<www-client/chromium-57[widevine(-)]
45 for x in 0 beta stable unstable; do
46 if [[ ${SLOT} != ${x} ]]; then
47 RDEPEND+=" !${CATEGORY}/${PN}:${x}"
51 S="${WORKDIR}/${CHROMEDIR}"
55 eerror "Please wait 24 hours and sync your portage tree before reporting fetch failures."
59 insinto "/usr/$(get_libdir)/chromium-browser"