summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-06-11 23:22:35 +0200
committerJeroen Roovers <jer@gentoo.org>2018-06-11 23:22:35 +0200
commitfda3f9ba0be3f6e4aef2a2836a1f0a35ac9b60ef (patch)
tree4e0669444945dca18b96b5b281650294f97641b6 /www-client
parentnet-dialup/ppp: Security revbump fixing pppd EAP-TLS buffer overflow (diff)
downloadgentoo-fda3f9ba0be3f6e4aef2a2836a1f0a35ac9b60ef.tar.gz
gentoo-fda3f9ba0be3f6e4aef2a2836a1f0a35ac9b60ef.tar.bz2
gentoo-fda3f9ba0be3f6e4aef2a2836a1f0a35ac9b60ef.zip
www-client/vivaldi-snapshot: vivaldi-snapshot-1.16.1206.3_p1.ebuild
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest3
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-1.16.1206.3_p1.ebuild117
2 files changed, 120 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 946180e62c5a..b408c36702a3 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot-1.16.1183.3_p1-i386.deb 53694006 BLAKE2B 6ccea2dd2f6c53858
DIST vivaldi-snapshot-1.16.1195.3_p1-amd64.deb 53983692 BLAKE2B 35d73cdb4f4a7e12adb8c42b27af1a1d04002463747038a5296f1299c7928d88af6875137582f1bdd62dfb53804d9257da27a645d327fb13cd2f8e436a2f07ea SHA512 771fdf4c6c6aa05d3b2a3d533e7b819da6f1a906d5658597bedb4b0fd4d0f17cbc5d72bbe3abf2b59efeedca5d232db38d99dd06b7086e5c31359d34d33e3452
DIST vivaldi-snapshot-1.16.1195.3_p1-armhf.deb 47756024 BLAKE2B 51e9c4796d6d6e8ac1493e0ba9ddb7749f01bfc13dcd77cc07620b97431d2c5e13bb899315098ffbc40ad4036c7a3ee4d48d2e049c75ed2e5510b1107dc37f41 SHA512 202d1c9a3e8910c66229e549bebe9c33787b254aba7e9dcf8f6c2ca3deb7c58235580b9b7fd72dc7923b7b94170359a2ba5c60e89dc5299a6408712b2a904432
DIST vivaldi-snapshot-1.16.1195.3_p1-i386.deb 53584334 BLAKE2B 4214406a36e5b34ccde7a88c873c7dade9a06641bbe22bd56218ac54f3f6150667be7fa9d7eb9f40961e6090c2dd6cb86286db61751091da99449863d87d1304 SHA512 ad86404b5c52199e55b8a6ba1764894a937af22a93f09184a2d07b72c256cbf39796cdfae2c005e2a8a21784ecfdcda223769692cc957e28a297691776895d89
+DIST vivaldi-snapshot-1.16.1206.3_p1-amd64.deb 54026030 BLAKE2B 8fe73fb90f43d1835afef932be441c915c8d8acd930b69abe3b2266331b788d34f7cb41f5d692f2f5161ae9c993ef2bb4985eff2fbd8de17cbe6f84962d76e33 SHA512 f9c220abc42ac73eb0e7042054cc0c70dff75e072abb0793e421c71c0655114faaa047619529e64186e75ecc3d5551dc4f1282dca1b0801ea8d01b1d3763e365
+DIST vivaldi-snapshot-1.16.1206.3_p1-armhf.deb 47758616 BLAKE2B e10a813393e78ed6645b1dda41ec742f275c881769ecc2576364c4c1f0d693959a39c2b924d9a1706a0f431e06ff7cb8f3717685a16b2533f30af739132a474d SHA512 18a1260854e3b8960c53f26239be67c60a87081241456167544c7ca39630cf840ee102093bd69156dce85983821048de71a89131cb4cf4c1b2b083e68d74ffdf
+DIST vivaldi-snapshot-1.16.1206.3_p1-i386.deb 53606248 BLAKE2B 89768824c38ec599d6ba72c918b67784c80c262229121b05ebf0cf22094673a96fb418b6ea825bd6bddd3df555c0911a43baddd4261f95eb7ea842f71192e11e SHA512 4facab8b7d56e6c093286e19b75b1afea9ff09cb93b31c6920641dd7fa5b7cd418295eadb01b9c90ea57ba8654b7605dba1002a8fbb0d8a8afb553e488753a58
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.16.1206.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.16.1206.3_p1.ebuild
new file mode 100644
index 000000000000..0b21131251e0
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.16.1206.3_p1.ebuild
@@ -0,0 +1,117 @@
+# 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 browser for our friends"
+HOMEPAGE="https://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/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ 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-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
+}