summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-02-20 16:46:08 +0100
committerJeroen Roovers <jer@gentoo.org>2019-02-20 16:48:05 +0100
commit808c07870fb1646bf59ba3fbb29ddb23f6339271 (patch)
tree6db508bc3aea6f61e790961e72a7ccbbeac16f88 /www-client
parentsys-kernel/gentoo-sources: Linux patch 4.19.24 (diff)
downloadgentoo-808c07870fb1646bf59ba3fbb29ddb23f6339271.tar.gz
gentoo-808c07870fb1646bf59ba3fbb29ddb23f6339271.tar.bz2
gentoo-808c07870fb1646bf59ba3fbb29ddb23f6339271.zip
www-client/vivaldi-snapshot: Version 2.4.1462.4_p1
Package-Manager: Portage-2.3.61, Repoman-2.3.12 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1462.4_p1.ebuild119
2 files changed, 123 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 0719df5ef05..860ae6915ae 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,3 +2,7 @@ DIST vivaldi-snapshot-2.4.1455.4_p1-amd64.deb 60096954 BLAKE2B e61805e7df1a0a91a
DIST vivaldi-snapshot-2.4.1455.4_p1-arm64.deb 55546474 BLAKE2B 395ebe9b7fe2a0a629764ccac8f1a05e6cb79c1396d31a49800470c02c4ff217e9c76a32a81d0a2a9b08a8a3c907241456f2006a78d955248b3dc38f6b2743b3 SHA512 c1537c296f563ea8af67d685a6c3618248a43f11555625f8366ac13177010f3233b7b311431a5f0f653add57160850d603c24e8d53bdc370cb12a23d5710e1fb
DIST vivaldi-snapshot-2.4.1455.4_p1-armhf.deb 52654074 BLAKE2B ef4a8776aa9f5f0ac0dab3a2b7743fe20da301b8223e0d4d0b1b10948c5ac50c1091c2ecdde8187ebde89210193d1fadea56c062e089db35867966e796920482 SHA512 8821b60317e23d217bcdad1c14de5354b9b77885e5d06116bd4e2d185d57c2c467ba434a2e963f2de5fac09b527a5a54370e43f0e893ef97f3a3f41be5b43bf4
DIST vivaldi-snapshot-2.4.1455.4_p1-i386.deb 58217994 BLAKE2B 6891ddb3ca7581ad8f9e9f6868678de45293497ff074186b871cfa0f00505fba08a2c34947eed6ad499b4ff13b3535f220a216fb2935e5ab4fe2c3f777ffc61e SHA512 e486a5d036ea7e3857b2ad902b1f7725f181299d855b8f8a05e44aed5cddaa4b3088b4a85a1a37c4d3e81e6fff5473801273d47ac6a5301c030127985d7ee405
+DIST vivaldi-snapshot-2.4.1462.4_p1-amd64.deb 60116246 BLAKE2B 8dabdb3f70530c246ff6de340c88f60027647610e0eab3db9fc8905f2f061bc31471e16139d8d58cdd01f8e23b37918a9e7615c92ec38c3dd8be5b910d41781f SHA512 a897da22ac1da0045b0250fd6da1564d1736494e4e58e48126295074918a6fd96bffeee93520b161414ee227494560e60979e18d9b2d2c0a72d2a9f243e98f00
+DIST vivaldi-snapshot-2.4.1462.4_p1-arm64.deb 55565414 BLAKE2B 9c3e1e7e17ac1487913931ec9c0772b84f5373683b82d6636040e75ab4b5a022c12b990a05709ee6fe35b806ebfb79e51ca398dd635648c34800595378984312 SHA512 d33602006eb1adfe3754388dade902c9e0c555696c06a47a06badad555e2baab671277e4964dbefa2707270213164ac6cd661a06c1863eab86f9a26ed2a967a7
+DIST vivaldi-snapshot-2.4.1462.4_p1-armhf.deb 52659610 BLAKE2B f742a496d8c2551b9f4188490cb49addc104b5eb16d407c6129f058febb78539206ef66131ea4ffe53460e4776e71bf8fa63070c786eb59e2c7ab8bc4bcb148a SHA512 e5830e944a824ebba55ef432d696880e55a4f9c0dd72d878a1ac2b0a0b33539c955bea3e5a03779ea97895b4c7a00802b66e581a7bb1c7314def4f3efefbc0f3
+DIST vivaldi-snapshot-2.4.1462.4_p1-i386.deb 58254202 BLAKE2B 66e2829eba56da4fb3e8de1f252993111666f778f02fa0ad3073d592a5587aa4fc0f8798b5b40c1aeaa39530731d0879d715e171ca42052084a9ad71c85ce913 SHA512 61631c3956cdff4a9a7cad40c033784e7af2556aabd4952abbffc02ea530ea18fc60cb167cd6405633d93b1d781129a7ae488bc7c08d75de9ef1a173a531b069
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1462.4_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1462.4_p1.ebuild
new file mode 100644
index 00000000000..91bde2d5746
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1462.4_p1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+CHROMIUM_LANGS="
+ am ar be bg bn ca cs da de el en-GB en-US eo es es-419 es-PE et eu fa fi
+ fil fr fy 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 eutils gnome2-utils 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} \
+ ${VIVALDI_HOME}/libwidevinecdm.so \
+ || 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
+
+ epatch_user
+}
+
+src_install() {
+ mv * "${D}" || die
+ dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+ fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox
+}
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}