summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-09-06 20:03:47 +0200
committerJeroen Roovers <jer@gentoo.org>2018-09-06 20:03:47 +0200
commit4cb79261ca457dc5f7347cce1ceec782272f24b4 (patch)
tree2e3b78a671b3ac8867ed269592e9e29f0ad964bc /www-client/vivaldi-snapshot
parentwww-client/opera: Old. (diff)
downloadgentoo-4cb79261ca457dc5f7347cce1ceec782272f24b4.tar.gz
gentoo-4cb79261ca457dc5f7347cce1ceec782272f24b4.tar.bz2
gentoo-4cb79261ca457dc5f7347cce1ceec782272f24b4.zip
www-client/vivaldi-snapshot: Version 2.0.1295.3_p1.
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'www-client/vivaldi-snapshot')
-rw-r--r--www-client/vivaldi-snapshot/Manifest3
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1295.3_p1.ebuild115
2 files changed, 118 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index bebe4736d51d..3f8db22894ed 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot-1.16.1259.3_p1-i386.deb 54436966 BLAKE2B 8e35f0ff901004fc7
DIST vivaldi-snapshot-1.16.1279.3_p1-amd64.deb 56431884 BLAKE2B 517a287feeb0028d1ce7baf8203a50e6f16ff8b12f0f5909cab1e83157a538dd6ebffbfc8c49015e453971e1e39404865b291293c9e5801106882f8004e2195a SHA512 bfb6cc6bdc72dcb8ae45d2e0675151e3a813bab7174dbf13f0dea5bcbf47a86119e58e7473cac3082350b3392e188d7dd50a7f6f6b1cfbb9dda14496a6693b25
DIST vivaldi-snapshot-1.16.1279.3_p1-armhf.deb 49864320 BLAKE2B 58a6982e930ab7178221ab98c3785020b7551854ac00be98429168c40b4b09f4eea82a75b917b01b28cb5feec5f7be6327de4fc98e60538af3a59e338c5fc477 SHA512 f60946f86ac3a304da738f674087a57819989d015f625680ce0fb66ff37e70b1b37be77f72d23d000f91c8f27b92a6a29db0e3ef0dacd0e1c9031e72d30ecfb5
DIST vivaldi-snapshot-1.16.1279.3_p1-i386.deb 55556044 BLAKE2B 2783e593a081bf7f7e6594c3a6ec3d9d8b5f8a8f965b7b129d4bd3019a7bbd01881806c2d9b4c9b9c9048340c4c0f806497dd8e7e54c6dcb2f959fe8496bf970 SHA512 3b9a56dddcaaacdf0d8e0cc95342389a97b3bce918179c374a0a55564ea1e6590a227641a5dbfe0c62ea647c5f2a431f81ab349a7e72f95348ebbd4ef45d3776
+DIST vivaldi-snapshot-2.0.1295.3_p1-amd64.deb 57416930 BLAKE2B ee2f36b1f8194b26b0a483ae14558a238ef18c430a9c0df7dfb634d29445be41e3d20085c770f4651867ce191133c3169e3bc5df6bbf8e4ad990b813c98bffa2 SHA512 2360785eb2ef0690a7c349434e7d1578fbb8159bdd74f2c518fd46cd188e877514d6f5e583cdf386119b96504b8ce725ab521d6dd69f49eb0554759112c0b44a
+DIST vivaldi-snapshot-2.0.1295.3_p1-armhf.deb 50800434 BLAKE2B 52d93913df567a1c32ed79f027b77b57b75e9d6e532169ee3e9b3427fb90c4aee8b4a1029f42a7be8f558dac5439a41e76d0f8868f5dca45983dc626948474de SHA512 c6adc12a7db4cb5049d1786242bcac8acefd59e875512f318c08c9d49d2fb117970dc413a8729248f31cea1f9d5631e9749dd608d4fbccc51a220b454a7ca95a
+DIST vivaldi-snapshot-2.0.1295.3_p1-i386.deb 56660352 BLAKE2B 5fb8baae790176deecaa99f79fff81b3b62b580f337d849a937eec31ae5507abe6de5bba9589817711b2bb732e5fefcb0726d1ec8803811e47d21ddf0275029b SHA512 522be155c89447d91a46f8fcf325f1f343f37c98392280e7d9dbb8eee938f1721f025e744f19a6c7a87fc2ad8ddfc9844bb3de69622f174bfaec335106cddea0
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1295.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1295.3_p1.ebuild
new file mode 100644
index 000000000000..e897c38d5d11
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1295.3_p1.ebuild
@@ -0,0 +1,115 @@
+# 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_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
+}