summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-02-05 16:08:50 +0100
committerJeroen Roovers <jer@gentoo.org>2018-02-05 16:08:50 +0100
commit88b62721d3fd7e0fa0b748b79f0bb0becbfdb895 (patch)
tree5cea526b9e35bdef206c7118fd1b214c89f63d3f /www-client/vivaldi-snapshot
parentnet-ftp/lftp: Remove all LDFLAGS=.*-L.*\/lib (bug #646284). (diff)
downloadgentoo-88b62721d3fd7e0fa0b748b79f0bb0becbfdb895.tar.gz
gentoo-88b62721d3fd7e0fa0b748b79f0bb0becbfdb895.tar.bz2
gentoo-88b62721d3fd7e0fa0b748b79f0bb0becbfdb895.zip
www-client/vivaldi-snapshot: Version 1.15.1090.3_p1.
Package-Manager: Portage-2.3.24, 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.1090.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 b40fb4dc5adc..5c35adb92ff3 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -1,3 +1,6 @@
DIST vivaldi-snapshot-1.15.1089.3_p1-amd64.deb 53473298 BLAKE2B d8ebea889bc23b54d695b881b1418b7333894c9f1d0cd5fbf28bfd3e710437eaadac522ad69b89f4ebc454c12e8a4c6bb829feb8555cee40466ad8de985889ef SHA512 6ecb88542c8e365c764734a5c869b2d2f9effbd5463a21be931990fb426233c9925185176a3a2d29da5ca9a785166a2db60847ed89708b76270f600636345f76
DIST vivaldi-snapshot-1.15.1089.3_p1-armhf.deb 47260348 BLAKE2B bc4819126803bccbc664eb60fa4190a87d57a7c04f773f594ae05e27c29dc1a75165dd75588cc3e9375842455ab22b82967013f33f35945c4decfa60f999ca0e SHA512 8ff6f9653ab375fb3e994703c01a53629ca2c8cb4ce9797ff3e500af2da303e632f277cb97661a73935ecb005161554894f740cec9ed58113e728c37172996ff
DIST vivaldi-snapshot-1.15.1089.3_p1-i386.deb 53023142 BLAKE2B f713fa157d38e85ba9d17a6a94cfa24346ee16aff240e0fe8fc842a2c0d5a1b5e892be432a534d0a237a10f278cc79bea24f0db3e012d759f8cbd3df993e6b00 SHA512 d4ddd360fcd61d49aeebc9eb5289629fa47e379a340ed2ed57fd7c777a307bfd10efe1c51be08e21b5b7c0d03ed872fc9e188d57c8b2d6c06db15b48092b404f
+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
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1090.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1090.3_p1.ebuild
new file mode 100644
index 000000000000..ee9ad44cb619
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1090.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
+}