From addcdf28f2e19ee019fae4180a9b18ba4ac5ba4f Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Mon, 17 Jun 2019 10:01:34 +0200 Subject: [PATCH] www-client/vivaldi-snapshot: Version 2.6.1566.31_p1 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Jeroen Roovers --- www-client/vivaldi-snapshot/Manifest | 4 + .../vivaldi-snapshot-2.6.1566.31_p1.ebuild | 116 ++++++++++++++++++ 2 files changed, 120 insertions(+) create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1566.31_p1.ebuild diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 6474507ca0a8..515e9af21f8a 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -2,6 +2,10 @@ DIST vivaldi-snapshot-2.6.1566.26_p1-amd64.deb 62572272 BLAKE2B 2ea565bcb024df8a DIST vivaldi-snapshot-2.6.1566.26_p1-arm64.deb 56446676 BLAKE2B a44e6b78c3f28580394f038a1c7870cc6ac4f5f8620ddf585ba82c9e87f49fcda3e85aa70d97ce742e5c9d217d20dba1b3a57a464dd1552b17a49a3ed1b0cd48 SHA512 ded30e3512375d97e7315b9c51527b986ce5243b4a87e8ef12ccb180fc7e1d9c58d2267166abdbe0089ab8d6fb41b4741de7929d0748f07395ecad7250ee90d8 DIST vivaldi-snapshot-2.6.1566.26_p1-armhf.deb 55608288 BLAKE2B 4af91d86a687105755980c60325e81c7dfdd6ab9e53446b24ef6ecb2129636f40bd2e412ac1741f50e9a320bdb2b6b8784d81216644a98346fe9748a06abc017 SHA512 ad24923c6aeacc171c75087d75a1be151abb60da63c4e69f9c32525a8327d3003e19226ed4acdbbea45e18418025bc64c6c4b5b066cdf57d40061b9805b45bdf DIST vivaldi-snapshot-2.6.1566.26_p1-i386.deb 61016912 BLAKE2B 0d57838d51726dfa7ac873b44952b2e171c4a6102c6b0a3874d9f6e6b0644e2fdbf3edb75bde9aa9712137f06d81565beb960f56ab828729b28ebddf6e578a3e SHA512 8e1bed8acf1ab88d30a6a7ee82138ca43a03607ed087e05ed462bbcd1f9c7c924e5617a995f8d6eaddcfab3d682ee8217f59b45f525c6995da91808f9d687c21 +DIST vivaldi-snapshot-2.6.1566.31_p1-amd64.deb 62554464 BLAKE2B 03ff603a383b9ca9f7357dae222b9012630178a218ae3e878a727e8918b579be769142ac8d71e3f8d65c374331fa3edeacff71c4e6eca6b438f6fcfc68b146b5 SHA512 04325d627a53a61385dbf02d0498de6a3936745c3aca9c0d403f727e802e2c6ed69c464e2783cd11e50efcb00a0856a3a88e7e9327170928f710cd08fdf17507 +DIST vivaldi-snapshot-2.6.1566.31_p1-arm64.deb 56442912 BLAKE2B 75519ba36623c17983e83e595cc78174e4f75a00cf46827f924595fd4d5d2ffa7f5369568e7918c015b99ca4f8fda7fc7973fec5865ad68053eaced4fd718a80 SHA512 5e14c1f18551bfecf89f7b011208b866629519278116b55cc7800f8006dd767f3e154e04175344da9deeed1cc0bed302be5b02fe478d3407d2100dc97e3121e9 +DIST vivaldi-snapshot-2.6.1566.31_p1-armhf.deb 55607420 BLAKE2B fe9b77be12692a21a4a13ada8eebb1d702e74a42a674b5d8dbab5e223bdff7ed7a63949c1c16128e5e5f97c0a39f3d42919ebf736619dd6d4e6b9d0b8f0b971f SHA512 90ad2600f49047c83c0c82e4eab493bd1930685e253bd15a6876aff0e8a3fb811d44ee3d360ea0dd67f8e08416ff1a18bb66f9f15624ac97603a0fe962b32f71 +DIST vivaldi-snapshot-2.6.1566.31_p1-i386.deb 61007376 BLAKE2B a3821f9e1c572d106ef47f82a42c28946275eb9086d42fa1649338e2433849a8576bbdcfe84e3ff14e1c0f8149ccee46e074cc3913c30b5a358d6063e6c66489 SHA512 65136f60eecb94f996587e5371dfe493ae16fdaa2a064ff337da870476413e0ce461653f4900348222e68820432a35132ed5ddf2a70f4157857749d107369a0f DIST vivaldi-snapshot-2.6.1566.6_p1-amd64.deb 62531012 BLAKE2B 9bde451dbdf658e5e6eeea3d25241bc2a254e9e8e5f5d823d2052fd26a7985dddf963744d775d296b88a3ec85003b58d9ae302ba70a5a701804611a43274ec2a SHA512 5dfeefb6af502d5cb51a8981d389a9b55c94d3843386bddaa56348182b696f9225ad404ded03855993f4502fb5aa0086ffb4ee941c425164a49c2493f6595ac4 DIST vivaldi-snapshot-2.6.1566.6_p1-arm64.deb 56455496 BLAKE2B e5f5f369422b26fb42fd069df30c87e7f8e64595acd8a8874ea3ac740bf6ed189c58233897cd7d4ab7005ef2f685b7334356fc3fbd90d9b914b677c8792245d7 SHA512 6ae1f1d4dacbcc278c96038ae201972fc94ad627a4a88ce9b9ba11e94bd2f39d47c497d09dc99b7761ba83c82fe5bd7c439950e96d98f8bc02fc496334d6dcf1 DIST vivaldi-snapshot-2.6.1566.6_p1-armhf.deb 55602708 BLAKE2B fc532fe7eb6062d371b650a91be6da5105ca5a28baf8f8ef7abb3034e965d0fc3783dbef3e77eee4cfd355318659398a03f3d9f632863250a4c59cb772a468e4 SHA512 2f51ea7e16590b8bfb6a8073d6a7272c01b55a27d2584bd83e1d51637233c55fb0953020cd301351567ccb059e99b426841b69a6cd0420c18d5d362a8462a777 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1566.31_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1566.31_p1.ebuild new file mode 100644 index 000000000000..76ff637ebaa0 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1566.31_p1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +CHROMIUM_LANGS=" + am ar be bg bn ca cs da de el en-GB en-US eo es es-419 es-PE et eu fa fi + fil fr fy 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} \ + ${VIVALDI_HOME}/libwidevinecdm.so \ + || 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