summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-04-14 10:12:46 +0200
committerJeroen Roovers <jer@gentoo.org>2018-04-14 10:17:25 +0200
commit8d25357ac2e7af1ec39fb62c43f3c86afe1dd6d0 (patch)
tree3a175a4a6270af88ca7f4574318c4db6700088fb /www-client
parentdev-libs/check: Fix tests (#648920 by ernsteiswuerfel) (diff)
downloadgentoo-8d25357ac2e7af1ec39fb62c43f3c86afe1dd6d0.tar.gz
gentoo-8d25357ac2e7af1ec39fb62c43f3c86afe1dd6d0.tar.bz2
gentoo-8d25357ac2e7af1ec39fb62c43f3c86afe1dd6d0.zip
www-client/vivaldi-snapshot: Version 1.15.1147.21_p1.
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest3
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1147.21_p1.ebuild118
2 files changed, 121 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 2403904b04d..678a1d32e81 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot-1.15.1146.5_p1-i386.deb 53518898 BLAKE2B 6a3d1ec6b435db388
DIST vivaldi-snapshot-1.15.1147.19_p1-amd64.deb 53856566 BLAKE2B 91b5a3adfaa6f9da1a357765d084a3a237373f078d2a4d4511f95c0ed491212cf1390e8d47cac426b28b26e6fa0d3d92660ec82f82e103e465d0c9d036feb361 SHA512 0d60a7503e612eb7c9725874e152bcdfd0da248cc30acae9cc21ed3b46296acab058c8321b1411280894717e3e8be428ac9d0c09b72257292ab66d4fdae3c934
DIST vivaldi-snapshot-1.15.1147.19_p1-armhf.deb 47686126 BLAKE2B 71b986de0fd780366240aa9ce0d3583b675c65acc542577e3b21b5615e23bb0ecdc4fcdc1f01f9ff1cb4a4d16a0f000fc19c501445db1373e5bf26873e7b7c9d SHA512 98038e635590629bfa7f7f2c729e5c0908340ed4f23bc8782c03a201c2c43905711342015963d119b92d2145e117d77f2f75766a68fe0e21523a29a077ed74a7
DIST vivaldi-snapshot-1.15.1147.19_p1-i386.deb 53503206 BLAKE2B 59ee31367e4fe1b61a7646d03ab4eba3edfb43baae86d1f4ef50c53346a9c975425bc6f23b388ea09d658b1f67665f88abda26308e3a1244c7fa3e22d6c5ab9b SHA512 6744f340860014fab40a2103bba84a170ee9c8e185b1b18753afc9a33908cfd9a5f3b494f7e4124dfd3176171f823223baecf14c3bdc84f397ead9a982d47eb2
+DIST vivaldi-snapshot-1.15.1147.21_p1-amd64.deb 53867028 BLAKE2B a55ccae5b2bf9efd70c58f6febbc690c5867d5a94ea195a10111fa2b3ea2eb8172b2283cb59c9cd409a18f2537b3a474ef8004305f3ae6d966669b801d83f6c4 SHA512 42918da73a53d7488da3c9b65d970b29e848e0d35334deeaa36c331a35e8c0e0293fff2412153f1c7290cf2636075d8a49fed9a0051711c6e74a23d45068544e
+DIST vivaldi-snapshot-1.15.1147.21_p1-armhf.deb 47687784 BLAKE2B d7d68474cfd8d446ac999972208d6eb7b52d0d4d1393e847d0f29f0bc307f304567ad731184a2291cef5b274f5d38f8d6e94207f9566942af9de395a9d877d2f SHA512 33c5e6a2a3aeecc77a7d9c2d03ff6d3b584ca79ad71a5d6a14bc334e6a9f114a0ad93b15441a1d1bdf17c175f13df4f4e9aa6d308f2dfd73cb691283af876f0b
+DIST vivaldi-snapshot-1.15.1147.21_p1-i386.deb 53511430 BLAKE2B 8560b61e8f966f42b33799aec75106581ae3cc0ff3f82fd2a46bcf84f55bed65f03c9ba13238e421896ce2162460264bc8df391e660dd0c0fb8c229d41516c41 SHA512 3c1002e67e42cfa49d82a48132261856ff023211d0e204d7787a0faa331a6fb4154078dd31e97119e1bfaba193668dd0454ad1778dfcb853a71788691c92e7d8
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1147.21_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1147.21_p1.ebuild
new file mode 100644
index 00000000000..03b567d27a1
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1147.21_p1.ebuild
@@ -0,0 +1,118 @@
+# 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
+ 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
+}