DIST vivaldi-snapshot-3.1.1921.3_p1-arm64.deb 63446744 BLAKE2B fe666a6c05a8116450aa9f8270bfda43b607425faf6957faf8324be68f381e897e9997ec85b1c592f29e52786073b7ec54f8cd810e64551816f895ece9154bf3 SHA512 84c0f05a06087d3a2d147b05c04e51dc75c2d1178abe05fc0380dacb9f9548d0565041f3e877dea43dcb11a2f16e339ea4b684b6282e91b1ab24ea34c09dd3df
DIST vivaldi-snapshot-3.1.1921.3_p1-armhf.deb 62898684 BLAKE2B e26b4bfb073f30538c6c69718d9a1cb84ec7ff0a63dccabf801ec8927a0ea18c93dc5803e445d729f9b72377d4718203a15eef04c909fdf4f25e90ea55aae9f8 SHA512 29277d55a40ae6d734ec816f9005136a262e1544ae0d4f0a25a97260c64dc5a947c4cdd6e1c839af141cafbced4b08ca226a3d10d42dc6e3af2042251c310275
DIST vivaldi-snapshot-3.1.1921.3_p1-i386.deb 69350036 BLAKE2B 1d64d63aff5f72a87f3b35e4db000216683d0d1bd5c5b8da37276de080b4d2ce5b6128fdebe04e94df95d4aeefb2cf885b5e0a4c8b5e2a850b420e4389061b74 SHA512 f338d808b35c96ce41411a6b9f27360f6a10eae1aaaee6572cada311589e55018e13eb13b085dad7b2744726dedafe1df27e6eb901d5f914f5901be0da1d5fa3
+DIST vivaldi-snapshot-3.1.1929.3_p1-amd64.deb 70973368 BLAKE2B 7388db75bd055294e5076d29e16538edb4ac2d7adae73b51c20e6d3f3f31b4e00c3325719275c750445e0be7f4413f7ef410667ffc725f488963175ba81cd0d5 SHA512 a2e7f99b411547811981c617f4c2f03a59ee9593878351a108f35128d98cedcc6e40a9336c7ddcce5d154801b6e1802d2e5ca15fadf8bea69d63433c3786a8ea
+DIST vivaldi-snapshot-3.1.1929.3_p1-arm64.deb 63495944 BLAKE2B 35ce0b07201861453bf5a91ab8dfb9496f260e456781de9803a159bf11fbff4420e64631fca429f5384d236900a2d85ac0348867ef866e4a1f09db0bec1add37 SHA512 e386716075ec98357a4db30a94860432aad25fa6a84fd90400f200ae3e21055831535140ad4a9ffb396367ad57c433e12a7d796a12d0ba4eb78e0cf58dc9b617
+DIST vivaldi-snapshot-3.1.1929.3_p1-armhf.deb 62885396 BLAKE2B 25f1a9cfbfddb16d8bd7641517de75dbe35b6a66e1b825bc90ee31d02c4808e8ea5ea864b141e1ff3260f503bcaaa2484a29b1dd175e265dd951f732c6740720 SHA512 d872227f3d591c0693edac08cd4d0b832c5b46dd0325f8c5719e3d305c71ae94c103196c01348551a0d93cc197da52bdddef82f2286113972a124a4ae604acea
+DIST vivaldi-snapshot-3.1.1929.3_p1-i386.deb 69366008 BLAKE2B 4248d95a411eef16acfff2ca762c7010c3215ee38ad1505b6689d9817c0054b5c5a11e1ed642e92068cb2644fdcad3ef8d4a54db81403eee9c50770dfd9b0341 SHA512 466283e2344ce371ef46e7fd47264c2dbfcaca0075c2dd072064b7fc37b5c087f0cfe4343ae8530999ecc67bd0036e7ed0c3a6df327191ebda9b3f808e037593
--- /dev/null
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+CHROMIUM_LANGS="
+ af am ar be bg bn ca cs da de de-CH el en-GB en-US eo es es-419 es-PE et eu
+ fa fi fil fr fy gd gl gu he hi hr hu hy id io is it ja jbo ka kn ko ku lt
+ lv mk ml mr ms nb nl nn pl pt-BR pt-PT ro ru sc sk sl sq sr sv sw ta te th
+ tr uk vi zh-CN zh-TW
+"
+inherit chromium-2 multilib unpacker toolchain-funcs xdg-utils
+
+VIVALDI_HOME="opt/${PN}"
+DESCRIPTION="A browser for our friends"
+HOMEPAGE="https://vivaldi.com/"
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}_${PV/_p/-}_"
+SRC_URI="
+ amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb )
+ arm64? ( ${VIVALDI_BASE_URI}arm64.deb -> ${P}-arm64.deb )
+ arm? ( ${VIVALDI_BASE_URI}armhf.deb -> ${P}-armhf.deb )
+ x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb )
+"
+
+LICENSE="Vivaldi"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86"
+RESTRICT="bindist mirror"
+
+DEPEND="
+ virtual/libiconv
+"
+RDEPEND="
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/speex
+ net-print/cups
+ sys-apps/dbus
+ sys-libs/libcap
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+ 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/pango[X]
+"
+QA_PREBUILT="*"
+S=${WORKDIR}
+
+src_unpack() {
+ unpack_deb ${A}
+}
+
+src_prepare() {
+ iconv -c -t UTF-8 usr/share/applications/${PN}.desktop > "${T}"/${PN}.desktop || die
+ mv "${T}"/${PN}.desktop usr/share/applications/${PN}.desktop || die
+
+ mv usr/share/doc/${PN} usr/share/doc/${PF} || die
+ chmod 0755 usr/share/doc/${PF} || die
+
+ gunzip usr/share/doc/${PF}/changelog.gz || die
+
+ rm \
+ _gpgbuilder \
+ etc/cron.daily/${PN} \
+ || die
+ rmdir \
+ etc/cron.daily/ \
+ etc/ \
+ || die
+
+ local c d
+ for d in 16 22 24 32 48 64 128 256; do
+ mkdir -p usr/share/icons/hicolor/${d}x${d}/apps || die
+ cp \
+ ${VIVALDI_HOME}/product_logo_${d}.png \
+ usr/share/icons/hicolor/${d}x${d}/apps/${PN}.png || die
+ done
+
+ pushd "${VIVALDI_HOME}/locales" > /dev/null || die
+ chromium_remove_language_paks
+ popd > /dev/null || die
+
+ eapply_user
+}
+
+src_install() {
+ rm -r usr/share/appdata || die
+ mv * "${D}" || die
+ dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+ fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}