From: Jeroen Roovers Date: Mon, 30 Mar 2020 15:47:47 +0000 (+0200) Subject: www-client/vivaldi-snapshot: Version 2.12.1867.3_p1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=49969f9be4204ac5ab4f31efcc10d6cb3311c11b;p=gentoo.git www-client/vivaldi-snapshot: Version 2.12.1867.3_p1 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Jeroen Roovers --- diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 8c70c5ef0bbd..93f64478a786 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.12.1864.3_p1-amd64.deb 69687096 BLAKE2B 8aa8a7d051be0abc DIST vivaldi-snapshot-2.12.1864.3_p1-arm64.deb 62730804 BLAKE2B 20ba350fe0db1c5ed8da17772f504c7a43bf7cfd4f9468c33e04e2ce723d51ee7af36b61072a2b6d5c7d241a4cde21b5ad64d1b59919c13824b2cd4ef5a9a0fb SHA512 1bb7d41de7f516a8e37d89de3b77ee323412f600f7f3bce352d09923c99d1ba8e06e0f8c3193a69c29e931427cd181cf83178b1111b5410afbdbd0a5df7baf72 DIST vivaldi-snapshot-2.12.1864.3_p1-armhf.deb 62065332 BLAKE2B 122b2913e1880a99c868acd45adef3f308b76de6c4c4379d902d5b4ebd6fe472de811c798b74a8d14d5f7762f5c00b893b422b6f84abd49e6f64d187da126a33 SHA512 a51a6db425d37cade7296efc4e238a26fe82866f2255c444a8216720870b9ddf0f309c057da316c392ad7c1b9de011024158b931af05bdfe3f36620212c5047f DIST vivaldi-snapshot-2.12.1864.3_p1-i386.deb 68409344 BLAKE2B a6fc4dd0efd0586fc188fda13a8e982719fdf78cf2120947a01381e26365a246a0d65ea2a9517b2869ff5d3058828aaa72bb0b3a5cbcda310d407aee41c4a326 SHA512 c62fa0a222d2a8cfb8e5e597dea19fa7624e0c2db8228b4ae67b878660ba541b87ef8be1c2b526a6f22377e2d1f54171d3d3bf9bb44649dde49f30c84e0a36ba +DIST vivaldi-snapshot-2.12.1867.3_p1-amd64.deb 69705656 BLAKE2B 117abb01e3f685267e82939457582814d99e55fd09807afb7ee1ffe23bf793c181bc731631f47fd32c9290e1ae2bc3d40608dd8870902f96ac3f90d1f23312e2 SHA512 6dab90b46d2ceeb450c7e2c5d7544dbef92ed46989e77bb0af7c915d32d5a8b49c6085271de36915ad71a802c6f5b3602cd1203b16c66bbb5002eaf58a14b907 +DIST vivaldi-snapshot-2.12.1867.3_p1-arm64.deb 62754380 BLAKE2B cf123077ea6343c5a7be7f7ec8be219ed431bce4d3dc53fdb715661065436d24dc94e83e6387adf34792f2d4750ea70c093f8e9109ff9a22abb34dd98faaf7f9 SHA512 1f911938e145fdb88109a7f51a2a36e5c6109db87a481f29a30afc4ff99bc03657d93074ebed30df75504206c0899ccb8105dec5968bf7bcafb57a8ebc087dc7 +DIST vivaldi-snapshot-2.12.1867.3_p1-armhf.deb 62104648 BLAKE2B 6a3f22e53d98d8f19c114e30c6b8fb4aef5e2ac04d4d471303798a49628311b4d14a0ac39ca60d8f50584994590c741e9a6f2974de5244ed9276a6e6343df2be SHA512 632b3d260a11249b3be2391d2a7e9906a1b64d7dc897a30786e170d8adbb83aa4f0008ba0065da3fc670eb8a4e2b61ab1afbc74f0ceaa4ecd594938e481affac +DIST vivaldi-snapshot-2.12.1867.3_p1-i386.deb 68428140 BLAKE2B ea723756fd96b5ed09bbdd5d4a336620786c4c119992e1c6cb68b18061b76db28793c1e2c3890a00fc23180d23a6c58c62718559af6ba31a4b80036002b5dde0 SHA512 d4675b23ded31099e3caf4b5d4c761b843d0bbda41c7f07f806fb3f5bd80f3419fc001786d1242cad2d65414fceb375e55eb304a7fab7d9793f322fd038795dd diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1867.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1867.3_p1.ebuild new file mode 100644 index 000000000000..db3613b057e7 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1867.3_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 +}