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.26
  • Loading branch information
Jeroen Roovers committed Jan 6, 2016
1 parent f692378 commit a7610fa
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 @@ -6,3 +6,5 @@ DIST vivaldi-1.0.352.3_p1-amd64.deb 42632770 SHA256 1955098f9acfa54c64db2990555c
DIST vivaldi-1.0.352.3_p1-i386.deb 43061366 SHA256 e6837239d26ace6c6e374d3d647b3925d8131c8fc76bf74c1c27bae45fc40e1f SHA512 e931107d5dec6d60084bda2b07506ec104fab00493f26f4765d3b6b99a0cb3b24fb51d01c645c83c533157d1764e29f928aef01f6b6b598859b0b7af2e50a833 WHIRLPOOL 8c3d913539131b4dd568fdff8216ab6d3ab2b3639fd42aa527e5a09523e82b965e1457d6193cc54c3c7e2f99c4d44a57e1ff5637f94dd918c6beb10cffd74039
DIST vivaldi-1.0.357.5_p1-amd64.deb 43095128 SHA256 67e9bd5735b5fe832cc6ed60897af40c1675c4dd3807b6da6904c992ddaa7200 SHA512 14b41d0a573fcf0eef405bc589266019d7001ce4764248a1cd36b59a024cde909d608fdb5238899ea72a4cff45d612db3d48fcb754b377cdfaddbe8c6dee9f2a WHIRLPOOL 2a39ba44af3c57c6caf33bf21cea5c5d21db93dcaa75969092b8afd68ecab36438e81406c75cf5996821ce3619580416dc4e3eb29f2d0f62790a1ec755483962
DIST vivaldi-1.0.357.5_p1-i386.deb 43588314 SHA256 cc6d1a0e737e05aa9627f63ff8e81db4c516ecea76cfa16c39843affaf9404eb SHA512 ea30685d72b4807914fd40a014f0aa25c1fba64c8c5cd61171cc2e8a25b592be7963bf60cc2f204ee2cc55965bb85d92b8a1f1dbd2b653b41834fbbaa1a7d92f WHIRLPOOL 171619009c1530972067168f0ba2bef352008025c6a5434de42b3641a9a7e3d8b72257f9d158d7d96ab46ae46b22240c97ca8ff0f60eccc0677967f1c065c89e
DIST vivaldi-1.0.365.3_p1-amd64.deb 43086610 SHA256 85c7eb864a9253760af6effcaab68cc5aa9a4fcb3245dbcad09c712af2e03056 SHA512 ef1cba79f074432864489bc23667f4ac15cdf62531c92414a15b2d069e99fc7a391745f710ad9b3945bfe663dba8e73f4ae93a3966ae40d0f52c6cfef3f3eb52 WHIRLPOOL 4b81374c9fef7762884aca11404d3574fed0ae5aa805518e5064233e049b91b20ed136a8c3cf5ee50c05cef616a5a8eef6ea26e27bdd807caa9c3fb61611fe29
DIST vivaldi-1.0.365.3_p1-i386.deb 43656870 SHA256 d06b25fa23815749e326d91f5a226b2688c0a607c8896747aa7571fd0fe6bb8a SHA512 9b7c3807946d546497f7330eeb00ece77c0d1433e24a2ddade837c85d3ddff47b3a225c638f8bc69844ad95e5654a25a182c3fd6f36de44581b0518efed84f3c WHIRLPOOL 31e711dd966f81dd7d4cdb661c2df09c1b629256afa2f8134565c0d7e5e122e6e6dfdfd5b2c85d39c086e5f487f04d797c619234a174f76a71942ac8cefa61ab
109 changes: 109 additions & 0 deletions www-client/vivaldi/vivaldi-1.0.365.3_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 a7610fa

Please sign in to comment.