summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-03-02 21:34:32 +0100
committerJeroen Roovers <jer@gentoo.org>2017-03-02 21:44:04 +0100
commitf6c61774e874def016f3ddca9d7dd62db57cf156 (patch)
tree25a5d26772063e6da09d0d7d4ceb664782b98168 /www-client
parentapp-backup/amanda: version bump to 3.4.3 (diff)
downloadgentoo-f6c61774e874def016f3ddca9d7dd62db57cf156.tar.gz
gentoo-f6c61774e874def016f3ddca9d7dd62db57cf156.tar.bz2
gentoo-f6c61774e874def016f3ddca9d7dd62db57cf156.zip
www-client/vivaldi: Version bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi/Manifest2
-rw-r--r--www-client/vivaldi/vivaldi-1.8.770.9_p1.ebuild115
2 files changed, 117 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 9dceb925fea0..eb75916a0dbf 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -2,3 +2,5 @@ DIST vivaldi-1.7.735.46_p1-amd64.deb 47603688 SHA256 bb15313f9d7f17bc135b5a41df0
DIST vivaldi-1.7.735.46_p1-i386.deb 47903366 SHA256 0aada8e99560c60d0a49ee3ff8ef1c5e38e2ae8bf1f7aa59b72b5871ad64b1c6 SHA512 004a81181165c9f0704929b3c377fafa25e177e005e187affe47265bede9d761dcf8894c43bd1b94832b36d14c7468a4bbf0b767036cd34d38063b4c147c889f WHIRLPOOL 6883686a0115f9cec6d7e8b41b313aadec29bb437ac1a3c4839ac6843a85ed1455756aa87ea20a25b3031f894ecefc56b7034086622babb924c05627f799c756
DIST vivaldi-1.8.755.3_p1-amd64.deb 49083550 SHA256 3d8cd86ca9cec0e8a4f6f33e89f2927939c3f4f1439fb01b1dc5e2ff09ed84c1 SHA512 aff6f765fd0dfacd86afdf8a8e88ce6c69d8f6d8917ca55a78efc57b440ce600964ad617cdf97703318390d35e263401325acfb6cef11314fefcd79a1d29cc84 WHIRLPOOL 31498bdeb35e48d7301e2eb1560c03860c3ea77c6a6facb17d08fd7d5a794d853f315cfe94605c802bbaba4107cbde90cb51a9d77f6bb5197b8ae1c2e9b3a97c
DIST vivaldi-1.8.755.3_p1-i386.deb 49367744 SHA256 1deeccd760b227997442881c93c3cd2853aefd01d06798c40e280ce777493160 SHA512 9ec0050006e72b1d5702ec656b54fd9e2c0582e10f15c4c6eef0efdaf2e0bf1568f776671eb00291f9080610759e32708424d8bd8693bc19930fee8c108cbcda WHIRLPOOL f2304097e7bc642fb181762c7478f83f7c65741d703218083248d4268f3332cd1a5df09c2339665ed640e43f3e7f2eb7cd94959ba9277b4545feba618a28fc82
+DIST vivaldi-1.8.770.9_p1-amd64.deb 48117956 SHA256 416a36545aec879482d84eedd3b2513cc984925a3c1c37111b3776d92090b109 SHA512 20e37a2143c39e58ad64f9efd618634ff67f9591419af709cec6364c50906be85af8fdf1295003ecc64860dc6f969855542be8a90347a39e448e14bc64fc8998 WHIRLPOOL 7fe45904929ccf3cda1838ebded7211c2a66d43e027bd35f6474e4d19735b18aa0638050e79ee24095794cd9c436a8ca5c61354a82b9b2bbf52313ff40e692fb
+DIST vivaldi-1.8.770.9_p1-i386.deb 48744200 SHA256 62e8c10087e979eeb0e29eb986bd2e85f9d69aecc730f96770df94ca199ea5e1 SHA512 0bdefab8ecedb326ab4a9dd14d3596a4128708bbcbcab5f2ce14f6f92d2f5f09ea64bc9d4a8322b08f0bd89f9b0c33bc2f8f21ea189b8225a6dc487d76b1d212 WHIRLPOOL b638579f041ddc8eb699447e151998408c1e5f8b9d59b3b533e242ca836d373f48b761f740395f11e5a5552196d3b79f38ee30a0d168842345123c09b76b66b5
diff --git a/www-client/vivaldi/vivaldi-1.8.770.9_p1.ebuild b/www-client/vivaldi/vivaldi-1.8.770.9_p1.ebuild
new file mode 100644
index 000000000000..5d07a6a24a74
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.8.770.9_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
+}