summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-07-03 16:34:15 +0200
committerJeroen Roovers <jer@gentoo.org>2018-07-03 16:34:15 +0200
commit75b47ebbab1f182bca1949d082ad6336be3a9124 (patch)
treec3b4aed1fc8828cc3f0e06dc4d90a05ab1029902 /www-client
parentprofiles: remove app-emulation/libvirt[xen] for no-multilib (diff)
downloadgentoo-75b47ebbab1f182bca1949d082ad6336be3a9124.tar.gz
gentoo-75b47ebbab1f182bca1949d082ad6336be3a9124.tar.bz2
gentoo-75b47ebbab1f182bca1949d082ad6336be3a9124.zip
www-client/vivaldi-snapshot: Version 1.16.1226.3_p1.
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest3
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-1.16.1226.3_p1.ebuild117
2 files changed, 120 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 451e3234f384..e29ff66e84e7 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot-1.16.1211.3_p1-i386.deb 53589270 BLAKE2B 764ad967ba10c5595
DIST vivaldi-snapshot-1.16.1221.3_p1-amd64.deb 54929464 BLAKE2B 580f04ba12bd88bd23167bd02d6c808ecbf310e7e63cee213556d520de61771344e35063f4c8afdeae90c8358e323731dc75281704cd8a6680d334b87f16f4f5 SHA512 0ac69d286e2982a001831d6f989b02e5ba47dcce3b19280dcb8360ad591fe9c5af725eb8916aa6d7052dee0759cd8e93b29d7f26094285d314f8bd87eef6f88d
DIST vivaldi-snapshot-1.16.1221.3_p1-armhf.deb 48793424 BLAKE2B 3caf45b1e0a5b89b13f81b6c0a50523596173f0c56fcbfe4de984283959721c396e2bcbc464f256d60d9643d45cd4c4c627a9de06c84ac3b896511e9f72db829 SHA512 73b5c85333e4a8c98cb245cd8802f8ec062021cd8ba8ae9d518f4da766c344e3b26f44cdb3c343cf2b3bc16c80ef2a59e73ec382a052b812395c7f3625017414
DIST vivaldi-snapshot-1.16.1221.3_p1-i386.deb 54401486 BLAKE2B 6fcb7b85460daf62596643d6d8d81472d502b11de64bbd5075671f80cb63a83970b5f925326245f102fcaf814b9f64e3e4dfd4f034ccc31f19e775a734223420 SHA512 0d18164aa5e8e0034f96c50b359b73a34533a7fbff3534e47437830e117836529d20bcd22a452e5c8c91c39546c2df314347153cf420be4dbbf8dc4bcb589817
+DIST vivaldi-snapshot-1.16.1226.3_p1-amd64.deb 54931368 BLAKE2B fecdbf62cf301a051f0798545847aba381f803b69165c470f6057247b626b31c0194f1bdf88f7bfeda57cbcc7d2b14d21efbf9e60cd177f37d9cd65d7edd6f36 SHA512 88a5c72cc2b0558d9819eb17525f00d3a049b01ebd80734ddbcc0b5928f188b3b6f081b7ed1e1a403cf2a071b009d5b26ea5af2b72b26b45eb42e644f5a47236
+DIST vivaldi-snapshot-1.16.1226.3_p1-armhf.deb 48799752 BLAKE2B 4bf6ddf1ff1869c1a4614615046de27367dce9bf6c02208701740e12a3e6ef0c821ec486129feee8b2886c6a7f744d57115e5e8c2077e5540c71b70faadef4cd SHA512 d53eeba114f0502c0e045fc3a5d5531654f36bafeb34666ecea3798c4ceda8966f7079fb80c55617789c16ee273529f9ff6b872c56d63b430997bd2901cae6af
+DIST vivaldi-snapshot-1.16.1226.3_p1-i386.deb 54406672 BLAKE2B 42e979c5b16d3f4d7ba3cf22c63b84b8991d14a13b3f1d8950cc1e504800cbb4a25a560b515201ebc4292a6aef6254008150926dbab5bb806ab70bfc84da0b7a SHA512 b7f50f377ede4a3a9ccb90dece883f5ca289f875b4397c0aa9151c60ab80378eed4dc198a0aa4d3960bfb766061510277f8b53f3a72c29532940b3878d04d887
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.16.1226.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.16.1226.3_p1.ebuild
new file mode 100644
index 000000000000..0b21131251e0
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.16.1226.3_p1.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+CHROMIUM_LANGS="
+ am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
+ hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl 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 )
+ 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 ~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+:2
+ 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
+
+ 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 "${FILESDIR}"/vivaldi-snapshot-1.14.1072.3_p1-libffmpeg.patch
+
+ 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
+}