From: Jeroen Roovers Date: Wed, 16 Oct 2019 12:53:40 +0000 (+0200) Subject: www-client/vivaldi-snapshot: Version 2.9.1697.4_p1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=624fdd5ba147d56d1baf3fd910f05cf635d90012;p=gentoo.git www-client/vivaldi-snapshot: Version 2.9.1697.4_p1 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Jeroen Roovers --- diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 1a65a2899c32..b15cfab13647 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-snapshot-2.9.1675.11_p1-i386.deb 62764488 BLAKE2B e1134a6fd91c5d5c8 DIST vivaldi-snapshot-2.9.1692.4_p1-amd64.deb 65438496 BLAKE2B 8031aea0f43d7125d8308d9f5748102f871841c913178918d766c2a90e4ecfe3e10ec63e4ec6ce18d3e1e93a998c227c1985934d35f6bd6e821c0ac433af6603 SHA512 ada620915ba0b6bb73bee7a0baa90e6c244b74de001f8706f748922a579804e34455f479b2c987f47dc5be66fb4a5a4e7edd8d11c83b844ca92ab6bc525b89a9 DIST vivaldi-snapshot-2.9.1692.4_p1-arm64.deb 58619460 BLAKE2B 338430ee4a250101742a18d71cf1ad0ac6e8cb9f3d3b0fb1cfa88fb860cf18dee327ee33b1bd79eed7fb07d7434e97d117838c06181f38f004fb617db7d57c6f SHA512 ad54091b3d5f10899de1808d0791b2645b5061c994846bfed289c0da781bfaa092eedbe2f67e9d95475108163e86f88ee962bcaa7a14c68f78937c55deaafc10 DIST vivaldi-snapshot-2.9.1692.4_p1-i386.deb 63833764 BLAKE2B b375078bdc469904842743fd55a00f1a5a58c100d484536398e94fbf8bf1c9e3cf3a19d812e31c0cac7ee087c74c8b2a096740d39bd2471c1b992483ee37cb09 SHA512 49a8648f2ce2b350d51ac3b68348b850f9f0d7272798322b702a10e8a3642a11d6149630c979afab688c2146d5fc19eb4e95ccb4e177f89735b68cc4873507ca +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 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.9.1697.4_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.9.1697.4_p1.ebuild new file mode 100644 index 000000000000..6a73d0e8fe2d --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.9.1697.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 +}