summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-04-05 20:15:28 +0200
committerJeroen Roovers <jer@gentoo.org>2018-04-05 20:15:28 +0200
commit3313916ddf2dd94ff2d4caec473a3149609860c0 (patch)
treee2519f22def0cbdc42d93f7eee21f3a3175e59d4 /www-client
parentsys-devel/byfl: inherit llvm.eclass (diff)
downloadgentoo-3313916ddf2dd94ff2d4caec473a3149609860c0.tar.gz
gentoo-3313916ddf2dd94ff2d4caec473a3149609860c0.tar.bz2
gentoo-3313916ddf2dd94ff2d4caec473a3149609860c0.zip
www-client/vivaldi-snapshot: Version 1.15.1146.5_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.1146.5_p1.ebuild118
2 files changed, 121 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 797faa714fc..a5032c94298 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot-1.15.1132.3_p1-i386.deb 53505910 BLAKE2B 58e16657f3ffba1fb
DIST vivaldi-snapshot-1.15.1137.3_p1-amd64.deb 53884664 BLAKE2B 3523bd11b183857c94168c674d77a02a2d3872e79e0b7f1bb4aef0d6fb9ca59127c7c52bd698266ca40845120d3872f986c5eb6f2c2d43145c5b55eb660045c7 SHA512 61087a917199ba01a9ccbd346230621babb2be8c780746762085371c3552620b172a4ea0ac1a127b0109b63ce054eb39d5830e0071cafd86e21c492c06d32ad9
DIST vivaldi-snapshot-1.15.1137.3_p1-armhf.deb 47695736 BLAKE2B 45d2f4608eb1fd25df12598d1cad5569842c158426b3138c3bcbd5deb8cbac6dde903574c7dcb441132516832817556629d0d3ce9989d991de069b5907877b6e SHA512 66607bc306803ede1433f8be2a05c553b642971b8c2f33045b34e6da4db2f4054787132293d45dd641f969109d98b61e4427bfca74f9e05cb85f0d9160abbba3
DIST vivaldi-snapshot-1.15.1137.3_p1-i386.deb 53523790 BLAKE2B 4d76c2cd30aa9184129e3e98593a5fb7e18337ebe098a6548b8d86b26d3b9b3bd5cf5b830a44bf167695c256784098feecaf34ad25fdf322cec1f0c1f03bceda SHA512 00e180fcc4afcb934a702d23ab45489c2c47576d10070538c08b78a1b3109d5f55733a84af91f75178df9816e8d3d69c4253d5140dd01b1b9540a9316b4b10b7
+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
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1146.5_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1146.5_p1.ebuild
new file mode 100644
index 00000000000..03b567d27a1
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1146.5_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
+}