From 3f956af7f41b126fe846fe8f3ba9d827d3a1e704 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Fri, 17 Jan 2020 10:20:46 +0100 Subject: www-client/vivaldi: Version 2.10.1745.27_p1 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Jeroen Roovers --- www-client/vivaldi/Manifest | 4 + www-client/vivaldi/vivaldi-2.10.1745.27_p1.ebuild | 124 ++++++++++++++++++++++ 2 files changed, 128 insertions(+) create mode 100644 www-client/vivaldi/vivaldi-2.10.1745.27_p1.ebuild diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index f70f66081563..078cdc436c70 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -2,3 +2,7 @@ DIST vivaldi-2.10.1745.23_p1-amd64.deb 64724924 BLAKE2B ce8f82ac295ad523a59e52c5 DIST vivaldi-2.10.1745.23_p1-arm64.deb 57906160 BLAKE2B cae66d9e117e00a77573b4dbd87fd6ea71c3dcc1f63d892480f22cd35d777fb273feaab8be13c8b1b691bf0674022291aefba692879f43a006b819a82099839c SHA512 9d13d37cec2a62d90eb3394b8fa1437351154b62abb98cb72de6a2c92714c73508b0d07dabf4e4ad854bc497cabffd395d8498749d9891ddd3bb3a48aa601452 DIST vivaldi-2.10.1745.23_p1-armhf.deb 57139136 BLAKE2B 749b30b62ca21d2c2dbee9c18c2f9dc2f3e6e30513a0cdd0a9af069a2736dcbcc766aaf703997aa4c5494483f8af96be735c8fb46154b1a31c60080b74a5c5fc SHA512 fae2230d1ff01ee36aff0a1a6e60e7787b54cbba18f09e973b01a446f59bc51c0a20eea59104a3a640e0ac1daf5f955e46c30a184620ef2cfb3b7d8a866bcbab DIST vivaldi-2.10.1745.23_p1-i386.deb 63118920 BLAKE2B b71d0cda72c654122dd98d386baa96699e07dd607d226e30cb82469af02f3d5cf4d873c7d3e572ee675a1c27f9981a45315a31d9b10db18f3de39cef21cd9c87 SHA512 6280818bfa9fa90cb6716dbf39b056d66d578b250ebc2af47c064f074ca09ce4a62fcd25b950a09334a6e032f1fce34cd5de31cfac3f67f004638004150d3ddb +DIST vivaldi-2.10.1745.27_p1-amd64.deb 64750900 BLAKE2B aacdc87625f47704a79bb9d48b0f1fe3f0cf98a64ec2bb970f06458fe2be304e3c02bcc62bfa6adcbea2bb7119e030017e610faf7c7d6dcf2857cfea16acf822 SHA512 21b1fc6d72c682ab3088ee5c13014850af6736b9f28543eaa85253f2a460094cc904202955ea841a6b42ad2c004b90f49690330a177a435a2281831d80b63f49 +DIST vivaldi-2.10.1745.27_p1-arm64.deb 57909300 BLAKE2B 1355c2df495b3a04f0c3ddde92ebd4d5b23274646454cb59f1909c5527bb340b885f3740f4b09525b73a50e98f5d70c552ee9173e33ea39de416e6f800f3618c SHA512 476f13c57c03abc60b18749437a264e9c47e6e644f9b9cf5a2df482d9f0246f0e8bcc886314c8d074f28323c73be92ca5a68bf555d8dafea1158495619795c41 +DIST vivaldi-2.10.1745.27_p1-armhf.deb 57148984 BLAKE2B ee46ea7c482f646fbbca85b14ad1460671e5c5d4ec7c7136a5823cb25606ae694599a48d72394d52e004b4ab9837453ce64b56a5d44532435388fb52e21d644b SHA512 0f58b1a354cd4fd9392e123f67fcd30b532e5a858f8a9ad8329f74914afcee70a3895878855b69a0d1d149a521a768ed7509271fbce6e4bd0cbb0d1e6a0285e2 +DIST vivaldi-2.10.1745.27_p1-i386.deb 63126284 BLAKE2B 01e34738aa3f0e2098e8b5ae6ecd641f288b941b079a4e685f3e4f4c4920e224aa41fd25ddf04c371282db46421c6e29c9c20909a1fbd97d85a23b189cb899e5 SHA512 85db226a73bc20251a807c376c235789a6e52d83f7d574d6043234ca158f1033c7433abd014372dbcece33a256b3b5cdc5ee4bc2a569f93e26cbdd551b20ad97 diff --git a/www-client/vivaldi/vivaldi-2.10.1745.27_p1.ebuild b/www-client/vivaldi/vivaldi-2.10.1745.27_p1.ebuild new file mode 100644 index 000000000000..878c1ba28cae --- /dev/null +++ b/www-client/vivaldi/vivaldi-2.10.1745.27_p1.ebuild @@ -0,0 +1,124 @@ +# 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() { + 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 +} -- cgit v1.2.3-65-gdbad