diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-10-15 09:43:39 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-10-15 09:45:06 +0200 |
commit | 25d534047dedccbc6f4a35edcdbd996ec0da7cab (patch) | |
tree | 5821f5cf32362b824390e2972e10d59758014114 /www-client/vivaldi | |
parent | www-client/vivaldi-snapshot: Old (diff) | |
download | gentoo-25d534047dedccbc6f4a35edcdbd996ec0da7cab.tar.gz gentoo-25d534047dedccbc6f4a35edcdbd996ec0da7cab.tar.bz2 gentoo-25d534047dedccbc6f4a35edcdbd996ec0da7cab.zip |
www-client/vivaldi: Version 3.4.2066.76_p1
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r-- | www-client/vivaldi/Manifest | 4 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-3.4.2066.76_p1.ebuild | 115 |
2 files changed, 119 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 9a969e42accf..c60d32348aad 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -10,3 +10,7 @@ DIST vivaldi-3.4.2066.72_p1-amd64.deb 75636020 BLAKE2B 85aae8618ed3c98c2635aa63a DIST vivaldi-3.4.2066.72_p1-arm64.deb 68014892 BLAKE2B feab09b2890310dd054bde2fbb0de55c8e503d1a5a0888badf052d00f702fa0ec714cc8ba696f214c8f23c1b2b100980230623e17d71b15ee168fdb475af009a SHA512 6aa52eaeeb44ea74bcfc48d3689144dc5cbd85184b957835acd5fc75d976343b74610a8440f98a57446ab331c6d6fa3b31ccfca6b68186ac77c281a3a1e580f4 DIST vivaldi-3.4.2066.72_p1-armhf.deb 66998836 BLAKE2B 016eb684d4ba5a120231a2638764ebc4f5c360cb86d360ab36670365f29fc9c1924ad838763b7fc821b2e77be62d9059382ed8afe03928b7530c29038ae2acab SHA512 09ee26b1e48b2efc0ab26cdd85a77e3ed31ff4335ddbdb002afea37978d1d5e9c825438fde6c5221c77aa1556d013517293f5dbed304a8326e74778e9cc726b3 DIST vivaldi-3.4.2066.72_p1-i386.deb 72731004 BLAKE2B 674c942d2db57c3add03c438baebf1fdb48a6c13bf3373078c54d27e787d8156209e90d2b1a603c9d375787978d762e32650e4a3df2c8e4ec751f2b15be5784f SHA512 08169ecc9ad7f3588e0cdced3c7de50a109776e8a11a8e2d247cee899a1d42d32bb613cef1912c0172593964355038278d7d034e810cf06dcc7cc7606927c32a +DIST vivaldi-3.4.2066.76_p1-amd64.deb 75666120 BLAKE2B 52c65c30f051347a0f5fc344275cb88f61b449b2628c1ef2c5289f7768abe09cdfed15b28bfaa23af86947e098f9f7503fea4f4ca35b993468f66d57b4c184fb SHA512 8abdb35940698709915eeaf5b83c37cfc06c62807bf67544b1b3601df855b77c2ed3e05e4067e561af3df7f53f915e984420a2cb5fece6ea406f742d6b46af67 +DIST vivaldi-3.4.2066.76_p1-arm64.deb 68043100 BLAKE2B d110e91508228f671925b44cd5d1a0bd5576cf6b9be2a6ff354faab770302421c34779b787c319b61424d8ec6c9d27a3cc78c59eade654d44a07d55bbde3451b SHA512 ad2b9edb2b48c2a1bdca1711de62a18fbbd6ee6890b6d4f34785531b5b55ec5f49bd0bb70d6d05a23e34360138ab1954126f5d9ed8f8a0465a624175b999cab7 +DIST vivaldi-3.4.2066.76_p1-armhf.deb 66987876 BLAKE2B 52a81cf66d084fddd29d62590a5d6496f4ac1216c20369b1d22a81b4232c31e3251327e3328b287967499ac69d714540bb55910a0d9117effb35886e95f696b5 SHA512 66ed509a1aee1de65cde070a6c140fa586e04d59e1f80af5d358c046778336389aaeb4c59675b0b25bfbb1497de70163eb9986699a8b8c142ab30eaff14afb85 +DIST vivaldi-3.4.2066.76_p1-i386.deb 72762388 BLAKE2B 0dbc3fc8892a184e79443cce602dbb467878560119d2636929e508b42e3d478b516a0f420b09078b2fbcacfee51a91db38d70cb0ee3a1250cd6891f6071f6042 SHA512 51eb5a8de455c61f5f40c0bbaf27a3443484efe492a418e49eb495c3b95519bf871a59b7decfda08a1045031a0c993c5424d324f4c51bc16a960534e0b31ac2e diff --git a/www-client/vivaldi/vivaldi-3.4.2066.76_p1.ebuild b/www-client/vivaldi/vivaldi-3.4.2066.76_p1.ebuild new file mode 100644 index 000000000000..446810090bdd --- /dev/null +++ b/www-client/vivaldi/vivaldi-3.4.2066.76_p1.ebuild @@ -0,0 +1,115 @@ +# 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 + +#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 +} |