From 76db3d36c37baedece893f9cf1149e08418239d6 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Mon, 6 Apr 2020 10:22:23 +0200 Subject: [PATCH] www-client/vivaldi-snapshot: Version 2.12.1873.3_p1 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Jeroen Roovers --- www-client/vivaldi-snapshot/Manifest | 4 + .../vivaldi-snapshot-2.12.1873.3_p1.ebuild | 116 ++++++++++++++++++ 2 files changed, 120 insertions(+) create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1873.3_p1.ebuild diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 93f64478a786..0500fe8bdd98 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -10,3 +10,7 @@ DIST vivaldi-snapshot-2.12.1867.3_p1-amd64.deb 69705656 BLAKE2B 117abb01e3f68526 DIST vivaldi-snapshot-2.12.1867.3_p1-arm64.deb 62754380 BLAKE2B cf123077ea6343c5a7be7f7ec8be219ed431bce4d3dc53fdb715661065436d24dc94e83e6387adf34792f2d4750ea70c093f8e9109ff9a22abb34dd98faaf7f9 SHA512 1f911938e145fdb88109a7f51a2a36e5c6109db87a481f29a30afc4ff99bc03657d93074ebed30df75504206c0899ccb8105dec5968bf7bcafb57a8ebc087dc7 DIST vivaldi-snapshot-2.12.1867.3_p1-armhf.deb 62104648 BLAKE2B 6a3f22e53d98d8f19c114e30c6b8fb4aef5e2ac04d4d471303798a49628311b4d14a0ac39ca60d8f50584994590c741e9a6f2974de5244ed9276a6e6343df2be SHA512 632b3d260a11249b3be2391d2a7e9906a1b64d7dc897a30786e170d8adbb83aa4f0008ba0065da3fc670eb8a4e2b61ab1afbc74f0ceaa4ecd594938e481affac DIST vivaldi-snapshot-2.12.1867.3_p1-i386.deb 68428140 BLAKE2B ea723756fd96b5ed09bbdd5d4a336620786c4c119992e1c6cb68b18061b76db28793c1e2c3890a00fc23180d23a6c58c62718559af6ba31a4b80036002b5dde0 SHA512 d4675b23ded31099e3caf4b5d4c761b843d0bbda41c7f07f806fb3f5bd80f3419fc001786d1242cad2d65414fceb375e55eb304a7fab7d9793f322fd038795dd +DIST vivaldi-snapshot-2.12.1873.3_p1-amd64.deb 68632428 BLAKE2B bb71a657e58c31aaf68d1358e47108757ab14eaaf959d05441477df927bce790d49442954ea5498dd6364b84f210b63484086408f0eed0bf08c373449031962f SHA512 b0ca7bcbcbc381c558b769a2c4761edb428b464adef468c671b8dc3112a4a9d46c8306d89675b89da2fbb15b9517967d35616985659af03772590cb7e1ed71d2 +DIST vivaldi-snapshot-2.12.1873.3_p1-arm64.deb 61674800 BLAKE2B aa7449d16c1e67312b5ec93ea76f802610e03e837d0261ed90c48526d095ff2eef4860a94fc013f8d90a3e139edcb2ffdf7ce75e574779342f297489bf20bc24 SHA512 1d84f8d6b0619a70afe33b216f5ad84320e7be77a056c6fdf0bcead4a1af53aeb334c817723ac93d45fc88509a3e29e9cda4a57cd22eabf83e6462cf269cad3f +DIST vivaldi-snapshot-2.12.1873.3_p1-armhf.deb 61024084 BLAKE2B 3ae1157bd77f15777d24e51c47d03dc4e74094cdc8e88e48aef29d4e87d960afb93e17e2613b9d408e05c9b0f6e26e96660d083ee3786b6c7c6f959e9b5a12f0 SHA512 d6ae883242748e643ab47268e9a3c0dd364d4e4f31d223d8a1adfde1b5376162ee6b2025103a97297ce5506451a6455cd284fd67e3a8aacf5aad22d89ff72b2b +DIST vivaldi-snapshot-2.12.1873.3_p1-i386.deb 67327632 BLAKE2B 110bf61a257571e120ab1b4f043bd8edc6015111ff1be535153633eae2caeb96b71b3e7f072665373a5952f814fe5f6a8da8eacb98ccfe3e0e36a41c18e74b30 SHA512 b56fff8e6a98fc039be41d97eec80e7e710c9f7c972714e55d468c4a1f4e50c2129689d1125d6a818dd0afeb36b55b9ba3b2e9dfb86ba3f6f8b115f48ee6c2c5 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1873.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1873.3_p1.ebuild new file mode 100644 index 000000000000..db3613b057e7 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1873.3_p1.ebuild @@ -0,0 +1,116 @@ +# 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 +} -- 2.26.2