summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-02-09 18:47:32 +0100
committerJeroen Roovers <jer@gentoo.org>2018-02-09 18:49:51 +0100
commit0b3e3b60e2ee24a6a0e30c23a2f2abca967085ab (patch)
treeb8539d9c9a0bd09dfe870ba5b68fdb06904a1468 /www-client/vivaldi-snapshot
parentx11-misc/xembedsniproxy: drop old 5.10.3 (diff)
downloadgentoo-0b3e3b60e2ee24a6a0e30c23a2f2abca967085ab.tar.gz
gentoo-0b3e3b60e2ee24a6a0e30c23a2f2abca967085ab.tar.bz2
gentoo-0b3e3b60e2ee24a6a0e30c23a2f2abca967085ab.zip
www-client/vivaldi-snapshot: Version 1.15.1094.3_p1.
Package-Manager: Portage-2.3.19, 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.15.1094.3_p1.ebuild119
2 files changed, 122 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 5c35adb92ff3..7bb914024cc9 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot-1.15.1089.3_p1-i386.deb 53023142 BLAKE2B f713fa157d38e85ba
DIST vivaldi-snapshot-1.15.1090.3_p1-amd64.deb 53474510 BLAKE2B dc57070b1bd36ca8fd9b57676631468c8146ec7849cdfedf6b51118ea79cf287f354059be0af3a154c3a387d0029b73f08166624a28ba63fb7dcd0808bb8e332 SHA512 a2d937873ad6ad213a097c20bb063e3a9a582916a4b2b91a5b3f86c7db3c170f7455ba43b36cd5862580ddbc11494c1fd547e40c0a0538484008fca99991cb50
DIST vivaldi-snapshot-1.15.1090.3_p1-armhf.deb 47271950 BLAKE2B 41df28f35809dd2dd252f92aeca8cf1dd71c00e71d1046b163b50aadb0ec6c2eeba369ef8d12eb3b970d3319ecb436df9b352ea66ec6254e7ba3a4ee363cdbe5 SHA512 1aacf2a66fed3d65cda72c0ab7982659afbed6705620853bb7f1e0e9430adcae1fb0679b0554cdf631339e0ab6c01c58499cc21a6d9b1de38b6c0b1727c1596d
DIST vivaldi-snapshot-1.15.1090.3_p1-i386.deb 53030952 BLAKE2B e41461d06aec3d4741d764841dcc616aa0aa54e52b8a4865b655b28fb4f64e14d4c81977eb84ab63dfc345282d3ec2f50a8c872f6adad04f4a8042c5b1a95a20 SHA512 03fb4b93ad51708a34bfe78cb09325592c19159fba25182219442a83cc6240d97e2be4a59673e946c9b32c27bce04ed13bceb12b3033f71b8264ecc057ceaa35
+DIST vivaldi-snapshot-1.15.1094.3_p1-amd64.deb 53493344 BLAKE2B 9461a42a8c124cffca67eef511d571ec42bfda7a4b28a6fadca71b2ffe51027ce231fba103efc7a9883a6250dd9b00c0dc39cbe35c39722c90002538bb1d8eb2 SHA512 59f000ded4b7b38a1709975380d1ba53a2a419223559b5e0f9820197b275e11db142c9c9539576b40650ca8f4068cec66c879877c2700b23caf5b5e7bb37402e
+DIST vivaldi-snapshot-1.15.1094.3_p1-armhf.deb 47288992 BLAKE2B b4f43ff658ecdfa0e0f2d36fb3dea43f03e7b3f6cfced22dd4081031124df451cdb51c85818051b15b878b5a4c43c0fa2b020bb0a328fb0311e448d812150e93 SHA512 6f2c9a09a92459fd26d97a605a4b39af9f190162113164feb47028cf7176e0a3244613982b4e734513e1fce79707b47a99c6bed23cc45d8c7e2ceb7ea4834d98
+DIST vivaldi-snapshot-1.15.1094.3_p1-i386.deb 53039128 BLAKE2B 0a07cc1e97d9f76fe41ca7a73b6c7ee3e358b73ba54337f14166d2c61cf7de6eb4a6599b61b107ab063e005a3f91adc0e9df145d5aa0c6b1293f8c0e2c11a6d0 SHA512 93cdfe9c8359cc779c32c167a5453d46ecab3333cb33a2a2992fd4636cf4722b3cc58342180a6d782acd1eb25fa3bbe36895e941c2e5f8ee2dfd17b1090920f5
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1094.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1094.3_p1.ebuild
new file mode 100644
index 000000000000..ee9ad44cb619
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1094.3_p1.ebuild
@@ -0,0 +1,119 @@
+# 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-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
+}