Skip to content

Commit

Permalink
www-client/vivaldi: Version bump.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.0
  • Loading branch information
Jeroen Roovers committed Aug 8, 2016
1 parent b2292cd commit 98a41fc
Show file tree
Hide file tree
Showing 2 changed files with 107 additions and 0 deletions.
2 changes: 2 additions & 0 deletions www-client/vivaldi/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ DIST vivaldi-1.3.544.25_p1-amd64.deb 46261536 SHA256 2ba9b4b983f55902d2b127f97fa
DIST vivaldi-1.3.544.25_p1-i386.deb 47791362 SHA256 7ed55c6004a83369b0b7cf1a0db986a8000b44f3d7fa8e745742f6592513939a SHA512 4b6f013484f0db3f19b19b1d1409a91d5de7f09b23b1dc0b2736cdade1520932e47bcf1a5990f7a1041fe094a8b58a5311b30018c179f4d4116a379c30b07b48 WHIRLPOOL f94ac2dec85bfe106b3a48fbcfad951b37fd768e21ee0447f56ff837140594b49fb9587dcd5e84d42f8def17ec3c0f5cf244ab69995503672912e212a0cd365f
DIST vivaldi-1.3.551.13_p1-amd64.deb 46298272 SHA256 84b2bda7309e9857fe52c87c2c3b1e0ab134a0564ad875d6b976fdfb89fdc56d SHA512 5c10c12e4473e0818251618f7a4eb0d4973808e22108f12e97a449e0d5a9976dcdba088b1fff8cf2e25fa8e0dfc2854e26d0bc57abc884456aa06c46feaa76a5 WHIRLPOOL 68bc7fb409aae0edb0e3f9a85c6ef673a1fd59d8deb2e00340c35d3f51880c518883b4fd2ecfc8d9b0754a9092bbe121e45e325afa731bf9b7a0d56d29510223
DIST vivaldi-1.3.551.13_p1-i386.deb 47789796 SHA256 b1890d159df5fa8a07316f8f42ab82039edd1100087f077128b55229db9dc4e3 SHA512 fc493c21c1c016733c7d31d92fcd3768c0f7417acaa206fe34a1a494fddbc34a1a4985b3f0b585d3a5df81ddf401013dadbb9388c9f652bb3bbfeb38710818f6 WHIRLPOOL fc24d4da86cd2e37c741e7138e417bae08a6a42d1108d5dd55ac46f160f8f92bc5aa246a440b3140c77ca6f44c1fdf86d33362fef02ce0cffc2208203d7543bf
DIST vivaldi-1.3.551.21_p1-amd64.deb 46288174 SHA256 6324549a0ae704590b59d1b9db3507c33ff15431b4fddcc69956df4d8c284dd0 SHA512 fe093e847501c392a1845eb9d07d5a8adfc1063c8b6954d549804a9a2601a59915763f6fe9626da7131943330771c97b5a17ab25cc0b5149912f2db7e7cc0495 WHIRLPOOL fb719756b6cee26fa1d24215eb4e58fc17721f29c87d6607b1d3a5c8651d5bbfcb7e2dba9458384e95882abbe1c786a6466aba64a948ac80fb7ee9fef161caae
DIST vivaldi-1.3.551.21_p1-i386.deb 47688122 SHA256 03646362a2896018ae45ed7ebe825b92cc55376e08bbc6ee2cf5ab7556b75e85 SHA512 eda5f81c9e61fe0383216da98bb60b39223652979fb5dc1ee4e4176573372904a9c4905fff549c1ab6ca24b253c729497f806c82210ed872e5bbc26883cfaf0b WHIRLPOOL f718b1a0eab5cd1d131cd511e5f2f44704d60ecd4d9b10e327350192c4cb7325a53a8d056bbc2bbd5eedbab51bf7b78ae91af44e725ea6d2581373363ba31a60
105 changes: 105 additions & 0 deletions www-client/vivaldi/vivaldi-1.3.551.21_p1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# Copyright 1999-2016 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="https://downloads.vivaldi.com/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|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
chmod 0755 usr/share/doc/${PF} || die

rm \
_gpgbuilder \
etc/cron.daily/${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} /usr/bin/${PN}

fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox
}

0 comments on commit 98a41fc

Please sign in to comment.