summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-01-22 16:35:08 +0100
committerJeroen Roovers <jer@gentoo.org>2018-01-22 16:36:36 +0100
commit16be69817ca8b6860569108bcbf3ca17a22431e3 (patch)
tree31be574ebe50ce511ce01f17d6721f6cc9c7eb41 /www-client/vivaldi-snapshot
parentnet-dns/pdns-recursor: Version bump, security bug #644710 (diff)
downloadgentoo-16be69817ca8b6860569108bcbf3ca17a22431e3.tar.gz
gentoo-16be69817ca8b6860569108bcbf3ca17a22431e3.tar.bz2
gentoo-16be69817ca8b6860569108bcbf3ca17a22431e3.zip
www-client/vivaldi-snapshot: Version 1.14.1077.3_p1.
Package-Manager: Portage-2.3.20, Repoman-2.3.6
Diffstat (limited to 'www-client/vivaldi-snapshot')
-rw-r--r--www-client/vivaldi-snapshot/Manifest3
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-1.14.1077.3_p1.ebuild120
2 files changed, 123 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 368f420da74d..3d02619b865f 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot-1.14.1064.3_p1-i386.deb 51362530 BLAKE2B 7ce16ba32329d5428
DIST vivaldi-snapshot-1.14.1072.3_p1-amd64.deb 53508988 BLAKE2B 5c9f61f6b29e507c8a2f3368f8d6154dbf1a302075af7af8a8f5ec253c44ecdf7b57d6e6c4d26818ccb41d9ec25986389487506258aaa8e26cfe2cc0077f4412 SHA512 067bb347c2064b1709bb8af2995182f659fb4dbc4199bc942e2005025aac6672ec0af9944f0692a5cfbc96b78ea42b3e268c96a72b189ffea5cc0bebc1038115
DIST vivaldi-snapshot-1.14.1072.3_p1-armhf.deb 47312872 BLAKE2B 3581fb6a727bb6e26e92b3509d5a96536a2a16ab8d4972f84146daae945f28ac1f80962e0b0023a03053d177c8b56ee7f8ebf162db79d13344802aa3f56eb7ee SHA512 3b61f07cc7258634028f27b1a00aa44b95c3618b8b36803ecdf8e17af9ca0f432456fd758efe1ba8bacffe247e2dfa08b5092776c8f4c9a2aac963553d115293
DIST vivaldi-snapshot-1.14.1072.3_p1-i386.deb 53069774 BLAKE2B 4f3f60cd1c3019d1c947146e90a9a1325a2c14777cf43cb3394078483d47cc8eb417c3bcd2e37db457f11eede3dd7e131b08923a6a2b79f3bb85a809c513aed2 SHA512 6983060e0db5313dee69297e50b5df256d7856440fa44f1e8074dfb3d28e43bac2f04391d6698bd1334d9d407326ffa7e8b1c550bcd0ef8ee151ff48367df794
+DIST vivaldi-snapshot-1.14.1077.3_p1-amd64.deb 53411180 BLAKE2B e04cfee2c6ab7fd4d81942a3232c878be37c5d768f95e1588e007d305e6a050241daa3297a0c069cfeeee4190611594f282a1a233d64e49deb429b6d8adca558 SHA512 cab5853cad74f111d47f9611d7a18a8deee99608aa241eff85988bfb42792b1e642a35ad5847fa09d374b7baeadb7f5afc64655418e5dfbdbf2ff8eee141857e
+DIST vivaldi-snapshot-1.14.1077.3_p1-armhf.deb 47215650 BLAKE2B 3e148d2d05236929a958c6a782f921b9cf82e861a4760db6615daac3d07595bd1393ffdee639cf513cf4d1073f0a350a2277af5a44a0eaec9ef9602698b51a29 SHA512 d782191a9f0d7287a65146df552e18a3cdb32a6bc9972bab6a9e7377cfd88685d0c0e8763c39a870b0031c1f7b10777a98bc3691b6a5c1781cafe7da11c22c6e
+DIST vivaldi-snapshot-1.14.1077.3_p1-i386.deb 52959064 BLAKE2B 4bd5df973212ec0d0e2009e96472deb7c831b2455907c7bd9e7e40ac6a5d6e5aa7d02b6a10e954106ec206404f4055ae0977e1829d58713de7594109aa6514f7 SHA512 8f070e0e00bf9acf2d6b3f1bbb79768b1d460f2a2860bb45122551883ae38aa6efb1e283bdc853c4135e9936f399f0b8656f247102d406e8b861a924f0b2977d
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.14.1077.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.14.1077.3_p1.ebuild
new file mode 100644
index 000000000000..7998894a831b
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.14.1077.3_p1.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2018 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_HOME="opt/${PN}"
+DESCRIPTION="A new browser for our friends"
+HOMEPAGE="http://vivaldi.com/"
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${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/${PN}.desktop > "${T}"/${PN}.desktop || die
+ mv "${T}"/${PN}.desktop usr/share/applications/${PN}.desktop || die
+
+ mv usr/share/doc/${PN} usr/share/doc/${PF} || die
+ chmod 0755 usr/share/doc/${PF} || die
+
+ rm \
+ _gpgbuilder \
+ etc/cron.daily/${PN} \
+ ${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/${PN}.png || die
+ done
+
+ pushd "${VIVALDI_HOME}/locales" > /dev/null || die
+ chromium_remove_language_paks
+ popd > /dev/null || die
+
+ epatch "${FILESDIR}"/vivaldi-snapshot-1.14.1072.3_p1-desktop.patch
+ epatch "${FILESDIR}"/vivaldi-snapshot-1.14.1072.3_p1-libffmpeg.patch
+
+ epatch_user
+}
+
+src_install() {
+ mv * "${D}" || die
+ dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+ fperms 4711 /${VIVALDI_HOME}/vivaldi-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
+}