summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2015-12-04 08:50:41 +0100
committerJeroen Roovers <jer@gentoo.org>2015-12-04 15:06:30 +0100
commit4422c09ef631d118caaba757948971210b109b2c (patch)
tree5feced19739dcfecc9d928b446d36f06cf351559
parentdev-util/android-sdk-update-manager: Fix install permissions. (diff)
downloadgentoo-4422c09ef631d118caaba757948971210b109b2c.tar.gz
gentoo-4422c09ef631d118caaba757948971210b109b2c.tar.bz2
gentoo-4422c09ef631d118caaba757948971210b109b2c.zip
www-client/vivaldi: Version bump.
Package-Manager: portage-2.2.26
-rw-r--r--www-client/vivaldi/Manifest2
-rw-r--r--www-client/vivaldi/vivaldi-1.0.340.7_p1.ebuild107
2 files changed, 109 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 058c7878aa57..b34e6133cdc1 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -2,3 +2,5 @@ DIST vivaldi-1.0.330.3_p1-amd64.deb 42560200 SHA256 f66e5b787416fd65eadf55098a94
DIST vivaldi-1.0.330.3_p1-i386.deb 43058486 SHA256 3eb3143139716685eea430cc4846841eb1da5774e3a9f1d6c3113595a7632d6b SHA512 27069eb34cd6a9b9a06aea78d52a5525fb5042704a0f56df1e59cd043d36acf63794b63b39562d8d74ad5f6b4272bbd10edc176472f7d3003c8cdf0724c38677 WHIRLPOOL fd233ae70ace95e9cf8ffa5fe9528e088e9753310ce059ec6acdc3dbfc65af01feb73aa06e8df052a09dc1941176abc6109f5a114f544df491a8a2a704c6e290
DIST vivaldi-1.0.334.3_p1-amd64.deb 42644326 SHA256 fda4bacabb0088e30b8c54c1285fa9e3712273b0058e18229969322c121e3df9 SHA512 67c54d4b124c78c04831ee8a31d70d7e4e6fa6b704ea775b17ed8d010041d0faeb7f1c1ec1a8ecb09b1efe654611168d8e28d48b3bcc93c82692f1208ee2af5c WHIRLPOOL c6279d3ae9097a23bd12f4ed20e7b58efb020fcf3b2020bec5ebf63c9f496fec5d1c05815a0615762dc3f370a5657fe81ee006ea35f5be35465b83ec2ce37915
DIST vivaldi-1.0.334.3_p1-i386.deb 43093198 SHA256 15cbee335155d1025a22937663109d820d35e4fd43cb59bb1a2ace4335364b3f SHA512 5d6c6390cf633f7ee44b9ab4b754b81c54dc3cf1aa3773cd82d9107c9a67f7f8a256072418efe453b859e6b052764b3ce117584b33317368f36a739293d804f7 WHIRLPOOL 5557e0ed4adafe3879fd21e44b83b7e9eaa1bc585499b92eb7b4fc03f83f6d7bc4a5c9b1c98c98bb177ee9bc98356669b187a7b0618f15ef2b31eb33f01f48d8
+DIST vivaldi-1.0.340.7_p1-amd64.deb 42622326 SHA256 8281fbbd682d55ff1b48955bbecd7dd78e62b82e1c691e121a6e4e4b5944dd52 SHA512 5021174f888836912a679922dc341c01497aca6552d93c9a33c72ca1692f6352d7a42c293e81fefd4798024bc287fff565dc53c105d6551665d7d8e5b9d053ee WHIRLPOOL 00e908801b722b9cd6f3d3b69b2c4df2d6ab164ddb7e0d6c9e9b1107dba1b2967dc95c5b78b609228f452370767db441bef3f426b451f264ef8c746bfa78f57f
+DIST vivaldi-1.0.340.7_p1-i386.deb 43103506 SHA256 15c38ff908fa908bac4f5913641b98625d5f03ea7d53a3c8abc5d861f013b907 SHA512 3c57d68324e9c3a98c9bf4ee8271901e91f1ace356c5d4d75d7d0f7ad5814e7bef803f96117f2bbabbec6706eb079765f850667c6602cf475bd1ccc0133643f3 WHIRLPOOL 775c370b73a2080866a50861abb154c0b97c52df43f4c6f8a26f3f4df206270cb9bd3f0e91500551cc627129fe823f6f7e2dd7e57df4aa64198e22fa771b4ba8
diff --git a/www-client/vivaldi/vivaldi-1.0.340.7_p1.ebuild b/www-client/vivaldi/vivaldi-1.0.340.7_p1.ebuild
new file mode 100644
index 000000000000..c40dd917fbf3
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.0.340.7_p1.ebuild
@@ -0,0 +1,107 @@
+# 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() {
+ epatch "${FILESDIR}"/${PN}-1.0.275.3_p1-flash.patch
+ 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 etc/cron.daily/${PN}-snapshot || die
+ rmdir etc/cron.daily/ || die
+ rmdir etc/ || die
+
+ rm usr/bin/${PN}-snapshot || die
+ rm _gpgbuilder || 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
+}