commit: 2c8cadd238fa04c3582057184205fe2f46fb64f8 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Thu Mar 10 18:12:52 2016 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Thu Mar 10 19:10:36 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c8cadd2
www-client/vivaldi: Version bump. Package-Manager: portage-2.2.27 www-client/vivaldi/Manifest | 2 + www-client/vivaldi/vivaldi-1.0.418.3_p1.ebuild | 109 +++++++++++++++++++++++++ 2 files changed, 111 insertions(+) diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index b200295..3c5368e 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -2,3 +2,5 @@ DIST vivaldi-1.0.403.17_p1-amd64.deb 44005668 SHA256 18a6b14f9340b00b61e4e1433a3 DIST vivaldi-1.0.403.17_p1-i386.deb 44537126 SHA256 30833b37178e57c061b63d85c63858329b2a67db68b4d3cb6e843780972d3f97 SHA512 3b7c03d8b6926cc5bf696ca2aeb19aa13b41b84487730c45f823303cac2704a1ccb8170479c4b0d9c08190c2b5adcb13391225f401f86d58b0d38ca3d20db5d5 WHIRLPOOL cc65888ceeb6caa57302172315750f9cac6788dadcb7a3bf835dcb9b6f29ac5ddfa7b4acd0b2a0ff68be64baf380d574222fd37c47f391c7974a64b71926ff4a DIST vivaldi-1.0.403.24_p1-amd64.deb 43946418 SHA256 43d3c487a65383cf1872ac84a54f21b3f1972a8bc124aa2f5d0bd176d51a8188 SHA512 5754b32d2b2def9e00131cc952b2a14f3baa0563c6aeb3c3d17daa8e30cf39f00ef2df046291ac5ec910b2e2d2ff4e55325e4f0fee05a05233921caac10050c4 WHIRLPOOL f400f04b58e8409a4efa12a30186f01608e9e267e28d4219bdce2811985acd50c03708b33094220cace6cf29b459c5f75d95e77db3f716cae7ecca8de42b3103 DIST vivaldi-1.0.403.24_p1-i386.deb 44456202 SHA256 d05a3ee4803c88dd4fd7ecee63e3d4659554f6403590091d10f665396aed5139 SHA512 f6a0b280b88d43115af4950d0fed77f3fbc3f49c74f52b60f00722c5a3d042f7853ee3bbc4ce7b19b0cf42a2d5acf869a7cd1cc636162b7486ff88055fd8a063 WHIRLPOOL 5a23a6d1a04b68023031f7db980b7ec6049ecae1748a80900c66642d7d5e9851490102c3964550aca6bef0438f94658c57d2ad727e226e23ba4597d4f863b6b0 +DIST vivaldi-1.0.418.3_p1-amd64.deb 43991410 SHA256 8fdc29a3308d95f85d91b2129ad8b7c30fb33fe7b7138f0f25824ba647221a6a SHA512 b9faa7339773da657cfb89c882f2e7158130e550270b74a860bf727311899c0a9a1c61df2ece9badfad5bbe122922eacfefb14b809ffeacc9bd64143f5c31eed WHIRLPOOL 27cc130deded401d095f6a89d274ba9bde15c3312d526d3ad58b651043e2b3274453e47417f75fe78429b5fbea1a90762fc7ff50d5ddd18cf55ad2908ce486d2 +DIST vivaldi-1.0.418.3_p1-i386.deb 44552770 SHA256 b0e07d388276d41c170cee07500384f1e996ac47b332a83785d1c52b34dbdf9b SHA512 9b8d691edaab936d6ce32f7b473ea6d68b0387df819b76795481b553e2fc6a7bd878218eb06b47588abe0e3cbbdcb920742b4e348d56c691b37c447d4eac6117 WHIRLPOOL 76c6b450afba2e20470106010e8d9b4a5cf4f88f7d51afac33e45d5f50c3e7ec68d77f7505722278281830cc1053eb207f00fdf03ba7290f0f6e063a2fd5393c diff --git a/www-client/vivaldi/vivaldi-1.0.418.3_p1.ebuild b/www-client/vivaldi/vivaldi-1.0.418.3_p1.ebuild new file mode 100644 index 0000000..f985379 --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.0.418.3_p1.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2015 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_419 es et fa fil fi 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 eutils multilib unpacker toolchain-funcs + +DESCRIPTION="A new browser for our friends" +HOMEPAGE="http://vivaldi.com/" +VIVALDI_BASE_URI="${HOMEPAGE}download/snapshot/${PN}-snapshot_${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} +VIVALDI_HOME="opt/${PN}-snapshot" + +src_unpack() { + unpack_deb ${A} +} + +src_prepare() { + sed -i \ + -e "s|@LIBDIR@|$(get_libdir)|g" \ + opt/vivaldi-snapshot/vivaldi-snapshot || die + + sed -i \ + -e 's|vivaldi-snapshot|vivaldi|g' \ + usr/share/applications/${PN}-snapshot.desktop \ + usr/share/xfce4/helpers/${PN}-snapshot.desktop || die + + mv usr/share/doc/${PN}-snapshot usr/share/doc/${PF} || die + + rm \ + _gpgbuilder \ + etc/cron.daily/${PN}-snapshot \ + usr/bin/${PN}-snapshot \ + || 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}-snapshot /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox +}