summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-06-19 21:58:28 +0200
committerJeroen Roovers <jer@gentoo.org>2017-06-19 21:58:52 +0200
commit5981ae751600fac4b4d2e00e74846ba68b8bed75 (patch)
treeac9ef2ce76d915d5d97c2d472aebeb6f6eb8c5f1 /www-client
parentwww-client/vivaldi-snapshot: Old. (diff)
downloadgentoo-5981ae751600fac4b4d2e00e74846ba68b8bed75.tar.gz
gentoo-5981ae751600fac4b4d2e00e74846ba68b8bed75.tar.bz2
gentoo-5981ae751600fac4b4d2e00e74846ba68b8bed75.zip
www-client/vivaldi: Version bump.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi/Manifest1
-rw-r--r--www-client/vivaldi/vivaldi-1.10.867.38_p1.ebuild114
2 files changed, 115 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index d0896b275719..971555126f67 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -1,2 +1,3 @@
+DIST vivaldi-1.10.867.38_p1-amd64.deb 49267896 SHA256 71a7865e83cc6fbb8373947a300c3558ade4f133555d60eb2c2b0fbefff371c0 SHA512 191b505f7655ef597c05f34caaed61f2877a8c25eb9c6b7d8cad7fc7abcb3db40f6a358cfe04cfb1e5e30e57f72e52501a10512a4d8d87150924a4d220e8cbbd WHIRLPOOL 3b2ce4e9a6660a581fca2c9a00f456a2955f858240c6e587cce2fc5e16188ac925b35fd4dfafff63fb24f1529cfd81e32b25c72b84abfdef32febe2d7eb52c3f
DIST vivaldi-1.9.818.50_p1-amd64.deb 47502088 SHA256 701ceb20f6f802c4a7162c08a528b679e6ae0215c49b5e78ca12191c3d2fe3c6 SHA512 e21d0c6592aa7d9a1fe378cb9db37b503a1b269604a286d0968ebbe8ab17dec00443aa8fe265d13138f58cf2ac1efbc79238cea32277b07d7b11408017e93114 WHIRLPOOL dc289755ad9a1c2efe41a3a6eac8925a893a02c126d63edec0c2cf830aaca969b44466bdc533d0f9fa8fbe00354796536c2a9dbb01f9bf4a010cf8e921cadcaf
DIST vivaldi-1.9.818.50_p1-i386.deb 47957224 SHA256 4ca0306a9336124a4ab23049be8e16f2aa5c9f48ce614b4cb551477843e952ce SHA512 858cde8ecaecd17bc732457c828e5b02e7e85d659685ef1b263c190c5430989701fad9dacb3c8f5eef8c99e51254a689d486afda8568e8c15212878b0ba9f73c WHIRLPOOL 5e569d027a4fdfe2110d95d9fd1b7342fde9cb3b506f352f9194e783fbf4f9ab03921944636dec879145bc1fc0e01516ba6a22440e0ea7d2832dbc51c565206c
diff --git a/www-client/vivaldi/vivaldi-1.10.867.38_p1.ebuild b/www-client/vivaldi/vivaldi-1.10.867.38_p1.ebuild
new file mode 100644
index 000000000000..662928e756e4
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.10.867.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 )
+"
+
+LICENSE="Vivaldi"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+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
+}