summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-12-12 15:56:58 +0100
committerJeroen Roovers <jer@gentoo.org>2017-12-12 15:57:09 +0100
commitf078792758161f2b90058fb9f6f36bafce183512 (patch)
tree6b7c416ecfc69106883b8b00a98003e30d808655 /www-client/vivaldi
parentnet-analyzer/prometheus-blackbox_exporter: Version bump to 0.11.0 (diff)
downloadgentoo-f078792758161f2b90058fb9f6f36bafce183512.tar.gz
gentoo-f078792758161f2b90058fb9f6f36bafce183512.tar.bz2
gentoo-f078792758161f2b90058fb9f6f36bafce183512.zip
www-client/vivaldi: Version bump.
Package-Manager: Portage-2.3.18, Repoman-2.3.6
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r--www-client/vivaldi/Manifest3
-rw-r--r--www-client/vivaldi/vivaldi-1.13.1008.36_p1.ebuild129
2 files changed, 132 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index bf8a98b72da2..9782b43a44e7 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -1,3 +1,6 @@
DIST vivaldi-1.13.1008.34_p1-amd64.deb 49259224 BLAKE2B 32756c71b42942c087dc563688225ed9013d8de3da3e788b5aba62ad25d08237e2a6583d50379f0a9a3d2ab1258250adca4d302fec563a2d63f04c92a51a6349 SHA512 4d26ee227a11eecbb32062dd66de2ac64d94f7d523c83dc815ed5125b0f0ea86cc52a7877777d5df4135eb5755693b1772cc56b18d799d70dc46558826278b68
DIST vivaldi-1.13.1008.34_p1-armhf.deb 45154158 BLAKE2B b77e8c8d6cdfedf8f69edfdafbb7199aed4d3753934c1196f2a1b90bf137bd91dde8e2ff58b2fd4afd0317a0a8443ad5dd568d5e505bbf5b6fc0da2926b4eddc SHA512 f47f2d26e8045af9ba680129feca765cf3f9dc7ea76930071e9688ef50aa78a482b40ba5747fb4470d30520177bda371ec79e5a210a93dcf2e49251425001c6d
DIST vivaldi-1.13.1008.34_p1-i386.deb 50147426 BLAKE2B b595c78e85a8a1bfe08554a7e85db7969ffa798488b053a5254bf819f82f015033a98793696a293e2080a8d1dafb30cdcd9ad30a6ae7717b95ee7bc4e5613643 SHA512 450f0983ff753fb64fe9c588f151e9a6b5cd04f4c2fd03a41e8a1af28ac3db0088a3a408eacc9394f2dee589381d03037d06601d8d5a50274b867a3b708206ef
+DIST vivaldi-1.13.1008.36_p1-amd64.deb 49264956 BLAKE2B c262a9e5bf247f69b57def5ebf3422ab82c1d6f1a9a580499ceff95abe1bd14c2ca507bbe4686bd33c6503d7817aa30665660017a4c07578a2c169e8bd955551 SHA512 0a4c51a347a9936a695a815fd303d93a650c967bcc40dde56dc3a278436a38f39643080dff25f702c2acd4338eef79db4e15474c95fb65248c358fd1c346ce62
+DIST vivaldi-1.13.1008.36_p1-armhf.deb 45159082 BLAKE2B a5b2efa5dca3a9a65ee872f793279e5f44cd7c0c3d28310265cbd7241c5bae387b51d5f54070381ed25b634444336273b3a0cdaaf2c9c15d858d6681b875e221 SHA512 b04cc01713c535d8d5efbc11567e900d9f2dbaadec8885082f5bee770093cc024b089d34fc11906cc67171065b1ac2e7f514bbffce9fbfe673dd13b83f4dfc40
+DIST vivaldi-1.13.1008.36_p1-i386.deb 50137690 BLAKE2B 4e4e36bfd830076a5236d5a1a5711672f0235862f74186dcf9e5c1ed43b8727051fe86dd119afb3fc6043309844eddd888daa563c6276b1fff5ccd200f6b77de SHA512 abf2d654678c8194dc6a5ef7a0b856ba81320c90648268ffcd05aed9407053dfc99ce359a6ecfc0f32455fdb60cd76003819a9c900ee51e03baed409685f8af2
diff --git a/www-client/vivaldi/vivaldi-1.13.1008.36_p1.ebuild b/www-client/vivaldi/vivaldi-1.13.1008.36_p1.ebuild
new file mode 100644
index 000000000000..2ac2dc21f15b
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.13.1008.36_p1.ebuild
@@ -0,0 +1,129 @@
+# 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 gnome2-utils multilib unpacker toolchain-funcs xdg-utils
+
+#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 )
+ arm? ( ${VIVALDI_BASE_URI}armhf.deb -> ${P}-armhf.deb )
+ x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb )
+"
+
+LICENSE="Vivaldi"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~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.13.1008.32_p1-libffmpeg.patch
+
+ epatch_user
+}
+
+src_install() {
+ mv * "${D}" || die
+ dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+ fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}