diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-02-26 12:34:41 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-02-26 12:34:57 +0100 |
commit | c9e84595a59d551f692d502d226c9caa746ad8c9 (patch) | |
tree | 40881f755c4fe2a8979b8b6c7910f75034b56c97 /www-client | |
parent | sys-kernel/vanilla-sources: Automated version bump to {4.4.176,4.9.160,4.14.1... (diff) | |
download | gentoo-c9e84595a59d551f692d502d226c9caa746ad8c9.tar.gz gentoo-c9e84595a59d551f692d502d226c9caa746ad8c9.tar.bz2 gentoo-c9e84595a59d551f692d502d226c9caa746ad8c9.zip |
www-client/vivaldi: Version 2.3.1440.57_p1
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi/Manifest | 3 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-2.3.1440.57_p1.ebuild | 128 |
2 files changed, 131 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index a5f4ed7fbd9e..a80fea35351b 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -1,3 +1,6 @@ DIST vivaldi-2.3.1440.48_p1-amd64.deb 58675074 BLAKE2B b033024d649df0f37446b969897a3fea0dad7b155ffcdc8581c6bc70de18ee31f6eef8095fab0f36bba62261407d913ae7e1de6256a4df771915c8f6e698ce00 SHA512 5b45fda5934c9f3374d5893ce7949a0424a4625db0c399803706441e6a53e936f6ddf949e931ca93a27dc97e9cba9f04e6ac1f1f5a8e03705c2dfac42665e20d DIST vivaldi-2.3.1440.48_p1-armhf.deb 51548314 BLAKE2B 83261994e87b49071181566c47cf341cc39c5608c5857ecb696efbc5a5225c5a4ea82586a7cc5ddd410569d758074f508536ba6194d0eaac7539db5883652654 SHA512 62fe6b215d29009ea575b80f390c456171fe17ce76cfef8761514d4a38d8dc57e42188199c50477aa2b65fd1c10a4698ae83c11c97b0af37ae83b235e1fcccf3 DIST vivaldi-2.3.1440.48_p1-i386.deb 56930706 BLAKE2B 5daaa17e9e5ee8d62e375e7732f7c5b68e76d13c14b59032822ac7b4f5666fade58b873ae24a33fc0c385aea19aec541968cc7d3171910427731d2fa54e953e1 SHA512 a969f8237a339ff1fbfd63f39f4c7efaf2c6fbc5fb312ea4ed4a4ab6225e8858570d0d8f4b63179255bb25bcdc0843be2173d097a1942e400aa3bc05b182cb24 +DIST vivaldi-2.3.1440.57_p1-amd64.deb 58673302 BLAKE2B 85e7a96f7a570a5a1a34e64ac16fb61bad4a0a1438cd21b900734636f0f9a0db0087559efc1d98f2c4f023074c2a20d2739f4f925f98c5ac7ec56aae5ed16998 SHA512 d7cdfe5d052282f72dd52ea256ea6a306541df9ea37f45f300a52e3fd333177915deac96533b4a18e13b791702586c672511867fafc29211421bb34966c3e7b8 +DIST vivaldi-2.3.1440.57_p1-armhf.deb 51559350 BLAKE2B 961b9749c126997719e20927a9086270b073317ce97bebaf1832bae6f04441487793e984e7e66bb403a31146300a6b1d42648bf1f855d4b38b33a17a6e7d5c84 SHA512 40c23703ec06f70ed0c5680cbfc1b6aefaefe910b7f32f8e9649d62773410715739e14a0b9ae3922fbc38f48c1536aaf92cd4c9b1fad0131fb24660cacdddc4e +DIST vivaldi-2.3.1440.57_p1-i386.deb 56929666 BLAKE2B d6eda3df70ede8cb7bc8c56dd26c6ef9528d16b9af2113231d540fb9a96c3561de3e4a67ef445086a9c6770cf1b4f469a4324a3869d3206b7fefc08ec91fdf4c SHA512 0acad393b24bfb9f73c10118a6085f8d171082f4ac8ff0da52583d2a7c3ff863e8ae124363d622e21e63001fd89663a92daec78e25773eadd464fa1e78204984 diff --git a/www-client/vivaldi/vivaldi-2.3.1440.57_p1.ebuild b/www-client/vivaldi/vivaldi-2.3.1440.57_p1.ebuild new file mode 100644 index 000000000000..d3152b11c32b --- /dev/null +++ b/www-client/vivaldi/vivaldi-2.3.1440.57_p1.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +CHROMIUM_LANGS=" + am ar be bg bn ca cs da de el en-GB en-US eo es es-419 es-PE et eu fa fi + fil fr fy gl gu he hi hr hu hy id io is it ja jbo ka kn ko ku lt lv mk ml + mr ms nb nl nn pl pt-BR pt-PT ro ru sc sk sl sq sr sv sw ta te th tr uk vi + zh-CN zh-TW +" +inherit chromium-2 gnome2-utils multilib unpacker toolchain-funcs xdg-utils + +#VIVALDI_BRANCH="snapshot" + +VIVALDI_PN="${PN}-${VIVALDI_BRANCH:-stable}" +VIVALDI_BIN="${PN}${VIVALDI_BRANCH/snapshot/-snapshot}" +VIVALDI_HOME="opt/${VIVALDI_BIN}" +DESCRIPTION="A browser for our friends" +HOMEPAGE="https://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.${PN}.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_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/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+:3 + 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/${VIVALDI_PN}.desktop > "${T}"/${VIVALDI_PN}.desktop || die + mv "${T}"/${VIVALDI_PN}.desktop usr/share/applications/${VIVALDI_PN}.desktop || die + + sed -i \ + -e "s|${VIVALDI_BIN}|${PN}|g" \ + usr/share/applications/${VIVALDI_PN}.desktop \ + usr/share/xfce4/helpers/${VIVALDI_BIN}.desktop || die + + mv usr/share/doc/${VIVALDI_PN} usr/share/doc/${PF} || die + chmod 0755 usr/share/doc/${PF} || die + + gunzip usr/share/doc/${PF}/changelog.gz || die + + rm \ + _gpgbuilder \ + etc/cron.daily/${VIVALDI_BIN} \ + ${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 + + eapply_user +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/${PN}-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 +} |