diff options
-rw-r--r-- | www-client/vivaldi/Manifest | 2 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-1.0.352.3_p1.ebuild | 111 |
2 files changed, 113 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index bdbf185f14c7..d7d4e5d5dfef 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -2,3 +2,5 @@ DIST vivaldi-1.0.344.34_p1-amd64.deb 42600754 SHA256 c5f4ef24b8d5ca0494d87c50580 DIST vivaldi-1.0.344.34_p1-i386.deb 43128298 SHA256 a15a28073ccbda20f6f4786033113c12faa5e63e8be7784c60389ec7e738e4ca SHA512 af22a299f0c237e17f1bb9fcd041c2d91e21ede902ee162b7d30c9c04b8e2435382279af9d5a824e31ffea30cd419df6c6171fb8f0b54d8a94fdb56d4e1c8178 WHIRLPOOL a948937d0e4399f7918133e652477d0534c5d053ea2339ffea5efc77c5daf0c01f027e32da0b10d22006b3b7e09c07aaa26005b367aaadeed40d9949180ea4b3 DIST vivaldi-1.0.344.37_p1-amd64.deb 42697192 SHA256 f23c4616446e6b1b3e4f532fb336d3d586974ee2fe46ada17be65d23216817be SHA512 45b26f6a231591ead08d94922943f2ee0ae8fb097f58d531198706d003cbae98816687c761131ee252680d09beb79691436c11136d08b485206f7fb60b0dd1fd WHIRLPOOL 8d3661b2c7b4407582825ebbdcf0dfc89ea4fb6df858e435fcfe8de86cfa9cce5a7daf9715575c7e9cb2cfd04bf64a5538bd0de066f371cbeaa1cd409e7c9697 DIST vivaldi-1.0.344.37_p1-i386.deb 43127066 SHA256 04755b7feb3ed03eb4f4d0dd52ef713a22479fb412bedeadc31087ea42e3234e SHA512 eb0dc8d4fda8951942effbc3d46a05a346315a192fd9207be93e2b810f2628349c66b45ebb5c530524a8592b13a04907de4a1b045f75c43ca4affe1b275c554c WHIRLPOOL 8f2bcf613758cf026676d345d54b21982485efb8d138f99928eb8907b47c50b12d1cebe2ac5e136843b1de46db2717e24f14861c1b3daaeb2d881a5b7d9fefd9 +DIST vivaldi-1.0.352.3_p1-amd64.deb 42632770 SHA256 1955098f9acfa54c64db2990555cb93d1b7426c9c87745849c589e5cbbd42347 SHA512 dd89996d6903b51123c52c396fb54fd349761aacd94758fedd4e4d46d2cf7d1ca89758033cc30baf0189e462950eafc0b3fe8de430102cb6e6a7fbc92f5de461 WHIRLPOOL f98813338aaebdf43ed05ce6f84dc745d0d45502ec75bf12293255ec245d38ede712324b75dabbd5443c1693cd7b9611d5341bc235e538e649b3f7bfa10b1612 +DIST vivaldi-1.0.352.3_p1-i386.deb 43061366 SHA256 e6837239d26ace6c6e374d3d647b3925d8131c8fc76bf74c1c27bae45fc40e1f SHA512 e931107d5dec6d60084bda2b07506ec104fab00493f26f4765d3b6b99a0cb3b24fb51d01c645c83c533157d1764e29f928aef01f6b6b598859b0b7af2e50a833 WHIRLPOOL 8c3d913539131b4dd568fdff8216ab6d3ab2b3639fd42aa527e5a09523e82b965e1457d6193cc54c3c7e2f99c4d44a57e1ff5637f94dd918c6beb10cffd74039 diff --git a/www-client/vivaldi/vivaldi-1.0.352.3_p1.ebuild b/www-client/vivaldi/vivaldi-1.0.352.3_p1.ebuild new file mode 100644 index 000000000000..18465b351589 --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.0.352.3_p1.ebuild @@ -0,0 +1,111 @@ +# 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() { + epatch "${FILESDIR}"/${PN}-1.0.275.3_p1-flash.patch + + 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 +} |