summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-09-14 09:32:47 +0200
committerJeroen Roovers <jer@gentoo.org>2018-09-14 09:39:30 +0200
commit49d2ce04b4eef9a718a2ce16909915d85226fa63 (patch)
tree5123d4deb0049a046bf03ee4367aa37cff2e988a /www-client
parentwww-client/vivaldi-snapshot: Drop ~arm where it is not supported. (diff)
downloadgentoo-49d2ce04b4eef9a718a2ce16909915d85226fa63.tar.gz
gentoo-49d2ce04b4eef9a718a2ce16909915d85226fa63.tar.bz2
gentoo-49d2ce04b4eef9a718a2ce16909915d85226fa63.zip
www-client/vivaldi-snapshot: Version 2.0.1302.3_p1.
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1302.3_p1.ebuild116
2 files changed, 120 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index f68287500a35..6643b3e42318 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -5,3 +5,7 @@ DIST vivaldi-snapshot-2.0.1300.3_p1-armhf.deb 50822882 BLAKE2B 5393580cdea8bb532
DIST vivaldi-snapshot-2.0.1300.5_p1-amd64.deb 57470098 BLAKE2B f29da7b678fff0ba883b65c40ec15c23ead08eafed3f8762cd20fb8269a9ddeae9dcf6363e9f91b0def3a8df9d0a2a4618666ac58c9a934ed98eafa88f68d38d SHA512 c761549c640aea4541d66bad098b0c7ff093694fda6697d0988631900cb9de2ab967e747236dc472a3187a1a61f00807b795e0a48f2bce6f15564db3097c8bd0
DIST vivaldi-snapshot-2.0.1300.5_p1-arm64.deb 49784676 BLAKE2B 367537c04bd40779d25ce42721da807240dda247f43abd79e4bdaaf97d170a26586f3cbdf78561a821b619d268117c99002e49691b98412b137ade078efd871c SHA512 a9c8fe89856f3beac4ea431a2050c4fe00f989137c23f2a451afc95ed1879f81d0e77366de75952325bcf3c1dd9e4eb0992b2b662324173498585724d507e710
DIST vivaldi-snapshot-2.0.1300.5_p1-i386.deb 56664068 BLAKE2B 95a19b0fed3dddf34d5b78f3d8448329db4aef01dd067e8ef6f244edb0cc47f73f6e759c42e79d82ba6089d9ca7d0b40e84444a21873bb7ec3ad6446a83a6458 SHA512 569d771f6ca930be9041a8b9fb7237350adf10f30eb946cb9bc60f56b31a74def0ae3032a86985213de7fdd23a3f13aa4450ecd2d089b2b38c3cfb75a88d7b19
+DIST vivaldi-snapshot-2.0.1302.3_p1-amd64.deb 57459330 BLAKE2B 257abe9f38ca3a3477281ebb277a1e9bad2776364dc11f1eda78c8dbf3e54ce63a8f9be4f747358e1fcff5773ebb21380c41160fd01b7e4345a0663a108916fc SHA512 5d8c8a6488c3ce009208a0428dab291cab9eb50c12accfca8c6c61df30120863e7d9f6ac4ea8a47374a47a7a0902da10649a51f387620ca1d90d6a97fbe152ec
+DIST vivaldi-snapshot-2.0.1302.3_p1-arm64.deb 49802990 BLAKE2B 7a10b44009612be90d598d071153950df5addc6cbd34b1321e9877de25de6bfc1ce2b1709c2ef02915bc051163dd957d467535cec17392eedf4b18d90c564e12 SHA512 a94a2e5004fd36d9aef0d73026b0443a9edeb739e9fd438eacae396fe0fccdaeeb68b3055a3252ee3f26969a9e88c7a8c257085a890dcda4f723478ae0401def
+DIST vivaldi-snapshot-2.0.1302.3_p1-armhf.deb 50843704 BLAKE2B 056ccc1d0e67a2272addc5545d077bbf32aad499354341b4cb1659a6738004bfcf911741f8d228d8153df3d7a7e10629c542b52032c4ba8cb7c88ad86cc3b9f1 SHA512 aad2b698d7111c9277901a46f1c207d95f66a724e45e58225311405b044035118dbdf5fff6de06839d89d8b8607a6fc730425ba83323223f4b96ddc29159c7e4
+DIST vivaldi-snapshot-2.0.1302.3_p1-i386.deb 56656506 BLAKE2B de4f202b5f7f9991b89187f28bc571110e0f2876dce6829857d76dcc8149df68a0a6365292202b9ff4a9aa7a6ced47abd1f66ecf1289d991fd20d873109dfb3b SHA512 40a910f9d1bb2590287ac05f80c56f123d21057e68e5bb9d3f58e10a824a3372d696f922aefc4c81b705c8f1751779ef76022e8dd7236103f6f542571ff42462
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1302.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1302.3_p1.ebuild
new file mode 100644
index 000000000000..20db390fedd8
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1302.3_p1.ebuild
@@ -0,0 +1,116 @@
+# 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 )
+ arm64? ( ${VIVALDI_BASE_URI}arm64.deb -> ${P}-arm64.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 ~arm64 ~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
+}