summaryrefslogtreecommitdiff
path: root/www-client/vivaldi
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-03-25 08:15:19 +0100
committerJeroen Roovers <jer@gentoo.org>2017-03-25 08:15:19 +0100
commitb66847ed6c2f904e66c80bc238294d9c229b7ee7 (patch)
tree4a8d83c3af0914eb2aaeecfe1116a07309ee3b10 /www-client/vivaldi
parentd6b794e9406d4ea2c5a5406951be056020ca8885 (diff)
downloadgentoo-b66847ed6c2f904e66c80bc238294d9c229b7ee7.tar.gz
gentoo-b66847ed6c2f904e66c80bc238294d9c229b7ee7.tar.xz
www-client/vivaldi: Version bump.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r--www-client/vivaldi/Manifest2
-rw-r--r--www-client/vivaldi/vivaldi-1.8.770.44_p1.ebuild115
2 files changed, 117 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 7e83ea6103c..b9bc0f105fd 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,3 +4,5 @@ DIST vivaldi-1.8.770.32_p1-amd64.deb 48312646 SHA256 f02eee62e3abafa80ce3bceaefa
DIST vivaldi-1.8.770.32_p1-i386.deb 48965766 SHA256 f281a8443856713daf57a60602569e8a1d071e0a7f836352deb6440b3d7f8e85 SHA512 82df3eef2539d14358e05b7455981aace5449649c9872094692f9e06c40e64c3e982a766e3009c0e6c9d4e48971b010ca8d12fcf128d49d3705a4b334d9f7db3 WHIRLPOOL c67dc6fec827875adb7e75b4c0586081e5b6cf83b9f1dff9ca8de4298b591eaba3f9e1e5d6c329f42ac0c4d78296f569ba6e7faf2d0700ab539657d325d15d2f
DIST vivaldi-1.8.770.38_p1-amd64.deb 48331548 SHA256 b6c96ce520ef72c7244ed91f93f17737b9308b801d70d070c795ce1796ccae4f SHA512 d7c550038a6ebe38beb87fcc0b3de69c67c911d4fd05f812662add381cdf05cf3f34c61148d194a28460b82be600ccd5c4b709c85844e90d3c104f6085c3909b WHIRLPOOL 51a6bc9c83bcd6433a649337c35859738768c642d6554bdd99f716543cdb6250162f88706da66f9068faab2601a0eb6bad018e0ce856544ba5897a053bdf5cbd
DIST vivaldi-1.8.770.38_p1-i386.deb 48958844 SHA256 1714de4fcfb5e98de9f3428fcb11745b6a6b02b56dc4726b32ddc98b99895096 SHA512 095523f30c3108219cbcdc8808a1f749e803ce8befabcff1e4c5e946582b4a3001636ba426e7472dc2993dec3021ab4c56d585c8bb2b7e89c99b03ff7844ccff WHIRLPOOL c5296bafa95a340f8c651fb741c9a05d4b3e7cb0d18e2930051d9b28ba799d3a898ed9f822bc65f76ad380f79552eeabe76907005f1368c7f5237203d3083ba3
+DIST vivaldi-1.8.770.44_p1-amd64.deb 48348190 SHA256 36d4335544fe5fe26f05b5b7226ba535628460404f145d447454295c5f1ba01f SHA512 9350c506ec6b1d4be2b475374d9f22529a8d5bc7041110beec1b726ee6cb5d2a9aacb767bff0803cad907c053e9f70270e7cf212b7b1ca0f4bc41f5a2c414349 WHIRLPOOL 61bd3ff42f308f68c2aaa4cfd43efd1e4cba996c3321732dc8b8925cbf95fd2865e154caead28d02f90b80d3093cfac029b28f008ea5472af3a6b5447ed27d94
+DIST vivaldi-1.8.770.44_p1-i386.deb 49005724 SHA256 f42f3b23e49b09f242ccce02e5d72f7b2631bebe4b90f753435bcc93facd4a44 SHA512 4287316bb45c14e45e147968c74f5ec3cfbb5319bf6afe6ab146ff4597480e71a089e5cd14a4e7f823e5203e9728fc6a3c716ced0210a88016bb60df1ad5b978 WHIRLPOOL 1878388f94ec01d0ebdd1e21b66329c1fda31d8d93f2b9da5753248f598cfd91b1268bb50d940fc63c8bb22923a1de4cfa2b00ed3b0f049c5538cdcb7274ffe3
diff --git a/www-client/vivaldi/vivaldi-1.8.770.44_p1.ebuild b/www-client/vivaldi/vivaldi-1.8.770.44_p1.ebuild
new file mode 100644
index 00000000000..5d07a6a24a7
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.8.770.44_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
+}