summaryrefslogtreecommitdiff
path: root/www-client
diff options
context:
space:
mode:
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest2
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-1.10.834.9_p1.ebuild106
2 files changed, 108 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index e280255c0de..e1de4efb684 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -1,2 +1,4 @@
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
+DIST vivaldi-snapshot-1.10.834.9_p1-amd64.deb 48810164 SHA256 39c9a7f019d88b2310fdf8cd3033c879bee2ae7a375960711f02977d056910f6 SHA512 7deebb75b9671f30663c36419079dc300fcd536cdbd834b00c67faffe1883614b0609a1e3a444f129feccf6b09e1a8505a950828d9989a8492da1e798ef1b706 WHIRLPOOL abf69027e45c5d07470865c293b62e69c12278fe02a821476af315c8c478bc0da58a885e3cd2dbecf23bfd5a9fdc9de9e6565609747785a56edc9df8382d1122
+DIST vivaldi-snapshot-1.10.834.9_p1-i386.deb 49425194 SHA256 b0a870ba3af9868ff85f177776808a0d6b270db2fc7c6ad9fcf85206d7f69d2d SHA512 d9719f3a5d5f87c8c88b2abd3585bd0e7bd0895b42d9ed326ed47800e4506fb252dbc18b6adfed747fed8d377969e35cdb0755235a91b7403b0c7e2563552c48 WHIRLPOOL cad2009671d5c30ac9b4863d41f6ab040e8045c037d7cdb2f0039f0244b13dfe8553f22f399b72ae5c6f17189b7095acf5541a123f66010bc052fcbc51ef3923
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.10.834.9_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.10.834.9_p1.ebuild
new file mode 100644
index 00000000000..7029ed11060
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.10.834.9_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
+}