summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-03-17 16:58:50 +0100
committerJeroen Roovers <jer@gentoo.org>2017-03-17 16:59:45 +0100
commitcc53495583ad0209a3ff0872450e7fbc00f8bf64 (patch)
treedcdcf1ad90cebfcf84ca3b530bafebd55e0e8199
parentprofiles: Default app-editors/gedit to python3.4 single target to fix install... (diff)
downloadgentoo-cc53495583ad0209a3ff0872450e7fbc00f8bf64.tar.gz
gentoo-cc53495583ad0209a3ff0872450e7fbc00f8bf64.tar.bz2
gentoo-cc53495583ad0209a3ff0872450e7fbc00f8bf64.zip
www-client/vivaldi: Version bump.
Package-Manager: Portage-2.3.4, Repoman-2.3.2
-rw-r--r--www-client/vivaldi/Manifest2
-rw-r--r--www-client/vivaldi/vivaldi-1.8.770.32_p1.ebuild115
2 files changed, 117 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index eadf5ffe60cc..11c4b49b84cf 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,5 +4,7 @@ DIST vivaldi-1.8.755.3_p1-amd64.deb 49083550 SHA256 3d8cd86ca9cec0e8a4f6f33e89f2
DIST vivaldi-1.8.755.3_p1-i386.deb 49367744 SHA256 1deeccd760b227997442881c93c3cd2853aefd01d06798c40e280ce777493160 SHA512 9ec0050006e72b1d5702ec656b54fd9e2c0582e10f15c4c6eef0efdaf2e0bf1568f776671eb00291f9080610759e32708424d8bd8693bc19930fee8c108cbcda WHIRLPOOL f2304097e7bc642fb181762c7478f83f7c65741d703218083248d4268f3332cd1a5df09c2339665ed640e43f3e7f2eb7cd94959ba9277b4545feba618a28fc82
DIST vivaldi-1.8.770.25_p1-amd64.deb 48131966 SHA256 a101f9a910afd844765d9d373e1f131c56bda5279b0163f04fe3522ab163b1a2 SHA512 f4fcc842d908b994f7396219905594979d1c81dcd1c4f9f79097265c2dbb8debce423274a38c54973f4449a881ac14003e8b60b834c0516bbc657c70591c9d95 WHIRLPOOL 66c48770a31aa636f88e619946f344569cfc5481d3021288f5b7e7c08df76062ec160f2686956967b2dd9b461b952417fd47a75bd6d6c2feb3dcd4feca8d40bb
DIST vivaldi-1.8.770.25_p1-i386.deb 48777036 SHA256 c1c96255d5b781ea8cf3cc5345f58f312d9ac51465b16220c412d553aae25a76 SHA512 4f0b1cf4503907af942170b4572e119cf0701675036a842e77118aa5bfd6bc9a8bd2254a5077517a330c808aad477299fca0260857e4b985d68fc985bdb86f68 WHIRLPOOL 93fce149d0ee0502dc969271001e1ce60891300d9f7c7b00c156c01052a71ab03f0be995d89f75d7b2a31770a09c04b25cf28f840dc8be2eba71bdc1df7a69ff
+DIST vivaldi-1.8.770.32_p1-amd64.deb 48312646 SHA256 f02eee62e3abafa80ce3bceaefad40314db96738a51ea1bab99ed43b93b93c77 SHA512 1ce9e88d2ba64cd233e7fb4327cd3ff57e46d0b293375448208165ffc942c6a22674bbebbc9345b46fb3d2903b4e007aa1f4f1c3e40d9b2131ef3d64c5653653 WHIRLPOOL 327dce146fc10682425d949df401ad6cbfca4226bd8f84f48f7ada907e18569ce3d6162b770618af648eaf21276f9efbd84e893a442eced34bd18bcfec9f201b
+DIST vivaldi-1.8.770.32_p1-i386.deb 48965766 SHA256 f281a8443856713daf57a60602569e8a1d071e0a7f836352deb6440b3d7f8e85 SHA512 82df3eef2539d14358e05b7455981aace5449649c9872094692f9e06c40e64c3e982a766e3009c0e6c9d4e48971b010ca8d12fcf128d49d3705a4b334d9f7db3 WHIRLPOOL c67dc6fec827875adb7e75b4c0586081e5b6cf83b9f1dff9ca8de4298b591eaba3f9e1e5d6c329f42ac0c4d78296f569ba6e7faf2d0700ab539657d325d15d2f
DIST vivaldi-1.8.770.9_p1-amd64.deb 48117956 SHA256 416a36545aec879482d84eedd3b2513cc984925a3c1c37111b3776d92090b109 SHA512 20e37a2143c39e58ad64f9efd618634ff67f9591419af709cec6364c50906be85af8fdf1295003ecc64860dc6f969855542be8a90347a39e448e14bc64fc8998 WHIRLPOOL 7fe45904929ccf3cda1838ebded7211c2a66d43e027bd35f6474e4d19735b18aa0638050e79ee24095794cd9c436a8ca5c61354a82b9b2bbf52313ff40e692fb
DIST vivaldi-1.8.770.9_p1-i386.deb 48744200 SHA256 62e8c10087e979eeb0e29eb986bd2e85f9d69aecc730f96770df94ca199ea5e1 SHA512 0bdefab8ecedb326ab4a9dd14d3596a4128708bbcbcab5f2ce14f6f92d2f5f09ea64bc9d4a8322b08f0bd89f9b0c33bc2f8f21ea189b8225a6dc487d76b1d212 WHIRLPOOL b638579f041ddc8eb699447e151998408c1e5f8b9d59b3b533e242ca836d373f48b761f740395f11e5a5552196d3b79f38ee30a0d168842345123c09b76b66b5
diff --git a/www-client/vivaldi/vivaldi-1.8.770.32_p1.ebuild b/www-client/vivaldi/vivaldi-1.8.770.32_p1.ebuild
new file mode 100644
index 000000000000..5d07a6a24a74
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.8.770.32_p1.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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}
+
+DEPEND="
+ virtual/libiconv
+"
+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() {
+ iconv -c -t UTF-8 usr/share/applications/${VIVALDI_PN}.desktop > "${T}"/${VIVALDI_PN}.desktop || die
+ mv "${T}"/${VIVALDI_PN}.desktop usr/share/applications/${VIVALDI_PN}.desktop || die
+
+ 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
+}