DIST vivaldi-snapshot-3.1.1916.3_p1-arm64.deb 63446504 BLAKE2B a12403fed45d84d9aed0c72bc20b2c8dbb4d8067a046ef843bc47086f05403d7c6d3363553423b803053c6a496d14c1754a0a3980b26a3fec90351ee050ce3fd SHA512 94de2e8ca999e1210b9f4814a1f9db2497fe7ee5935e94d6bef3d900ab7b54120abf5c6c656cdfbb425d75a3cfd9a4c701d6ace7b9a87c11fea7e62a55a807fd
DIST vivaldi-snapshot-3.1.1916.3_p1-armhf.deb 62898172 BLAKE2B 86ae557f48bd2b99cc6751abaacf664d97fb421fd8cc55c5245ff52d08b4029751a7b49b1a7c78f23a6edb8d3c2766bfc618860133149417bc82aa6286f2fdbb SHA512 f9eeb9e19ddf27f66f942f6f56a6f9a5aaa17e76427bd84f76b0d99fdf797ede01181a17861965ffc3ffdd81427fd45c4de9de70de3de4c00926826e2c357c47
DIST vivaldi-snapshot-3.1.1916.3_p1-i386.deb 69357344 BLAKE2B ee2695d06887999f01011de09e979875949b3184173e8ea34e9b84a827a7f943289c6d63fde5bfde32af5a8996cb0d9cc9411c3809f71c86dcb7043511c6f54b SHA512 a85aebdb7820e11fdf31605ca815a4f51886cb64d746e0e683baee0c2ce72acbeb8ac2d30efab737b7d275210267f7ba8fbf538d16c469e86134a4517434d71d
+DIST vivaldi-snapshot-3.1.1921.3_p1-amd64.deb 70974412 BLAKE2B 2793582d4c367bb073502146ea1ca6a3cef22b6f342fda71802b88266eaca6e932791e22f8e4311be19788bd2b7912b677defaf68924f2773554f1bb7da9dece SHA512 2bc075e5e074b050a33e62901ec969032eb083b3485c4420f1f981336dc48c647b53711baca3cbc7bdf0de19b16cacde07a49c848b15c901fdecbbecf420dd26
+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
--- /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
+}