diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-04-29 12:19:28 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-04-29 12:20:17 +0200 |
commit | c63388364262c18a4bb80852b4c10d66049bf960 (patch) | |
tree | 9d3d01d87b14b78d2242f976b10516bf21dd2676 /www-client | |
parent | net-dns/dnscrypt-proxy: fix homepage (diff) | |
download | gentoo-c63388364262c18a4bb80852b4c10d66049bf960.tar.gz gentoo-c63388364262c18a4bb80852b4c10d66049bf960.tar.bz2 gentoo-c63388364262c18a4bb80852b4c10d66049bf960.zip |
www-client/vivaldi: Version 3.0.1874.33_p1
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi/Manifest | 4 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-3.0.1874.33_p1.ebuild | 125 |
2 files changed, 129 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index cb12c5c8f386..e8545574955a 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -2,3 +2,7 @@ DIST vivaldi-3.0.1874.32_p1-amd64.deb 68845784 BLAKE2B a7c638622f51ad65980188971 DIST vivaldi-3.0.1874.32_p1-arm64.deb 61911796 BLAKE2B 7d1a898b9f38c69c3decd069aafc5534eef6a3737e4e94d316e813fe593c4568d73f14067e8889ecd30babfd36dd287b7a07ad8159ca73991eda190996a0d3d7 SHA512 ed0b576897e1fcb8ef4c306608efbff3fc96e1ca94298cb75f5fb2a211d839e744fef4c374c09aab8aeb91c93fbe36189f5cda7bb28d212a74816ba70cb4464a DIST vivaldi-3.0.1874.32_p1-armhf.deb 61262224 BLAKE2B 78ca44c3d6a4384f1569e4b003e8075edead6b4d226ccbf1bed5c58736bebcf21be7a026ce385cb523311b105714f9269099ccd4b739f0b9c582a22dd8648a31 SHA512 bf00cdbd370ec58bc7691bdd0925b758717474c0acb714009772bb747c390303d5f70de0b54505382802536e3418790c0df3c19f25fca606f152b6a873f5606f DIST vivaldi-3.0.1874.32_p1-i386.deb 67597136 BLAKE2B 43193f3a3e29a7eadda0bc5a07722d88f321fa6ddc19521184df5163ff825b1dd1d67bd427a2df64275942d9a7133ab6a1ad3f44d3c9ba211e529edeeae9b0ba SHA512 3c4a1f22269a7e8566e077dfa28caccc9a4583c1a187c066e5bcde26fcf87801424691b9973df6e09a1e6dc1675d30be11316a8aa8f9c4af4ab91206bf542b69 +DIST vivaldi-3.0.1874.33_p1-amd64.deb 68858736 BLAKE2B 747abcedc4193d63a7d50958b00117ad0e725e567e0857c8c313c86b3617212509d414c42c9dd376cc47810a97cf077f52728324f762594be451fbbdbe08070a SHA512 92c08c674506256d309fe96795776ce807f740b68260305f6f656d8f0537e47594a7a1bdd7766b0ee00a5e8c6a3b205eded2ed5c6cbb5174b8919d533d1df16e +DIST vivaldi-3.0.1874.33_p1-arm64.deb 61919532 BLAKE2B 460241d09257af1777b09d53d0700ed1c9b23d1efbc6d78f51a3d511875a8b862f543212fc3bca89dd9066d4f4d68908c7f1de0693cc19fa4622bec393a0ae71 SHA512 37f6f7794ed43b7173071ce2296052d7efcca5cd903840e75a695df98de50a905c430871d01d3fee058b4648ca4b74f3ebb184c31258270f32ded380624070cc +DIST vivaldi-3.0.1874.33_p1-armhf.deb 61254936 BLAKE2B ff8e38b7b7d462442e994897fd2622ece472bb991bf7acdb372a7bda4fa959e437ab6cd8ad4ac0aca3419048d7f938b0f7d95ddb6e0942cb4a3403e1948b2fc7 SHA512 81e3e9decfa138a5db81f5aa4d69859ca3ab4af044ce2ca8a209aa1c73dc33ca06cb77837a859f55a0b3b22ec7a59b6c4918e7e2f0c95cf4f92ef1814e691845 +DIST vivaldi-3.0.1874.33_p1-i386.deb 67585408 BLAKE2B cb19f7eb3d16ef32243f3b3878fadc9b95835e64f9a2c1f7fcf10084e3a32eeda46a7614d2c20b32ecc5baf8fbdaf5fe7f989b493f082510acce1f0c71602fbc SHA512 75c814be74b32ae017e3edc70307713f00277f5fc9872741ce7a21435485a2a0264a05077303944992d23c8077703cd81c83b8da0d4d1406e1d866ebac644831 diff --git a/www-client/vivaldi/vivaldi-3.0.1874.33_p1.ebuild b/www-client/vivaldi/vivaldi-3.0.1874.33_p1.ebuild new file mode 100644 index 000000000000..a156328cef54 --- /dev/null +++ b/www-client/vivaldi/vivaldi-3.0.1874.33_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 +} |