summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-08-09 10:50:57 +0200
committerJeroen Roovers <jer@gentoo.org>2020-08-09 10:55:34 +0200
commit6371a4fab894fa4a334f3a40640bade7bf2c9422 (patch)
tree0044e82cf217c6d702f182d380f42d216a3b8619
parentdev-libs/check: bump to 0.15.2 (diff)
downloadgentoo-6371a4fab894fa4a334f3a40640bade7bf2c9422.tar.gz
gentoo-6371a4fab894fa4a334f3a40640bade7bf2c9422.tar.bz2
gentoo-6371a4fab894fa4a334f3a40640bade7bf2c9422.zip
www-client/vivaldi-snapshot: Version 3.3.2001.3_p1
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-3.3.2001.3_p1.ebuild116
2 files changed, 120 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 71fafe7bcbc..a8ca44e7c06 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,3 +2,7 @@ DIST vivaldi-snapshot-3.2.1967.38_p1-amd64.deb 71916700 BLAKE2B c29f79976f396679
DIST vivaldi-snapshot-3.2.1967.38_p1-arm64.deb 64180484 BLAKE2B 6524de9521cede23f29c7f6bc775d665910ae9cf8fa4a91244edfdbb6b3ffb28768230956537cd6dafb8685f5f3591ea02714623591e468ebd0baf063c15855a SHA512 ec339278da008e9a991b7a8258aea9b294cb6c3a6cd516a4824caed072227534c9e87235a2537cfbe3fabd0f7a4707fe1ac88861cb6782a0a477b8c1435051bf
DIST vivaldi-snapshot-3.2.1967.38_p1-armhf.deb 63694208 BLAKE2B cdaa3463ea0f7b12e02cfb9117c40d034146af6334b7ee911f70f941d84b3a790b6635cfe966e5aac0520fea83b38e514f89bc1a910232965697813f0eb032f6 SHA512 2b4e7c9836550f025475e95c86816ede861c0f5a8461c3f7a15cec01cf992dba97f9eb6744ebac42bcaf00871e6011a87617f6adbf98f21a22a9c5f8d82a7c7b
DIST vivaldi-snapshot-3.2.1967.38_p1-i386.deb 70215624 BLAKE2B 21deebd151901d6ccd0a7183bc10576379c0ed1cb610d381713052cd78c8d1c136cd72c02e75eb42b174aeb7acd9640abe3a8f2fbbceada948ae1ca69ee24684 SHA512 c0fccac614d5ab1ca42706ffeb1957d071aea879f359a6091139792c391f4c26ab93f3749d95d4abf03c04bebadf5e191c52d29668f01e5587e5077edbc582da
+DIST vivaldi-snapshot-3.3.2001.3_p1-amd64.deb 71962452 BLAKE2B 74d636f5d5549d971b4d2dec3472710f79b827e42e64211a62acf0873260fca6e1ce7e1bc14efb2a3d618573fd8598b141da8d7ca658468620a9bb8860d1555d SHA512 b0a6f2c03fd1bf53295cb8cabe48791a966279a9d30032c3b04f8949d29a91272b546dd40a754fb6364c8d87fda974fd663686bdfc02fcaacd8717773c6e42d9
+DIST vivaldi-snapshot-3.3.2001.3_p1-arm64.deb 64231616 BLAKE2B 39fb5fd842b8e5c0ea73f469cadc6131aca650075947e2b42022a88cf097486fbb15c39795a46e41ce0b5194c1db896ac24cecd4a391bd3a0f65fb1a86ebcabf SHA512 3c11134ff1ca9f9c1f934f10de592ad17835c48a77af30d70c24d59b53cd062c81efb7fd18cfc9b1ff7e067d6a1792909383e6f5d1f24be21a4abed74df6b2c2
+DIST vivaldi-snapshot-3.3.2001.3_p1-armhf.deb 63742308 BLAKE2B 8d152dd3c179055a01ae5d918913957371a6d08d8ab250d22768ebc6627873c74655a4fab0165517df3e452b7b02d1e6e44385817e57473644886e1a445b0660 SHA512 a7dab4002bc4f46dde263e08339a06ba516a45f36eb32722c8f77964496d123f6a72a5aedf9fb4aa6b08d01f7002bfd44f519df33e730012660f11148d8feb68
+DIST vivaldi-snapshot-3.3.2001.3_p1-i386.deb 70252588 BLAKE2B 10a29b4160b6be5021aa3dc8b3a36d765430a16fcf1f6fa689649099babe63bb73bdc22bb47b31e9e924b1041d338b432be54abab473f95a62cc4a2d0b3ed1cd SHA512 e414efd78ca4028c21d1d6c230b6433ffd0ec8501c6e422fdd7ed3a9dbcc1fbc4e28921fa77d10612eaaf92a18de8043dc25e0cb5dcac387782bc3e3b928ad95
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.3.2001.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.3.2001.3_p1.ebuild
new file mode 100644
index 00000000000..db3613b057e
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.3.2001.3_p1.ebuild
@@ -0,0 +1,116 @@
+# 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_HOME="opt/${PN}"
+DESCRIPTION="A browser for our friends"
+HOMEPAGE="https://vivaldi.com/"
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${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/${PN}.desktop > "${T}"/${PN}.desktop || die
+ mv "${T}"/${PN}.desktop usr/share/applications/${PN}.desktop || die
+
+ mv usr/share/doc/${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/${PN} \
+ || 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}/vivaldi-sandbox
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}