summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r--www-client/vivaldi/Manifest2
-rw-r--r--www-client/vivaldi/vivaldi-1.3.501.6_p1.ebuild105
2 files changed, 107 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index df9d8670c25e..c9a583a5bc3a 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -2,3 +2,5 @@ DIST vivaldi-1.1.453.52_p1-amd64.deb 44707960 SHA256 bc3b7ccda0d4eea221b0b530e32
DIST vivaldi-1.1.453.52_p1-i386.deb 45209770 SHA256 86676dd556ce3fb2724290183c0b0519d95a889bad10100313ded33ca551a5bb SHA512 e0fcc6ab94c3cc7d2e7f4878a6fc3aa3fdda9be9904329d9a06ba865f5dabf73b38afd5f199dca440cdd5f217c9c9a4cfc4acbd22776bb458973a382b0f099f1 WHIRLPOOL e1efe52d97b9496c5bf1adfe59093afd35faff399401fb60036f7456a9864f86d6aaa7e5acbb4d9595158a45cfcd8921e9c667790c645e5fc64600d30d28a77b
DIST vivaldi-1.2.490.35_p1-amd64.deb 45329780 SHA256 7689a5659194a7ed076e6ec5dd57f93c0d30c22d0017b6ed9701fea8c28bb5b3 SHA512 9e43976281b8f2ced9b99a6030e0a76a5ed51d8d68f14bb7305e5ca2fed17a0a40a00eb465c82f93065ebabd1074607f4dacdb33ef6ae37d038791c362fd5fb2 WHIRLPOOL ecd2c2f921266070457d28eacb609b13666a5e8debe151608e28b8f952e68e0eed78513a55c4242e496495ab0d52941acac379919c37724ef95e6feed283ced2
DIST vivaldi-1.2.490.35_p1-i386.deb 45932234 SHA256 2608270bd3992af0349d7b3fbd6f768b922492232f8848a2f669874859eb0ff0 SHA512 9a268b214583ba205e6cde1a086c14a87049bbeab709e732df6581ecda9e6379c3492bac88ca636c7fe6f4c86f171004d25b1a5686cc77990832da9c43918791 WHIRLPOOL 6c92d80e05209acd1bcff91ec5f193eece79a5789efa00db903dad6cec4f1b6f267716654b244d0e790165efb5acd04cf720a69b94ec8846c68ea6554e504990
+DIST vivaldi-1.3.501.6_p1-amd64.deb 45361346 SHA256 1dbc5336b04559f121b40b8a603b9a52db0f7542575c3e3c8c185a5cd28ae88e SHA512 b12a7e3a05279749c2b75f979432dd7a0c6399a5de81f58ccbebe40efbf794085cb8fcad2c82acc5c8573b77b11fee3b836d6d73cc99cf44d3692c8844a51d43 WHIRLPOOL e9fe1eb619726dc6ed137df9b3bf16089ce8774cd5910ea49464910cdec732890f866285ae7a5f94e69cb30c42eb1e46571a5bd1167e11b751845c716c95a61a
+DIST vivaldi-1.3.501.6_p1-i386.deb 45857902 SHA256 f0325c217dbe42bb5ab5de5c70c9b5ba592ce689ab0d3fa36d17638fda414789 SHA512 51c0d747cedc510292ba4895c7078e02044e836ccdb50abeadf370aef7f7de177c68b5436a1dddb9f9a82edc9f1da0a33a384d0156b3a427efcd8e0f0e2e275d WHIRLPOOL c67bde7eb035a8fd13e9c8a96f8b262c802eeb25bc1dfc690ed60ae0e8f2fc1d1c8d094873c76f765666cc46185926e47b95df58054efef4289b2af02146e77a
diff --git a/www-client/vivaldi/vivaldi-1.3.501.6_p1.ebuild b/www-client/vivaldi/vivaldi-1.3.501.6_p1.ebuild
new file mode 100644
index 000000000000..0017184e7e93
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.3.501.6_p1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+CHROMIUM_LANGS="
+ am ar bg bn ca cs da de el en_GB en_US es_419 es et fa fil fi 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 eutils multilib unpacker toolchain-funcs
+
+DESCRIPTION="A new browser for our friends"
+HOMEPAGE="http://vivaldi.com/"
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}-snapshot_${PV/_p/-}_"
+SRC_URI="
+ amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb )
+ x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb )
+"
+
+LICENSE="Vivaldi"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+
+RESTRICT="bindist mirror"
+
+S=${WORKDIR}
+
+RDEPEND="
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ >=dev-libs/openssl-1.0.1:0
+ gnome-base/gconf:2
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ net-misc/curl
+ 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}
+VIVALDI_HOME="opt/${PN}-snapshot"
+
+src_unpack() {
+ unpack_deb ${A}
+}
+
+src_prepare() {
+ sed -i \
+ -e 's|vivaldi-snapshot|vivaldi|g' \
+ usr/share/applications/${PN}-snapshot.desktop \
+ usr/share/xfce4/helpers/${PN}-snapshot.desktop || die
+
+ mv usr/share/doc/${PN}-snapshot usr/share/doc/${PF} || die
+ chmod 0755 usr/share/doc/${PF} || die
+
+ rm \
+ _gpgbuilder \
+ etc/cron.daily/${PN}-snapshot \
+ || 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/vivaldi.png || die
+ done
+
+ pushd "${VIVALDI_HOME}/locales" > /dev/null || die
+ chromium_remove_language_paks
+ popd > /dev/null || die
+
+}
+
+src_install() {
+ mv * "${D}" || die
+ dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+ fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox
+}