From: Jeroen Roovers Date: Fri, 13 Mar 2020 07:14:24 +0000 (+0100) Subject: www-client/vivaldi-snapshot: Version 2.12.1849.7_p1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a77bd5a91177ed30396f655ae6999e14dd0932d0;p=gentoo.git www-client/vivaldi-snapshot: Version 2.12.1849.7_p1 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Jeroen Roovers --- diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 2087a6c5d60e..4a039f0f0b54 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -10,3 +10,7 @@ DIST vivaldi-snapshot-2.12.1848.4_p1-amd64.deb 69009980 BLAKE2B 006be4ec000b2154 DIST vivaldi-snapshot-2.12.1848.4_p1-arm64.deb 62091288 BLAKE2B 50d07892c45386ba13de9f46cbe75c02b9c82b600f57198c267255146ef65c5089778cf4e185e1e023a79153f51d115cdffdae216b99e1a21e57581f4d48ec2c SHA512 26e1057421e7818a44f33ccf2b134e00f12a6602bdbef417965775b1cf92b94dfb60e5e2efc39775dd04bd269791f448ed54d1f746ba7b3e8448041001137523 DIST vivaldi-snapshot-2.12.1848.4_p1-armhf.deb 61432824 BLAKE2B c8bf4a6013823b6f1714de1730ef851e9d2f2a27bc9d46f76c403e5e266d275072bd3a064db7060100543ce66fa234bc47d481dc1133a772839d318374375d53 SHA512 146b198245c14b17272251e61cd7654b25d31757f669491b44eaaabfb2a80245cbd2945beace4a310db89ae38ac5aa000782e9beea321ba6d6814be2c06ef142 DIST vivaldi-snapshot-2.12.1848.4_p1-i386.deb 67753028 BLAKE2B 17664be398476d91c3036c4c3865c605c6b06de5cd0ba97c32aec6476a66dbedae9ed461ac37a097041e08424e01cc8ef2130b7cc1209313cca344ee959512d6 SHA512 02d88933b01ca2030a26c8f99127ae67ba2866c6a640d6f02c7585d010f75d108e06466dc40cb67d2e9c63f02e4d36a9d81eb401bc7b246b311bde52318fa02f +DIST vivaldi-snapshot-2.12.1849.7_p1-amd64.deb 69022216 BLAKE2B 75591766cb0865596c68db65d7d715f14cf75857923a336a3d6bf56962f8bc5ca7d453772d74d584603fcda092ab0682b1e1c637ebecaf736e34812da2724e63 SHA512 49b45e54ed5a601e3122553d507076c4d72df9b0eacf3bda17a97c8d3bd94a82569dbdf44c8a9b98e7a3ad84a480fc0a17e321ad0925ef494063136b6c3b4a59 +DIST vivaldi-snapshot-2.12.1849.7_p1-arm64.deb 62104856 BLAKE2B 67f7d0d72f1b938c6f19049e6c4a571b51d60a2d09879d2939f7483e5028e97bd7e5d28472a7d2c748ca098046e911bf41cb405fc0ce9fe35801c90c0273d598 SHA512 4d6dd1849e7f068fbfa11cabb57b661a43fea41503037c6a7bda094cbdd2678bbee1fe82e8ae21ea7ce9f67d96966df7521ddd10d1a4da091d327915b8a92eb3 +DIST vivaldi-snapshot-2.12.1849.7_p1-armhf.deb 61454136 BLAKE2B 2f3333f335cfc9cefd99c5ab32f3ba125d857e32781f3a77c942b5d0f61cc8a9e29f1975365b1b96feca6f73137bc1c6536d5ebd6fe69ad531ab1a1a38769e54 SHA512 0ce4d26df66ebb7251e03187ee9ae044cd3389e1aa211912501be67a6f6cf1a6135181172315147c81c5e423ab3ffdd75ed3773285764a01b281279e4be49d47 +DIST vivaldi-snapshot-2.12.1849.7_p1-i386.deb 67761108 BLAKE2B f557393a7cd622b456e1e77bc968ed8cd1684b36afbee5e6be18be68190708f888dc22a7cd11fc2b9e5bad9d19bacb2525f40ba29142fa68f8ff2429cd89dcc5 SHA512 38ccccc39a027ae8780eeccbbcfa71640d20f4e8d9936da30f08475e2f0a3c61df80af16f3d5ba9fe5fa659c7c9a5bb68bc45372cf426c8d85b14c93fbcb3951 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1849.7_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1849.7_p1.ebuild new file mode 100644 index 000000000000..db3613b057e7 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1849.7_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 +}