From c065216a8546207c5c3cc1403ac9d7827ac8d50b Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Tue, 25 Feb 2020 11:37:31 +0100 Subject: [PATCH] www-client/vivaldi: Version 2.11.1811.41_p1 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Jeroen Roovers --- www-client/vivaldi/Manifest | 4 + .../vivaldi/vivaldi-2.11.1811.41_p1.ebuild | 125 ++++++++++++++++++ 2 files changed, 129 insertions(+) create mode 100644 www-client/vivaldi/vivaldi-2.11.1811.41_p1.ebuild diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 8d8d6a124851..ea1c72554f5f 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -2,3 +2,7 @@ DIST vivaldi-2.11.1811.38_p1-amd64.deb 65557808 BLAKE2B 91d55f922038bc55d8e8fcbc DIST vivaldi-2.11.1811.38_p1-arm64.deb 58895680 BLAKE2B e13b461f336a79a6ae72bf69a80c32ce1e348928075e79f088d4795376711e6a05ca8455eb682a443fc90e1e545f062b255bf908aa74605359382f09571d4064 SHA512 b60883827421ccc7a6d2b6cc232cc4220cf1d60f1f501c110f5524031e0f79123e2cd58a7f197445f29b9feb7761677bb46fcc9ff51f07c49c9917662c97e33c DIST vivaldi-2.11.1811.38_p1-armhf.deb 58212764 BLAKE2B a1abc16bfe5b47a40d36b09f75e322c53a69cf2c8734109600cd03736824698964b53ef5c31eeb82ab105b3ee9503bf764c5bd94be0520f2e6e20f046d529383 SHA512 8db699c20931363221a6afa142df524faa6b2621a07e340ae74c56f093deb413b583e47e2de6dd55e96a5b5beef4a590bffe32935f3a205174f9d91c510c7a4a DIST vivaldi-2.11.1811.38_p1-i386.deb 64361772 BLAKE2B 3a6cd6fb36b787a3551419b64034e2fde6921a721fc3f55bf0ae967cdd81ab2c098a26945a5c43b24b75f4fd20d97f894c190c1bfa71d9e6805fa37347e48a02 SHA512 454f956b87f7ff6511816532508b2d1d63931536ee68f4631e9b6676a52f06ffaf07923c1f769f2e4f094f63a490e3f217d3185bc12ea8cbdf509c66baad60a6 +DIST vivaldi-2.11.1811.41_p1-amd64.deb 65553260 BLAKE2B 9f440e73813e9a55a62888cf5c9dd3f45eba0a03d483262892ecb69e330893211121c53f83c64218778afe0014f07a62ae9d1febf0abca55d167e186a28a59a3 SHA512 c9975aa03bb6bb109a6050bebfffb764b563ee400c804a8f1aad43409a504c57f4db078f4fc6948ccf8febf69f72f737bebb42b2d207e18445d8ff3353fc78ec +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 diff --git a/www-client/vivaldi/vivaldi-2.11.1811.41_p1.ebuild b/www-client/vivaldi/vivaldi-2.11.1811.41_p1.ebuild new file mode 100644 index 000000000000..a156328cef54 --- /dev/null +++ b/www-client/vivaldi/vivaldi-2.11.1811.41_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 +} -- 2.26.2