commit: 2c8ba09804137fbbff6f76e1dfd36ae45526a7e1 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Mon Dec 16 21:51:04 2019 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Mon Dec 16 21:51:47 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c8ba098
www-client/vivaldi-snapshot: Version 2.10.1745.3_p1 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> www-client/vivaldi-snapshot/Manifest | 4 + .../vivaldi-snapshot-2.10.1745.3_p1.ebuild | 115 +++++++++++++++++++++ 2 files changed, 119 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 8d3def53601..204b1320f30 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -2,6 +2,10 @@ DIST vivaldi-snapshot-2.10.1745.1_p1-amd64.deb 66845216 BLAKE2B 137c7c75b8463e5b DIST vivaldi-snapshot-2.10.1745.1_p1-arm64.deb 59698064 BLAKE2B 0c8e514db16c1fd4b2eb7ba70b744b7539c091b1cc5960d04a58d7457a862667a63046c08cc378d69bd40fabe008464f821b393847ba61e6c4ccafbedb856e92 SHA512 e77ec99f60096b32c246592cc8f58f92e2c6811a6ba5d38b56e0cd6f209da49c8bd5f607ff0c66fc5285c085eb118befb221ebf67019f6b2625f87b4b330451b DIST vivaldi-snapshot-2.10.1745.1_p1-armhf.deb 58970220 BLAKE2B 4daf705e6a9237750cb201234d89183ca9b688eee1c79fed14b56fb8b6f4c861f2e75d665da8a9ee617642b4f73995593fced2a92997a7b25e41b71ad8d78146 SHA512 97e48d16336defd82fd5d2069c1050040da6dcdc5f980300e79a76319611c53deef8df2c25d82cd423020b65b49978b453cb3d2937d6b8e18282e604905ca9f8 DIST vivaldi-snapshot-2.10.1745.1_p1-i386.deb 65271348 BLAKE2B f82101649f472ed1221bfeee77226e164459b4dd3b64a710e6f9d362730005d71edaac3fe169f9664f09b0af58427af51dd73b415782042ac51c82a821a6cf71 SHA512 b9fb3ba0b0b9825a3539f4132ac5ddcc5dc5cca3aa5925bc72556e1c60a06b087c7f171ee3a20b443bee72460064f4d800a6bb70c328450a5fd6a0acfbe47cc3 +DIST vivaldi-snapshot-2.10.1745.3_p1-amd64.deb 66725860 BLAKE2B 62d9058a23e10abcca1b78f50ce608bf8c6f72c6dd441e9a025cc8ef90c34959ea6b2230ea64fc4bb2c37089685399cade5a92b9e02a7b35579d3759e5a0b662 SHA512 6ffcdc971625ce6a6198b2d57632eb7e6a70bf2d3ae885d506f104aaa2f2f59deb6c9f10bd3516d24d88b441dad59cec6401e666b3e10396955f1759cdfcc2c0 +DIST vivaldi-snapshot-2.10.1745.3_p1-arm64.deb 59599384 BLAKE2B 79652d23064a8c7fd8724c7532cf98cb09d6a2e269100188d9f5d7c9447c57e2871c3f795307699c839552f2aa0bfe0fc635efde1cfeed62bad4277edb303d8c SHA512 f9a7f048fa7ed9e99c6ba7b15603485d8678cac50e27f04a5cbfc751ec853ced267c22ba8fbad0df347c6fde81859c8db5318c1d09cc91d1351c40e513281c7d +DIST vivaldi-snapshot-2.10.1745.3_p1-armhf.deb 58867764 BLAKE2B fd27738be1803e79578c77f7907aeb41e841c5a6ee73dfce1202ab07a6b026267fee5ada44550da46f1361a9d309bc83f3faabe112dd3b8c255ae462e9f8cf45 SHA512 0e767c019a14061f2589189dcd482d91f52ca28f75dc0a7e236e799c8c55c0b9e72e0f6e7f067ef0ee4d20e1771f1bb53e424e90d88fcb41ba9e7965b7c949d8 +DIST vivaldi-snapshot-2.10.1745.3_p1-i386.deb 65148156 BLAKE2B 32e38d0c0df5b1dcd1e56674562fc68b5f2eb159a48a54cb49ed632d2d19758b2b74bb13cecbbb71c4626b2c8103b0a34b3178ba56d2ffdde1d94104244c5100 SHA512 f2ff141e5fd843cfc2a3059af6a209c5b31570b2b5226fc73ef4800336781c32ab57d0c24c07eef1c0e9f1db27c93e22ecfab41100d1e1377f196ff27c982983 DIST vivaldi-snapshot-2.9.1745.22_p1-amd64.deb 66821948 BLAKE2B 57455f5e22ae08757b4f2d6b16ea012da87271b544a8b873eb3815350f1fb21f6b6930fa048d412c4179aa60e8a7dfba9f320c63f58aa1869c1da471d48826cd SHA512 e10e116f7a5d14223d60d098e9f36451dbaa2a4c3df32ce3d8c01c7fe654fee347023699b5705874174a80ecd37737786e3a12325b155802b308d50be05cee28 DIST vivaldi-snapshot-2.9.1745.22_p1-arm64.deb 59685676 BLAKE2B 875437cc374012257af3af0de7fea1ba2bde7c86d3beb4c5147ddf8f25653233fb56a58c87d8d1d1e726df11512a5b9de811201e956af69a0bb6f4a2c73c8af3 SHA512 ad518219cf81e08ae00bbb072a318269d6575458c39de88c3e5806cd36664ee0fc5651742cb6d2f3d38854be07cc0c424a13e988b89b8b6ab2ed6324c2ee99e8 DIST vivaldi-snapshot-2.9.1745.22_p1-armhf.deb 58961136 BLAKE2B 96c6647ddb15b2c7f74b8c47e01adbc2ed79f84c62b8a41ca982ef08a2ebd85527b86e1dcec2ca6d8d019a9fcbd501fe4a179fda93090f48d040e253e726e48a SHA512 4b6ec9e0023c984b535035e7077068b1241bacb794a97dc955a2087044705594610bebbbadbf999ba5c55c1ad836b74c6ba0b562b9e76f93afa0e8abd4e052cc diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.10.1745.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.10.1745.3_p1.ebuild new file mode 100644 index 00000000000..8c33fc17af4 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.10.1745.3_p1.ebuild @@ -0,0 +1,115 @@ +# 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 ) + 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() { + 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 +}