From 30d737520fa6ef86df9d1fe4fcba01be52f714ec Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Fri, 18 Oct 2019 18:46:57 +0200 Subject: [PATCH] www-client/vivaldi-snapshot: Version 2.9.1699.4_p1 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Jeroen Roovers --- www-client/vivaldi-snapshot/Manifest | 3 + .../vivaldi-snapshot-2.9.1699.4_p1.ebuild | 114 ++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-2.9.1699.4_p1.ebuild diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index b443a8fa3c40..63ac0b74d918 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-snapshot-2.9.1692.4_p1-i386.deb 63833764 BLAKE2B b375078bdc46990484 DIST vivaldi-snapshot-2.9.1697.4_p1-amd64.deb 65426800 BLAKE2B 89e7028b49dc033fd68204abb25db0024ea03811a5cc4a3ded1198f6d8e4c9a91ee62eb9868d446f6a3b59a9fe5b98a6cb3d2c40dadefd1e8dd63c0e8393e306 SHA512 3871273b0baae88873da5600e4a0169157561f64a359b5fa972aa6b36606f2c8bc2e30b79f74d2b4ddd1c7c2fc858985ff4e528516bc59a8855d279e68cbcc7a DIST vivaldi-snapshot-2.9.1697.4_p1-arm64.deb 58609608 BLAKE2B e44d541204ff445095765bae24681a6295db46e82cdc716fe091b6618596c44cdeb3b11f8ff2af74a09881c3d485b0ae735081a12842e7c297cb96e8fee7be4a SHA512 9aaa865a6b5558b6c88384d2f0f05167008929f3cf4f098d249610966436a3768d0c81be8c49fb6e11215ea1d1072044afddf85bf9f870d34b8e5e4a37dfd88a DIST vivaldi-snapshot-2.9.1697.4_p1-i386.deb 63834344 BLAKE2B c95c32ac98b0e61acc6f4505d709b835abea6b4445fe7db60622f832d2ec1fdc7e1cd2a2e3dfca48866b13448910f7ab1910518a7b74c9a2ed936571ccb7acff SHA512 f7cb17dd0d571e542b18f9fe0f29d20aa3620d567ba382e6bfeb9edefdfb882db267fa1c1ca4259b4613ae778e2da78ad5fbb2a4ab04e41c364ec10a07fb6914 +DIST vivaldi-snapshot-2.9.1699.4_p1-amd64.deb 65489400 BLAKE2B ad0b55cafd44bbc08c91b2143b2eb80c0923272987a15a8d6523cabd3a9320cbeb5d396ca713cd09d9df5371e1e75ac6ad092fdfae80bf6b44ccd4bdd2cedf30 SHA512 7971654189ff19aab770c0450369581f70e7aa36738b1d745ec8535101c6259d0252f07c6dcd345b39c98deeec8557eaea244072875f63e1c1f1bb86d56a6bb1 +DIST vivaldi-snapshot-2.9.1699.4_p1-arm64.deb 58695212 BLAKE2B 5fbb7f6091f0b89d017af96cc50caba31cdb541ec6eb63a15309a27ece401e47d10e9134d6177a800da656476c9b62aa0a4bba0f742bcfca3c5a28aef430c75e SHA512 4a6ae27a1b20e419ac38c289289ea7697555089ab345d129bd874942ce92732298dd0e08001eb997db4a5c4bc8e2018f2436366fd3893113c579b29938c3fb7e +DIST vivaldi-snapshot-2.9.1699.4_p1-i386.deb 63901024 BLAKE2B 74cae8016914cccdfe7cf5caaa62bc94dfd66e3b8552158d15a1d2dcb1cdb10de605c69724af801cd70271ef4e6901b1724b7fee793f9f0c67f78792e720d3af SHA512 6641149d8b8a82cd3814bb404b602c1df3cac55e989b9148492eeed62e23088d2fbdc81e0fe696d3e1389a4c429730eb1966796165bede1f6884e17d3f939cbe diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.9.1699.4_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.9.1699.4_p1.ebuild new file mode 100644 index 000000000000..6a73d0e8fe2d --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.9.1699.4_p1.ebuild @@ -0,0 +1,114 @@ +# 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 +} -- 2.26.2