DIST vivaldi-snapshot-2.9.1705.27_p1-amd64.deb 65513160 BLAKE2B 6f7a36481fd677390adf3ad84872795fe63a637b3701b55a3918bd2a6cd6474227f15c8dda7e2ef259b130a6322a456df8c6459198deaf98997a6cdf669e1022 SHA512 735d742427e6382adc4e76654de106849806763bb63fbb861facc0772811518cb7940d9a453288f142e5546522ddf9de18488c666c59a8b87cef45f32814c88a
DIST vivaldi-snapshot-2.9.1705.27_p1-arm64.deb 58694496 BLAKE2B 121fa90bc220b0f8f656eda93720c312110f0e3bddc7224f5d86b31ffdaae5f2435e533d39976fbf15af24763eb0b3be9e232a8d1541db3c722a71bc45b3b56d SHA512 bfd1597db58f378c618c2014d856377b65ba6c0e0d386f6975f5ca9002c49ed2482eac6a3381e207f527029e88cad153a68830fb60cb1729cd6d49a0942d536b
DIST vivaldi-snapshot-2.9.1705.27_p1-i386.deb 63932828 BLAKE2B 7856330fa73440844d74d7500cab1db14a6fc38b27780bfefc5c67933f8f2d5bf018dcc49701b72968fad20cb07d7044c845b68867f6ca18abe0635f97a6fee5 SHA512 333e09499cb7d4b9b8c99b0c09cb887bc0e6304412a33037232f872fdc3383373de238847b5a7e25f00bc2f5ee35d1f8d52da54c5d47874b23c061b5353163fe
+DIST vivaldi-snapshot-2.9.1705.30_p1-amd64.deb 65490100 BLAKE2B 8f6186f877fa38fd3970a4d8d52fdee55aa49c2c0cefa2185eb3d56477b6eeb7762d85ca4a8348c98fd948ff15f29aa078c30c8f179486dba7716a93952ca436 SHA512 7e88949d26fae577ccd750bb1605f9dc3e7e25cb6cd24cbb693c50268503aed135a4fd595bbf4f0b9c7de5a23b97806b83822adaf16b3e7fb142c09364d4130b
+DIST vivaldi-snapshot-2.9.1705.30_p1-arm64.deb 58687380 BLAKE2B 1d71f508de50884f04c550265208db51c7c5d00f8a231ebaf03bc060027fc5aece183c47c9deff119b0486d5806058295727068ac0d14d415088ef48ac2dedbc SHA512 7da0c598d889ef355ef3f65c454300d514960217f05d60941cd26a5e199fdb1ca0f22285e3cc42135738b6e50e7bf4d88e9e37f10f7bf8e1448b424eaee7d418
+DIST vivaldi-snapshot-2.9.1705.30_p1-i386.deb 63923344 BLAKE2B e16ab92870c6b7deb24d1650060d0ff5ee14c676f83a1a8503662328f5a48d216d4f81de3f6141ebbf347f6a7246397f20863c58edf680a20503a93f0ec7ef56 SHA512 7152c3558821500c6086ef3296910edfbe1a1cdb8584ddca90a440f21ff900a58ef81777fb43556b093e2b65d124da7a52daf781fbb726d767da3d39d5b29efe
DIST vivaldi-snapshot-2.9.1705.4_p1-amd64.deb 65531932 BLAKE2B 5d8209a04618dc530f60c0b8d16b178be1ad0591de569aa5c9e6c7c8486c17363e5ab9af2d11f5c802089ba3feb44dc0faabc984f4ae06ef098a09c86158223e SHA512 e25bf5cb22189c09ab4f7de3aa166af1de46b64c4b90ef713e29fec7e6d5677013ab0e1e45aecbd1e305ebe16f60f9123df95a64bf97c26718c9d09b3ebc0eab
DIST vivaldi-snapshot-2.9.1705.4_p1-arm64.deb 58697120 BLAKE2B 147653fa08333d0c13a94e37744a3e9118e3d88b2cb64dca8ab7658a6e5c8aaadc99a342178ec18b4563ddfd06b1dc0680419c29a9bce69f756bc1637e82a679 SHA512 f40e66c49afbf18f8f233c7640e8d3ae39e2d83854a1125a36455135ec8ca424db27a6192cfe8dbbf6aba046ccbbb46107c339fd875470df3283d315faf89cf5
DIST vivaldi-snapshot-2.9.1705.4_p1-i386.deb 63916868 BLAKE2B 56125e2e3d774f1eb88e314d85f1caf2f8fe83e93fd2f1826b06894f60ad2741b2141426d447faed7c259072c30845e9f6c8c71fa156cd4383a43432faebeafc SHA512 7837b8cc87f5cd49a52ac7935c08ce41303eae5fb628fc458b8ca52df6a920706a623bee62e58d5c6d32a1a854b438f3f8182ca95e9772fb8c2e8b56c2954b9d
--- /dev/null
+# Copyright 1999-2019 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 )
+ x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb )
+"
+
+LICENSE="Vivaldi"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~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() {
+ 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
+}