summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-03-28 19:32:06 +0200
committerJeroen Roovers <jer@gentoo.org>2017-03-28 19:32:56 +0200
commitf1db5db5f4d2166d25ca0b222aa2d63636565adf (patch)
tree6410aed3f239945d835531fad7688dbab34cb7f7 /www-client
parentnet-misc/youtube-dl: Old. (diff)
downloadgentoo-f1db5db5f4d2166d25ca0b222aa2d63636565adf.tar.gz
gentoo-f1db5db5f4d2166d25ca0b222aa2d63636565adf.tar.bz2
gentoo-f1db5db5f4d2166d25ca0b222aa2d63636565adf.zip
www-client/vivaldi: Version bump.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi/Manifest2
-rw-r--r--www-client/vivaldi/vivaldi-1.8.770.46_p1.ebuild115
2 files changed, 117 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 0bb16b5f74c4..3e994db81417 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,3 +4,5 @@ DIST vivaldi-1.8.770.38_p1-amd64.deb 48331548 SHA256 b6c96ce520ef72c7244ed91f93f
DIST vivaldi-1.8.770.38_p1-i386.deb 48958844 SHA256 1714de4fcfb5e98de9f3428fcb11745b6a6b02b56dc4726b32ddc98b99895096 SHA512 095523f30c3108219cbcdc8808a1f749e803ce8befabcff1e4c5e946582b4a3001636ba426e7472dc2993dec3021ab4c56d585c8bb2b7e89c99b03ff7844ccff WHIRLPOOL c5296bafa95a340f8c651fb741c9a05d4b3e7cb0d18e2930051d9b28ba799d3a898ed9f822bc65f76ad380f79552eeabe76907005f1368c7f5237203d3083ba3
DIST vivaldi-1.8.770.44_p1-amd64.deb 48348190 SHA256 36d4335544fe5fe26f05b5b7226ba535628460404f145d447454295c5f1ba01f SHA512 9350c506ec6b1d4be2b475374d9f22529a8d5bc7041110beec1b726ee6cb5d2a9aacb767bff0803cad907c053e9f70270e7cf212b7b1ca0f4bc41f5a2c414349 WHIRLPOOL 61bd3ff42f308f68c2aaa4cfd43efd1e4cba996c3321732dc8b8925cbf95fd2865e154caead28d02f90b80d3093cfac029b28f008ea5472af3a6b5447ed27d94
DIST vivaldi-1.8.770.44_p1-i386.deb 49005724 SHA256 f42f3b23e49b09f242ccce02e5d72f7b2631bebe4b90f753435bcc93facd4a44 SHA512 4287316bb45c14e45e147968c74f5ec3cfbb5319bf6afe6ab146ff4597480e71a089e5cd14a4e7f823e5203e9728fc6a3c716ced0210a88016bb60df1ad5b978 WHIRLPOOL 1878388f94ec01d0ebdd1e21b66329c1fda31d8d93f2b9da5753248f598cfd91b1268bb50d940fc63c8bb22923a1de4cfa2b00ed3b0f049c5538cdcb7274ffe3
+DIST vivaldi-1.8.770.46_p1-amd64.deb 48369086 SHA256 535f18cf7124cace170a33f27ac2d4c2c8703b6f3fc3b2c3aa4a66fe029b47e3 SHA512 8135dfef8c74c9ac13964c96cf8230f90b0f4ae78cb95735be749b88146fd25c970063011ee50a5254fd3f70701f30f61c3dbe1a89dee0a36ee6f32867865a38 WHIRLPOOL 086c8ea08d68e24160f128796ecf854af4f4947f2a6ef8438b97fda4e20b0a39b67c6880e5b6ee20c24fa21d3ade917bd71d0b2a5efda7ecd315b9c8d0845686
+DIST vivaldi-1.8.770.46_p1-i386.deb 48990278 SHA256 814d0c5ccf6ef4c811eaf00cb61b6a48b479c30e752b468298bfc8a0c20a2368 SHA512 e1dcfe7b06bd91987ff6a827a744de6b9edc745210ecdaeff6cf3f44915f2a9c386ac550e5f7b6569ab703c9d8f5eb3096fd0ab3fed81708e2b4fc5e3d4e8047 WHIRLPOOL 48f3d6f909b888d16788090e1a83afd51cdbd5da96283dac042c251add3b39f5da5e8f725262d4605b06cc1dff50229a92abbe5726dbaa22e1117645d11f7b1e
diff --git a/www-client/vivaldi/vivaldi-1.8.770.46_p1.ebuild b/www-client/vivaldi/vivaldi-1.8.770.46_p1.ebuild
new file mode 100644
index 000000000000..5d07a6a24a74
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.8.770.46_p1.ebuild
@@ -0,0 +1,115 @@
+# 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_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}
+
+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/${VIVALDI_PN}.desktop > "${T}"/${VIVALDI_PN}.desktop || die
+ mv "${T}"/${VIVALDI_PN}.desktop usr/share/applications/${VIVALDI_PN}.desktop || die
+
+ 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
+}