summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-05-04 16:42:58 +0200
committerJeroen Roovers <jer@gentoo.org>2017-05-04 16:42:58 +0200
commit003ff590fa9b8a2f5448d89853e62829b2f367d5 (patch)
tree9ea5bbcc3041a8ff729ccd8bf296e5f25435a43e /www-client
parentwww-client/opera-beta: Old. (diff)
downloadgentoo-003ff590fa9b8a2f5448d89853e62829b2f367d5.tar.gz
gentoo-003ff590fa9b8a2f5448d89853e62829b2f367d5.tar.bz2
gentoo-003ff590fa9b8a2f5448d89853e62829b2f367d5.zip
www-client/vivaldi-snapshot: Initial commit (bug #564996).
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest2
-rw-r--r--www-client/vivaldi-snapshot/metadata.xml8
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-1.10.829.3_p1.ebuild106
3 files changed, 116 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
new file mode 100644
index 000000000000..e280255c0ded
--- /dev/null
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -0,0 +1,2 @@
+DIST vivaldi-snapshot-1.10.829.3_p1-amd64.deb 48798090 SHA256 2e150adf26637cbf3155029df04bdfcdedaa4a72b4cc5fa7a9cba8526c132f3c SHA512 835576c277cde42720c5bc70d945cdb41bc8d0f1f1aad1cbaccf6d0804a5679934d441ea6e358f664cd7ad6779b5f93f274eb3a2f95ba4c15cd2abfff69eb40a WHIRLPOOL 7636bda9afb80938bcc81b6dbc2d89fb29ff9dfe71a0fe158baa669548b3823e1ffaa569fac59fd5ae2225583a2da76412ae563c785bad6946f788acbd265694
+DIST vivaldi-snapshot-1.10.829.3_p1-i386.deb 49421990 SHA256 14c2740a02f47adee4a3d21d11ea365b77bb126007f0a491a0a204a543c6ac9e SHA512 816b86de5c6355a3877cae01defe419d8d9f3c602fa706c0c6b85805215daac61dc4b559bece8c7dfff0e0eeeef7651b17a7313555be934592e4521166c62276 WHIRLPOOL 925e80569ebb98752a6911787ed6e6c21049c8f4060c9e08e62e9c2d8a1f9cde4b75aab32d4b3bd85463dc82abc2e616ab0e579d288c0f62c9bd6732e93945d9
diff --git a/www-client/vivaldi-snapshot/metadata.xml b/www-client/vivaldi-snapshot/metadata.xml
new file mode 100644
index 000000000000..a8fb43312942
--- /dev/null
+++ b/www-client/vivaldi-snapshot/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>jer@gentoo.org</email>
+<name>Jeroen Roovers</name>
+</maintainer>
+</pkgmetadata>
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.10.829.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.10.829.3_p1.ebuild
new file mode 100644
index 000000000000..7029ed11060e
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.10.829.3_p1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2017 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 multilib unpacker toolchain-funcs
+
+VIVALDI_HOME="opt/${PN}"
+DESCRIPTION="A new browser for our friends"
+HOMEPAGE="http://vivaldi.com/"
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}_${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}
+
+DEPEND="
+ virtual/libiconv
+"
+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}
+
+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
+
+}
+
+src_install() {
+ mv * "${D}" || die
+ dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+ fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox
+}