summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-10-02 20:29:25 +0200
committerJeroen Roovers <jer@gentoo.org>2018-10-02 20:30:34 +0200
commitef4e7e9d597c7aaf3e1994f87f9a738b0b0d77a0 (patch)
tree97544fe166718dbfa589a33359b83e5b2afe6530 /www-client
parentwww-client/opera: Old. (diff)
downloadgentoo-ef4e7e9d597c7aaf3e1994f87f9a738b0b0d77a0.tar.gz
gentoo-ef4e7e9d597c7aaf3e1994f87f9a738b0b0d77a0.tar.bz2
gentoo-ef4e7e9d597c7aaf3e1994f87f9a738b0b0d77a0.zip
www-client/vivaldi-snapshot: Version 2.1.1322.4_p2.
Package-Manager: Portage-2.3.50, Repoman-2.3.11 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1322.4_p2.ebuild118
2 files changed, 122 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 3f8cc9647242..6bb3919e959b 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,3 +2,7 @@ DIST vivaldi-snapshot-2.1.1317.4_p2-amd64.deb 58852884 BLAKE2B 887de4a17ef097d87
DIST vivaldi-snapshot-2.1.1317.4_p2-arm64.deb 51161024 BLAKE2B 60c14b57fee6e39a05b9d7d62a327d961c5ec8cb2239b21f51c5f1fa98752f93f86162cec6176a1342d6588e95d818bcb79b2f331ceb11c4ce422f8925922926 SHA512 311cdec2f8063fb20dbb410cddec7013d251971f73d278be8dc5d9843a7901bcd1bd1f6aadfeb1f4fe7df118a31696328cad821b3b85fcd594b2b1d47b5a1fc9
DIST vivaldi-snapshot-2.1.1317.4_p2-armhf.deb 51996466 BLAKE2B c2ed497b681ce0523cd0fbe0eedccdce656357b65bf620b27a80a499ead390af68cf0958d21f0d59af393248e7ed3b896684c9e9cf6d0514af273c4b8784525b SHA512 bc4e5be2c4f36f80a4a19e7530a523b95c28b654f898f34d97ebd72d83754101280355f73bca5388d90b858d4aefd2eb0d836fec9541b069ec6ed44f6c3a8503
DIST vivaldi-snapshot-2.1.1317.4_p2-i386.deb 58080282 BLAKE2B 5da79ebbb45986ab267744ef675c16cc4392742da74610f33f8dc167945b8177531c66664990d53a1ae45d85d82aa3f269bb9c97fc8e18292cf47749c904401b SHA512 c32f14ed23dbc1d174ccea8e9b491de5f2e200a5e2aa5c56ca078b9b4ee03e40f1802113b37343d70a38e716305de6e0588b67cc2a8e12d7526e7456cffd5294
+DIST vivaldi-snapshot-2.1.1322.4_p2-amd64.deb 59786836 BLAKE2B b8bff50bdb60c21274cc4b1789423ca71961539e6ffcaaa25e8085cc98786267d391fc724dbd0153bd11f9c4e1ed1df31d2028d93b9433f6dd76ae415ddc0b9d SHA512 fcb6b4b91cc393f839f77d1cfbffa455779498573bdedf915fd853b8ec37e107f78cfdfc1152053594644b006d336fc70f41386e0d11a83e03f6cb902871addd
+DIST vivaldi-snapshot-2.1.1322.4_p2-arm64.deb 51899344 BLAKE2B ea2583529002760eb79c76110605f2b5600fa244583f6df06a4447b38fb4fc62c4b5fbd4ab9c08c7795a66a48f5c1585b67c540e653ef2adfc2aa8200031f43d SHA512 ee1578fbb3f22dbadafde60b3cc415bd0b2250bcfc61250f57c5c0158ba55a9cdedb44087d6c1995c923d05f765d049d7f77db3d559d6b05e35a3a5e65d02c2c
+DIST vivaldi-snapshot-2.1.1322.4_p2-armhf.deb 52667198 BLAKE2B 5cac3b2da91026ceab5b2cdac5a002ea80fba7dc4b0588443687a04f7bcccf35e83d87de77a50c357acd95a580e50977ca20ced0cad47ce4a02d3dfc8a81b4dd SHA512 75a3fd46eb2a5c3128d8e46eac12cd432da203ff658171725e0f2b833b5fe91bb4caf4f029fb9d4fc1607ab97052135826b7d61bac0d401da1da98a48ce6a579
+DIST vivaldi-snapshot-2.1.1322.4_p2-i386.deb 58598378 BLAKE2B 7f7b205303a8d8eace01c9f94326af2ee6b92cc37c993cc2c18ccbf70e2a27ca16dbdd8f35de400811c86264f1c6374fa7886ef47b4e405edec38e2b05550d85 SHA512 46d14eee44bad24660e9489bcdfc88aa53ee63fb7cf2b81d7f16d23a0c0e26777c0af9059a311444229cf17e1208b2f32bb301c0a07e14434615b600ddacad3c
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1322.4_p2.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1322.4_p2.ebuild
new file mode 100644
index 000000000000..91b5d4fe6abf
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1322.4_p2.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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
+
+ gunzip usr/share/doc/${PF}/changelog.gz || 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
+}