summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-07-18 11:00:15 +0200
committerJeroen Roovers <jer@gentoo.org>2017-07-18 11:00:15 +0200
commit836833ff6b433fa60a81337284966013a9582b6f (patch)
tree13ae2ea4f4e25e61cd838f36d7564fb9f4d4adf2 /www-client
parentsys-fs/udev: ia64 keyworded, bug #625456 (diff)
downloadgentoo-836833ff6b433fa60a81337284966013a9582b6f.tar.gz
gentoo-836833ff6b433fa60a81337284966013a9582b6f.tar.bz2
gentoo-836833ff6b433fa60a81337284966013a9582b6f.zip
www-client/vivaldi: Version bump.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi/Manifest2
-rw-r--r--www-client/vivaldi/vivaldi-1.10.867.48_p1.ebuild115
2 files changed, 117 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 29d14125b013..abae16a35367 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -1,2 +1,4 @@
DIST vivaldi-1.10.867.46_p1-amd64.deb 49224610 SHA256 4f2b4e4a20ad95391cf08427924afc1e616674e7c76e4758fd9653186d4a8400 SHA512 30a31738bb1cee29cb10d7d8b3e726f86c9aea5060033b9a8a9f92e62c2272868dcc64e8b6a03744fd7eb77c2797ae754da1d9484603dcc1885a30016e82a286 WHIRLPOOL d99d3093e6cc17b4dc66792b611c992a516c085f51a6a5c9329f7096ce3d1bb11a0169d39a907d36fed04670520dba2e7ba2209fa3e0a977860428d10c82337a
DIST vivaldi-1.10.867.46_p1-i386.deb 50187162 SHA256 f25c6403831f91a7c0f680f3c1d87f0d27b29c138ee32cae98b33f51939cbb41 SHA512 971e217b298076a159e2eb54791eb7eb12db408b9611a5c6789c8142a8750da2b2ab7bc8022ac3cb021b19b4087c45f79ee26096f1a42af5650319881d99fa9e WHIRLPOOL b36f9bc217f91049bdeb7ccf490165fb2141bf91f3c868a6729a7dc001eaf2718a643f9022b931940f4598b6a14ca56a852e2df1333a22286d4068d1d73efc6b
+DIST vivaldi-1.10.867.48_p1-amd64.deb 49241778 SHA256 8c861fd373536a3c0f588541c184cbfe17c903adb09f3745141eeccd752156c1 SHA512 b2fbe5678e4c6e8bad846c96da57469c12ac1e711bb6da320cebb740f6ae7939e85d2924c4655a0e02a4a83714744815ccb8e4a1f0dbee78e7550e013218dc27 WHIRLPOOL 0a5c09fb57b2abaf9d1ef507e73dada892a35715b7c907b3bd17efb5a8612fda24bf47719fc473b36b0cc308a154c464b73a04a7f48c43aaf0f8eab327a87d2e
+DIST vivaldi-1.10.867.48_p1-i386.deb 50182570 SHA256 5a8daaa56c3e0044d0bed6f2014395dd57c013380de9c68576e175aa5c55fa98 SHA512 5d2fc1e0fcb9bc4a534b654dfebc6b6e98e86a90508616657630291b8a0fd5c18c37e57421cf1e4daefcfc688cf319765d7ab3fb9ed883b3a38c92059d2985a9 WHIRLPOOL 17731536518ffdc0d2bbf5da880c6dd71e9e68bf112577e33f06a494d873b7b654fdea5e77fef0f605d23709628d70f054738485e7b93cfadc040b32041784f2
diff --git a/www-client/vivaldi/vivaldi-1.10.867.48_p1.ebuild b/www-client/vivaldi/vivaldi-1.10.867.48_p1.ebuild
new file mode 100644
index 000000000000..e1012c4fc05a
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.10.867.48_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
+}