summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-09-28 21:27:30 +0200
committerJeroen Roovers <jer@gentoo.org>2017-09-28 21:28:01 +0200
commit471c3077e8e7a49a01ef89387b4087bfbfa8e93b (patch)
tree28c3576028e363bdc1c115d2ac6a4a496c99857d /www-client
parentwww-client/vivaldi: Old. (diff)
downloadgentoo-471c3077e8e7a49a01ef89387b4087bfbfa8e93b.tar.gz
gentoo-471c3077e8e7a49a01ef89387b4087bfbfa8e93b.tar.bz2
gentoo-471c3077e8e7a49a01ef89387b4087bfbfa8e93b.zip
www-client/vivaldi: Version bump.
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi/Manifest2
-rw-r--r--www-client/vivaldi/vivaldi-1.12.955.38_p1.ebuild114
2 files changed, 116 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index f4870eda701..3793f21d67f 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -1,2 +1,4 @@
DIST vivaldi-1.12.955.36_p1-amd64.deb 50500430 SHA256 12775223bfd916d8792dfbfa4d5cd5985def263ab6eb9e1ce5de6fec17d9063a SHA512 5344b94fcdd0c30bd0c8ee6862b0e2c4e7cc71f0ff9a221c14d0cb35b40b79053a3d9b4c9c6059b4f7ded26890e7dee25c7c23b8e5869b1b1290bcc45dc1f7eb WHIRLPOOL 0ce6fcb2f99ade1f15cd605f5f642ad17e56f4336e1a1662243ebb20579a6d9d745728c4a74f72cde86a3469434398baf4d34bdf2d2ea5dd216a7119e2575ff7
DIST vivaldi-1.12.955.36_p1-i386.deb 51560038 SHA256 5f5e378f9911eb61e805a0da3d612c968fdb7ac21470d32e768a54739265de4d SHA512 8b056c1032195348860271553c7e5818cf456c61bd81b9bbb8cab85182232d994898e65660f04d8d6a983f503c4b4dbf55b7478387ac11126ae680e6ba41dca7 WHIRLPOOL 27752dcc1bbfcbdc2085117ef0ed44e715b64e3a095bde42dd5feecf551f4c665fcc99cbdb7e22be48f8b56e762beebefec665bb8fabc2a492c15e91222d2b45
+DIST vivaldi-1.12.955.38_p1-amd64.deb 50507742 SHA256 1c3fb2c2ecac7a9d54a641fbbe59743b85de6ffc896b600bcf26dfb98dd601af SHA512 1585e8717376e92cfce30aadda19d2b7cff2136bc0c0f9bbe7d438f6a7d57efcbce5cbdedf66c45103032f03873d544b699e1d6a07f13bafbea3d12c5a2817a9 WHIRLPOOL 30d9eadb320e5163925b4b36c984653c67586cf062954decb49d24fa322fe76b1ac0f6cc8c94d0d973346e475edceb76d0964e73ee688c1b8d14cdca08e6cfce
+DIST vivaldi-1.12.955.38_p1-i386.deb 51539886 SHA256 489ddb25d0854bfd1604d051860fba2c5d555f0b32c4f0d4a21a00728c7ab111 SHA512 285a4c55530c01bd0c19944cde34f37ca08b54153b674a029a1f0b6288b0b92b1addff39a32a880c2bee2389664c601348d46b4da405d77b5d73218a95e82336 WHIRLPOOL cec03f316346fd4bd2235dd9c8c02c3dd0da9424b22535e22ba664697c066c4918f5b849dac9069a8356a8f3070d62058245c78ed8977394370a0215e4a739f8
diff --git a/www-client/vivaldi/vivaldi-1.12.955.38_p1.ebuild b/www-client/vivaldi/vivaldi-1.12.955.38_p1.ebuild
new file mode 100644
index 00000000000..31012c00e4f
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.12.955.38_p1.ebuild
@@ -0,0 +1,114 @@
+# 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"
+
+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
+
+ epatch "${FILESDIR}"/${PN}-1.11.917.43_p1-libffmpeg.patch
+
+ epatch_user
+}
+
+src_install() {
+ mv * "${D}" || die
+ dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+ fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox
+}