DIST vivaldi-snapshot-3.0.1874.11_p1-arm64.deb 61888988 BLAKE2B 18cfb5f3d1cd0f0f8ee075838780abe42398cfb09d845c67dbd0b92f6d6478b4e43efd4c1d8e2d10257ef7d50926125f5381f31fb470edeb3eb748c6f286f996 SHA512 0343c2d2a456a8f6837469ad34cafd5d4cd155bb7f9325c6ae1ed6a820d6d614b90542a7c9e4d9b9b73e9878cf72925f7c1393fcc83c59d2567b16d38cb9e1ee
DIST vivaldi-snapshot-3.0.1874.11_p1-armhf.deb 61227332 BLAKE2B d23c2549316373dabad0595199c0bd39c3d6f79a16e09c58a8061748df0d00aa4c9972a2415d64c3b4fa899ea4aae5665cc3adb585d0f1d6059eb2455c1172a9 SHA512 0665c3e3672ccc8945d30d93429a398550b41911ad13ceab0f20cdc0007de40c47ee27dabadb8acbd3c514bc718762adc42a292bd0dafba3e5f2ca281a52315b
DIST vivaldi-snapshot-3.0.1874.11_p1-i386.deb 67562668 BLAKE2B d72dfd1de9c910f449a158004164a94c332cce80d5c29ccdd959936c360789e881e87e75c1801b0fef3c181d3408f2838207a5a2c460aa2c2b07de7f3017af66 SHA512 e4c20d029aa295ba846249c3abc0df97fe2639a0e418c534a1d5cac22173c3073dc87284b1b17bf138c230ce3d4b00e84fa656f44312268ed7ac58958a31fd3d
+DIST vivaldi-snapshot-3.0.1874.15_p1-amd64.deb 68811744 BLAKE2B 5ce89c39ddde74db198faf3bd14594671ab6f7b6eb1cea4dd51f5a0cf95e8f0d0b2a75addc9700faeb82cf86a363bd90370ad2edbccabee2c0d8eac43b0981f8 SHA512 5121a4e99953d36778da8b13e67afd0c9354ae79428d2e5ac2efef234ab260a9cf97594c765111a2a66ef535c01fb567f962e56407316d313fde6675a26b2ea9
+DIST vivaldi-snapshot-3.0.1874.15_p1-arm64.deb 61893508 BLAKE2B 00316e9614bdb449c2adaad5bf3c09c388f839593f479cdbade002d311811427cde70954ef96164d208fa49ef5b5a717e742c29b049fd7e7dd746b51a3418d1f SHA512 790f9332439123c55ca10fbadb018b19afa1532c9bcc4a16755ddbbc889d10f085b27a36687c2ba73567705430ee61f1e5a1cb25a5da93d331edc6159a1fe6de
+DIST vivaldi-snapshot-3.0.1874.15_p1-armhf.deb 61233460 BLAKE2B 0088381292e82482071cd670deca2362356363a456788b917135ba7f294207591212cb4135d2509a8b9ff8446372e099384545016e7b07bcd518d419a2fc2147 SHA512 6969edcc657849b5c940681128bc4bb62c44ce97a897246809362fa18076652f57c6c7e39dca74980111b2b207b8497fecacd3dd850303e923668cff437d1712
+DIST vivaldi-snapshot-3.0.1874.15_p1-i386.deb 67555904 BLAKE2B 24774eadb2895defff3be2138312b0429a421f6355bebecf3c770a8f936d33beffb98836c1f54bfe67dfb491725eec69e5f9040f1ffc75d0a16ee89b424ce61b SHA512 974e4e3dfd45cf2a8dc031c2f89b5ab60b16ec9e073d7caa3eab78d745f0640e31be45f6578db52101eb5e8a0d54eebd3b44e0a8be229f38aa55fe3cb89442b1
DIST vivaldi-snapshot-3.0.1874.5_p1-amd64.deb 68674000 BLAKE2B 6ac24c404f10ae7369ad7a6049dc1c88c08e7febef23358ce1a2642e3b2450d1e8f026202e70f7d5252bc03c2b2b2f79fb716dbe94803fff24c468d82c754935 SHA512 19b8c2664b03587a70d07383797f95373392723efba9699636ab989393a1b706a9d3c54e25dff5dfa9c8a559755b3eb56e6acb4232a68768f26ec73df4536b0e
DIST vivaldi-snapshot-3.0.1874.5_p1-arm64.deb 61689396 BLAKE2B 3d504d916c8d2830ef7b584312f2ccdb178c440418f96f9ae3bcde2d174da5abe1b6376aa252275b400dbde2cbae695a0a7a6234f3682d56cb787424500c77b6 SHA512 715891f48924ee9ce2697e08929a382d195bbe5deec7ab96f739f70dfa171ba634e1a4169cabb92981ea294595ea21ebed3bb1113dd71cb12803089deab11ffa
DIST vivaldi-snapshot-3.0.1874.5_p1-armhf.deb 61050016 BLAKE2B 465926e910958018acc259f71305d25c0a7a2995b819736b7c225ab29ff2ec9b90685e398bcd148574198f4b8ffd80e162d3c1524f9d7872fde7c3beafde35e8 SHA512 84ae1f1cc0c5125f05b1199d06f12fd74af6a5c9cfdc9611bca8c8cba26a2e455133631bdfa31e516613df0ebd85db236e641addc23d3835038e6b5c0464a560
--- /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
+}