summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-04-11 17:53:56 +0200
committerJeroen Roovers <jer@gentoo.org>2018-04-11 17:53:56 +0200
commitd3b71239168575eee37ec6e1e463f18e59f41f17 (patch)
tree0acad8cba2d8d79169b87649db5d24a46af0683a /www-client
parentwww-client/opera: Version 52.0.2871.64. (diff)
downloadgentoo-d3b71239168575eee37ec6e1e463f18e59f41f17.tar.gz
gentoo-d3b71239168575eee37ec6e1e463f18e59f41f17.tar.bz2
gentoo-d3b71239168575eee37ec6e1e463f18e59f41f17.zip
www-client/vivaldi-snapshot: Version 1.15.1147.19_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.19_p1.ebuild118
2 files changed, 121 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index d3e6fa2acd5..16deaf98446 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot-1.15.1137.3_p1-i386.deb 53523790 BLAKE2B 4d76c2cd30aa91841
DIST vivaldi-snapshot-1.15.1146.5_p1-amd64.deb 53898132 BLAKE2B 13aa11a14e60b4a793b59f6860d34675b47f59de6ccc6393d2cac5ae38150bed776c91a4ca62c0a1020b305449bfad73b925402b3f8fb664d30d9b495bf87fed SHA512 7cb97be022dd0f2345b5e1767b267c6868099cd354693143cae1f0f9c628d2d4c3efdca2e4eec0b59bbae747377c4022ffe5007745029321bcc97e6775bbc6e7
DIST vivaldi-snapshot-1.15.1146.5_p1-armhf.deb 47677218 BLAKE2B b63d6941e71f61683430860aa1b1474f346083f87530e088335796e2cb8a8c7f7b0e910da4f10807f4c29ce51698184205e20be94d25e5f0594338d46d185e9f SHA512 4434ef3f09d181d721498b51360e1305c560b652812f95262721f77c1620d01facfc08e8e3540e825c3c79982be608b79cefc70ae1c4b37932f1e0e2f14fde01
DIST vivaldi-snapshot-1.15.1146.5_p1-i386.deb 53518898 BLAKE2B 6a3d1ec6b435db3889e94cbf3f89def9bf4a8a965244599d087764fb6dda56682d6b134c9f922aff57232e8bf5a9144bcf97ef3ede007b6c3e6c100265244953 SHA512 2e48a7e1ea79b2b0cec09e6dc7dc0fd3005cc42e7275d9bd6cb1df5677cc655f38410cbcb2c828a67159627f03c441c48ef7bdef9e684d2ad6ed5527ba7b15b0
+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
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1147.19_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1147.19_p1.ebuild
new file mode 100644
index 00000000000..03b567d27a1
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1147.19_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
+}