From: Jeroen Roovers Date: Wed, 26 Feb 2020 14:24:12 +0000 (+0100) Subject: www-client/vivaldi: Version 2.11.1811.44_p1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8023681a8d5b3d1537968ceec30cf23dde8f1024;p=gentoo.git www-client/vivaldi: Version 2.11.1811.44_p1 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Jeroen Roovers --- diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index ea1c72554f5f..757bdf9e9260 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-2.11.1811.41_p1-amd64.deb 65553260 BLAKE2B 9f440e73813e9a55a62888cf DIST vivaldi-2.11.1811.41_p1-arm64.deb 58901428 BLAKE2B bfdb95b7152a46952c62ea04c2e45c7e7c3d68fc475414f9a5ce94c39ffb5dbad9c1363c735e1727c9216ad2f97f738e69a3b03a9389cd86a8c1af176f7ef873 SHA512 d80c44b552b5090f6b3d6f4e25ffcd30e42096db96798e8722664321e1a148f2ef883b381b842460127226042e3367dd00756228ea95908a9455da0d7fa5a87d DIST vivaldi-2.11.1811.41_p1-armhf.deb 58213848 BLAKE2B cba636e88454ada34b645bfe7e81b3b183daa70cb6c800747561264a8a853e20b0af8dbeaf8d1ffa16e28670d0df81dc971e946251969897db8741161ef23e1a SHA512 2c6d3b2d32868a5b446fdba34cb2fa362228026744d2f27ef9e21d32a79d63abc1da1853d721c5723a5dc92999cba5339fa38d6e4c2991901f68a9b43fb07a9c DIST vivaldi-2.11.1811.41_p1-i386.deb 64356560 BLAKE2B c394a565cc8ba8dc1aed735584c6884490a97764410ad55d5857e04aea6c8b1cde11544322b0bfb9f66673333dfd7a4619b06d36ef1a67d369801330ee457b41 SHA512 ebef0bb9250332fba776ad8098046877eb0a85ec3ac5e69b505e4e636f4f2d0f9249d6ce631f4437109efe4e165d9518872240ad0343b1a4dbe51cc15a14eaba +DIST vivaldi-2.11.1811.44_p1-amd64.deb 65552532 BLAKE2B ce8be687ebcdccd0ba0e513c6cb49615d2c2fb8559774d5f64dca7f9e07c88a1750faebb7ee085c43adab026815ba421e7c532407305b8275d3b4e10594678a5 SHA512 18924773ffc505e40e73467c58a44ed43d236a15123bd0967922df78e00216d4a7dc51e480ec685cb580ae1c59b8dcc810cbc6842760ad653603856dc1392452 +DIST vivaldi-2.11.1811.44_p1-arm64.deb 58870580 BLAKE2B ae9f98d603453a21e73ffdcebca5f28c38cbdcbf73ff3c6242c64465a8d8694c4a82ddc5d855a977b70d567a76ef3685ab16a38cffcf3584763f944e27db16dc SHA512 7ffbc0d1b695e0eacc2a86b3f83a201c342f3d83639b7fbeb53070efced6dfb6062e3f86643e1cc9ab9f6cfdf2797eeb8c80284ef115f3bc9519bccf985aa825 +DIST vivaldi-2.11.1811.44_p1-armhf.deb 58223440 BLAKE2B 8193f98a34f4ac9e9b635d7e6d0f99b772b0d799a030226c343cd26f6d56867c337d1d42cfa68ae80801a53b0ec8db72aae6dcdce3e7156321968abb63c70e24 SHA512 53286ec2ccb2215b52f99442105e741ba6fa9dfff0c5aa54a681050f926b1de7f2181d10a59f1388116e79ec1424321c463c58cd1c2e646aa25fb7cdd38a47ca +DIST vivaldi-2.11.1811.44_p1-i386.deb 64352972 BLAKE2B 9abfc46f89ff79301323b586c83ea9424f0ed63a15b2d854a28653254eaacf35edb5ea8a3302ea9870289f95c9a1914bb55785d676dec31914b7c9518b9282c3 SHA512 6f4ce21faeb84765b400026c0f7fe09fc3c1fda98d12e1d2f1f4de311111aa585ad8de711ac2f8a2f25044fd78466649aa32dffbd46fe70d7a960a919c0acb77 diff --git a/www-client/vivaldi/vivaldi-2.11.1811.44_p1.ebuild b/www-client/vivaldi/vivaldi-2.11.1811.44_p1.ebuild new file mode 100644 index 000000000000..a156328cef54 --- /dev/null +++ b/www-client/vivaldi/vivaldi-2.11.1811.44_p1.ebuild @@ -0,0 +1,125 @@ +# 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_BRANCH="snapshot" + +VIVALDI_PN="${PN}-${VIVALDI_BRANCH:-stable}" +VIVALDI_BIN="${PN}${VIVALDI_BRANCH/snapshot/-snapshot}" +VIVALDI_HOME="opt/${VIVALDI_BIN}" +DESCRIPTION="A browser for our friends" +HOMEPAGE="https://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.${PN}.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_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/${VIVALDI_PN}.desktop > "${T}"/${VIVALDI_PN}.desktop || die + mv "${T}"/${VIVALDI_PN}.desktop usr/share/applications/${VIVALDI_PN}.desktop || die + + sed -i \ + -e "s|${VIVALDI_BIN}|${PN}|g" \ + usr/share/applications/${VIVALDI_PN}.desktop \ + usr/share/xfce4/helpers/${VIVALDI_BIN}.desktop || die + + mv usr/share/doc/${VIVALDI_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/${VIVALDI_BIN} \ + || 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}/${PN}-sandbox +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +}