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.2
  • Loading branch information
Jeroen Roovers committed Nov 30, 2016
1 parent 3b223cf commit 5e15690
Show file tree
Hide file tree
Showing 2 changed files with 112 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.5.658.44_p1-amd64.deb 46838072 SHA256 d43cda11f6d9dffbdf3a0f7d29b
DIST vivaldi-1.5.658.44_p1-i386.deb 47084314 SHA256 480169e43737269215216bfcbb07fce54a7674cd27801eda083967b275ab97b3 SHA512 d9c48c8c944132771f65791c9fc0c741602dd0ccfb0e30d84cdfd5afddb0269f779bdf093faffbc50dbd3dbb0557e1e30ac030b10ecccd6a534b3fcdfddaef6c WHIRLPOOL c823678af01496c426793e940ed7a9958cc7c8ffb1fbb51f3fbb8abf7744e5b4f6c0a3da3d7f26c4ed00fda77756ff4c6103baaa53590e2951d60dba7c36d683
DIST vivaldi-1.5.676.6_p1-amd64.deb 48136128 SHA256 bc148032c12f3cd397987425b9d9f3db14ecc2e0156005dca8eb659718f7debd SHA512 81b198225b2ddbd62a96e1aa4c51cd0b4905c246e9cd63723574c081870a9473e23108d1680c72e0aed90fe9c2823edeae4204b0dc2803ceeee3e37ca18e140c WHIRLPOOL a56df0c83d4d6d80f3afee9c11c603189d514ece01f7cfe503c84605a797e3e35a50ecfb24bf32d68f8feba5868f23467a0a51510e5f45367e96ad43393d309c
DIST vivaldi-1.5.676.6_p1-i386.deb 48436566 SHA256 231a6af7898a00b0c4f491081aa4fd5a2fe09618e8d9e08e7d13eff8b1ce0191 SHA512 052b9060ff88141dd10056b48c56852772253a6058da178c6aaa4b69a982969c78c393bd0bf5ed9c2d692dd602e95635c8ec1a5d0f2a374b3b47ab1bb4536115 WHIRLPOOL 0a658bcf7576698c4d0cfaaf2e388ca2376bec2805d3cbe62648a53e527bafd899e5cc12dd3b3083d4122df0866d3e409c9ff6958628190a83336d3bd11ad2d6
DIST vivaldi-1.6.682.3_p1-amd64.deb 48626980 SHA256 51738c7247d9780fc4d57c263b7eab4c042a85e6f215152c32d97380d13cb66e SHA512 274d96e5484a4ad3b4a63ab0591d0a9798edcadbba0e784b46c7630632a7fea473f790d30f64ca812e26f0dd04d069ae17b9c41daf89ef14ba9398ce3e568716 WHIRLPOOL d05c366f143f926d355e4a86a85710d0a5c5003917089374226901d967209ffd42b01b09e9cd488020595e72d33cc12f9c5724ce361b4187c2a8c2bf241e466e
DIST vivaldi-1.6.682.3_p1-i386.deb 49039272 SHA256 1e58b8dd0a5ad4a6630a36fcf5d5ec2601279b2b67d63e95bc45be0d4e392579 SHA512 08eac88f05fb194fff7a77a233d68b595fa62927b97b93d791c95b9851ceade5b5ae5df4a8e3fada96ac6f841e0151f59fdc2b0b23fbb0c891b4e77a21950679 WHIRLPOOL 7e10b57a090c2aa537a6033e27e31d67632f5eb0b3c79e02a852cd9c3a1d8169fc4c97fd6209a1e0c280041e87949cebc4cb51278e9f0d2de1bd371c3fc1dd2b
110 changes: 110 additions & 0 deletions www-client/vivaldi/vivaldi-1.6.682.3_p1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
# 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 es-419 et fa fi fil 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-2 eutils multilib unpacker toolchain-funcs

VIVALDI_BRANCH="snapshot"

VIVALDI_PN="${PN}-${VIVALDI_BRANCH:-stable}"
VIVALDI_BIN="${PN}${VIVALDI_BRANCH/snapshot/-snapshot}"
VIVALDI_HOME="opt/${VIVALDI_BIN}"
DESCRIPTION="A new browser for our friends"
HOMEPAGE="http://vivaldi.com/"
VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_PN}_${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}

src_unpack() {
unpack_deb ${A}
}

src_prepare() {
sed -i \
-e "s|${VIVALDI_BIN}|${PN}|g" \
usr/share/applications/${VIVALDI_PN}.desktop \
usr/share/xfce4/helpers/${VIVALDI_BIN}.desktop || die

mv usr/share/doc/${VIVALDI_PN} usr/share/doc/${PF} || die
chmod 0755 usr/share/doc/${PF} || die

rm \
_gpgbuilder \
etc/cron.daily/${VIVALDI_BIN} \
${VIVALDI_HOME}/libwidevinecdm.so \
|| 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 5e15690

Please sign in to comment.