From: Jeroen Roovers Date: Thu, 31 Oct 2019 08:22:36 +0000 (+0100) Subject: www-client/vivaldi: Version 2.9.1705.31_p1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5bd6b115b3becbf629b568ba9a3fb045d7281698;p=gentoo.git www-client/vivaldi: Version 2.9.1705.31_p1 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Jeroen Roovers --- diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 59f546f129d3..ca7b3e5144dc 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -1,3 +1,7 @@ DIST vivaldi-2.8.1664.44_p1-amd64.deb 62585816 BLAKE2B 286b732bbc340c0fcbcf98a0b182875c6bd655639adcaef64d32d382d58f920be12caddde933cdbc8246b2cd48e8b4b63e325ae668ae79a0da66d3ad9b0528ea SHA512 f9f6d4042b0ffc9f02179c73488defe81a24adeab9dec210e369860ecb6b9329dc072193efefe965122e3dd7a29d6249610ece7fa5302423f7fc1761a4552243 DIST vivaldi-2.8.1664.44_p1-armhf.deb 55289880 BLAKE2B 803725b4c148fd1c9a15503cd2de563b835a4ba42e04b929b63bba6e96ec43727f066cec0e1a6d82abc141a4565ce4262c9a7ffdca245b74ae38d6bf36131c47 SHA512 0517524275fdd141f0b254ba38b1c1f0e6663e0b26f7399297c89a1ad0e4896e29981eae430828762f97a7ae88b1856ec909f8e50ecc89b93634d2f331510ffb DIST vivaldi-2.8.1664.44_p1-i386.deb 60903864 BLAKE2B 9895f2e05de70b5567411190bbe52753226e7b45890069aedf832c48658205320f45482d0483188ebfd5542ba176108564aa9241a64858bad4d901c02cd5de79 SHA512 199dbd20a6890d6843e85be6e89b24e12fc585fa7f75111c6ffd78fb8ffb7ff0915a667d183e70dc35c231b6afc5376565f1152a6763daed3bea6a19b157c5eb +DIST vivaldi-2.9.1705.31_p1-amd64.deb 63592640 BLAKE2B eadd6767c2332e88f0181cd57b3f1ef7f428f786f1f145417a1c42e43f380ca23d8177c6e48bcc5f0efc5ea9a896c81dbb172e08726e96555115ea5b5f21d70f SHA512 145a6961878f09a0199d6fd3c8bc5fe45cc85e9d1136368bd3eae0fcd7b584239e10f700bd1e7c03b692c1eeb1527f386a9e823c503d54a11cae947a11d672cb +DIST vivaldi-2.9.1705.31_p1-arm64.deb 57106852 BLAKE2B 932fc3daf4b829e04317ca294ea5a5dfaca8bd206d3c1c603f2667800a857b472875ff071c8edeaab8d0103f779a2d2d364d5c4bf310636f4f7496a53ff652e4 SHA512 8bcbc184e6c4a3981818f98cbd48b2925631e04feb94173282ab3e159a75e74b6981f5ef770e3df3ec3f623e9eadad3db7829c31a7213ab79d3c8bc5ca86b470 +DIST vivaldi-2.9.1705.31_p1-armhf.deb 56271064 BLAKE2B cb6e9d53502518565d2fe3a68d05c73b3bd5d3936dd39ea10ed994448faab72d49ee8ad827481eb1ff03718f862b53eba3b1cc6f6532f946f0f2e9cbcbd5f0ba SHA512 e5a67621fad48f3f5cd9c95403a67b05fdb82bf3d1d3f5415ffa634c9a333a01abf4a99987006617f53997e945cd9bb908c71439f3d43406d31a66bc7e2b6ab7 +DIST vivaldi-2.9.1705.31_p1-i386.deb 62017764 BLAKE2B 8b6fd8011fa033e88dd9190d9704849afed5f88f1801be2a5151b26a894b57498b4771a91ae51163b0ad3c24d6dbe0216ecad2610aa182f61f1e2f5d61fa338f SHA512 576a54d3c0d5b61cf4bc2fe0240698ef04fdcfeb9c2cfe09e5c01af73d95d88bd1986fe388b3a111980e462ec48db614a01b80647ef3888776722cbd8d5a8fe5 diff --git a/www-client/vivaldi/vivaldi-2.9.1705.31_p1.ebuild b/www-client/vivaldi/vivaldi-2.9.1705.31_p1.ebuild new file mode 100644 index 000000000000..db417712f6b7 --- /dev/null +++ b/www-client/vivaldi/vivaldi-2.9.1705.31_p1.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2019 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 +}