summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-12-22 13:11:01 +0100
committerJeroen Roovers <jer@gentoo.org>2017-12-22 13:11:01 +0100
commitb04023f2c1ebae8d2c5e2aa5cb4625847e682a74 (patch)
tree01be593aed81a8ef3708b54953ee2bf56b430432 /www-client/vivaldi
parentwww-client/opera: Old. (diff)
downloadgentoo-b04023f2c1ebae8d2c5e2aa5cb4625847e682a74.tar.gz
gentoo-b04023f2c1ebae8d2c5e2aa5cb4625847e682a74.tar.bz2
gentoo-b04023f2c1ebae8d2c5e2aa5cb4625847e682a74.zip
www-client/vivaldi: Version bump.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r--www-client/vivaldi/Manifest3
-rw-r--r--www-client/vivaldi/vivaldi-1.13.1008.40_p1.ebuild129
2 files changed, 132 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 9637d7d2cdee..12f75399851a 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -1,3 +1,6 @@
DIST vivaldi-1.13.1008.36_p1-amd64.deb 49264956 BLAKE2B c262a9e5bf247f69b57def5ebf3422ab82c1d6f1a9a580499ceff95abe1bd14c2ca507bbe4686bd33c6503d7817aa30665660017a4c07578a2c169e8bd955551 SHA512 0a4c51a347a9936a695a815fd303d93a650c967bcc40dde56dc3a278436a38f39643080dff25f702c2acd4338eef79db4e15474c95fb65248c358fd1c346ce62
DIST vivaldi-1.13.1008.36_p1-armhf.deb 45159082 BLAKE2B a5b2efa5dca3a9a65ee872f793279e5f44cd7c0c3d28310265cbd7241c5bae387b51d5f54070381ed25b634444336273b3a0cdaaf2c9c15d858d6681b875e221 SHA512 b04cc01713c535d8d5efbc11567e900d9f2dbaadec8885082f5bee770093cc024b089d34fc11906cc67171065b1ac2e7f514bbffce9fbfe673dd13b83f4dfc40
DIST vivaldi-1.13.1008.36_p1-i386.deb 50137690 BLAKE2B 4e4e36bfd830076a5236d5a1a5711672f0235862f74186dcf9e5c1ed43b8727051fe86dd119afb3fc6043309844eddd888daa563c6276b1fff5ccd200f6b77de SHA512 abf2d654678c8194dc6a5ef7a0b856ba81320c90648268ffcd05aed9407053dfc99ce359a6ecfc0f32455fdb60cd76003819a9c900ee51e03baed409685f8af2
+DIST vivaldi-1.13.1008.40_p1-amd64.deb 49253000 BLAKE2B 539ce6ad91a58b3a200231f14b45f7ea6e40753e211f9fe6df10865deafbac03ec7f48cf2c00885c9255a0811831830608728e944475158585be5be094e4aa9a SHA512 73e3ffc9e02b6930e2d7bdbbf2719ba2c8c50e06b4025e591be8a9a5f70e41cc572a168276f011102445f69c8a8d8b760b4a49d261f1c16107282921efda250b
+DIST vivaldi-1.13.1008.40_p1-armhf.deb 45155072 BLAKE2B cfc16940a7f97149907a2a95c195665ebe6d69bf1858d7fca2ff45868fc6c883877ac1ad294694c73ce4945227494552434cb685881a9212ed0e355e51c973e3 SHA512 7b636a8d4f9be825c126863e6761e2e0a1c4a07147984872f46678f1014b70c712071ba7ce15e65d0253d37a70c08e74a2a9fefa0c1f6c356445cb9e2dbcc84a
+DIST vivaldi-1.13.1008.40_p1-i386.deb 50136764 BLAKE2B 5513beb2acb1dc762da778224f81798baa7fcc866876173fc3ab5d060cd6889b3c743927ac30082f75bc35d6a1e17833de3d37805132158d672e9d23e9c6bd59 SHA512 a11e007c2a986c8a360972d98f1e1bb6dca769e2a091e13f66b5b83f675cf00cd48646dc1a0bd37ab87a32c067672d4cce26558d0e9f062739bc6f093c9cd19d
diff --git a/www-client/vivaldi/vivaldi-1.13.1008.40_p1.ebuild b/www-client/vivaldi/vivaldi-1.13.1008.40_p1.ebuild
new file mode 100644
index 000000000000..6465b7a8a84b
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.13.1008.40_p1.ebuild
@@ -0,0 +1,129 @@
+# 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 gnome2-utils multilib unpacker toolchain-funcs xdg-utils
+
+#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 )
+ arm? ( ${VIVALDI_BASE_URI}armhf.deb -> ${P}-armhf.deb )
+ x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb )
+"
+
+LICENSE="Vivaldi"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~x86"
+RESTRICT="bindist mirror"
+
+DEPEND="
+ virtual/libiconv
+"
+RDEPEND="
+ >=dev-libs/openssl-1.0.1:0
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ gnome-base/gconf:2
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/speex
+ 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
+
+ epatch "${FILESDIR}"/${PN}-1.13.1008.32_p1-libffmpeg.patch
+
+ epatch_user
+}
+
+src_install() {
+ mv * "${D}" || die
+ dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+ fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}