diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-01-04 20:27:36 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-01-04 20:28:09 +0100 |
commit | b3edda6258bd22261b7ed3624c51ebbf8047bc7a (patch) | |
tree | b978bb6733dfd9bd0141e90177dce9bef91ced05 /www-client | |
parent | dev-php/pecl-geoip: remove old version 1.1.0. (diff) | |
download | gentoo-b3edda6258bd22261b7ed3624c51ebbf8047bc7a.tar.gz gentoo-b3edda6258bd22261b7ed3624c51ebbf8047bc7a.tar.bz2 gentoo-b3edda6258bd22261b7ed3624c51ebbf8047bc7a.zip |
www-client/vivaldi: Version bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi/Manifest | 2 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-1.7.715.3_p1.ebuild | 110 |
2 files changed, 112 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 4f68aeccfa34..e41940509472 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -4,3 +4,5 @@ DIST vivaldi-1.6.689.46_p1-amd64.deb 47467978 SHA256 b4bb48d6ade779f499dfd42a5d0 DIST vivaldi-1.6.689.46_p1-i386.deb 47740518 SHA256 722588ad7acc2f80383ef5c59d086085f31a41ff3eb9f8bb719698ef7fbc0049 SHA512 0d1e2111dc1063f48c70c19f7852ed67ac8cf66f75eaa3a47f14763b852913df9528041a0134b1dfb767fb39b4172335a0c82b0827346f6e9b1966f16026d11d WHIRLPOOL d528597ec6c691152cd10f0ee88f88218259364ca6e31f4ef37d0a71aa1540bf217819aecca222ca8bda26d40bd8d8f834154baa563cddacfbb22555d91dcc66 DIST vivaldi-1.7.705.3_p1-amd64.deb 48668242 SHA256 943fb43314358aa8422122806476cc61b3b2946ff1cb8de38c87486fc599843c SHA512 3fd922baa3b4050c1d4509c8cfffbc0cd00400d525ef09d4a7512ff07839f5fc927eb14952bf3e25c6a22a344d4e2cb1cb9d4e8a8cff7f6dd9d51f024d4a61ee WHIRLPOOL ca68c340a5065742bc103522a8b1bb73bce25138fb8daea3bc501743acbcb589fe22c2eb3c0f4249dcdc800ddcbd217a961db2e346207fb7b8efe2b0a07a40d8 DIST vivaldi-1.7.705.3_p1-i386.deb 49058302 SHA256 cd768073b31ad3ca56d717287aa0e22173b65a5a5d7779ea489785f1d60d9af7 SHA512 bf90b7277028a19c802f667f03c06e86773a325e78b3b6a54b8699e53526b13f09eab803f05fbae4e85fe27f9c671631f6ad1ef2c2de0c84a3bba32313b04b73 WHIRLPOOL 959b57384d2bb3f552b512c403187fc19a83905330eb22c2a2b128b55802f29971bdb171ff7fa3a5d9f822812f2c94b095c2c36cf09826f868724739d0426906 +DIST vivaldi-1.7.715.3_p1-amd64.deb 48656282 SHA256 0e052fd1a875792ffe15bedd740f912c421fb3a2a1264b91b0dca1a9ac80c929 SHA512 e687f28ae4b20595c3421421a6ef4b4cf2c4fff3493398efd82574c08fc471ae914ca7e4eb5d21fec8904b980613c0c5ee8c2cc563b5b100047590d37015bfbf WHIRLPOOL 973141c782c44ae19f955b3af8cd96034933f31333cc1395b808f53034b3b6babadefe5291de1dd04628d81da52bad856a0622670beba60d124df38fef636fb2 +DIST vivaldi-1.7.715.3_p1-i386.deb 48995106 SHA256 0197347d93b6dd248926f454cb5d5d53fed46d973a99ad777c7d606f1440c4eb SHA512 dd4b2338b0fc9525644ba0bf792039ce447e2485f5f210b07c55c195d68e7e07d13c27efb6af8d879f169fffac6f877a3c4f6420834e8201f8a50a4bb9097df5 WHIRLPOOL 169a9bedbd509dcf39c542cc6c81ae9cb6d2fc61dc24c577f56a7f4a4039d9b7a7139f1f184ba3bf6c3e99fbc51a43e05281225bce941ad75378ceaf898d2481 diff --git a/www-client/vivaldi/vivaldi-1.7.715.3_p1.ebuild b/www-client/vivaldi/vivaldi-1.7.715.3_p1.ebuild new file mode 100644 index 000000000000..132fff461276 --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.7.715.3_p1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 multilib unpacker toolchain-funcs + +VIVALDI_BRANCH="snapshot" + +VIVALDI_PN="${PN}-${VIVALDI_BRANCH:-stable}" +VIVALDI_BIN="${PN}${VIVALDI_BRANCH/snapshot/-snapshot}" +VIVALDI_HOME="opt/${VIVALDI_BIN}" +DESCRIPTION="A new browser for our friends" +HOMEPAGE="http://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_PN}_${PV/_p/-}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb ) + x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +RESTRICT="bindist mirror" + +S=${WORKDIR} + +RDEPEND=" + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + >=dev-libs/openssl-1.0.1:0 + gnome-base/gconf:2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + net-misc/curl + 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() { + 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 + + 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/vivaldi.png || die + done + + pushd "${VIVALDI_HOME}/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox +} |