summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-client/vivaldi/Manifest2
-rw-r--r--www-client/vivaldi/vivaldi-1.0.390.3_p1.ebuild109
2 files changed, 111 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 6c249eebe14d..75813bd07303 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,3 +4,5 @@ DIST vivaldi-1.0.380.2_p1-amd64.deb 43968718 SHA256 395a1dde2110beaddc84e7cdd499
DIST vivaldi-1.0.380.2_p1-i386.deb 44523458 SHA256 21c1fd9e8608d8fed7aa0cc227239d61f95d6c6c27330bc2b9ca6a72de7ce87a SHA512 86c4af19eec49e880ae6e549c7ad9d26859965ee9c75d81b95e5df6ab35fa6c42b03d90d5263e21957d76e9f5a56ee80f0a100d688cbde0de86432f990581a55 WHIRLPOOL 73a6397d706841fa8d7fce7077b48797ddb1339c30d15429c5375cbe38cca35e42537603981f42a1a95591192af886b9b921eefa9f6a6afcd1f3c0956d6c3b13
DIST vivaldi-1.0.385.5_p1-amd64.deb 44038492 SHA256 c1971b557d8df405517895552c2e18f545b006e80aa0df799a4ce04852275df0 SHA512 cca114da8c0eb9a1eef9d0eb02eba61365c6772fbbad9d6bb5dde6e81ca08a92a6a356d61e16dd3df7d731c53cf26de70ff8ff09ec09d45b550e5ce7232d64a7 WHIRLPOOL 5f0dfd61b493361f05d52e9443c1830e5710a1d892da6cc5d8f167ba24a062faaa8bd75795cb48b3fdf884b04b49a4e6fb9678a9cd9a88d21a0f13f0a0ff2c1d
DIST vivaldi-1.0.385.5_p1-i386.deb 44479030 SHA256 8179ead698d0bfbec096b720e9e490fa4ca9f9f42c3e34804474ff528c5fb2bf SHA512 1acce87c41d11de388118825bc72bc24fe7e1881bb642dc4b0ea5086e65ef530da4ad218dbcd4e6d69e26bb77612583f66be7f8e127a29b098fe239f0db1d337 WHIRLPOOL 8db8eec5adb632f8975b9ac2992845e57ad8d743c3cf14c0f570e133b514b4a1515d666f5127b7a29076a395d5153f5a5da2889d022a18d236df6916af55979d
+DIST vivaldi-1.0.390.3_p1-amd64.deb 44041614 SHA256 18e976f4a500ca069ac85520562f1c19b6e3047e0bd50af5d8e2ab1892b7a15a SHA512 cf41e3f69fb7435324a6fe1174bf3d0f4ddc4bd7567b5ff9a49d782649fe4a2882533b162e2b17fcda3cb0c3fdab4e63b278046d5b5ad2affb02015db4906a52 WHIRLPOOL 684fa392bf815bfa047674f020e0e3dcddb172cdb2fd7a952e49ae646b6a84bdc9ab2ec34f414a33804cf561acdafa08c52c1a4fed396d4248ed082625aedf5a
+DIST vivaldi-1.0.390.3_p1-i386.deb 44459070 SHA256 9fb5a5e468a04021d01f28ad08ac8df5c61edf7f0e01b02e73e7b57b2d1dd5c8 SHA512 56782ea9767a7e44872548ee8a4aa5d3f5a6073bd2ae533b175a4943b6c7c73b353a42aca9b239a9af52825df6cb83842ee5267e7a9177d1c5202ef8a4c1808e WHIRLPOOL 0272db44cbab2af8b37f4fffde1ad026cf9ba5686522a77f509c7a0b745d7d632e472a2a77a488b58edb4e1eef1e38d087e7586902035d839cf4982c11cb076f
diff --git a/www-client/vivaldi/vivaldi-1.0.390.3_p1.ebuild b/www-client/vivaldi/vivaldi-1.0.390.3_p1.ebuild
new file mode 100644
index 000000000000..f985379c7cbb
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.0.390.3_p1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2015 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="${HOMEPAGE}download/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|@LIBDIR@|$(get_libdir)|g" \
+ opt/vivaldi-snapshot/vivaldi-snapshot || die
+
+ 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
+
+ rm \
+ _gpgbuilder \
+ etc/cron.daily/${PN}-snapshot \
+ usr/bin/${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}-snapshot /usr/bin/${PN}
+
+ fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox
+}