summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-11-30 22:42:01 +0100
committerJeroen Roovers <jer@gentoo.org>2016-11-30 22:56:08 +0100
commit5e15690d937a99f710ea9d8d706f06692efb34eb (patch)
treece5c669cd2d9cbc9685a489caa72a842eb1db486 /www-client/vivaldi
parentdev-libs/xapian-bindings: prevent python-related sandbox failure (diff)
downloadgentoo-5e15690d937a99f710ea9d8d706f06692efb34eb.tar.gz
gentoo-5e15690d937a99f710ea9d8d706f06692efb34eb.tar.bz2
gentoo-5e15690d937a99f710ea9d8d706f06692efb34eb.zip
www-client/vivaldi: Version bump.
Package-Manager: portage-2.3.2
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r--www-client/vivaldi/Manifest2
-rw-r--r--www-client/vivaldi/vivaldi-1.6.682.3_p1.ebuild110
2 files changed, 112 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 2b3a31b3f6c7..82e4d8eb765d 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,3 +4,5 @@ DIST vivaldi-1.5.658.44_p1-amd64.deb 46838072 SHA256 d43cda11f6d9dffbdf3a0f7d29b
DIST vivaldi-1.5.658.44_p1-i386.deb 47084314 SHA256 480169e43737269215216bfcbb07fce54a7674cd27801eda083967b275ab97b3 SHA512 d9c48c8c944132771f65791c9fc0c741602dd0ccfb0e30d84cdfd5afddb0269f779bdf093faffbc50dbd3dbb0557e1e30ac030b10ecccd6a534b3fcdfddaef6c WHIRLPOOL c823678af01496c426793e940ed7a9958cc7c8ffb1fbb51f3fbb8abf7744e5b4f6c0a3da3d7f26c4ed00fda77756ff4c6103baaa53590e2951d60dba7c36d683
DIST vivaldi-1.5.676.6_p1-amd64.deb 48136128 SHA256 bc148032c12f3cd397987425b9d9f3db14ecc2e0156005dca8eb659718f7debd SHA512 81b198225b2ddbd62a96e1aa4c51cd0b4905c246e9cd63723574c081870a9473e23108d1680c72e0aed90fe9c2823edeae4204b0dc2803ceeee3e37ca18e140c WHIRLPOOL a56df0c83d4d6d80f3afee9c11c603189d514ece01f7cfe503c84605a797e3e35a50ecfb24bf32d68f8feba5868f23467a0a51510e5f45367e96ad43393d309c
DIST vivaldi-1.5.676.6_p1-i386.deb 48436566 SHA256 231a6af7898a00b0c4f491081aa4fd5a2fe09618e8d9e08e7d13eff8b1ce0191 SHA512 052b9060ff88141dd10056b48c56852772253a6058da178c6aaa4b69a982969c78c393bd0bf5ed9c2d692dd602e95635c8ec1a5d0f2a374b3b47ab1bb4536115 WHIRLPOOL 0a658bcf7576698c4d0cfaaf2e388ca2376bec2805d3cbe62648a53e527bafd899e5cc12dd3b3083d4122df0866d3e409c9ff6958628190a83336d3bd11ad2d6
+DIST vivaldi-1.6.682.3_p1-amd64.deb 48626980 SHA256 51738c7247d9780fc4d57c263b7eab4c042a85e6f215152c32d97380d13cb66e SHA512 274d96e5484a4ad3b4a63ab0591d0a9798edcadbba0e784b46c7630632a7fea473f790d30f64ca812e26f0dd04d069ae17b9c41daf89ef14ba9398ce3e568716 WHIRLPOOL d05c366f143f926d355e4a86a85710d0a5c5003917089374226901d967209ffd42b01b09e9cd488020595e72d33cc12f9c5724ce361b4187c2a8c2bf241e466e
+DIST vivaldi-1.6.682.3_p1-i386.deb 49039272 SHA256 1e58b8dd0a5ad4a6630a36fcf5d5ec2601279b2b67d63e95bc45be0d4e392579 SHA512 08eac88f05fb194fff7a77a233d68b595fa62927b97b93d791c95b9851ceade5b5ae5df4a8e3fada96ac6f841e0151f59fdc2b0b23fbb0c891b4e77a21950679 WHIRLPOOL 7e10b57a090c2aa537a6033e27e31d67632f5eb0b3c79e02a852cd9c3a1d8169fc4c97fd6209a1e0c280041e87949cebc4cb51278e9f0d2de1bd371c3fc1dd2b
diff --git a/www-client/vivaldi/vivaldi-1.6.682.3_p1.ebuild b/www-client/vivaldi/vivaldi-1.6.682.3_p1.ebuild
new file mode 100644
index 000000000000..6d392978e872
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.6.682.3_p1.ebuild
@@ -0,0 +1,110 @@
+# 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 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_BRANCH="snapshot"
+
+VIVALDI_PN="${PN}-${VIVALDI_BRANCH:-stable}"
+VIVALDI_BIN="${PN}${VIVALDI_BRANCH/snapshot/-snapshot}"
+VIVALDI_HOME="opt/${VIVALDI_BIN}"
+DESCRIPTION="A new browser for our friends"
+HOMEPAGE="http://vivaldi.com/"
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_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}
+
+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() {
+ sed -i \
+ -e "s|${VIVALDI_BIN}|${PN}|g" \
+ usr/share/applications/${VIVALDI_PN}.desktop \
+ usr/share/xfce4/helpers/${VIVALDI_BIN}.desktop || die
+
+ mv usr/share/doc/${VIVALDI_PN} usr/share/doc/${PF} || die
+ chmod 0755 usr/share/doc/${PF} || die
+
+ rm \
+ _gpgbuilder \
+ etc/cron.daily/${VIVALDI_BIN} \
+ ${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/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
+}