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.2.28
  • Loading branch information
Jeroen Roovers committed Mar 16, 2016
1 parent f117ac1 commit f5d3353
Show file tree
Hide file tree
Showing 2 changed files with 111 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 @@ -2,3 +2,5 @@ DIST vivaldi-1.0.418.3_p1-amd64.deb 43991410 SHA256 8fdc29a3308d95f85d91b2129ad8
DIST vivaldi-1.0.418.3_p1-i386.deb 44552770 SHA256 b0e07d388276d41c170cee07500384f1e996ac47b332a83785d1c52b34dbdf9b SHA512 9b8d691edaab936d6ce32f7b473ea6d68b0387df819b76795481b553e2fc6a7bd878218eb06b47588abe0e3cbbdcb920742b4e348d56c691b37c447d4eac6117 WHIRLPOOL 76c6b450afba2e20470106010e8d9b4a5cf4f88f7d51afac33e45d5f50c3e7ec68d77f7505722278281830cc1053eb207f00fdf03ba7290f0f6e063a2fd5393c
DIST vivaldi-1.0.420.4_p1-amd64.deb 44768090 SHA256 c96f1c6b267b420ba67372270acaa59b17845d0b68a17ce6aa4b106af33c4798 SHA512 9c5d47f3ac22e1db9c2a69e56078b4575d005b6f254dffdbfc42811e765357a97431806389841a47d34a78a192e5ca32f128a41b513ab7193697dfbe331c5b41 WHIRLPOOL 5fd068835a899c25f2c7bd74f5d7bdc0f84cd8cf12c8d311e19f157de5c6195f7b140db39278e73aeb9cdaac2bd0b00ea016254c13f1eb5f03cc45becacb19d1
DIST vivaldi-1.0.420.4_p1-i386.deb 45065664 SHA256 38fa929beff0abe907a2fde658b721f19b64cb066a500aee3eaf77490d2cbb79 SHA512 0074fc5d9b7295586d976210639132a05955664bc5be787fcd8855f2531919f0c709d537c40bbee988a52fb08ad3987b41dd1ed817918fdd71c05cef17855454 WHIRLPOOL a1db4a535dda5b48fd7b49348c55e7574a6a26c4875d45e800cca77639e68c19cac05247ad7471e86af374e73c600cd568273a98fb165da36375b5a6ad53684f
DIST vivaldi-1.0.422.8_p1-amd64.deb 44779844 SHA256 9a6445c36e09c547dc905fb268d36ff86fed3049a8a6898105428777e4c72459 SHA512 2a3cec260e08adac5dbbec2dbd4e0a3ffbd32d96b364777c7a75be71665d084efda01bd547d8ef66e4e9cb272e0ee3c400c6b92559ae6df24dd0bcacfd89e843 WHIRLPOOL 6fcfaefb43c2608575c6f60c5359c8162045388d6ca1cf407fdbe313ec818159bd073a0a57e812d175b95abea89744335d55b4ec0d4053763fafd3e0c73b1354
DIST vivaldi-1.0.422.8_p1-i386.deb 45119244 SHA256 787a6a669c3b5786139352905b526303e48219ba211ac2573d8d8410c7df2874 SHA512 b2f1aebd69766c036d4304d22f7a26ef5d92341145dad84a81943e04aef6986cdb5e5d181cc867fc1a00cc4feafc0aeb3bdeb3b1472f2e8d24afb60d10f4dc8a WHIRLPOOL 497f850116a68cf095b6ed62bffb10c7c6a699e0345bb4ae3b4d7fdcfece731f9c9f879419d53ed45b04f45ea2d32e8283f1661ce5e8c979d0ee448079d7da15
109 changes: 109 additions & 0 deletions www-client/vivaldi/vivaldi-1.0.422.8_p1.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit f5d3353

Please sign in to comment.