summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-02-07 10:18:59 +0100
committerJeroen Roovers <jer@gentoo.org>2017-02-07 10:20:25 +0100
commitc95fdde2c02966f1cd3deaa93ebe706dce1fde14 (patch)
tree5055f3550aced1624f5430f7eb548edaca9def7e /www-client
parentsys-apps/grep: Removed old. (diff)
downloadgentoo-c95fdde2c02966f1cd3deaa93ebe706dce1fde14.tar.gz
gentoo-c95fdde2c02966f1cd3deaa93ebe706dce1fde14.tar.bz2
gentoo-c95fdde2c02966f1cd3deaa93ebe706dce1fde14.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.7.735.36_p1.ebuild116
2 files changed, 118 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 43c3202d2878..2b26f31cf8af 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,3 +4,5 @@ DIST vivaldi-1.7.735.27_p1-amd64.deb 48995474 SHA256 8a6c6c1a6230d523ddc160dd6ac
DIST vivaldi-1.7.735.27_p1-i386.deb 49351052 SHA256 6bb58274a4ccd25d806de003ebe97a350ba61735743f217cdb6a0a61f8138f4a SHA512 eba3c317ebc8152bd2140c7d8c5db03f3b03a737ff4442d4ad7ea42d8f9d6d7f346acb29f2d6abe2357849795c7d079ed501261cba28152232c2fc45c6f794df WHIRLPOOL 9e8d0ca4384037f2218da1c6cc2b52dd399a71042f3efc304687985e131a1ed63d5d65b0c8f3cf883102f71bba309ad09c01cb8c52f54f0ccc59339611a4fcea
DIST vivaldi-1.7.735.29_p1-amd64.deb 49026302 SHA256 13f8b9e68bc3f99f0efb3c7eb65ed45ec3bcc2cf80b41b732311f2b72cce36c5 SHA512 d284c232f6f0281a998c3b7ffa8c96eea9c92c67b59f23b19583f105eb3b12487b6ecefe6d1e8c97c83eeaad9b7ffbf78f2264e267c78e4cd09767c3c3bae2c0 WHIRLPOOL 03431048fd4b61fe429ea028443ca6520b255f7dd90a5793f66f392fe513e9efad27b6006e3504e141efa3351929dca54465d2cc2922bc6e3c9d988bcdec0599
DIST vivaldi-1.7.735.29_p1-i386.deb 49333884 SHA256 ba3c41be62b56b186f62c3140f5b023f27d4547b5db39ad7cafae755834e96ec SHA512 461e76dc6a17ededd1453ad71522461020b0aa4fdab7ca2a0f21fc6a1a7d80ad7e3b6e3c4eca016cb60673a905d2099aae4121160fd791bbdc7c209f14d27584 WHIRLPOOL 708188365fed06f8c3c1dfdc0ef84c9b036ecb4c37366d05bea84272bf78bc1a51549a29a4d94227242442d5077fbe7db45a022def1f8d815e7d5aae23a6296b
+DIST vivaldi-1.7.735.36_p1-amd64.deb 49037372 SHA256 7c739c0b784ed9f7f387c0dfb6b18da028c69428806ef76987b185c5458c16be SHA512 0a5174c10f07d04fffbc7325e57703f865c0dedc9f839d0c14ceda0f3372ff79c7100457fa2cb4e5c0e6304f94652797b47aad3eca55e9100b28e7fa79bdfec9 WHIRLPOOL 83d6cd1893d72943b859c998ef10973e2948bde6880584081cc62a209961bd8b0e3ae0adb063a3ec8db83c38fa81e74705309463989e9dee7e40261086820ece
+DIST vivaldi-1.7.735.36_p1-i386.deb 49350138 SHA256 fb9aade5ec417ca0c9fd1ffa256a154aefc123eeec23c2ecd2b204ab5bfd2f35 SHA512 a80e028cdfa4d6d01262504eda33c9b3a042f6a2e97407a48f0836451229f4fdf8c7898be98eace76ccd10c743e58963f6f63f37b9409f6bddbd70f42166ca91 WHIRLPOOL c8011d4e5c5d2a3fb93b493f218e0046d55e56bc1cfe4d30cffffdc8f1d3f00e82770237e64aca92e0d7799bd8df14a8010d16f491726240bf17d9156275b1f4
diff --git a/www-client/vivaldi/vivaldi-1.7.735.36_p1.ebuild b/www-client/vivaldi/vivaldi-1.7.735.36_p1.ebuild
new file mode 100644
index 000000000000..6216df3dee75
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.7.735.36_p1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2017 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}
+
+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
+}